blob: b95bb2d92bc3826604688cfd0ba7a68c37471cc4 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!--
create final build repo.
Eventually may want to "move" this to each component, in "post build" step?
See http://aniefer.blogspot.com/2009/08/versioning-p2-slides-from-eclipsecon.html
for example of comparator.
-->
<project
name="createFinalRepo"
default="build"
basedir=".">
<target
name="build"
depends="doMirror">
<echo message="done"/>
</target>
<target name="doMirror">
<property
name="destinationDir"
value="/home/shared/webtools/integrationsink"/>
<echo message="destinationDir: ${destinationDir}"/>
<p2.mirror
ignoreErrors="true"
verbose="true"
log="/home/shared/webtools/apps/antrunner/testlog.txt">
<destination
kind="metadata"
location="file:/${destinationDir}"
name="Web Tools Platform Repository Sink"/>
<destination
kind="artifact"
location="file:/${destinationDir}"
name="Web Tools Platform Repository Sink"/>
<source>
<repository location="http://download.eclipse.org/webtools/downloads/drops/R3.3.0/S-3.3.0M2-20100923155521/repository/"/>
</source>
<slicingoptions
followStrict="true"
includeNonGreedy="false"
includeOptional="false"/>
<iu query="property[@name='org.eclipse.equinox.p2.name' and @value='Web Tools Platform (WTP) 3.3.0']"/>
<iu query="property[@name='org.eclipse.equinox.p2.name' and @value='Web Tools Platform SDK (WTP SDK) 3.3.0']"/>
<iu query="property[@name='org.eclipse.equinox.p2.name' and (@value='Web Tools Platform Tests (WTP Tests) 3.3.0')]"/>
</p2.mirror>
</target>
</project>