Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Buckminster » Headless build for Java-8 applications
Headless build for Java-8 applications [message #1228860] Wed, 08 January 2014 08:24 Go to next message
Bernard SARTER is currently offline Bernard SARTER
Messages: 76
Registered: August 2011
Location: Paris, France
Member
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 13:56 Go to previous message
Bernard SARTER is currently offline Bernard SARTER
Messages: 76
Registered: August 2011
Location: Paris, France
Member
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.
Previous Topic:NPE during target.fragments.source action
Next Topic:Executing plugIn unit tests with buckminster headless
Goto Forum:
  


Current Time: Sat Oct 25 09:05:45 GMT 2014

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

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