Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » EVL: Problem on configuring a UML model
EVL: Problem on configuring a UML model [message #1760453] Thu, 27 April 2017 12:58 Go to next message
Alireza Rouhi is currently offline Alireza RouhiFriend
Messages: 148
Registered: December 2015
Senior Member
Hi all,

I encounter an odd problem regarding a UML model configuration to validate by an EVL module. The list of metamodels which my UML model conforms to them is missed now! I attached the two windows here. I have not this problem before. Now, I am using Eclipse Mars 2 release and Epsilon 1.5.

Please, help me to resolve this issue.

Thanks a million
Alireza

[Updated on: Thu, 27 April 2017 14:37]

Report message to a moderator

Re: EVL: Problem on configuring a UML model [message #1760481 is a reply to message #1760453] Thu, 27 April 2017 15:52 Go to previous messageGo to next message
Dimitris Kolovos is currently offline Dimitris KolovosFriend
Messages: 2162
Registered: July 2009
Location: York, UK
Senior Member

Hi Alireza,

In 1.5 the UML metamodel is auto-configured for UML models - there's no need to specify it manually.

Cheers,
Dimitris
Re: EVL: Problem on configuring a UML model [message #1760486 is a reply to message #1760481] Thu, 27 April 2017 16:36 Go to previous messageGo to next message
Alireza Rouhi is currently offline Alireza RouhiFriend
Messages: 148
Registered: December 2015
Senior Member
So, what should I do to load other metamodels. I'm using a UML profile and I need to validate the stereotyped instances in my EVL module.

Thanks a lot
Alireza
Re: EVL: Problem on configuring a UML model [message #1760487 is a reply to message #1760486] Thu, 27 April 2017 16:41 Go to previous messageGo to next message
Dimitris Kolovos is currently offline Dimitris KolovosFriend
Messages: 2162
Registered: July 2009
Location: York, UK
Senior Member

Hi Alireza,

If the profile is properly registered and applied to your model there shouldn't be a need to add any further metamodels. If this doesn't work for you, please send us a minimal example and I'll Investigate.

Cheers,
Dimitris
Re: EVL: Problem on configuring a UML model [message #1760488 is a reply to message #1760487] Thu, 27 April 2017 16:51 Go to previous messageGo to next message
Alireza Rouhi is currently offline Alireza RouhiFriend
Messages: 148
Registered: December 2015
Senior Member
You're right.

Printing the Profile.all statement yields an empty sequence. Of course, as you can see in the attached screen shot, the profile has been registered and I can apply the stereotypes on my model.
I am using my profiles as plugins. I simply copy the plugins into the eclipse's plugins subfolder. How can I register them?

Thanks
Alireza

[Updated on: Thu, 27 April 2017 16:58]

Report message to a moderator

Re: EVL: Problem on configuring a UML model [message #1760490 is a reply to message #1760488] Thu, 27 April 2017 16:53 Go to previous messageGo to next message
Dimitris Kolovos is currently offline Dimitris KolovosFriend
Messages: 2162
Registered: July 2009
Location: York, UK
Senior Member

Hi Alireza,

In development mode, you should simply run a nested Eclipse. For deployment you should use an update site.

Cheers,
Dimitris
Re: EVL: Problem on configuring a UML model [message #1760492 is a reply to message #1760490] Thu, 27 April 2017 17:08 Go to previous messageGo to next message
Alireza Rouhi is currently offline Alireza RouhiFriend
Messages: 148
Registered: December 2015
Senior Member
Hi Dimitris,

Sorry. I modified my last message. Did you see that?

Thank you very much.
Alireza
Re: EVL: Problem on configuring a UML model [message #1760493 is a reply to message #1760492] Thu, 27 April 2017 17:11 Go to previous messageGo to next message
Dimitris Kolovos is currently offline Dimitris KolovosFriend
Messages: 2162
Registered: July 2009
Location: York, UK
Senior Member

Hi Alireza,

I saw this just now. Could you please prepare a minimal example I can use to have a closer look at this?

Cheers,
Dimitris
Re: EVL: Problem on configuring a UML model [message #1760494 is a reply to message #1760493] Thu, 27 April 2017 17:18 Go to previous messageGo to next message
Alireza Rouhi is currently offline Alireza RouhiFriend
Messages: 148
Registered: December 2015
Senior Member
Sorry. Due to the daemon errors in sending email, I attached the minExample in my last message here.

Thank you very much
Alireza

[Updated on: Thu, 27 April 2017 18:12]

Report message to a moderator

Re: EVL: Problem on configuring a UML model [message #1760500 is a reply to message #1760494] Thu, 27 April 2017 18:10 Go to previous messageGo to next message
Alireza Rouhi is currently offline Alireza RouhiFriend
Messages: 148
Registered: December 2015
Senior Member
Hi Dimitris,

Sorry, I prepared a minExample and attached here.

Thank you very much
Alireza
Re: EVL: Problem on configuring a UML model [message #1760501 is a reply to message #1760500] Thu, 27 April 2017 18:14 Go to previous messageGo to next message
Dimitris Kolovos is currently offline Dimitris KolovosFriend
Messages: 2162
Registered: July 2009
Location: York, UK
Senior Member

Could you please share the plugin project as opposed to the exported JAR?

Cheers,
Dimitris
Re: EVL: Problem on configuring a UML model [message #1760502 is a reply to message #1760501] Thu, 27 April 2017 18:17 Go to previous messageGo to next message
Alireza Rouhi is currently offline Alireza RouhiFriend
Messages: 148
Registered: December 2015
Senior Member
All right. I attached here.

Thanks a lot.
Alireza

[Updated on: Thu, 27 April 2017 18:22]

Report message to a moderator

Re: EVL: Problem on configuring a UML model [message #1760503 is a reply to message #1760502] Thu, 27 April 2017 18:22 Go to previous messageGo to next message
Dimitris Kolovos is currently offline Dimitris KolovosFriend
Messages: 2162
Registered: July 2009
Location: York, UK
Senior Member

I would have expected your plugin project to also contain a plugin.xml with an extension that registers your profile. Have you perhaps left this out?

Cheers,
Dimitris
Re: EVL: Problem on configuring a UML model [message #1760504 is a reply to message #1760503] Thu, 27 April 2017 18:23 Go to previous messageGo to next message
Alireza Rouhi is currently offline Alireza RouhiFriend
Messages: 148
Registered: December 2015
Senior Member
Hi Dimitris,

Sorry. I uploaded it to the previous message too.

Thanks a lot
Alireza
Re: EVL: Problem on configuring a UML model [message #1760618 is a reply to message #1760504] Fri, 28 April 2017 22:24 Go to previous messageGo to next message
Dimitris Kolovos is currently offline Dimitris KolovosFriend
Messages: 2162
Registered: July 2009
Location: York, UK
Senior Member

Hi Alireza,

I've reproduced the problem. We plan to spend more time on understanding the EMF magic that Eclipse UML does under the hood over the next few months and we'll look at this then. In the meantime, you can add your UML model as a regular EMF model to your launch configuration and add the missing metamodels manually. Apologies for any inconvenience caused.

Cheers,
Dimitris
Re: EVL: Problem on configuring a UML model [message #1760638 is a reply to message #1760618] Sat, 29 April 2017 10:46 Go to previous message
Alireza Rouhi is currently offline Alireza RouhiFriend
Messages: 148
Registered: December 2015
Senior Member
Hi Dimitris,

Great.
Thank you very much.

Kind regards,
Alireza
Previous Topic:How to get expression as string in Java?
Next Topic:Append to target file in EGX/EGL
Goto Forum:
  


Current Time: Fri Apr 19 00:07:52 GMT 2024

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

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

Back to the top