Community
Participate
Working Groups
Some transformations take Ecore models as input. For example: module toto; create ... from m1 : Metametamodel; where Metametamodel refers to Ecore In the Ant tasks of ATL 2.0, one specifies that as follows: <inModel name="m1" model="m1"> <inModel name="Metametamodel" model="%EMF"> In ATL 3.0, it would not be necessary to specify Metametamodel as inModel. Then, how to specify what reference model m1 conforms to? A solution would be to create a loadModel task like this <atl.loadModel name="Metametamodel" nsuri="http.../EMF"/> However this causes inexpected behavior. To solve the issue, we propose to agregate the attribute "metamodelName" to inModel. The value of this attribute refers to Ecore. Please find enclosed a patch corresponding to the solution. Note that a similar solution may be needed for inOutModel or outModel.
Created attachment 148923 [details] indicates the changes for solving the bug
The patch has been applied to CVS head. The correction will be available on next 3.1 build. Thanks for reporting/correcting it !
Bug inactive - closing.