blob: 809145e3ff98bd9bb43ea5f4c00a0c0862862bf5 [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/maintenancesink"/>
<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.2.2/R-3.2.2-20100915173744/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.2.2']"/>
<iu
query="property[@name='org.eclipse.equinox.p2.name' and @value='Web Tools Platform SDK (WTP SDK) 3.2.2']"/>
<iu
query="property[@name='org.eclipse.equinox.p2.name' and (@value='Web Tools Platform Tests (WTP Tests) 3.2.2')]"/>
</p2.mirror>
</target>
</project>