Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » UML2Ecore convertion
UML2Ecore convertion [message #627892] Fri, 21 August 2009 16:08
Chokri Mraidha is currently offline Chokri MraidhaFriend
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
Previous Topic:IMPORTs in "Getting Started with UML2" caused errors
Next Topic:Create EMF project from OMG's CCCMP metamodel.
Goto Forum:
  


Current Time: Thu Apr 25 11:16:12 GMT 2024

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

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

Back to the top