UML to Ecore [message #760933] |
Mon, 05 December 2011 16:13 |
Benoit Lelandais Messages: 19 Registered: November 2011 |
Junior Member |
|
|
Hi,
We have an old M2M transformation chain with Xtend 0.7 and Mwe. The input is an EMF UML2 model and the output an Ecore model. We would like to upgrade this chain in Xtext 2.1 to use the new Xtend2 language. Is this possible ? Is there an example available to see how to read the input model ?
Thanks for your answer.
[Updated on: Mon, 05 December 2011 16:14] Report message to a moderator
|
|
|
|
|
|
|
Re: UML to Ecore [message #762265 is a reply to message #762169] |
Wed, 07 December 2011 19:28 |
|
Hi,
did you try to use the Reader with platform:/resource uris e.g.
<bean class="org.eclipse.emf.mwe.utils.StandaloneSetup" platformUri=".." />
<component class="org.eclipse.emf.mwe.utils.Reader">
<uri value="platform:/resource/xpand.uml.sample/src/model/test.uml" />
<modelSlot value="model" />
</component>
~Christian
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
|
|
|
|
Powered by
FUDForum. Page generated in 0.03472 seconds