blob: a290e76d0cb816b119ea130dc0820c03ad072c15 [file] [log] [blame]
<project
default="processArtifacts"
basedir=".">
<target name="processArtifacts">
<!-- this script is no longer routinely used, but left here as an example.
Every now and then, a repo may need to be "manually" repaired, and "process artifacts" used to repair metadata and checksums.
There is a 'process-artifacts.xml script in releng.control directory that is used routinely to "process artifacts" as part of the promote script.
-->
<!-- in any production use, repoDirLocation would be set by calling script, but for testing or using manually, can be set here -->
<property
name="repoDirLocation"
value="/shared/webtools/committers/wtp-R3.3.0-I/20101209114749/S-3.3.0M4-20101209114749/repository"/>
<p2.process.artifacts
pack="true"
repositoryPath="file:/${repoDirLocation}"/>
<!-- clean up some unnecessary files -->
<delete
failonerror="false"
quiet="true">
<fileset
dir="${repoDirLocation}"
includes="artifacts.jar.pack.gz, content.jar.pack.gz, site.xml"/>
</delete>
</target>
</project>