Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/releng
diff options
context:
space:
mode:
authorVivian Kong2009-05-11 18:04:32 +0000
committerVivian Kong2009-05-11 18:04:32 +0000
commita85c3c74aa843ef7747fc8c7e7fabe5354a8062c (patch)
tree46ee839ee6ffcc1969e5d8cae16a1265e5395924 /releng
parent35c065ec0202bfb98d99284708d21718f58b6561 (diff)
downloadorg.eclipse.cdt-a85c3c74aa843ef7747fc8c7e7fabe5354a8062c.tar.gz
org.eclipse.cdt-a85c3c74aa843ef7747fc8c7e7fabe5354a8062c.tar.xz
org.eclipse.cdt-a85c3c74aa843ef7747fc8c7e7fabe5354a8062c.zip
test packing for bug 275577
Diffstat (limited to 'releng')
-rw-r--r--releng/org.eclipse.cdt.releng/build.xml15
1 files changed, 14 insertions, 1 deletions
diff --git a/releng/org.eclipse.cdt.releng/build.xml b/releng/org.eclipse.cdt.releng/build.xml
index bf37a9f81db..a2bde359c2b 100644
--- a/releng/org.eclipse.cdt.releng/build.xml
+++ b/releng/org.eclipse.cdt.releng/build.xml
@@ -9,7 +9,7 @@
<target name="testbuild" depends="zips,test,copy"/>
<target name="buildcopy" depends="zips,generate.p2.metadata,copy"/>
<target name="cdtbuild" depends="tag,zips,test,upload"/>
- <target name="testmd5" depends="zips,sign,generate.p2.metadata,copy"/>
+ <target name="testpack" depends="zips,sign,pack,generate.p2.metadata,copy"/>
<target name="init">
<touch file="${user.home}/.cvspass" />
@@ -174,6 +174,19 @@
basedir="${buildDirectory}/site/eclipse"/>
</target>
+ <target name="pack" depends="init" unless="hasErrors">
+ <echo message="Pack200" />
+ <property name="launcher" value="${basedir}/tools/org.eclipse.releng.basebuilder/plugins/org.eclipse.equinox.launcher.jar"/>
+ <java jar="${launcher}" fork="true" timeout="10800000" jvm="${jvm1.5}" failonerror="true" maxmemory="768m" dir="${buildDirectory}/eclipse">
+ <arg line="-application org.eclipse.update.core.siteOptimizer" />
+ <arg line="-jarProcessor"/>
+ <arg line="-verbose"/>
+ <arg line="-processAll"/>
+ <arg line="-pack"/>
+ <arg line="-outputDir ${zipsdir}/tmp ${zipsdir}/${masterFile}"/>
+ </java>
+ </target>
+
<target name="generate.p2.metadata" depends="init" unless="hasErrors">
<!-- unzip the signed master site -->
<unzip src="${zipsdir}/${masterFile}" dest="${zipsdir}/p2"/>

Back to the top