Headless build for Java-8 applications [message #1228860] |
Wed, 08 January 2014 03:24  |
Eclipse User |
|
|
|
Hi,
I'm trying to currently migrate a Java-7 RCP app. to Java-8.
I can build the app using buckminster from inside the Eclipse IDE 4.3 SR1 (after installing the Java-8 patch from here: http://wiki.eclipse.org/JDT/Eclipse_Java_8_Support_%28BETA%29).
But when I try to build the app. using a headless hudson + buckminster config, I get:
[workspace] $ "C:\Program Files\Java\jdk1.8.0\bin\java.exe" -Dbuckminster.output.root=C:\Applis\hudson\jobs\myJob\workspace\buckminster.output -Dbuckminster.temp.root=C:\Applis\hudson\jobs\myJob\workspace\buckminster.temp -Xmx256m -jar C:\Applis\buckminster\plugins\org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar -application org.eclipse.buckminster.cmdline.headless -data C:\Applis\hudson\jobs\myJob\workspace --loglevel info -S C:\Applis\hudson\jobs\myJob\workspace\commands.txt
INFO: importtargetdefinition '-A' '/C:/Applis/hudson/jobs/myJob/workspace/myProject/rcp.target'
INFO: import '/C:/Applis/hudson/jobs/myJob/workspace/myProject/my.cquery'
INFO: Import complete.
INFO: build
Error: file C:\Applis\hudson\jobs\myProject\workspace\myBundle: Unbound classpath container: 'JRE System Library [JavaSE-1.8]' in project 'myBundle'
I'm using the latest buckminster version from here: http://download.eclipse.org/tools/buckminster/headless-4.3
JAVA_HOME and hudson JDK point both to Java 8.
Did I missed something ? (I also tried to more or less apply the Java8 patch to buckminster, but I still have the same error).
best regards,
Bernard.
|
|
|
Re: Headless build for Java-8 applications [message #1234231 is a reply to message #1228860] |
Tue, 21 January 2014 08:56  |
Eclipse User |
|
|
|
Okay ... by deleting the hudson workspace and rebooting the server, the problem vanished, and the build is ok now.
BTW, the buckminster 'emma' command is not working for java-8 code, but that's not really a surprise, and I guess I have to wait until jacoco / EclEmma have provided a new version.
|
|
|
Powered by
FUDForum. Page generated in 0.03689 seconds