Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Strange behavior of XText
Strange behavior of XText [message #1278058] Wed, 26 March 2014 21:01 Go to next message
jack feitelsonn is currently offline jack feitelsonnFriend
Messages: 4
Registered: March 2014
Junior Member
Hi,
Every time I run the XText project I receive different of the XText parser.
For example, I have have added some code and then run the plugin and everything worked, then I have removed the code and it didnt work, then when I have added the code back it didnt worked again, which is odd because the same code work two executions before that.

I have tested this several times and it seems that XText behaves randomly.

Further more, I have tried to erase the runtime eclipse and recreate it, and it didnt help.

Thanks.
Re: Strange behavior of XText [message #1278250 is a reply to message #1278058] Thu, 27 March 2014 04:41 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 30810
Registered: July 2009
Senior Member
Jack,

Comments below.

On 26/03/2014 10:01 PM, jack feitelsonn wrote:
> Hi,
> Every time I run the XText project I receive different of the XText
> parser.
> For example, I have have added some code
This is very vague...
> and then run the plugin and everything worked, then I have removed the
> code and it didnt work,
What didn't work?
> then when I have added the code back it didnt worked again, which is
> odd because the same code work two executions before that.
It's hard to know what you're talking about. Xtext does create an index
so perhaps when things fail, the index ends up empty, and then the next
time, the index is broken....
>
> I have tested this several times and it seems that XText behaves
> randomly.
It sounds deterministic... How do you ever get back into a "everything
worked" state?
>
> Further more, I have tried to erase the runtime eclipse and recreate
> it, and it didnt help.
That should result in a clean index. In any case, I'm not sure how
anyone can help you with more details from you...
>
> Thanks.
>
Re: Strange behavior of XText [message #1278289 is a reply to message #1278058] Thu, 27 March 2014 06:05 Go to previous message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 13313
Registered: July 2009
Senior Member
Hi if this is regarding "generating Xtext artifacts" you may have to
increase timeouts in the antlrfragments in the workflow

--
Need training, onsite consulting or any other kind of help for Xtext?
Go visit http://xtext.itemis.com or send a mail to xtext at itemis dot de


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:[SOLVED] xText Version running on Eclipse 3.6?
Next Topic:character ranges
Goto Forum:
  


Current Time: Wed Jan 22 00:03:22 GMT 2020

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

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

Back to the top