Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » ATL » Promotion of XMI to Ecore
Promotion of XMI to Ecore [message #1716140] Tue, 01 December 2015 16:16 Go to next message
Ahmed AHMED is currently offline Ahmed AHMEDFriend
Messages: 10
Registered: December 2015
Junior Member
I have an xmi file that holds a list of items "myItems.xmi". i would like to generate a metamodel ".ecore" that create a class for each item in the list using ATL.

Can you advise me in any reference to achieve this objective using ATL.

Thank.
Re: Promotion of XMI to Ecore [message #1716252 is a reply to message #1716140] Wed, 02 December 2015 13:49 Go to previous messageGo to next message
Dennis Wagelaar is currently offline Dennis WagelaarFriend
Messages: 589
Registered: September 2012
Location: Belgium
Senior Member

Transforming to ecore works like any other transformation, except that you have to check the box "Is metametamodel" for the ecore metamodel in the ATL launch screen. See also https://www.eclipse.org/atl/atlTransformations/#KM32EMF for an example.

Cheers,
Dennis

[Updated on: Wed, 02 December 2015 13:49]

Report message to a moderator

Re: Promotion of XMI to Ecore [message #1716427 is a reply to message #1716252] Thu, 03 December 2015 16:39 Go to previous message
Ahmed AHMED is currently offline Ahmed AHMEDFriend
Messages: 10
Registered: December 2015
Junior Member
Thanks for your reply
Previous Topic:Call Operation, model and code in the same workspace
Next Topic:ATL Transformation and invalid names saved on annotations
Goto Forum:
  


Current Time: Sat Apr 20 01:52:56 GMT 2024

Powered by FUDForum. Page generated in 0.03326 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top