|
|
|
|
Re: HOW CAI I DO [message #1024869 is a reply to message #1021757] |
Tue, 26 March 2013 09:31 |
Walid Rabie Messages: 3 Registered: March 2013 |
Junior Member |
|
|
Hello,
Am new on atl Transformations and i had the same problem as Mr yesheng chai,so i would thank you for your help and i appreciate the great work that are doing the forum's team!
However i would ask Mr Hugo Bruneliere for his reply,
>>First, independently from the transformation, how have you built your input >>model?Are you able to open/load it correctly using the Sample Reflective Model >>Editor for instance?
Its interesting for me to know exactly how to define and use XMI Models, my XMI model can't be open with "Sample Reflective Model 'Ecore' Model Editor "[note that i have "Ecore Model Editor" not "Model Editor],and when trying opening it i got this message "Problems encountered. Click the 'Details' button for further information".
And am wondering if ,each time i wont to declare a subclass into the containing Class in the XMI Model, i have to put the EReference Of the SubClass not the SubClass it Self.
The last question: is there other option to use models with another langage other than XMI.
Thanks in advance for the help!
|
|
|
Re: HOW CAI I DO [message #1027126 is a reply to message #1024869] |
Tue, 26 March 2013 15:31 |
Hugo Bruneliere Messages: 674 Registered: July 2009 |
Senior Member |
|
|
Hello,
When opening your model with an editor, you first have to be sure that the corresponding metamodel (in Ecore) is correctly loaded onto the EMF registry.
For integrated metamodels, this is normally already done when starting your Eclipse.
For development ones in your workspace, you can load them manually thanks to the "Load Metamodel" action (on an Ecore file) as provided by ATL from the ATL perspective.
Concerning the storage/serialization of models, yes there is potentially an infinite number of options (as long as you provide the right corresponding model loader/saver). For instance, they can be stored in databases (cf. Eclipse CDO), in XML files (cf. base Eclipse EMF), in textual files (cf. Eclipse Xtext), etc.
Best regards,
Hugo
--------------------------------------------------------
Hugo Bruneliere, PhD
NaoMod team (IMT Atlantique & LS2N-CNRS)
Nantes - France
--------------------------------------------------------
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04846 seconds