Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'examples/org.eclipse.equinox.p2.examples.rcp.prestartupdate.releng/buildProduct.xml')
-rw-r--r--examples/org.eclipse.equinox.p2.examples.rcp.prestartupdate.releng/buildProduct.xml26
1 files changed, 26 insertions, 0 deletions
diff --git a/examples/org.eclipse.equinox.p2.examples.rcp.prestartupdate.releng/buildProduct.xml b/examples/org.eclipse.equinox.p2.examples.rcp.prestartupdate.releng/buildProduct.xml
new file mode 100644
index 000000000..2f1b9a970
--- /dev/null
+++ b/examples/org.eclipse.equinox.p2.examples.rcp.prestartupdate.releng/buildProduct.xml
@@ -0,0 +1,26 @@
+<project default="main">
+ <target name="main">
+ <property name="baseLocation" value="${eclipse.home}"/>
+ <!-- by default, check for deltapack co-located with eclipse -->
+ <property name="deltapack" value="${eclipse.home}/../deltapack/eclipse"/>
+
+ <!-- Check that we have a deltapack -->
+ <available property="haveDeltaPack" file="${deltapack}"/>
+ <fail unless="haveDeltaPack" message="The deltapack is required to build this product. Please edit buildProduct.xml or set the &quot;deltapack&quot; property." />
+
+ <property name="builder" value="${basedir}" />
+ <property name="buildDirectory" value="${basedir}/buildDirectory"/>
+ <property name="pluginPath" value="${basedir}/..${path.separator}${deltapack}" />
+ <property name="buildTempFolder" value="${buildDirectory}" />
+
+ <ant antfile="${eclipse.pdebuild.scripts}/productBuild/productBuild.xml" />
+
+ <move todir="${basedir}">
+ <fileset dir="${buildDirectory}/I.TestBuild" includes="*.zip"/>
+ </move>
+
+ <!-- refresh the workspace -->
+ <eclipse.convertPath fileSystemPath="${basedir}" property="resourcePath"/>
+ <eclipse.refreshLocal resource="${resourcePath}" depth="infinite"/>
+ </target>
+</project> \ No newline at end of file

Back to the top