blob: 5c772c465a8589681bce716eb7278f0286b948d7 [file] [log] [blame]
<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
dir="${todir}"
failonerror="false"/>
<mkdir
dir="${todir}"/>
<p2.mirror
source="file:${repoToMirror}"
ignoreErrors="true"
log="${todir}/mirrorlog.txt">
<destination
location="file:/${todir}"
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>
<p2.mirror
source="file:${reposource}"
log="${buildlogs}/mirrorlog.txt"
ignoreErrors="true">
<destination
compressed="true"
name="${p2.repo.name}"
location="file:${buildRepo}"
append="true"
format="file:${reposource}"/>
<comparator
comparator="org.eclipse.equinox.p2.repository.tools.jar.comparator"
comparatorLog="${buildlogs}/comparatorlog.txt">
<repository
location="${repoBaseline}"/>
<exclude>
<artifact
id="org.eclipse.jdt.doc.isv"/>
<artifact
id="org.eclipse.jdt.doc.user"/>
<artifact
id="org.eclipse.pde.doc.user"/>
<artifact
id="org.eclipse.platform.doc.isv"/>
<artifact
id="org.eclipse.platform.doc.user"/>
<artifact
id="org.eclipse.equinox.executable"/>
<artifact
id="org.eclipse.sdk.examples"/>
<artifact
id="org.eclipse.sdk.examples.source"/>
<artifact
id="master-equinox"/>
</exclude>
</comparator>
</p2.mirror>
</target>
</project>