mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-08 10:16:03 +02:00
test packing for bug 275577
This commit is contained in:
parent
35c065ec02
commit
a85c3c74aa
1 changed files with 14 additions and 1 deletions
|
@ -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"/>
|
||||
|
|
Loading…
Add table
Reference in a new issue