Skip to main content



      Home
Home » Modeling » Epsilon » How to export differences in ECL
How to export differences in ECL [message #1726702] Tue, 15 March 2016 16:42 Go to next message
Eclipse UserFriend
Hi all,

I need to export differences between two models in Epsilon, I read that Match-trace enables users to export the matches calculated during the comparison,
Are there any attributes (or ways) to export the differences in ECL?

Best regards,
Mohammadreza
Re: How to export differences in ECL [message #1726769 is a reply to message #1726702] Wed, 16 March 2016 06:55 Go to previous messageGo to next message
Eclipse UserFriend
Does this example help?

http://www.eclipse.org/epsilon/examples/index.php?example=org.eclipse.epsilon.examples.oomerging

You'll have to clone the Epsilon Git repository [1] and go to examples/org.eclipse.epsilon.examples.oomerging. It has an Ant buildfile that shows how to use the exportmatchtrace attribute to pass on the trace model to the next E*L task (which could, for instance, produce a model out of it).

[1]: http://www.eclipse.org/epsilon/download/#sourcecode

[Updated on: Wed, 16 March 2016 06:56] by Moderator

Re: How to export differences in ECL [message #1726796 is a reply to message #1726769] Wed, 16 March 2016 10:40 Go to previous messageGo to next message
Eclipse UserFriend
Hi Antonio,

I want to export differences, but in this example, matches are exported.
Re: How to export differences in ECL [message #1726822 is a reply to message #1726796] Wed, 16 March 2016 12:30 Go to previous messageGo to next message
Eclipse UserFriend
The org.eclipse.epsilon.ecl.trace.Match objects in the trace include a "matching" flag that may be true or false. You could try looking at the elements that have the flag set to false and seeing if this matches your expectations.
Re: How to export differences in ECL [message #1728999 is a reply to message #1726822] Sat, 09 April 2016 03:30 Go to previous message
Eclipse UserFriend
Hi Antonio,

Thank you for the help, but this idea didn't work correctly. However, I wrote a function similar to getReduced() that do this work.

Cheers,
Mohammadreza
Previous Topic:About Extending Metamodels
Next Topic:[EVL] Get list of properties (Attributes + child elements)
Goto Forum:
  


Current Time: Sun Oct 19 17:25:26 EDT 2025

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

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

Back to the top