Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [qvtd-dev] OCL 2.5 Pivot Promotion for M5

Hi,

Since a transformation is no longer a Package and a Model has ownedPackages, then a Model can't have nested Transformations. I am guessing this is the reason you need the unnamed Package in the CS2AS conversion. I think that for QVTd, and possibly for QVTo, a BaseModel should have Package as a super class so it can contain Transformations. I know creating a dummy package is not a lot of work, but it just seams bloat.

Regards,

On 26 December 2014 at 22:36, Ed Willink <ed@xxxxxxxxxxxxx> wrote:
Hi

The changes involved in promoting the OCL PIvot code are summarised on the OCL developers mailing list.

QVTd GIT has been updated and version numbers changed to 1.0.0 ready for graduating with Mars.

OCL and QVTd I-builds are available. Please use them.

http://www.eclipse.org/modeling/download.php?file=/modeling/mdt/ocl/downloads/drops/6.0.0/I201412261627/mdt-ocl-Update-I201412261627.zip

http://www.eclipse.org/downloads/download.php?file=/mmt/qvtd/downloads/drops/1.0.0/I201412261726/mmt-qvtd-incubation-Update-I201412261726.zip

One consequence of the Pivot clarifications is that the dual inheritance of Transformation from Package and Class is untenable. A Transformaion is therefore a Class only. A root Transformation without any encapsulating Package is encapsulated in an unnamed Package by the CS2AS conversion. All tooling that expects a Transformation directly in a Root must be modified to accommodate Transformation within one or Packages within a Model.

    Regards

        Ed Willink
_______________________________________________
qvtd-dev mailing list
qvtd-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/qvtd-dev



--

Horacio Hoyos Rodríguez
EngD Student
University of York



Back to the top