Xtend compiler - temp path issue [message #764282] |
Sun, 11 December 2011 15:44  |
Eclipse User |
|
|
|
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)
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03688 seconds