Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/org.eclipse.equinox.p2.examples.rcp.cloud.releng/build.properties12
-rw-r--r--examples/org.eclipse.equinox.p2.examples.rcp.cloud.releng/readme.txt6
2 files changed, 15 insertions, 3 deletions
diff --git a/examples/org.eclipse.equinox.p2.examples.rcp.cloud.releng/build.properties b/examples/org.eclipse.equinox.p2.examples.rcp.cloud.releng/build.properties
index 8bca1bde5..3f64da774 100644
--- a/examples/org.eclipse.equinox.p2.examples.rcp.cloud.releng/build.properties
+++ b/examples/org.eclipse.equinox.p2.examples.rcp.cloud.releng/build.properties
@@ -65,20 +65,28 @@ skipFetch=true
############# JAVA COMPILER OPTIONS ##############
+# For this example:
+# We specify the JRE locations for CDC-1.1/Foundation-1.1 and J2SE-1.5
+# because these are the required execution environments defined for the
+# bundles in the example.
+
# The location of the Java jars to compile against. Typically the rt.jar for your JDK/JRE
#bootclasspath=${java.home}/lib/rt.jar
+# If using an IBM VM, use
+#bootclasspath=${java.home}/lib/core.jar;${java.home}/lib/vm.jar
+
# specific JRE locations to compile against. These values are used to compile bundles specifying a
# Bundle-RequiredExecutionEnvironment. Uncomment and set values for environments that you support
#CDC-1.0/Foundation-1.0= /path/to/rt.jar
-#CDC-1.1/Foundation-1.1=
+CDC-1.1/Foundation-1.1=${java.home}/lib/rt.jar
#OSGi/Minimum-1.0=
#OSGi/Minimum-1.1=
#JRE-1.1=
#J2SE-1.2=
#J2SE-1.3=
#J2SE-1.4=
-#J2SE-1.5=
+J2SE-1.5=${java.home}/lib/rt.jar
#JavaSE-1.6=
#PersonalJava-1.1=
#PersonalJava-1.2=
diff --git a/examples/org.eclipse.equinox.p2.examples.rcp.cloud.releng/readme.txt b/examples/org.eclipse.equinox.p2.examples.rcp.cloud.releng/readme.txt
index 8bc9a7ca6..eb0d08981 100644
--- a/examples/org.eclipse.equinox.p2.examples.rcp.cloud.releng/readme.txt
+++ b/examples/org.eclipse.equinox.p2.examples.rcp.cloud.releng/readme.txt
@@ -9,4 +9,8 @@ This project is a releng builder for the org.eclipse.equinox.p2.examples.rcp.clo
3) Due to bug 268867, if the buildDirectory/buildRepo is deleted/cleaned, then the repo must also be removed from
the workspace Available Software Sites preferences.
-4) Use the included launch config, or run buildProduct.xml as an ant build using the same JRE as the workspace \ No newline at end of file
+4) Use the included launch config, or run buildProduct.xml as an ant build using the same JRE as the workspace
+
+5) The build.properties file specifically defines the JRE's for CDC-1.1/Foundation-1.1 and
+ J2SE-1.5 because these are the required bundle execution environments in the example.
+ The build should be run on a 1.5 VM. \ No newline at end of file

Back to the top