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

Bug 359324

Summary: automated build should use JRE 1.5
Product: z_Archived Reporter: Miles Parker <milesparker>
Component: MylynAssignee: Mylyn Inbox <mylyn-inbox>
Status: RESOLVED WONTFIX QA Contact:
Severity: trivial    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Miles Parker CLA 2011-09-28 21:38:25 EDT
Currently, the Mylyn build server is building using Java 1.6. As we have BREE set to 1.5 we should only allow 1,5 API to be used. However, there is no clean way of enforcing this for the Mac. In any case, of course code should not get past the build if it isn't runnable on the target platform. Configuring the Mylyn Modeling automated build http://ci.mylyn.org/job/mylyn-incubator-modeling-bridge/ should handle this case.

Steffen, I'm assinging to you as you have the most familiarity with the current build setup.
Comment 1 Steffen Pingel CLA 2011-09-29 05:07:06 EDT
Makes sense but this is not a priority at the moment.
Comment 2 Steffen Pingel CLA 2011-10-13 08:33:45 EDT
I have installed a Java 1.5 SDK on http://ci.mylyn.org.
Comment 3 Steffen Pingel CLA 2011-10-13 09:21:49 EDT
Reverted the change due to out of memory exceptions that are caused by different default settings for the 1.5 JVM. There doesn't seem to be a good way to change JVM options globally without requiring modification of all job configurations.

[INFO] --- tycho-surefire-plugin:0.13.0:test (default-test) @ org.eclipse.mylyn.commons.activity.tests ---
[INFO] Adding repository http://download.eclipse.org/releases/indigo/
[INFO] Fetching p2.index (0B of 131B at 0B/s) from http://download.eclipse.org/technology/epp/packages/indigo/
[INFO] 1 operation remaining.
[INFO] Fetching p2.index (131B of 131B at 0B/s) from http://download.eclipse.org/technology/epp/packages/indigo/
[INFO] Adding repository http://download.eclipse.org/releases/indigo/
[INFO] Fetching p2.index (0B of 131B at 0B/s) from http://download.eclipse.org/technology/epp/packages/indigo/
[INFO] 1 operation remaining.
[INFO] Fetching p2.index (131B of 131B at 0B/s) from http://download.eclipse.org/technology/epp/packages/indigo/
[INFO] Adding repository http://download.eclipse.org/tools/orbit/downloads/drops/S20110907174232/repository/
[INFO] Adding repository http://download.eclipse.org/tools/orbit/downloads/drops/S20110907174232/repository/
[INFO] o.h.m.e.h.MavenExecutionResultHandler - Build failed with exception(s)
[INFO] o.h.m.e.h.MavenExecutionResultHandler - [1] java.lang.OutOfMemoryError: Java heap space
[DEBUG] Closing connection to remote
[ERROR] Java heap space -> [Help 1]
[ERROR]