|
Re: serialize ecl matchtrace [message #1162610 is a reply to message #1162396] |
Wed, 30 October 2013 13:53 |
|
Hi,
I suspect that a workaround would be to define a custom MatchTrace metamodel and then use EOL to serialise the in-memory ECL match trace to a model that conforms to the MatchTrace metamodel. You could then use such serialised models in your EGL transformation without needing to re-run ECL.
Cheers,
Dimitris
|
|
|
|
|
Re: serialize ecl matchtrace [message #1864828 is a reply to message #1864826] |
Thu, 11 April 2024 18:11 |
|
The metamodel does not exist. You can look at the Java classes and their relations as a guide so the instantiation of the metamodel instance is easy. Or you can use something as Tracea if you want a lot more information.
In the post block of your ECL you can use EOL to save the trace. This would involve creating instances of your trace metamodel classes and copying the ECL trace information.
Horacio Hoyos Rodriguez
Kinori Tech
Need professional support for Epsilon, EMF?
Go to: https://kinori.tech
|
|
|
|
|
|
Re: serialize ecl matchtrace [message #1865421 is a reply to message #1865406] |
Fri, 03 May 2024 08:39 |
|
Hi Chahrazed,
If you're talking about EVL, you can use the .satisfies operation in the guard to make an EVL constraint only run if another constraint is satisfied. See here:
https://eclipse.dev/epsilon/doc/evl/#capturing-dependencies-between-constraints
In regard to incremental execution, this is not supported by Epsilon at the moment, but we have a few projects in Epsilon Labs that touch on this. We have an incremental version of EVL for EMF models, and an incremental version of Picto for the web:
https://github.com/epsilonlabs/incremental-evl-emf
https://github.com/epsilonlabs/picto-web
These are research prototypes, however, and not quite ready for production yet.
Best,
Antonio
[Updated on: Fri, 03 May 2024 08:40] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.04832 seconds