Skip to main content



      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 11:14 Go to next message
Eclipse UserFriend
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 11:19 Go to previous messageGo to next message
Eclipse UserFriend
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?
Re: Xtend 2.14 and Eclipse 2019-03 [message #1805462 is a reply to message #1805461] Mon, 15 April 2019 11:33 Go to previous messageGo to next message
Eclipse UserFriend
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 06:50 Go to previous messageGo to next message
Eclipse UserFriend
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 07:37 Go to previous messageGo to next message
Eclipse UserFriend
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 07:59 Go to previous messageGo to next message
Eclipse UserFriend
@stephan is you model/code that is rebuilt under version control and if yes of what kind?
Re: Xtend 2.14 and Eclipse 2019-03 [message #1805505 is a reply to message #1805503] Tue, 16 April 2019 09:09 Go to previous messageGo to next message
Eclipse UserFriend
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 09:13 Go to previous messageGo to next message
Eclipse UserFriend
v20190406 is quite old. @tamas did you see that with the newest one too?
of course 2.14 is not affected by that bug

[Updated on: Tue, 16 April 2019 09:14] by Moderator

Re: Xtend 2.14 and Eclipse 2019-03 [message #1805507 is a reply to message #1805503] Tue, 16 April 2019 09:14 Go to previous messageGo to next message
Eclipse UserFriend
Jazz/RTC
Re: Xtend 2.14 and Eclipse 2019-03 [message #1805513 is a reply to message #1805507] Tue, 16 April 2019 10:01 Go to previous messageGo to next message
Eclipse UserFriend
@stefan can you make somehow sure its not jazz cancelling the build by starting jobs?
Re: Xtend 2.14 and Eclipse 2019-03 [message #1805516 is a reply to message #1805513] Tue, 16 April 2019 10:31 Go to previous messageGo to next message
Eclipse UserFriend
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 10:32 Go to previous messageGo to next message
Eclipse UserFriend
parallel build should be off by default or did you turn it on?
Re: Xtend 2.14 and Eclipse 2019-03 [message #1805518 is a reply to message #1805517] Tue, 16 April 2019 10:39 Go to previous message
Eclipse UserFriend
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: Sat Mar 15 09:41:12 EDT 2025

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

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

Back to the top