Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 408301

Summary: useJDK = BREE doesn't work on hudson.eclipse.org
Product: Community Reporter: Stephan Leicht Vogt <stephan.leichtvogt>
Component: CI-JenkinsAssignee: CI Admin Inbox <ci.admin-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: denis.roy, ken.lee, webmaster
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Bug Depends on: 390334    
Bug Blocks:    

Description Stephan Leicht Vogt CLA 2013-05-17 02:32:52 EDT
In the job cbi-scout-3.9-nightly I tried to use the tycho compiler option useJDK=BREE and it resultet in following error (see also here https://hudson.eclipse.org/hudson/job/cbi-scout-3.9-nightly/428/console):

[INFO] o.h.m.e.h.MavenExecutionResultHandler - Build failed with exception(s)
[INFO] o.h.m.e.h.MavenExecutionResultHandler - [1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.eclipse.tycho:tycho-compiler-plugin:0.17.0:compile (default-compile) on project org.eclipse.scout.commons: useJDK = BREE configured, but no toolchain of type 'jdk' with id 'JavaSE-1.6' found. See http://maven.apache.org/guides/mini/guide-using-toolchains.html
[DEBUG] Closing connection to remote
[ERROR] Failed to execute goal org.eclipse.tycho:tycho-compiler-plugin:0.17.0:compile (default-compile) on project org.eclipse.scout.commons: useJDK = BREE configured, but no toolchain of type 'jdk' with id 'JavaSE-1.6' found. See http://maven.apache.org/guides/mini/guide-using-toolchains.html -> [Help 1]

Do I have something wrongly configured or is the toolchain.xml missing on the hudson build server?

Thanks for any help
--
Greetings
Stephan
Comment 1 Eclipse Webmaster CLA 2013-05-17 15:24:03 EDT
Looks like slave2 doesn't have the toolchains.xml file, I've added so let me now if that fixes this.

-M.
Comment 3 Ken Lee CLA 2013-07-05 04:49:32 EDT
I can confirm that the problem is solved for hudson-slave2.
Comment 4 Denis Roy CLA 2013-09-26 09:26:29 EDT
Thanks Ken