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.

[java] Exception in thread "main" java.lang.RuntimeException: Error creating temp directory '/tmp/stubs'
[java] at org.eclipse.xtext.xtend2.compiler.batch. Xtend2BatchCompiler.createTempDir(
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: 721
Registered: July 2009
Location: Dortmund, Germany
Senior Member

Hi Matthijs,

Please enter a bug report.

Kind regards,

Need professional support for Xtext, EMF, Eclipse IDE?
Go to:
Twitter : @kthoms
Blog :
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
Previous Topic:2.0->2.1 upgrade scopeprovider no longer called
Next Topic:Primitive boxing
Goto Forum:

Current Time: Mon Mar 30 23:08:38 GMT 2020

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

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

Back to the top