Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Xcore validation
Xcore validation [message #895572] Fri, 13 July 2012 15:24 Go to next message
Wouter Schaekers is currently offline Wouter SchaekersFriend
Messages: 17
Registered: July 2012
Junior Member
Hi

I'm developping a dsl using xtext. Everything goes well, but there is one disadvantage about this, the depenence of xtext. That's why I'm testing Xcore.
My question is very simple. Is it possible to formulate constraints and if so, how do I do that?
This post suggests that this is not possible.

Thanks.
Re: Xcore validation [message #895577 is a reply to message #895572] Fri, 13 July 2012 15:46 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 30897
Registered: July 2009
Senior Member
Wouter,

There's no support yet for expressing the logic of a constraint in
Xcore. You can only use Ecore annotations to declare them and then
implement the logic in Java.

On 13/07/2012 5:24 PM, Wouter Schaekers wrote:
> Hi
>
> I'm developping a dsl using xtext. Everything goes well, but there is
> one disadvantage about this, the depenence of xtext. That's why I'm
> testing Xcore.
> My question is very simple. Is it possible to formulate constraints
> and if so, how do I do that?
> http://www.eclipse.org/forums/index.php/mv/msg/366376/891806/ post
> suggests that this is not possible.
>
> Thanks.
Re: Xcore validation [message #895673 is a reply to message #895577] Sat, 14 July 2012 15:32 Go to previous message
Wouter Schaekers is currently offline Wouter SchaekersFriend
Messages: 17
Registered: July 2012
Junior Member
Thank you for your responce.

[Updated on: Mon, 06 August 2012 08:28]

Report message to a moderator

Previous Topic:xbase generation exception
Next Topic:problems for JvmType references when executing tests with Tycho
Goto Forum:
  


Current Time: Mon Feb 24 00:44:11 GMT 2020

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

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

Back to the top