Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » Create EMF project using mdl file
icon5.gif  Create EMF project using mdl file [message #1051774] Mon, 29 April 2013 08:05 Go to next message
Félix SILINOU KAMDEM is currently offline Félix SILINOU KAMDEMFriend
Messages: 96
Registered: April 2013
Member
Hello,
I would like to know how to make a transformation between mdl file and Ecore file.
I wrote somewhere that it is possible to create a EMF project by using .mdl file but I don't know how to start.
Thanks in advance for your advice.

[Updated on: Mon, 29 April 2013 08:06]

Report message to a moderator

Re: Create EMF project using mdl file [message #1051785 is a reply to message #1051774] Mon, 29 April 2013 08:13 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33133
Registered: July 2009
Senior Member
This tutorial shows how

http://help.eclipse.org/juno/index.jsp?topic=/org.eclipse.emf.doc/tutorials/clibmod/clibmod.html



On 29/04/2013 10:05 AM, Félix SILINOU KAMDEM wrote:
> Hello,
> I would like to know how to make a transformation between mdl file and
> Ecore file.
> I wrote somewhere that it is possible to create a EMF project by using
> .mdl file but I don't know how to start.
> Thanks in advance for your advice.
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Create EMF project using mdl file [message #1051809 is a reply to message #1051785] Mon, 29 April 2013 08:44 Go to previous messageGo to next message
Félix SILINOU KAMDEM is currently offline Félix SILINOU KAMDEMFriend
Messages: 96
Registered: April 2013
Member
thank you
Re: Create EMF project using mdl file [message #1051850 is a reply to message #1051809] Mon, 29 April 2013 09:32 Go to previous messageGo to next message
Félix SILINOU KAMDEM is currently offline Félix SILINOU KAMDEMFriend
Messages: 96
Registered: April 2013
Member
By the way, do you know how to convert Ecore file into UML file.
I think that there is a command in the menu "Sample Ecore Editor" but I don't know which one.
Re: Create EMF project using mdl file [message #1051858 is a reply to message #1051850] Mon, 29 April 2013 09:42 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33133
Registered: July 2009
Senior Member
Félix,

In Generator you can export the model to UML2 if you have UML2 installed.

On 29/04/2013 11:32 AM, Félix SILINOU KAMDEM wrote:
> By the way, do you know how to convert Ecore file into UML file. I
> think that there is a command in the menu "Sample Ecore Editor" but I
> don't know which one.


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Create EMF project using mdl file [message #1051931 is a reply to message #1051858] Mon, 29 April 2013 11:42 Go to previous messageGo to next message
Félix SILINOU KAMDEM is currently offline Félix SILINOU KAMDEMFriend
Messages: 96
Registered: April 2013
Member
Oh!!! of course.
Thank.
Re: Create EMF project using mdl file [message #1052054 is a reply to message #1051931] Mon, 29 April 2013 14:59 Go to previous messageGo to next message
Félix SILINOU KAMDEM is currently offline Félix SILINOU KAMDEMFriend
Messages: 96
Registered: April 2013
Member
Merks,

I followed that tutorial. It's working for the "library.mdl" file they gave but when I'm using my own mdl file, I have got an Error.

You will find attached two pictures: --> one is named EMF_error1.jpg is corresponding for the "gedatamodel.mdl"

--> The other is named EMF_error2.jpg for my own mdl file named "datamodel.mdl".

I have a NullPointerException in EMF_Error1.jpg, but that model ("gedatamodel.mdl") is also used with other tools to generate a java and C++ file.

For the datamodel.mdl , they ask me to specify the symbol locations and try loading again. See EMF_ERROR2.jpg

Actually, those models are also used somewhere else without any warming or error. I cannot modify it and I must use it as is.

[Updated on: Mon, 29 April 2013 15:04]

Report message to a moderator

Re: Create EMF project using mdl file [message #1052150 is a reply to message #1052054] Mon, 29 April 2013 17:57 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33133
Registered: July 2009
Senior Member
Félix,

I don't see any attachments and in any case this old Rose stuff isn't
something we'll support further so if you say you can't change the file
(why not?) and setting paths doesn't solve your problems (that's
generally the cause of problems) then it's just not going to work.


On 29/04/2013 4:59 PM, Félix SILINOU KAMDEM wrote:
> Merks,
>
> I followed that tutorial. It's working for the "library.mdl" file they
> gave but when I'm using my own mdl file, I have got an Error.
>
> You will find attached two pictures:
> one is named EMF_error1.jpg is corresponding for the "gedatamodel.mdl"
>
>
> The other is named EMF_error2.jpg for my own mdl file named
> "datamodel.mdl".
>
>
> I have a NullPointerException in EMF_Error1.jpg, but that model
> ("gedatamodel.mdl") is also used with other tools to generate a java
> and C++ file.
>
> For the datamodel.mdl , they ask me to specify the symbol locations
> and try loading again. See EMF_ERROR2.jpg
>
> Actually, those models are also used somewhere else without any
> warming or error. I cannot modify it and I must use it as is.


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Create EMF project using mdl file [message #1052715 is a reply to message #1052150] Tue, 30 April 2013 12:50 Go to previous messageGo to next message
Félix SILINOU KAMDEM is currently offline Félix SILINOU KAMDEMFriend
Messages: 96
Registered: April 2013
Member
Merks,

Do you know another method which makes possible transformation between MDL Model to UML Model, please?
Re: Create EMF project using mdl file [message #1052818 is a reply to message #1052715] Tue, 30 April 2013 15:23 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33133
Registered: July 2009
Senior Member
Félix,

No, Rose really is old fossilized technology...


On 30/04/2013 2:50 PM, Félix SILINOU KAMDEM wrote:
> Merks,
>
> Do you know another method which makes possible transformation between
> MDL Model to UML Model, please?


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:[CDO] CDOIDUtil.read - Illegal type: OBJECT
Next Topic:multiple xcore files
Goto Forum:
  


Current Time: Tue Apr 16 21:42:14 GMT 2024

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

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

Back to the top