blob: f0b347a2d406c3bed69cd91c7fe89378504e5ff7 [file] [log] [blame]
<project default="build" basedir=".">
<target name="build" depends="init">
<ant antfile="${wtp.builder.home}/distribution/${build.distribution}.build/build.xml">
<property name="wtp.builder.home" value="${wtp.builder.home}" />
<property name="buildBranch" value="${buildBranch}" />
</ant>
</target>
<target name="site" depends="init">
<ant antfile="${wtp.builder.home}/distribution/${build.distribution}.site/build.xml">
<property name="wtp.builder.home" value="${wtp.builder.home}" />
<property name="buildBranch" value="${buildBranch}" />
</ant>
</target>
<target name="test" depends="init">
<ant antfile="${wtp.builder.home}/distribution/${build.distribution}.tests/build.xml">
<property name="wtp.builder.home" value="${wtp.builder.home}" />
<property name="buildBranch" value="${buildBranch}" />
<property name="testRoot" value="${build.home}/${build.tests}-${build.distribution}-${buildType}" />
<property name="dependencyTargets" value="${wtp.builder.home}/scripts/dependency/build.xml" />
<property name="local.cache.dir" value="${build.home}/${build.local.repository}" />
</ant>
</target>
<target name="upload" depends="init">
<ant antfile="${wtp.builder.home}/distribution/${build.distribution}.upload/build.xml">
<property name="wtp.builder.home" value="${wtp.builder.home}" />
</ant>
</target>
<target name="init">
<dirname file="${ant.file}" property="wtp.builder.home" />
<condition property="buildBranch" value="R1.5">
<equals arg1="${mapVersionTag}" arg2="HEAD" />
</condition>
<condition property="buildBranch" value="R0.7 Maintenance">
<equals arg1="${mapVersionTag}" arg2="R0_7_maintenance" />
</condition>
<condition property="buildBranch" value="R1.0 Maintenance">
<equals arg1="${mapVersionTag}" arg2="R1_0_maintenance" />
</condition>
<touch file="${user.home}/.cvspass" />
<property file="${wtp.builder.home}/build.properties" />
<touch file="${user.home}/.cvspass" />
<ant antfile="${wtp.builder.home}/scripts/build/label.xml" />
<property file="${buildDirectory}/label.properties" />
<!--fetch the HEAD stream of all projects if build type specified as N-->
<condition property="fetchTag" value="HEAD">
<equals arg1="${buildType}" arg2="N" />
</condition>
<condition property="tagMaps">
<equals arg1="${build.trial}" arg2="false" />
</condition>
</target>
</project>