blob: c559f9865f9571f8da8f3788b7a5fda9d207cd47 [file] [log] [blame]
<!--
Copyright (c) 2010, 2019 IBM Corporation and others.
This program and the accompanying materials
are made available under the terms of the Eclipse Public License 2.0
which accompanies this distribution, and is available at
https://www.eclipse.org/legal/epl-2.0/
SPDX-License-Identifier: EPL-2.0
Contributors:
IBM Corporation - initial API and implementation
-->
<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>