Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Ecore Tools » UML Profile to Ecore
UML Profile to Ecore [message #1854566] Thu, 25 August 2022 18:31 Go to next message
Steve Peters is currently offline Steve PetersFriend
Messages: 12
Registered: September 2020
Junior Member
I have created an UML Profile with some stereotypes. Now I want to generate the ecore model code. Therefore I have created a genmodel file. The file was created but I get a lot of errors and the genmodel editor shows me errors, too.

It is possible to create an UML profile with a corresponding genmodel/ecore? When yes, what I'm doing wrong?

https://i.ibb.co/WyvM6Zy/uml-profile.png

Now I create the genmodel and get first errors:

https://i.ibb.co/10XFf9G/uml-profile-error-1.png

If I chose "process all" in the genmodel wizard, then I get no errors but genmodel editor gets me some.

https://i.ibb.co/MCRp5wz/uml-profile-error-2.png

[Updated on: Thu, 25 August 2022 18:37]

Report message to a moderator

Re: UML Profile to Ecore [message #1854609 is a reply to message #1854566] Mon, 29 August 2022 15:16 Go to previous messageGo to next message
Steve Peters is currently offline Steve PetersFriend
Messages: 12
Registered: September 2020
Junior Member
To create a genmodel directly from an UML profile to generate the model code doesn't work. Select Profile element in UML Editor and open the menu entry "UML Editor -> Convert to -> Ecore Model".
Re: UML Profile to Ecore [message #1854612 is a reply to message #1854609] Tue, 30 August 2022 06:18 Go to previous message
Pierre-Charles David is currently offline Pierre-Charles DavidFriend
Messages: 703
Registered: July 2009
Senior Member
Hi.
This forum is for questions about the Ecore Tools project (https://www.eclipse.org/ecoretools/). You should probably ask in the UML2 forum: https://www.eclipse.org/forums/index.php/f/117/


Pierre-Charles David - Obeo

Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
Previous Topic:Can I create DDL from an Ecore model
Next Topic:[EMF Forms] EMF Combo Box in GenericEditor
Goto Forum:
  


Current Time: Thu Apr 25 10:20:16 GMT 2024

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

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

Back to the top