Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » [EVL] Save EVL trace(exportConstraintTrace)
[EVL] Save EVL trace [message #520963] Mon, 15 March 2010 20:00 Go to next message
yeimiyaz  is currently offline yeimiyaz
Messages: 6
Registered: March 2010
Junior Member
Hello, My name is Yeimi.

I defined constraints with EVL to validate a model conform to Metamodel X. I need to save the validation trace in a model. I saw that you can use a property of the evl task to export the constraint trace. Can you point me out on how to save it to a model? Can it be done directly or do I have to create an additional EOL/ETL rule.

Regards,

Yeimi Peña



Re: [EVL] Save EVL trace [message #521024 is a reply to message #520963] Tue, 16 March 2010 00:32 Go to previous messageGo to next message
Dimitrios Kolovos is currently offline Dimitrios Kolovos
Messages: 1776
Registered: July 2009
Senior Member
Hi Yeimi,

There's no built-in support for storing EVL context traces as models but
as you guessed, you can do this using an additional EOL module. Please
let me know if you need help with this and I'll put together a short
example.

Cheers,
Dimitris

yeimiyaz wrote:
> Hello, My name is Yeimi.
>
> I defined constraints with EVL to validate a model conform to Metamodel
> X. I need to save the validation trace in a model. I saw that you can
> use a property of the evl task to export the constraint trace. Can you
> point me out on how to save it to a model? Can it be done directly or do
> I have to create an additional EOL/ETL rule.
>
> Regards,
>
> Yeimi Peña
>
>
>
>


--
Spread the word: http://www.eclipse.org/gmt/epsilon/spreadtheword
Follow Epsilon on Twitter: http://twitter.com/epsilonews
Re: [EVL] Save EVL trace [message #521127 is a reply to message #521024] Tue, 16 March 2010 10:26 Go to previous messageGo to next message
yeimiyaz  is currently offline yeimiyaz
Messages: 6
Registered: March 2010
Junior Member
Dimitris,

Thanks for information. Please send me your example in EOL module.

Yeimi Peña
Re: [EVL] Save EVL trace [message #521148 is a reply to message #521127] Tue, 16 March 2010 11:07 Go to previous messageGo to next message
yeimiyaz  is currently offline yeimiyaz
Messages: 6
Registered: March 2010
Junior Member
I could try figuring out. I would need to know how is the variable stored with the evl task, and how to navigate it (does it conform to a metamodel?).

Yeimi
Re: [EVL] Save EVL trace [message #521155 is a reply to message #521148] Tue, 16 March 2010 06:24 Go to previous messageGo to next message
Dimitrios Kolovos is currently offline Dimitrios Kolovos
Messages: 1776
Registered: July 2009
Senior Member
Hi Yeimi,

The constraint trace is not a model - just a Java object that is an
instance of the org.eclipse.epsilon.evl.engine.trace.ConstraintTrace
class. Have a go at it and please come back if you have any further
questions.

Cheers,
Dimitris

yeimiyaz wrote:
> I could try figuring out. I would need to know how is the variable
> stored with the evl task, and how to navigate it (does it conform to a
> metamodel?).
>
> Yeimi


--
Spread the word: http://www.eclipse.org/gmt/epsilon/spreadtheword
Follow Epsilon on Twitter: http://twitter.com/epsilonews
Re: [EVL] Save EVL trace [message #587519 is a reply to message #521148] Tue, 16 March 2010 11:17 Go to previous message
Dimitrios Kolovos is currently offline Dimitrios Kolovos
Messages: 1776
Registered: July 2009
Senior Member
Hi Yeimi,

The constraint trace is not a model - just a Java object that is an
instance of the org.eclipse.epsilon.evl.engine.trace.ConstraintTrace
class. Have a go at it and please come back if you have any further
questions.

Cheers,
Dimitris

yeimiyaz wrote:
> I could try figuring out. I would need to know how is the variable
> stored with the evl task, and how to navigate it (does it conform to a
> metamodel?).
>
> Yeimi


--
Spread the word: http://www.eclipse.org/gmt/epsilon/spreadtheword
Follow Epsilon on Twitter: http://twitter.com/epsilonews
Previous Topic:[EVL] Save EVL trace
Next Topic:ETL, problem with a data type
Goto Forum:
  


Current Time: Fri Aug 01 03:50:22 EDT 2014

Powered by FUDForum. Page generated in 0.01730 seconds