Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » DSL runtime workspace blocks at start waiting for non-existing .*._trace files to be refreshed
DSL runtime workspace blocks at start waiting for non-existing .*._trace files to be refreshed [message #1774897] Fri, 20 October 2017 22:04 Go to next message
Günter Kniesel is currently offline Günter KnieselFriend
Messages: 1
Registered: October 2017
Junior Member
When I start the run-time workspace of an Xtext 2.12 project, Eclipse tries to refresh some non-exsiting files in the src-gen folder and blocks infinitely. The files names all follow the same pattern: they start with a dot ".", then comes the name of some actually generated file from src-gen and they end with "._trace". See attachment.

Can one prevent Xtext generating these files (or better, thinking it generated them although it didn't) and ultimately, can one stop it trying to refresh them?

Thank you for your help,
Günter
Re: DSL runtime workspace blocks at start waiting for non-existing .*._trace files to be refreshed [message #1774969 is a reply to message #1774897] Mon, 23 October 2017 03:51 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 12322
Registered: July 2009
Senior Member
You can try to customize EclipseResourceFileSystemAccess2 gettracefile and return null always

Need professional support for Xtext, Xpand, EMF?
Go to: https://xtext.itemis.com
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: DSL runtime workspace blocks at start waiting for non-existing .*._trace files to be refreshed [message #1774970 is a reply to message #1774969] Mon, 23 October 2017 03:54 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 12322
Registered: July 2009
Senior Member
And you should stop killing your runtime was and do a proper shutdown so there is no rebuild at all

Need professional support for Xtext, Xpand, EMF?
Go to: https://xtext.itemis.com
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: DSL runtime workspace blocks at start waiting for non-existing .*._trace files to be refreshed [message #1774982 is a reply to message #1774897] Mon, 23 October 2017 07:36 Go to previous messageGo to next message
Karsten Thoms is currently offline Karsten ThomsFriend
Messages: 635
Registered: July 2009
Location: Dortmund, Germany
Senior Member

With Xtext 2.13 you can bind ITraceForStorageProvider to ITraceForStorageProvider.Null for this. But since you use 2.12, go with Christian.

Would be interesting if you can provide a reproducing example so that we could fix this. We can only fix what we are also experiencing, but never faced that so far. You may create a bug report with a detailed description.
Re: DSL runtime workspace blocks at start waiting for non-existing .*._trace files to be refreshed [message #1774997 is a reply to message #1774982] Mon, 23 October 2017 11:08 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 12322
Registered: July 2009
Senior Member
the other problem is that the message in the progress monitor is outdated and it shows refreshing while that is finished long ago

Need professional support for Xtext, Xpand, EMF?
Go to: https://xtext.itemis.com
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: DSL runtime workspace blocks at start waiting for non-existing .*._trace files to be refreshed [message #1774998 is a reply to message #1774997] Mon, 23 October 2017 11:13 Go to previous message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 12322
Registered: July 2009
Senior Member
created https://github.com/eclipse/xtext-eclipse/issues/433 for that

Need professional support for Xtext, Xpand, EMF?
Go to: https://xtext.itemis.com
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Previous Topic:Only static inner classes?
Next Topic:Xtext 2.8.x Project Building in Xtext 2.10 with Maven Not Workign
Goto Forum:
  


Current Time: Fri Oct 19 08:34:14 GMT 2018

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

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

Back to the top