Error launching ATL transformation as Java application [message #1005050] |
Thu, 24 January 2013 06:30  |
Eclipse User |
|
|
|
Hello,
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();
injector.inject(profile,"profiles/profile.uml");
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".
Suggestions?
Thanks in advance.
Dario Imparato
|
|
|
|
Powered by
FUDForum. Page generated in 0.05495 seconds