blob: a0b44b733bb882c3fc19dadf145a0190ca3feb33 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<project
default="nodefault"
basedir=".">
<target
name="premirrortasks">
<!--
if desired zip already exists, remove it. It normally would
not exist, but might if restarting a build, or something
-->
<delete
file="${buildDirectory}/${buildLabel}/${newarchiveName}"
quiet="true"
failonerror="false"/>
</target>
<target
name="postmirrortasks">
<p2.repo2runnable>
<repository
location="${tempRunnableEclipse}"/>
<source>
<repository
location="${tempRepo}"/>
</source>
</p2.repo2runnable>
<!--
remove content.jar and artifacts.jar, since not in
traditional zips
-->
<delete
file="${tempRunnableEclipse}/artifacts.jar"
quiet="true"
failonerror="false"/>
<delete
file="${tempRunnableEclipse}/content.jar"
quiet="true"
failonerror="false"/>
<!-- copy in standard root license files -->
<copy
todir="${tempRunnableEclipse}"
overwrite="false">
<fileset
dir="${wtp.builder.home}/rootfiles">
</fileset>
</copy>
<zip
destfile="${buildDirectory}/${buildLabel}/${newarchiveName}"
basedir="${tempDir}"/>
<delete
dir="${tempDir}"
quiet="true"
failonerror="false"/>
<delete
dir="${tempRepo}"
quiet="true"
failonerror="false"/>
<ant
antfile="${wtp.builder.home}/scripts/build/buildutilities.xml"
target="createChecksums">
<property
name="buildDirectory"
value="${buildDirectory}"/>
<property
name="buildLabel"
value="${buildLabel}"/>
<property
name="archiveName"
value="${newarchiveName}"/>
</ant>
</target>
<target
name="nodefault">
<fail
message="There is do default task. Must be specified when calling."/>
</target>
</project>