blob: 9705f3e85ca338449539ea859a268169cf1fcc8a [file] [log] [blame]
<project default="all">
<!-- requires following to be passed in
buildType
build.home (env.BUILD_HOME)
codir
mapVersionTag
-->
<property file="checkout.properties" />
<target name="all">
<antcall target="${buildType}" />
</target>
<target name="N">
<antcall target="initBuilders"/>
<cvs quiet="true" cvsRoot="${mapCvsRoot}" package="${wst}" dest="${codir}" />
<cvs quiet="true" cvsRoot="${mapCvsRoot}" package="${jst}" dest="${codir}" />
<antcall target="getwtpbuilder" />
</target>
<target name="S">
<antcall target="initBuilders"/>
<antcall target="getwtpbuilder" />
</target>
<target name="I">
<antcall target="initBuilders"/>
<antcall target="getwtpbuilder" />
</target>
<target name="M">
<antcall target="initBuilders"/>
<antcall target="getwtpbuilder" />
</target>
<target name="P">
<antcall target="initBuilders"/>
<antcall target="getwtpbuilder" />
</target>
<target name="R">
<antcall target="initBuilders"/>
<antcall target="getwtpbuilder" />
</target>
<target name="getwtpbuilder" depends="check.clean" if="doClean">
<property file="${codir}/releng/maps/build.cfg" />
<delete dir="${codir}/releng.wtpbuilder" failonerror="false" />
<echo message="Version tag for ${releng.wtpbuilder} is: ${wtpBuilderVersion}" />
<cvs quiet="true" cvsRoot="${mapCvsRoot}" package="${releng.wtpbuilder}" dest="${codir}" tag="${wtpBuilderVersion}" />
</target>
<target name="check.clean">
<condition property="doClean">
<equals arg1="${checkout.wtpbuilder.clean}" arg2="true" />
</condition>
</target>
<target name="initBuilders">
<echo message="Version tag for ${releng}: ${mapVersionTag}" />
<cvs quiet="true" cvsRoot="${mapCvsRoot}" package="${releng}" dest="${codir}" tag="${mapVersionTag}" />
<!-- <delete dir="${codir}/releng.control/workspace" failonerror="false" /> -->
<!-- issue, we should probably not always use 'head' ... perhaps eliminate altogether
and just check out when ever server is (re) started? -->
<!-- <cvs quiet="true" cvsRoot="${mapCvsRoot}" package="${releng.control}" dest="${codir}" tag="HEAD" />
-->
</target>
</project>