blob: 845bdda923a89494a7492ae06177d35bbcec6dca [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/webtools/tmp/testrepomirror"/>
8 <!--
9 value="/home/data/httpd/download.eclipse.org/webtools/downloads/drops/R3.2.1/R-3.2.1-20100730021206/repository/" />
10-->
david_williams2398e362011-03-05 02:45:39 +000011 <property
12 name="baseComparatorRepoDir"
13 value="/home/data/httpd/download.eclipse.org/webtools/downloads/drops/R3.2.0/R-3.2.0-20100615235519/repository/"/>
14 <property
15 name="repoToMirror"
16 value="/home/data/httpd/download.eclipse.org/webtools/downloads/drops/R3.2.2/M-3.2.2-20100910064233/repository/"/>
david_williamsfb527212010-09-14 21:45:25 +000017
david_williams2398e362011-03-05 02:45:39 +000018 <target name="p2Mirror">
david_williams14cadd12011-03-23 06:43:39 +000019 <delete quiet="true" failonerror="false">
david_williams2398e362011-03-05 02:45:39 +000020 <dirset dir="${todir}"/>
21 </delete>
22 <mkdir dir="${todir}"/>
23 <p2.mirror
24 ignoreErrors="true"
25 verbose="true"
26 log="${todir}/mirrorlog.txt">
david_williamsfb527212010-09-14 21:45:25 +000027 <repository
david_williams2398e362011-03-05 02:45:39 +000028 location="file:/${todir}"
29 name="A temp test repo"/>
30 <source>
31 <repository location="file:/${repoToMirror}"/>
32 </source>
33 <comparator
34 comparator="org.eclipse.equinox.p2.repository.tools.jar.comparator"
35 comparatorLog="${todir}/comparator.log">
36 <repository location="file:/${baseComparatorRepoDir}"/>
37 </comparator>
david_williamsfb527212010-09-14 21:45:25 +000038
david_williams2398e362011-03-05 02:45:39 +000039 <slicingoptions followStrict="true"/>
40 </p2.mirror>
41 </target>
david_williamsfb527212010-09-14 21:45:25 +000042</project>
43
44