Unable to run an EGL file based on a UML model [message #937719] |
Tue, 09 October 2012 03:56  |
Eclipse User |
|
|
|
Hello,
I created an UML diagram using MagicDraw and exported it as Eclipse UML2 (3.x). I added those generated files to my Eclipse project.
Now I've created a file called Example.egl:
[% for (c in Class.all) { %]
[%=c.name%]
[% } %]
To execute it, I did the following: Run configurations > EGL Template > Name: Example
In Models' tab > Add > EMF Model > Name: Example / Model file: Example.uml and the Meta-Model is put by default (as I unchecked the meta-model is file-based option).
But when I press Run, it gives me an Type 'Class' not found error.
Any ideas how to solve it?
Thanks for the help.
Patricia.
[Updated on: Tue, 09 October 2012 04:09] by Moderator
|
|
|
|
|
|
|
|
Re: Unable to run an EGL file based on a UML model [message #937780 is a reply to message #937776] |
Tue, 09 October 2012 04:51  |
Eclipse User |
|
|
|
Dimitris Kolovos wrote on Tue, 09 October 2012 04:47Hi Patricia,
Thanks. In the model configuration dialog, you'll need to keep only the main UML metamodel URI (see attached screenshot) and then it should work.
Cheers,
Dimitris
Hi Dimistris,
Thank you so much. Problem solved!
|
|
|
Powered by
FUDForum. Page generated in 0.28221 seconds