Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Xtext upgrade
Xtext upgrade [message #1793434] Wed, 08 August 2018 09:27 Go to next message
Dominik Leszyk is currently offline Dominik LeszykFriend
Messages: 19
Registered: December 2013
Junior Member
Hi All,

We have a bunch of DSLs written with Xtext 2.7 which we're going to migrate to the newest Xtext 2.14. In our builds we use Tycho.

What is your recommendation - should we just update version of dependencies in our poms and target definition platform files. Or would it be more recommended to generate new projects from scratch and move our DSL projects to the new structure?

Dominik
Re: Xtext upgrade [message #1793435 is a reply to message #1793434] Wed, 08 August 2018 09:52 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 12229
Registered: July 2009
Senior Member
Its just a matter of personal preference and if you want to port the workflow too.
In all cases you have to copy and adapt anywhere. So there is no recommendation



Need professional support for Xtext, Xpand, EMF?
Go to: https://xtext.itemis.com
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: Xtext upgrade [message #1793436 is a reply to message #1793435] Wed, 08 August 2018 10:26 Go to previous messageGo to next message
Ed Willink is currently offline Ed WillinkFriend
Messages: 6033
Registered: July 2009
Senior Member
Hi

I continue to use old style Xtext and with only modest tweaks I can use the latest Xtext release, however I am aware that I am losing out on at least the new formatter. However the significant formatter bugs seem to persist anyway in Xtext/MWE2 editors. Not tracking the latest code has risks that functionality that you rely on eventually breaks. If you want your code to continue to run on an Xtext 2.7 platform then an upgrade is not a good idea. If you are refreshing your code as part of an enhancement program then an upgrade is probably sensible. If you are just feeling guilty about lagging behind, perhaps you can lag a bit further. When upgrading, I would certainly merge your old code into 'new' projects so that you pick up all the latest default facilities.

Regards

Ed Willink
Re: Xtext upgrade [message #1793446 is a reply to message #1793436] Wed, 08 August 2018 13:18 Go to previous messageGo to next message
Tamas Miklossy is currently offline Tamas MiklossyFriend
Messages: 16
Registered: February 2016
Junior Member
The following blog post may guide you through the migration process: https://typefox.io/xtexts-new-generator-migration
Re: Xtext upgrade [message #1793447 is a reply to message #1793446] Wed, 08 August 2018 13:30 Go to previous message
Dominik Leszyk is currently offline Dominik LeszykFriend
Messages: 19
Registered: December 2013
Junior Member
Thank you all for comments. I will try to generate fresh projects with wizards and copy existing files over.
Previous Topic:Using Keywords as Identifiers
Next Topic:Xtext validation for custom terminal rules
Goto Forum:
  


Current Time: Wed Sep 19 00:56:45 GMT 2018

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

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

Back to the top