blob: ceff082660bf262a98b31c22becc4375cd4f9b6f [file] [log] [blame]
david_williamsfb527212010-09-14 21:45:25 +00001<project
2 default="p2Mirror"
3 basedir=".">
4 <!-- for misc manual tests only -->
5 <property
6 name="todir"
7 value="/shared/helios/tmp/testrepomirror"/>
8 <property
9 name="baseComparatorRepoDir"
10 value="/home/data/httpd/download.eclipse.org/releases/helios/201006230900/"/>
11 <property
12 name="repoToMirror"
13 value="/home/data/httpd/download.eclipse.org/releases/maintenance"/>
david_williams2398e362011-03-05 02:45:39 +000014 <target name="p2Mirror">
david_williams14cadd12011-03-23 06:43:39 +000015 <delete quiet="true"
david_williamsfb527212010-09-14 21:45:25 +000016 dir="${todir}"
17 failonerror="false"/>
david_williams2398e362011-03-05 02:45:39 +000018 <mkdir dir="${todir}"/>
david_williamsfb527212010-09-14 21:45:25 +000019 <p2.mirror
20 ignoreErrors="true"
21 log="${todir}/mirrorlog.txt"
22 source="file:/${repoToMirror}">
23 <repository
24 location="file:/${todir}"
25 append="true"
26 name="A temp test repo"/>
27 <comparator
28 comparator="org.eclipse.equinox.p2.repository.tools.jar.comparator"
29 comparatorLog="${todir}/comparator.log">
david_williams2398e362011-03-05 02:45:39 +000030 <repository location="file:/${baseComparatorRepoDir}"/>
david_williamsfb527212010-09-14 21:45:25 +000031 </comparator>
32
david_williams2398e362011-03-05 02:45:39 +000033 <slicingoptions followStrict="true"/>
david_williamsfb527212010-09-14 21:45:25 +000034 </p2.mirror>
35 </target>
36</project>
37
38