blob: c7462c585b660bc1a60026742bf1ca5682a2142d [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
-->
<property
name="tempDir"
value="${buildDirectory}/${buildLabel}/tempdir"/>
<property
name="tempRunnableEclipse"
value="${tempDir}/eclipse"/>
<property
name="tempRepo"
value="${buildDirectory}/${buildLabel}/temprepo"/>
<target
name="build">
<antcall
target="createCodeZip">
<param
name="newarchiveName"
value="${build.distribution}-${buildLabel}.zip"/>
</antcall>
<antcall
target="createSDKZip">
<param
name="newarchiveName"
value="${build.distribution}-sdk-${buildLabel}.zip"/>
</antcall>
<antcall
target="createTestZip">
<param
name="newarchiveName"
value="${build.distribution}-tests-${buildLabel}.zip"/>
</antcall>
</target>
<target
name="createCodeZip">
<ant
antfile="${wtp.builder.home}/distribution/wtp.build/ziputils.xml"
target="premirrortasks"/>
<p2.mirror
source="${buildDirectory}/${buildLabel}/repository"
destination="${tempRepo}"
log="${buildDirectory}/${buildLabel}/mirrorlog-${newarchiveName}.log"
verbose="true">
<slicingoptions
followstrict="true"
includeNonGreedy="false"
includeOptional="false"/>
<iu
id="org.eclipse.wst.web_ui.feature.feature.group"/>
<iu
id="org.eclipse.jst.enterprise_ui.feature.feature.group"/>
<iu
id="org.eclipse.jpt.feature.feature.group"/>
<iu
id="org.eclipse.wst.xml_ui.feature.feature.group"/>
<iu
id="org.eclipse.wst.jsdt.feature.feature.group"/>
<iu
id="org.eclipse.wst.common.fproj.feature.group"/>
<iu
id="org.eclipse.wst.server_adapters.feature.feature.group"/>
<iu
id="org.eclipse.jst.common.fproj.enablement.jdt.feature.group"/>
<iu
id="org.eclipse.jst.server_ui.feature.feature.group"/>
<iu
id="org.eclipse.jst.server_adapters.feature.feature.group"/>
<iu
id="org.eclipse.jst.server_adapters.ext.feature.feature.group"/>
<iu
id="org.eclipse.jst.web_ui.feature.feature.group"/>
<iu
id="org.eclipse.wst.xsl.feature.feature.group"/>
<iu
id="org.eclipse.jsf.feature.feature.group"/>
<iu
id="org.eclipse.jst.webpageeditor.feature.feature.group"/>
<iu
id="org.eclipse.jst.jsf.apache.trinidad.tagsupport.feature.feature.group"/>
<iu
id="org.eclipse.jst.ws.axis2tools.feature.feature.group"/>
<iu
id="org.eclipse.jst.ws.jaxws.feature.feature.group"/>
<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.jpt.eclipselink.feature.feature.group"/>
</p2.mirror>
<ant
antfile="${wtp.builder.home}/distribution/wtp.build/ziputils.xml"
target="postmirrortasks"/>
</target>
<target
name="createSDKZip">
<ant
antfile="${wtp.builder.home}/distribution/wtp.build/ziputils.xml"
target="premirrortasks"/>
<p2.mirror
source="${buildDirectory}/${buildLabel}/repository"
destination="${tempRepo}"
log="${buildDirectory}/${buildLabel}/mirrorlog-${newarchiveName}.log"
verbose="true">
<slicingoptions
followstrict="true"
includeNonGreedy="false"
includeOptional="false"/>
<iu
id="org.eclipse.wst.web_sdk.feature.feature.group"/>
<iu
id="org.eclipse.jst.enterprise_sdk.feature.feature.group"/>
<iu
id="org.eclipse.jpt_sdk.feature.feature.group"/>
<iu
id="org.eclipse.wst.xml_sdk.feature.feature.group"/>
<iu
id="org.eclipse.wst.jsdt_sdk.feature.feature.group"/>
<iu
id="org.eclipse.wst.common.fproj.sdk.feature.group"/>
<iu
id="org.eclipse.wst.server_adapters.sdk.feature.feature.group"/>
<iu
id="org.eclipse.jst.common.fproj.enablement.jdt.sdk.feature.group"/>
<iu
id="org.eclipse.jst.server_sdk.feature.feature.group"/>
<iu
id="org.eclipse.jst.server_adapters.sdk.feature.feature.group"/>
<iu
id="org.eclipse.jst.server_adapters.ext.sdk.feature.feature.group"/>
<iu
id="org.eclipse.jst.web_sdk.feature.feature.group"/>
<iu
id="org.eclipse.wst.xsl_sdk.feature.feature.group"/>
<iu
id="org.eclipse.jsf_sdk.feature.feature.group"/>
<iu
id="org.eclipse.jst.webpageeditor_sdk.feature.feature.group"/>
<iu
id="org.eclipse.jst.jsf.apache.trinidad.tagsupport_sdk.feature.feature.group"/>
<iu
id="org.eclipse.jst.ws.axis2tools_sdk.feature.feature.group"/>
<iu
id="org.eclipse.jst.ws.jaxws_sdk.feature.feature.group"/>
<iu
id="org.eclipse.jst.ws.cxf_sdk.feature.feature.group"/>
<iu
id="org.eclipse.jst.ws.jaxws.dom_sdk.feature.feature.group"/>
<iu
id="org.eclipse.jpt.eclipselink_sdk.feature.feature.group"/>
</p2.mirror>
<ant
antfile="${wtp.builder.home}/distribution/wtp.build/ziputils.xml"
target="postmirrortasks"/>
</target>
<target
name="createTestZip">
<ant
antfile="${wtp.builder.home}/distribution/wtp.build/ziputils.xml"
target="premirrortasks"/>
<p2.mirror
source="${buildDirectory}/${buildLabel}/repository"
destination="${tempRepo}"
log="${buildDirectory}/${buildLabel}/mirrorlog-${newarchiveName}.log"
verbose="true">
<slicingoptions
followstrict="true"
includeNonGreedy="false"
includeOptional="false"/>
<iu
id="org.eclipse.jpt.tests.feature.feature.group"/>
<iu
id="org.eclipse.jst.enterprise_tests.feature.feature.group"/>
<iu
id="org.eclipse.jst.jsf.tests.feature.feature.group"/>
<iu
id="org.eclipse.jst.server_adapters.ext_tests.feature.feature.group"/>
<iu
id="org.eclipse.jst.server_tests.feature.feature.group"/>
<iu
id="org.eclipse.jst.web_tests.feature.feature.group"/>
<iu
id="org.eclipse.wst.common_tests.feature.feature.group"/>
<iu
id="org.eclipse.wst.jsdt_tests.feature.feature.group"/>
<iu
id="org.eclipse.wst.server_tests.feature.feature.group"/>
<iu
id="org.eclipse.wst.web_tests.feature.feature.group"/>
<iu
id="org.eclipse.wst.ws_tests.feature.feature.group"/>
<iu
id="org.eclipse.wst.xml_tests.feature.feature.group"/>
<iu
id="org.eclipse.wtp.releng.tests.feature.feature.group"/>
<iu
id="org.eclipse.wst.xsl_tests.feature.feature.group"/>
<!--
<iu
id="org.eclipse.jst.webpageeditor_sdk.feature.feature.group"/>
<iu
id="org.eclipse.jst.jsf.apache.trinidad.tagsupport_sdk.feature.feature.group"/>
-->
<!--
<iu
id="org.eclipse.jst.ws.axis2tools_sdk.feature.feature.group"/>
-->
<iu
id="org.eclipse.jst.ws.jaxws_tests.feature.feature.group"/>
<iu
id="org.eclipse.jst.ws.cxf_tests.feature.feature.group"/>
<iu
id="org.eclipse.jst.ws.jaxws.dom_tests.feature.feature.group"/>
<!--
<iu
id="org.eclipse.jpt.eclipselink_tests.feature.feature.group"/>
-->
</p2.mirror>
<ant
antfile="${wtp.builder.home}/distribution/wtp.build/ziputils.xml"
target="postmirrortasks"/>
</target>
</project>