Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Gvozdev2011-04-04 13:32:04 -0400
committerAndrew Gvozdev2011-04-04 13:32:04 -0400
commit0218035839742a1debe30b2f73d1fc09d3eb1ad2 (patch)
tree373e08676a27354f016f7baa1538e54e1ab4a578 /releng/org.eclipse.cdt.releng
parentdfeae8915c69d3e2528de91c93a347b5e7da7f66 (diff)
downloadorg.eclipse.cdt-0218035839742a1debe30b2f73d1fc09d3eb1ad2.tar.gz
org.eclipse.cdt-0218035839742a1debe30b2f73d1fc09d3eb1ad2.tar.xz
org.eclipse.cdt-0218035839742a1debe30b2f73d1fc09d3eb1ad2.zip
bug 341639: Provide p2 repository for nightly builds on Hudson
Diffstat (limited to 'releng/org.eclipse.cdt.releng')
-rw-r--r--releng/org.eclipse.cdt.releng/build.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/releng/org.eclipse.cdt.releng/build.xml b/releng/org.eclipse.cdt.releng/build.xml
index 32c15a7804..95b0577005 100644
--- a/releng/org.eclipse.cdt.releng/build.xml
+++ b/releng/org.eclipse.cdt.releng/build.xml
@@ -10,6 +10,12 @@
<target name="buildcopy" depends="zips,generate.p2.metadata,copy"/>
<target name="cdtbuild" depends="tag,zips,test,upload"/>
<target name="testpack" depends="zips,sign,pack,generate.p2.metadata,copy"/>
+
+ <target name="update-site" depends="zips,generate.p2.metadata">
+ <unzip src="${zipsdir}/${masterFile}" dest="${updateSiteLocation}.tmp"/>
+ <delete quiet="true" dir="${updateSiteLocation}"/>
+ <move file="${updateSiteLocation}.tmp" tofile="${updateSiteLocation}"/>
+ </target>
<target name="init">
<touch file="${user.home}/.cvspass" />
@@ -43,6 +49,7 @@
<property name="tagname" value="v${timestamp}"/>
<property name="testReports" value="${zipsdir}/testReports"/>
<property name="junit-report-output" value="${testReports}"/>
+ <property name="updateSiteLocation" value="${buildDirectory}/update-site"/>
<condition property="onWindows">
<os family="windows"/>
</condition>

Back to the top