blob: baa849c51bc5eacc4c03bd54ec356b8c8aab0f8a [file] [log] [blame]
<project default="whatisfixed" basedir=".">
<property file="whatisfixed.properties" />
<target name="whatisfixed" depends="clean">
<mkdir dir="${whatisfixed.workdir}" />
<antcall target="releng" />
<!-- create what-is-fixed summary files -->
<ant antfile="${wtpBuilder}">
<property name="wtp.builder.home" value="${whatisfixed.workdir}/releng.wtpbuilder" />
<property name="buildBranch" value="${buildBranch}" />
<property name="wtpbuilder.whatisfixed.properties.file" value="${basedir}/whatisfixed.properties" />
</ant>
<antcall target="sync" />
</target>
<target name="releng">
<available file="${whatisfixed.workdir}/releng/maps/dependencies.properties" property="map.exists" />
<available file="${whatisfixed.workdir}/releng.wtpbuilder/scripts/dependency/build.xml" property="releng.exists" />
<antcall target="checkout-maps" />
<antcall target="getwtpbuilder" />
</target>
<target name="checkout-maps" unless="map.exists">
<cvs quiet="true" cvsRoot="${mapCvsRoot}" package="releng/maps/build.cfg" dest="${whatisfixed.workdir}" tag="${wtp.cvsTag}" />
</target>
<target name="getwtpbuilder" unless="releng.exists">
<property file="${whatisfixed.workdir}/releng/maps/build.cfg" />
<delete dir="${whatisfixed.workdir}/releng.wtpbuilder" failonerror="false" />
<echo message="Version tag for releng.wtpbuilder is: ${wtpBuilderVersion}" />
<cvs quiet="true" cvsRoot="${mapCvsRoot}" package="releng.wtpbuilder" dest="${whatisfixed.workdir}" tag="${wtpBuilderVersion}" />
</target>
<target name="clean" >
<delete dir="${whatisfixed.workdir}" />
</target>
<target name="sync" >
<echo message="RSYNC to: ${uploadRemoteDirectory}" />
<exec executable="rsync">
<arg line="-e ssh -Cavz ${whatisfixed.dir} ${uploadUser}@${uploadServer}:${uploadRemoteDirectory}" />
</exec>
</target>
</project>