| <project |
| default="p2Mirror" |
| basedir="."> |
| <!-- for misc manual tests only --> |
| <property |
| name="todir" |
| value="/shared/helios/tmp/testrepomirror"/> |
| <property |
| name="baseComparatorRepoDir" |
| value="/home/data/httpd/download.eclipse.org/releases/helios/201006230900/"/> |
| <property |
| name="repoToMirror" |
| value="/home/data/httpd/download.eclipse.org/releases/maintenance"/> |
| <target name="p2Mirror"> |
| <delete quiet="true" |
| dir="${todir}" |
| failonerror="false"/> |
| <mkdir dir="${todir}"/> |
| <p2.mirror |
| ignoreErrors="true" |
| log="${todir}/mirrorlog.txt" |
| source="file:/${repoToMirror}"> |
| <repository |
| location="file:/${todir}" |
| append="true" |
| name="A temp test repo"/> |
| <comparator |
| comparator="org.eclipse.equinox.p2.repository.tools.jar.comparator" |
| comparatorLog="${todir}/comparator.log"> |
| <repository location="file:/${baseComparatorRepoDir}"/> |
| </comparator> |
| |
| <slicingoptions followStrict="true"/> |
| </p2.mirror> |
| </target> |
| </project> |
| |
| |