Skip to main content



      Home
Home » Modeling » TMF (Xtext) » Xtend compiler - temp path issue
Xtend compiler - temp path issue [message #764282] Sun, 11 December 2011 15:44 Go to next message
Eclipse UserFriend
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 15:08 Go to previous messageGo to next message
Eclipse UserFriend
Hi Matthijs,

Please enter a bug report.

Kind regards,
~Karsten
Re: Xtend compiler - temp path issue [message #764770 is a reply to message #764764] Mon, 12 December 2011 15:16 Go to previous message
Eclipse UserFriend
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: Sun Jul 06 13:32:33 EDT 2025

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

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

Back to the top