blob: d1b22f0baf583fb92c4aeb273810798941c916db [file] [log] [blame]
david_williamsbb0fc612006-05-19 10:28:20 +00001<project default="Build">
2
3 <property file="committer.properties" />
david_williams1cff0e92006-11-23 00:40:29 +00004 <property environment="env" />
david_williamsbb0fc612006-05-19 10:28:20 +00005
6 <target name="Build">
7
david_williams1cff0e92006-11-23 00:40:29 +00008 <property name="wtpBuilder" value="${env.BUILD_HOME}/build-node/checkout/${build.distribution}-${buildBranch}-${buildType}/releng.wtpbuilder/build.xml"/>
david_williamsbb0fc612006-05-19 10:28:20 +00009
10
11 <ant antfile="checkout.xml" target="all" dir="." inheritall="false">
david_williams1cff0e92006-11-23 00:40:29 +000012 <property name="codir" value="${env.BUILD_HOME}/build-node/checkout/${build.distribution}-${buildBranch}-${buildType}" />
david_williamsbb0fc612006-05-19 10:28:20 +000013 <property name="buildType" value="${buildType}" />
14 <property name="mapVersionTag" value="${mapVersionTag}" />
15 </ant>
16
17 <ant antfile="${wtpBuilder}" target="build" />
18 <ant antfile="${wtpBuilder}" target="upload" />
19 <ant antfile="${wtpBuilder}" target="test" />
20 <ant antfile="${wtpBuilder}" target="site" />
21 <ant antfile="${wtpBuilder}" target="upload" />
22 </target>
23
24 <target name="JustBuild">
25
david_williams1cff0e92006-11-23 00:40:29 +000026 <property name="wtpBuilder" value="${env.BUILD_HOME}/build-node/checkout/${build.distribution}-${buildBranch}-${buildType}/releng.wtpbuilder/build.xml"/>
david_williamsbb0fc612006-05-19 10:28:20 +000027
28
29 <ant antfile="${wtpBuilder}" target="build" />
30 </target>
31
32
33
34 <target name="clean" if="build.clean">
david_williams1cff0e92006-11-23 00:40:29 +000035 <delete dir="${env.BUILD_HOME}/build-${build.distribution}-${buildBranch}-${buildType}" failonerror="false" />
36 <delete dir="${env.BUILD_HOME}/test-${build.distribution}-${buildBranch}-${buildType}" failonerror="false" />
david_williamsbb0fc612006-05-19 10:28:20 +000037 </target>
38
39
40</project>