Skip to main content



      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 16:43 Go to next message
Eclipse UserFriend
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 09:23 Go to previous messageGo to next message
Eclipse UserFriend
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
Re: Migrating unknown version of Xtext to XText 2.x [message #879686 is a reply to message #873081] Thu, 31 May 2012 12:33 Go to previous messageGo to next message
Eclipse UserFriend
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 13:49 Go to previous message
Eclipse UserFriend
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
Previous Topic:Using Xtext with Zest framework
Next Topic:Problem with imported model when referencing Xbase and JavaVMTypes models
Goto Forum:
  


Current Time: Mon Jul 14 08:00:17 EDT 2025

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

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

Back to the top