|Error launching ATL transformation as Java application [message #1005050]
||Thu, 24 January 2013 06:30
| Dario Imparato
Registered: August 2012
I am trying to launch an ATL transformation as a Java application.
I followed this guide http://wiki.eclipse.org/ATL/User_Guide_-_The_ATL_Tools#ATL_Plugins and created a new ATL Plugin Project that provides a .java file that can be used to launch the transformation.
The problem is that my input model is an UML model (in.uml) with:
- an applied UML Profile (profile.uml)
- references with another UML model (ref.uml)
Launching the .java, the profile.uml was not recognized (obviously) so I loaded it as a IReferenceModel in this way:
IReferenceModel profile = factory.newReferenceModel();
Now I have the message "Metamodel contains several classifiers with same name: Duration"
and output model does not contain all the elements that are created launching the transformation as "ATL transformation".
Thanks in advance.
Powered by FUDForum
. Page generated in 0.01663 seconds