|Re: Existing genmodel not picked up [message #627203]
||Wed, 19 November 2008 13:51
| Ed Merks
Registered: July 2009
Volker Stolz wrote:
> Dear all,
> I defined a UML profile, and generated code through ecore and a genmodel
> In plugin.xml, I have
How can the class have no package qualification?
> 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
> 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..
Powered by FUDForum
. Page generated in 0.01721 seconds