blob: 8f30ec2f91c7d466680668e977ce0e5d2ee8a7b4 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!--
create final build repo
-->
<project
default="build"
basedir=".">
<target
name="build"
depends="init, primeRepo, doMirror"
if="baseComparatorRepoDirExists">
<!-- add the new build to the composite -->
<p2.composite.repository
destination="file:/${baseComparatorRepoDir}">
<add>
<repository
location="file://${buildDirectory}/${buildLabel}/repository/"/>
</add>
</p2.composite.repository>
</target>
<target
name="init">
<available
file="${baseComparatorRepoDir}"
type="dir"
property="baseComparatorRepoDirExists"/>
</target>
<target
name="primeRepo"
unless="baseComparatorRepoDirExists">
<mkdir dir="${baseComparatorRepoDir}" />
<copy todir="${baseComparatorRepoDir}">
<fileset dir="${wtp.builder.home}/emptyRepository/"/>
</copy>
</target>
<target
name="doMirror">
<p2.mirror
verbose="true">
<repository
location="file://${buildDirectory}/${buildLabel}/repository/"
name="Web Tools Platform Repository ${buildLabel}"/>
<source>
<repository
location="file://${buildDirectory}/${buildLabel}/buildrepository/"/>
</source>
<comparator
comparator="org.eclipse.equinox.p2.repository.tools.jar.comparator"
comparatorLog="${buildDirectory}/${buildLabel}/comparator.log">
<repository
location="file:/${baseComparatorRepoDir}"/>
</comparator>
<slicingoptions
followStrict="true"/>
<iu
id="org.eclipse.wst.common.fproj.sdk.feature.group"/>
<iu
id="org.eclipse.wst.jsdt_sdk.feature.feature.group"/>
<iu
id="org.eclipse.wst.xml_sdk.feature.feature.group"/>
<iu
id="org.eclipse.wst.web_sdk.feature.feature.group"/>
<iu
id="org.eclipse.wst.xsl_sdk.feature.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.web_sdk.feature.feature.group"/>
<iu
id="org.eclipse.jst.enterprise_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.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.jst.jsf.apache.trinidad.tagsupport_sdk.feature.feature.group"/>
<iu
id="org.eclipse.jst.webpageeditor_sdk.feature.feature.group"/>
<iu
id="org.eclipse.jsf_sdk.feature.feature.group"/>
<iu
id="org.eclipse.jpt_sdk.feature.feature.group"/>
<iu
id="org.eclipse.jpt.eclipselink_sdk.feature.feature.group"/>
<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.jst.ws.cxf_tests.feature.feature.group"/>
<iu
id="org.eclipse.jst.ws.jaxws.dom_tests.feature.feature.group"/>
<iu
id="org.eclipse.jst.ws.jaxws_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.wst.xsl_tests.feature.feature.group"/>
<iu
id="org.eclipse.wtp.releng.tests.feature.feature.group"/>
<iu
query="property[@name='org.eclipse.equinox.p2.type.category']"/>
</p2.mirror>
</target>
</project>