Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » [EVL] CritiqueLevel
[EVL] CritiqueLevel [message #586758] Thu, 25 February 2010 03:19 Go to next message
Rayner Vintervoll is currently offline Rayner Vintervoll
Messages: 4
Registered: February 2010
Junior Member
First of all, thank you for all the great tools in Epsilon.

I have a question about CritiqueLevel in EVL. I can't find any documentation of how to implement it. Does it just exist in the meta-model for the time being?
Re: [EVL] CritiqueLevel [message #586769 is a reply to message #586758] Thu, 25 February 2010 04:30 Go to previous messageGo to next message
Dimitrios Kolovos is currently offline Dimitrios Kolovos
Messages: 1776
Registered: July 2009
Senior Member
Hi Rayner,

Rayner Vintervoll wrote:
> First of all, thank you for all the great tools in Epsilon.

Thanks for your feedback!

> I have a question about CritiqueLevel in EVL. I can't find any
> documentation of how to implement it. Does it just exist in the
> meta-model for the time being?
>

Yes. There's no matching metaphor for this within Eclipse (warnings
don't have levels) so this got left a bit behind. If you need this
feature, please file a bug report and we'll implement this in one of the
following interim releases.

Cheers,
Dimitris

--
Spread the word: http://www.eclipse.org/gmt/epsilon/spreadtheword
Follow Epsilon on Twitter: http://twitter.com/epsilonews
Re: [EVL] CritiqueLevel [message #987686 is a reply to message #586758] Tue, 27 November 2012 10:29 Go to previous messageGo to next message
Joost van Pinxten is currently offline Joost van Pinxten
Messages: 50
Registered: November 2012
Member
EVL is used in one of the projects here and one of the questions that arose was: how can one define 'info'-type messages? It's possible from custom validators, but it's unclear how this could be achieved from an EVL module.

Errors and warnings are supported, and when I first skimmed the manual, I thought that the CritiqueLevels may be the way to set a Critique so that it shows as an information message instead of a warning.

What are your thoughts on this?
Re: [EVL] CritiqueLevel [message #987751 is a reply to message #987686] Tue, 27 November 2012 16:59 Go to previous messageGo to next message
Dimitris Kolovos is currently offline Dimitris Kolovos
Messages: 840
Registered: July 2009
Senior Member
Hi Joost,

I've just added support for this in the SVN. To specify info-level critiques, you need to add a @info annotation e.g.

@info
critique Unimportant {
check : ...
message : self.name + " does not look great but I guess it's OK"
}

This will appear in the next interim release and I'll update the book shortly.

Cheers,
Dimitris
Re: [EVL] CritiqueLevel [message #987754 is a reply to message #987751] Tue, 27 November 2012 17:12 Go to previous messageGo to next message
Joost van Pinxten is currently offline Joost van Pinxten
Messages: 50
Registered: November 2012
Member
Awesome! Smile Thanks! I'll pass it along.

By the way, will this make it into a stable release anytime before 05-07-2013 (source)? I don't think that my colleagues will use the interim version just for the use of info messages. Smile
Re: [EVL] CritiqueLevel [message #987756 is a reply to message #987754] Tue, 27 November 2012 17:22 Go to previous messageGo to next message
Dimitris Kolovos is currently offline Dimitris Kolovos
Messages: 840
Registered: July 2009
Senior Member
Thanks. Rolling out a new stable release involves quite a bit of effort (i.e. compiling distributions) so I guess it really depends on the rate at which more/critical bugs are reported/fixed.

Cheers,
Dimitris
Re: [EVL] CritiqueLevel [message #987758 is a reply to message #987756] Tue, 27 November 2012 17:29 Go to previous message
Joost van Pinxten is currently offline Joost van Pinxten
Messages: 50
Registered: November 2012
Member
I understand that not for every nitpicky thing a new stable release can be made, but I thought half a year might be a bit long.

We will definitely keep an eye out for new releases!
Previous Topic:Epsilon profiling tools missing?
Next Topic:Cancel EVL validation that is in progress
Goto Forum:
  


Current Time: Sat Aug 30 22:38:58 EDT 2014

Powered by FUDForum. Page generated in 0.02505 seconds