blob: 46b0c560c9fecb044b83c927f39f2b3fa7c9ddd5 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!--
This script is to create some zips with core features only.
Limited, specialized usefulness, so they are not linked or
advertised. That is, could change at any time.
-->
<project
default="build"
basedir=".">
<!--
These properties are normally set by calling task, but for
"local" tests from command line, they can be set here
-->
<property
name="buildDirectory"
value="/shared/webtools/committers/wtp-R3.2.0-I/20091029001529"/>
<property
name="buildLabel"
value="I-3.2.0-20091029030635"/>
<property
name="wtp.builder.home"
value="/shared/webtools/projectBuilders/wtp-R3.2.0-I/webtools.releng/releng.wtpbuilder"/>
<echo message="buildDirectory: ${buildDirectory}"/>
<echo message="buildLabel: ${buildLabel}"/>
<echo message="wtp.builder.home: ${wtp.builder.home}"/>
<!--
three convenience variables to help avoid typos, etc. Should
never need to be changed
-->
<target name="build">
<antcall target="createZip">
<param
name="newarchiveName"
value="wtp-jaxws-buildrepo-${buildLabel}.zip"/>
<param
name="tempRepo"
value="${buildDirectory}/temprepo"/>
</antcall>
<antcall target="createSDKZip">
<param
name="newarchiveName"
value="wtp-jaxws-sdk-buildrepo-${buildLabel}.zip"/>
<param
name="tempRepo"
value="${buildDirectory}/temprepo"/>
</antcall>
<antcall target="createTestZip">
<param
name="newarchiveName"
value="wtp-jaxws-tests-buildrepo-${buildLabel}.zip"/>
<param
name="tempRepo"
value="${buildDirectory}/temprepo"/>
</antcall>
</target>
<target name="createZip">
<ant
antfile="${wtp.builder.home}/scripts/build/ziputils.xml"
target="premirrortasks"/>
<p2.mirror
source="${buildDirectory}/${buildLabel}/repository"
destination="${tempRepo}"
log="${buildDirectory}/${buildLabel}/components/mirrorlog-${newarchiveName}.log"
verbose="true">
<slicingoptions
followstrict="true"
includeNonGreedy="false"
includeOptional="false"/>
<iu id="org.eclipse.jst.ws.cxf.feature.feature.group"/>
<iu id="org.eclipse.jst.ws.jaxws.dom.feature.feature.group"/>
<iu id="org.eclipse.jst.ws.jaxws.feature.feature.group"/>
</p2.mirror>
<ant
antfile="${wtp.builder.home}/scripts/build/ziputils.xml"
target="createzippedrepo"/>
</target>
<target name="createSDKZip">
<ant
antfile="${wtp.builder.home}/scripts/build/ziputils.xml"
target="premirrortasks"/>
<p2.mirror
source="${buildDirectory}/${buildLabel}/repository"
destination="${tempRepo}"
log="${buildDirectory}/${buildLabel}/components/mirrorlog-${newarchiveName}.log"
verbose="true">
<slicingoptions
followstrict="true"
includeNonGreedy="false"
includeOptional="false"/>
<iu id="org.eclipse.jst.ws.cxf_sdk.feature.feature.group"/>
<iu id="org.eclipse.jst.ws.jaxws_sdk.feature.feature.group"/>
<iu id="org.eclipse.jst.ws.jaxws.dom_sdk.feature.feature.group"/>
</p2.mirror>
<ant
antfile="${wtp.builder.home}/scripts/build/ziputils.xml"
target="createzippedrepo"/>
</target>
<target name="createTestZip">
<ant
antfile="${wtp.builder.home}/scripts/build/ziputils.xml"
target="premirrortasks"/>
<p2.mirror
source="${buildDirectory}/${buildLabel}/repositoryunittests"
destination="${tempRepo}"
log="${buildDirectory}/${buildLabel}/components/mirrorlog-${newarchiveName}.log"
verbose="true">
<slicingoptions
followstrict="true"
includeNonGreedy="false"
includeOptional="false"/>
<iu id="org.eclipse.jst.ws.cxf_tests.feature.feature.group"/>
<iu id="org.eclipse.jst.ws.jaxws_tests.feature.feature.group"/>
<iu id="org.eclipse.jst.ws.jaxws.dom_tests.feature.feature.group"/>
</p2.mirror>
<ant
antfile="${wtp.builder.home}/scripts/build/ziputils.xml"
target="createzippedrepo"/>
</target>
</project>