blob: a284dd4b334a48ffdf4f9c8605646eb22aca6e6e [file] [log] [blame]
ndaib8cedc82005-09-13 18:00:32 +00001<project default="build" basedir=".">
2
ndaib8cedc82005-09-13 18:00:32 +00003
ndaib8cedc82005-09-13 18:00:32 +00004
ndai0aef0962005-09-14 17:36:08 +00005 <target name="build" depends="init">
ndaia38c85b2005-09-15 16:15:03 +00006 <ant antfile="${wtp.builder.home}/distribution/${build.distribution}.build/build.xml">
ndai18663852005-09-15 16:06:41 +00007 <property name="wtp.builder.home" value="${wtp.builder.home}" />
8 <property name="buildBranch" value="${buildBranch}" />
ndaib8cedc82005-09-13 18:00:32 +00009 </ant>
10 </target>
11
12
ndai0aef0962005-09-14 17:36:08 +000013 <target name="site" depends="init">
ndai0aef0962005-09-14 17:36:08 +000014 <ant antfile="${wtp.builder.home}/distribution/${build.distribution}.site/build.xml">
15 <property name="wtp.builder.home" value="${wtp.builder.home}" />
ndai18663852005-09-15 16:06:41 +000016 <property name="buildBranch" value="${buildBranch}" />
17 </ant>
ndaib8cedc82005-09-13 18:00:32 +000018 </target>
ndai18663852005-09-15 16:06:41 +000019
20
ndai0aef0962005-09-14 17:36:08 +000021 <target name="test" depends="init">
22 <ant antfile="${wtp.builder.home}/distribution/${build.distribution}.tests/build.xml">
23 <property name="wtp.builder.home" value="${wtp.builder.home}" />
ndai18663852005-09-15 16:06:41 +000024 <property name="buildBranch" value="${buildBranch}" />
ndaib8cedc82005-09-13 18:00:32 +000025 <property name="testRoot" value="${build.home}/${build.tests}-${build.distribution}-${buildType}" />
ndai9e121782005-09-14 16:24:25 +000026 <property name="dependencyTargets" value="${wtp.builder.home}/scripts/dependency/build.xml" />
ndaia04ffd52005-09-14 16:28:32 +000027 <property name="local.cache.dir" value="${build.home}/${build.local.repository}" />
ndaib8cedc82005-09-13 18:00:32 +000028 </ant>
29 </target>
ndai0aef0962005-09-14 17:36:08 +000030
ndai18663852005-09-15 16:06:41 +000031 <target name="upload" depends="init">
ndai0aef0962005-09-14 17:36:08 +000032 <ant antfile="${wtp.builder.home}/distribution/${build.distribution}.upload/build.xml">
33 <property name="wtp.builder.home" value="${wtp.builder.home}" />
ndaib8cedc82005-09-13 18:00:32 +000034 </ant>
35 </target>
36
ndai2ded1c12006-01-29 09:58:38 +000037 <target name="whatisfixed" depends="init">
38 <ant antfile="${wtp.builder.home}/distribution/${build.distribution}.whatisfixed/build.xml">
39 <property name="wtp.builder.home" value="${wtp.builder.home}" />
40 <property name="buildBranch" value="${buildBranch}" />
41 </ant>
42 </target>
ndai18663852005-09-15 16:06:41 +000043
44
45
46
47
48 <target name="init">
ndai0aef0962005-09-14 17:36:08 +000049 <dirname file="${ant.file}" property="wtp.builder.home" />
david_williamsea7b28e2005-12-30 07:08:44 +000050 <condition property="buildBranch" value="R1.5">
ndai0aef0962005-09-14 17:36:08 +000051 <equals arg1="${mapVersionTag}" arg2="HEAD" />
52 </condition>
53 <condition property="buildBranch" value="R0.7 Maintenance">
54 <equals arg1="${mapVersionTag}" arg2="R0_7_maintenance" />
55 </condition>
david_williams6ca56622005-12-30 07:07:14 +000056 <condition property="buildBranch" value="R1.0 Maintenance">
57 <equals arg1="${mapVersionTag}" arg2="R1_0_maintenance" />
58 </condition>
ndai18663852005-09-15 16:06:41 +000059
ndai0aef0962005-09-14 17:36:08 +000060 <touch file="${user.home}/.cvspass" />
61
62 <property file="${wtp.builder.home}/build.properties" />
63 <touch file="${user.home}/.cvspass" />
64 <ant antfile="${wtp.builder.home}/scripts/build/label.xml" />
65 <property file="${buildDirectory}/label.properties" />
66
67 <!--fetch the HEAD stream of all projects if build type specified as N-->
68 <condition property="fetchTag" value="HEAD">
69 <equals arg1="${buildType}" arg2="N" />
70 </condition>
71
72 <condition property="tagMaps">
73 <equals arg1="${build.trial}" arg2="false" />
74 </condition>
75 </target>
76
ndaib8cedc82005-09-13 18:00:32 +000077
78</project>