Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Migrating unknown version of Xtext to XText 2.x
Migrating unknown version of Xtext to XText 2.x [message #872793] Wed, 16 May 2012 20:43 Go to next message
Daniel Fath is currently offline Daniel FathFriend
Messages: 14
Registered: March 2012
Junior Member
So I have this project which has some really funky stuff. Basically I have files:
- BuildIn.ext
- Checks.chk
...

As I understand .ext was the old "XTend" language which has been replaced with Xpand, if I recall correctly. But the Checks.chk really trips me up. What version of Xtext is this? And how should I go about migrating?
Re: Migrating unknown version of Xtext to XText 2.x [message #873081 is a reply to message #872793] Thu, 17 May 2012 13:23 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 13488
Registered: July 2009
Senior Member
Hi,

in former Xtext versions it was possible to write Validation rules in the Check language from good old oAW.
The .ext file may simply contain some helper extension used in the Checks.
now you usually write these checks in Java (See YourDslJavaValidator).

~Christian


Need professional support for Xtext, Xpand, EMF?
Go to: https://www.itemis.com/en/xtext/
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: Migrating unknown version of Xtext to XText 2.x [message #879686 is a reply to message #873081] Thu, 31 May 2012 16:33 Go to previous messageGo to next message
Daniel Fath is currently offline Daniel FathFriend
Messages: 14
Registered: March 2012
Junior Member
What exactly do you mean by YourDslJavaValidator? Is there an example? Also is that language Xtext 1.0 or 0.7?
Re: Migrating unknown version of Xtext to XText 2.x [message #879716 is a reply to message #879686] Thu, 31 May 2012 17:49 Go to previous message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 13488
Registered: July 2009
Senior Member
Hi,

create a new dsl and you will see that i mean.
i cannot say what you are using since checks where in 0.7.2 too but i guess your dsl is oaw xtext

~Christian


Need professional support for Xtext, Xpand, EMF?
Go to: https://www.itemis.com/en/xtext/
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Previous Topic:Using Xtext with Zest framework
Next Topic:Problem with imported model when referencing Xbase and JavaVMTypes models
Goto Forum:
  


Current Time: Sun Jul 05 11:51:24 GMT 2020

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

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

Back to the top