Import Ecore packages into EVL [message #1759555] |
Thu, 13 April 2017 00:47 |
Sara Rosa Messages: 24 Registered: March 2017 |
Junior Member |
|
|
Hi all,
I'm adding extra metamodel validation with EVL, however, I'm trying to reach an EPackage that is inside the main EPackage Ecore but nothing seems to work.
How can I reach the ContextModeling EPackage (for example)? Should I import that EPackage into the EVL file? If yes, how can I do that?
Thank you for your help,
Sara
-
Attachment: EVLCM.png
(Size: 18.23KB, Downloaded 188 times)
[Updated on: Thu, 13 April 2017 00:49] Report message to a moderator
|
|
|
|
|
|
|
|
|
Re: Import Ecore packages into EVL [message #1759598 is a reply to message #1759583] |
Thu, 13 April 2017 16:21 |
|
Hi Sara,
This appears to be a bug in the EVL-EMF integration, which assumes that all elements in a model are instances of EClasses that belong to the same EPackage. We'll try to fix this [1] but, as mentioned in a previous message, you're likely to find out that there are other cases where EMF-based tools don't play well with sub-packages so my recommendation would be to consider flattening your metamodel.
Cheers,
Dimitris
[1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=515262
|
|
|
|
Re: Import Ecore packages into EVL [message #1759638 is a reply to message #1759606] |
Fri, 14 April 2017 10:34 |
|
Hi Sara,
Sure - feel free to add yourself to the CC list of the bug to receive updates. If this is a blocker for your work, I would recommend considering the proposed workaround as it's unlikely that we'll be able to look at this within the next few weeks, due to other commitments.
Cheers,
Dimitris
|
|
|
Powered by
FUDForum. Page generated in 0.03647 seconds