blob: 5b5127ac08e0cca21e0068302b66a911ff94288a [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}" />
ndai90b6c862006-07-07 12:09:58 +000025 <property name="testRoot" value="${build.home}/${build.tests}-${build.distribution}-${buildBranch}-${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}" />
ndai90b6c862006-07-07 12:09:58 +000034 <property name="buildBranch" value="${buildBranch}" />
ndaib8cedc82005-09-13 18:00:32 +000035 </ant>
36 </target>
37
ndai2ded1c12006-01-29 09:58:38 +000038 <target name="whatisfixed" depends="init">
39 <ant antfile="${wtp.builder.home}/distribution/${build.distribution}.whatisfixed/build.xml">
40 <property name="wtp.builder.home" value="${wtp.builder.home}" />
41 <property name="buildBranch" value="${buildBranch}" />
42 </ant>
43 </target>
ndai18663852005-09-15 16:06:41 +000044
45
46
47
48
49 <target name="init">
ndai0aef0962005-09-14 17:36:08 +000050 <dirname file="${ant.file}" property="wtp.builder.home" />
ndai90b6c862006-07-07 12:09:58 +000051 <condition property="buildBranch" value="R2.0">
ndai0aef0962005-09-14 17:36:08 +000052 <equals arg1="${mapVersionTag}" arg2="HEAD" />
53 </condition>
ndai90b6c862006-07-07 12:09:58 +000054 <condition property="buildBranch" value="R0.7">
ndai0aef0962005-09-14 17:36:08 +000055 <equals arg1="${mapVersionTag}" arg2="R0_7_maintenance" />
56 </condition>
ndai90b6c862006-07-07 12:09:58 +000057 <condition property="buildBranch" value="R1.0">
david_williams6ca56622005-12-30 07:07:14 +000058 <equals arg1="${mapVersionTag}" arg2="R1_0_maintenance" />
59 </condition>
ndai90b6c862006-07-07 12:09:58 +000060 <condition property="buildBranch" value="R1.5">
61 <equals arg1="${mapVersionTag}" arg2="R1_5_maintenance" />
62 </condition>
ndai18663852005-09-15 16:06:41 +000063
ndai0aef0962005-09-14 17:36:08 +000064 <touch file="${user.home}/.cvspass" />
65
66 <property file="${wtp.builder.home}/build.properties" />
67 <touch file="${user.home}/.cvspass" />
68 <ant antfile="${wtp.builder.home}/scripts/build/label.xml" />
69 <property file="${buildDirectory}/label.properties" />
70
71 <!--fetch the HEAD stream of all projects if build type specified as N-->
72 <condition property="fetchTag" value="HEAD">
73 <equals arg1="${buildType}" arg2="N" />
74 </condition>
75
76 <condition property="tagMaps">
77 <equals arg1="${build.trial}" arg2="false" />
78 </condition>
79 </target>
80
ndaib8cedc82005-09-13 18:00:32 +000081
82</project>