|
Re: [Acceleo] Metamodel URIs are not resolved by creating a new Acceleo generation file [message #987580 is a reply to message #987470] |
Tue, 27 November 2012 09:01 |
|
Hi,
The popup displayed when you click on the "Add" menu is showing all the packages registered in the Acceleo package registry. This package registry uses all the content of the EMF package registry and it adds on top of it some packages from the ".ecore" files located in the workspace. The UML stereotypes are not registered in the EMF package registry so you won't be able to find them in this popup. You need to define your generator on the UML metamodel and when you are navigating inside of your generator, you should use the APIs of the UML project to compute the available stereotype with something like [myObject.ownedStereotypes/]. You also need to make sure that your model is properly loaded with all its stereotype registered in the Java launcher for that, have a look at the use of UML models and their stereotype in stand alone.
Regards,
Stephane Begaudeau, Obeo
--
Twitter: @sbegaudeau & @acceleo
Google+: stephane.begaudeau & acceleo
Blog: http://stephanebegaudeau.tumblr.com
Acceleo Documentation: http://docs.obeonetwork.com/acceleo
|
|
|
|
Powered by
FUDForum. Page generated in 0.03415 seconds