blob: a290e76d0cb816b119ea130dc0820c03ad072c15 [file] [log] [blame]
david_williams8d6f2fc2010-08-13 20:17:32 +00001<project
2 default="processArtifacts"
3 basedir=".">
david_williams2398e362011-03-05 02:45:39 +00004 <target name="processArtifacts">
david_williams8d6f2fc2010-08-13 20:17:32 +00005
david_williamsc5fb49a2011-06-20 16:40:27 +00006 <!-- this script is no longer routinely used, but left here as an example.
7 Every now and then, a repo may need to be "manually" repaired, and "process artifacts" used to repair metadata and checksums.
8 There is a 'process-artifacts.xml script in releng.control directory that is used routinely to "process artifacts" as part of the promote script.
9 -->
10
11
12 <!-- in any production use, repoDirLocation would be set by calling script, but for testing or using manually, can be set here -->
david_williams8d6f2fc2010-08-13 20:17:32 +000013 <property
14 name="repoDirLocation"
david_williams37798a12010-12-12 18:16:02 +000015 value="/shared/webtools/committers/wtp-R3.3.0-I/20101209114749/S-3.3.0M4-20101209114749/repository"/>
david_williamsc5fb49a2011-06-20 16:40:27 +000016
17
david_williams8d6f2fc2010-08-13 20:17:32 +000018 <p2.process.artifacts
19 pack="true"
20 repositoryPath="file:/${repoDirLocation}"/>
21
22 <!-- clean up some unnecessary files -->
david_williamsc5fb49a2011-06-20 16:40:27 +000023 <delete
24 failonerror="false"
25 quiet="true">
david_williams8d6f2fc2010-08-13 20:17:32 +000026 <fileset
27 dir="${repoDirLocation}"
28 includes="artifacts.jar.pack.gz, content.jar.pack.gz, site.xml"/>
29 </delete>
30
31 </target>
32</project>
33