UML2Ecore convertion [message #627892] |
Fri, 21 August 2009 16:08 |
Chokri Mraidha Messages: 28 Registered: July 2009 |
Junior Member |
|
|
Hello,
I would like to call the UML2Ecore converter programmatically. I have
written some code calling the UMLUtil.convertToEcore() method.
The convertion is done but the generated NsURI are not correct which makes
impossible the creation of a genmodel file from the generated ecore files.
The generated uml.ecore file has a Ns URI = http:///uml.ecore instead of
http://www.eclipse.org/uml2/2.1.0/UML
Likewise for the ecore.ecore file, Ns URI = http:///ecore.ecore instead of
http://www.eclipse.org/emf/2002/Ecore
Any idea on why is this happening?
Is there any code snipet on how to call properly the UML2Ecore converter
programmatically?
Thank you in advance for your help.
Chokri
|
|
|
Powered by
FUDForum. Page generated in 0.02336 seconds