Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Migrating from Xtext 1.0.2 to Xtext 2.0
Migrating from Xtext 1.0.2 to Xtext 2.0 [message #677664] Thu, 09 June 2011 05:35 Go to next message
Mary Komor is currently offline Mary KomorFriend
Messages: 61
Registered: July 2009
Member
Is there going to be a migration guide to help people migrate from 1.0.2 ->
2.0? If so, when can we expect it? I am ready to start migrating now, and am
wondering if I should wait for the migration guide to save myself some
migration pains.

Thanks!

Mary
Re: Migrating from Xtext 1.0.2 to Xtext 2.0 [message #677666 is a reply to message #677664] Thu, 09 June 2011 06:01 Go to previous messageGo to next message
Ed Willink is currently offline Ed WillinkFriend
Messages: 7655
Registered: July 2009
Senior Member
Hi Mary

It's in the RC4 documentation.

Regards

Ed Willink


On 09/06/2011 06:35, Mary Komor wrote:
> Is there going to be a migration guide to help people migrate from
> 1.0.2 -> 2.0? If so, when can we expect it? I am ready to start
> migrating now, and am wondering if I should wait for the migration
> guide to save myself some migration pains.
>
> Thanks!
>
> Mary
Re: Migrating from Xtext 1.0.2 to Xtext 2.0 [message #685475 is a reply to message #677666] Fri, 17 June 2011 15:11 Go to previous messageGo to next message
Jens von Pilgrim is currently offline Jens von PilgrimFriend
Messages: 313
Registered: July 2009
Senior Member
On 09.06.11 08:01, Ed Willink wrote:
> It's in the RC4 documentation.

I've just installed RC4, and I didn't found a migration guide from 1.x
to 2.0. I only found the old "Migrating from Xtext 0.7.x to 1.0" guide.

Unfortunately, some things are not working with 2.0, which did with 1.0.
E.g.,
IgnoreCaseImportUriGlobalScopeProvider and
IgnoreCaseImportedNamespaceAwareScopeProvider
are missing, as are
fragment = outline.TransformerFragment {}
fragment = outline.OutlineNodeAdapterFactoryFragment {}
in the MWE2 workflow.

Cheers,
Jens
Re: Migrating from Xtext 1.0.2 to Xtext 2.0 [message #685542 is a reply to message #685475] Fri, 17 June 2011 18:00 Go to previous messageGo to next message
Alexander Nittka is currently offline Alexander NittkaFriend
Messages: 1193
Registered: July 2009
Senior Member
Hi,

at least recent nightlies already contain the migration guide.
The scoping fragments have and ignoreCase property. The outline infrastructure has been completely reimplemented.

Alex


Need training, onsite consulting or any other kind of help for Xtext?
Go visit http://xtext.itemis.com or send a mail to xtext@itemis.de
Re: Migrating from Xtext 1.0.2 to Xtext 2.0 [message #1140677 is a reply to message #677664] Wed, 16 October 2013 14:30 Go to previous message
Hirdesh Agrawal is currently offline Hirdesh AgrawalFriend
Messages: 13
Registered: October 2013
Junior Member
I am migrating the application from xtext-1.0.1 to 2.3.0. During that I am getting the below error..

I followed all following process for migrate the xtext version.
1. Delete the old plug-ins and update the latest plug-ins in target platform.
2. Update the Plug-in Dependencies and Import Statements.
3. Introduction of the Qualified Name.
4. Changes in the index and in find references.
5. Rewritten Node Model.
6. AutoEditStrategy.
7. Other Noteworthy API Changes
To consider the above steps, I started the work with Eclipse-4.2, Which has a xtext-2.3.0 dependency. Successfully I completed the all above steps and removed the compilation error.

Problem: After that I start the testing and getting below error Messages:
[XtextLinkingDiagnostic: null:6 Couldn't resolve reference to Material 'MPS_RECUR'.,
XtextLinkingDiagnostic: null:9 Couldn't resolve reference to Cstic 'NUM_OF_ALLOC'.,
XtextLinkingDiagnostic: null:15 Couldn't resolve reference to Cstic 'INSTANCE_NUM'.,
XtextLinkingDiagnostic: null:14 Couldn't resolve reference to Class 'ALLOC'.]
Previous Topic:Xtext Dsl Persistency in database
Next Topic:Changing Antlr build options in workflow?
Goto Forum:
  


Current Time: Tue Apr 23 16:11:50 GMT 2024

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

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

Back to the top