|
Re: Problems encountered in the model [message #1834646 is a reply to message #1834645] |
Sat, 14 November 2020 12:58 |
|
Hi,
It looks like you're trying to generate there UML métalloïdes in addition to your profile. You need to référence the UML generator model instead from your genmodel. Otherwise, you will have a profile that can only be used with your private UML and not the common implementation.
HTH,
Christian
|
|
|
|
Re: Problems encountered in the model [message #1834648 is a reply to message #1834647] |
Sat, 14 November 2020 13:34 |
|
This isn't really a Papyrus concern. It's an EMF/UML2 thing.
When you "load" the source model (your profile) in the GenModel editor, there's a page in which you have to choose which EPackages to generate (the top portion of the page)
and which to reference to their own existing GenModels (the bottom portion). You need to make sure that you have the UML GenModel from the Eclipse UML2 project in the bottom part
and select it with the checkbox. If you are working in a Papyrus installation of some kind (Eclipse Modeling package or a Papyrus RCP) then it should be available.
HTH,
Christian
|
|
|
|
|
Re: Problems encountered in the model [message #1834653 is a reply to message #1834652] |
Sat, 14 November 2020 14:33 |
|
You definitely also should reference the Ecore genmodel, not generate your own copy of Ecore. In general, if you can reference an existing generated model, it is best for interoperability to do so.
I have no information about the error markers on the elements of the Corona package. These errors could be pretty much anything, but EMF's Ecore validation is pretty good about making error messages that explain themselves.
Christian
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04473 seconds