Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Xtend compiler - temp path issue
Xtend compiler - temp path issue [message #764282] Sun, 11 December 2011 20:44 Go to next message
Matthijs  is currently offline Matthijs Friend
Messages: 11
Registered: August 2011
Junior Member
The Xtend compiler occasionally fails (on the jenkins build server) with an error while creating the temp folder. On inspection of the code, we learn that the Xtend2BatchCompiler always uses the same folder in the temp dir. This will cause concurrency issues.

I suggest the temp folder is placed under the target folder of the current project. Alternatively, create a folder in the temp dir that is really unique.

See stacktrace below.

main:
[java] Exception in thread "main" java.lang.RuntimeException: Error creating temp directory '/tmp/stubs'
[java] at org.eclipse.xtext.xtend2.compiler.batch. Xtend2BatchCompiler.createTempDir(Xtend2BatchCompiler.java:437)
Re: Xtend compiler - temp path issue [message #764764 is a reply to message #764282] Mon, 12 December 2011 20:08 Go to previous messageGo to next message
Karsten Thoms is currently offline Karsten ThomsFriend
Messages: 762
Registered: July 2009
Location: Dortmund, Germany
Senior Member

Hi Matthijs,

Please enter a bug report.

Kind regards,
~Karsten


Need professional support for Xtext, EMF, Eclipse IDE?
Go to: http://devhub.karakun.com
Twitter : @kthoms
Blog : www.karsten-thoms.de
Re: Xtend compiler - temp path issue [message #764770 is a reply to message #764764] Mon, 12 December 2011 20:16 Go to previous message
Michael Clay is currently offline Michael ClayFriend
Messages: 9
Registered: July 2009
Junior Member
i have filed a bug for this pls have a look at https://bugs.eclipse.org/bugs/show_bug.cgi?id=366454
Previous Topic:2.0->2.1 upgrade scopeprovider no longer called
Next Topic:Primitive boxing
Goto Forum:
  


Current Time: Mon Sep 23 21:59:04 GMT 2024

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

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

Back to the top