Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » Re: Existing genmodel not picked up
Re: Existing genmodel not picked up [message #627203] Wed, 19 November 2008 13:51
Ed Merks is currently offline Ed MerksFriend
Messages: 31032
Registered: July 2009
Senior Member
Volker,

Comments below.

Volker Stolz wrote:
> Dear all,
> I defined a UML profile, and generated code through ecore and a genmodel
> description.
>
> In plugin.xml, I have
> <package
> class="RCOSPrimitiveTypesPackageImpl"
How can the class have no package qualification?
>
> genModel="libraries/RCOSPrimitiveTypes.library.genmodel"
> uri="http://rcos.iist.unu.edu/RCOSPrimitiveTypes.ecore">
> </package>
>
> The URI is the same as in the .ecore-file. The corresponding UML file is
> also exported. In the second Eclipse instance that uses this plugin, I
> create a UML model that references the UML profile and I use one of the
> defined datatypes as an attribute in a class.
>
I don't know much about profiles.
> When then I want to generate an EMF model from the UML file, the wizard
> wants to create RCOSPrimitiveTypes.ecore in the current directory and
> doesn't even offer me to select the one with the .genmodel defined
> through the plugin!
>
Did the plugin with the above registration successfully install in the
runtime environment?
> After a day of struggling, I found that the wizard is actually looking
> for a generated_package with URI http:///RCOSPrimitiveTypes.ecore (note
> the missing host-part). The
> UML->Ecore step produces an ecore file that doesn't reference the
> existing package, but rather wants to produce a copy.
>
> I'm glad for any suggestion on how to make EMF pick up the existing
> files. I'm guessing there must be a way of specifying in the plugin
> which ecore belongs to which UML file?
>
I don't understand where http:///RCOSPrimitiveTypes.ecore would come from.

This sounds more like a UML2 question I've added their newsgroup to the
"to" list of the reply..
> Volker
>
>
Previous Topic:Extension Point
Next Topic:Extension Point
Goto Forum:
  


Current Time: Sun Apr 05 17:43:51 GMT 2020

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

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

Back to the top