Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Xtend 2.14 and Eclipse 2019-03
Xtend 2.14 and Eclipse 2019-03 [message #1805460] Mon, 15 April 2019 15:14 Go to next message
Stefan Winkler is currently offline Stefan WinklerFriend
Messages: 301
Registered: July 2009
Location: Germany
Senior Member
Hi all,

we are currently developing for an Oxygen Target Platform with Xtext/Xtend 2.14. We cannot update the Target Platform for the time being due to corporate strategy.

At the same time we want to have the latest and greatest IDE to develop our product, so we are trying to use Eclipse 2019-03, but as I said with the Oxygen Target and with the Xtend 2.14 compiler in our Eclipse IDE to get code generation consistent between the IDE and our build later.

The problem with this is that it seems that the Eclipse build is running into an endless (or at least very long-running) loop when building the workspace and it seems Xtend is the culprit. What happens is that in the Progress view, the progress always says Analyzing Deltas -> Building xxx: Collecting Resources -> Building xxx: Updating resource descriptions -> the same for yyy, zzzz and then back to Analyzing Deltas which starts the cycle again.

Does this ring a bell for anyone? Is this a known issue that was fixed in a recent Xtend version? If so, can you point me to the bugzilla so I could try to backport this to our IDE?

Thanks in advance,
Stefan
Re: Xtend 2.14 and Eclipse 2019-03 [message #1805461 is a reply to message #1805460] Mon, 15 April 2019 15:19 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 13068
Registered: July 2009
Senior Member
i dont know anything. do you have a refresh polling in the workspace on or so?
did you enable tracing for eclipse builders to analyze what causes this?


Need professional support for Xtext, Xpand, EMF?
Go to: https://www.itemis.com/en/xtext/
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: Xtend 2.14 and Eclipse 2019-03 [message #1805462 is a reply to message #1805461] Mon, 15 April 2019 15:33 Go to previous messageGo to next message
Stefan Winkler is currently offline Stefan WinklerFriend
Messages: 301
Registered: July 2009
Location: Germany
Senior Member
Hi Christian,

Christian Dietrich wrote on Mon, 15 April 2019 11:19
i dont know anything. do you have a refresh polling in the workspace on or so?
did you enable tracing for eclipse builders to analyze what causes this?


Refresh polling is on ("using native hooks/polling" and "refresh on access").
I have switched them off now but it does not seem to make a difference.
I will do some analyses in the coming days and report back. I just wanted to check before diving into analyses.

Best,
Stefan
Re: Xtend 2.14 and Eclipse 2019-03 [message #1805497 is a reply to message #1805462] Tue, 16 April 2019 10:50 Go to previous messageGo to next message
Tamas Miklossy is currently offline Tamas MiklossyFriend
Messages: 50
Registered: February 2016
Member
I also observed the problem on Eclipse 2019-03 (4.11) and Xtend 2.18.0.v20190406. For sure the problem needs further investigation.
Re: Xtend 2.14 and Eclipse 2019-03 [message #1805500 is a reply to message #1805497] Tue, 16 April 2019 11:37 Go to previous messageGo to next message
Stefan Winkler is currently offline Stefan WinklerFriend
Messages: 301
Registered: July 2009
Location: Germany
Senior Member
In the meantime I have started to acquire build traces from org.eclipse.core.resources.

From the first impression it seems that the build is interrupted over and over again, maybe by the workspace refresh job.
I also want to try to get Xtext build logging written somehow, but for this I need to add a log4j configuration fragment, right?
Or is there a way to add log4j configuration to a packaged product via command line?
Re: Xtend 2.14 and Eclipse 2019-03 [message #1805503 is a reply to message #1805500] Tue, 16 April 2019 11:59 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 13068
Registered: July 2009
Senior Member
@stephan is you model/code that is rebuilt under version control and if yes of what kind?

Need professional support for Xtext, Xpand, EMF?
Go to: https://www.itemis.com/en/xtext/
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: Xtend 2.14 and Eclipse 2019-03 [message #1805505 is a reply to message #1805503] Tue, 16 April 2019 13:09 Go to previous messageGo to next message
Ed Willink is currently offline Ed WillinkFriend
Messages: 6440
Registered: July 2009
Senior Member
Hi

Could it be related to the voracious building from https://bugs.eclipse.org/bugs/show_bug.cgi?id=545343

Fixed in 2.17.1, 2.18

Regards

Ed Willink
Re: Xtend 2.14 and Eclipse 2019-03 [message #1805506 is a reply to message #1805505] Tue, 16 April 2019 13:13 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 13068
Registered: July 2009
Senior Member
v20190406 is quite old. @tamas did you see that with the newest one too?
of course 2.14 is not affected by that bug


Need professional support for Xtext, Xpand, EMF?
Go to: https://www.itemis.com/en/xtext/
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de

[Updated on: Tue, 16 April 2019 13:14]

Report message to a moderator

Re: Xtend 2.14 and Eclipse 2019-03 [message #1805507 is a reply to message #1805503] Tue, 16 April 2019 13:14 Go to previous messageGo to next message
Stefan Winkler is currently offline Stefan WinklerFriend
Messages: 301
Registered: July 2009
Location: Germany
Senior Member
Jazz/RTC
Re: Xtend 2.14 and Eclipse 2019-03 [message #1805513 is a reply to message #1805507] Tue, 16 April 2019 14:01 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 13068
Registered: July 2009
Senior Member
@stefan can you make somehow sure its not jazz cancelling the build by starting jobs?

Need professional support for Xtext, Xpand, EMF?
Go to: https://www.itemis.com/en/xtext/
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: Xtend 2.14 and Eclipse 2019-03 [message #1805516 is a reply to message #1805513] Tue, 16 April 2019 14:31 Go to previous messageGo to next message
Stefan Winkler is currently offline Stefan WinklerFriend
Messages: 301
Registered: July 2009
Location: Germany
Senior Member
Hi Christian,

Christian Dietrich wrote on Tue, 16 April 2019 10:01
@stefan can you make somehow sure its not jazz cancelling the build by starting jobs?


I will try, but I think it is not Jazz alone. Maybe some side-effect between Jazz, Xtend, and the new Workspace Build architecture that enables parallel builds.
Because the same Xtend and Jazz versions work fine when installed in Eclipse Oxygen.2...

I'll check and report back.

Best,
Stefan
Re: Xtend 2.14 and Eclipse 2019-03 [message #1805517 is a reply to message #1805516] Tue, 16 April 2019 14:32 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 13068
Registered: July 2009
Senior Member
parallel build should be off by default or did you turn it on?


Need professional support for Xtext, Xpand, EMF?
Go to: https://www.itemis.com/en/xtext/
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: Xtend 2.14 and Eclipse 2019-03 [message #1805518 is a reply to message #1805517] Tue, 16 April 2019 14:39 Go to previous message
Stefan Winkler is currently offline Stefan WinklerFriend
Messages: 301
Registered: July 2009
Location: Germany
Senior Member
No, parallel build is off.
I just guessed that making parallel build possible would have changed the architecture here and that this might be a factor in the phenomenon.
Previous Topic:Getting IEObjectDescription from JvmTypeRefence without proxy resolution
Next Topic:References to UML elements
Goto Forum:
  


Current Time: Thu Aug 22 11:05:00 GMT 2019

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

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

Back to the top