ndai | b8cedc8 | 2005-09-13 18:00:32 +0000 | [diff] [blame] | 1 | <project default="build" basedir="."> |
| 2 | |
ndai | b8cedc8 | 2005-09-13 18:00:32 +0000 | [diff] [blame] | 3 | |
ndai | b8cedc8 | 2005-09-13 18:00:32 +0000 | [diff] [blame] | 4 | |
ndai | 0aef096 | 2005-09-14 17:36:08 +0000 | [diff] [blame] | 5 | <target name="build" depends="init"> |
ndai | a38c85b | 2005-09-15 16:15:03 +0000 | [diff] [blame] | 6 | <ant antfile="${wtp.builder.home}/distribution/${build.distribution}.build/build.xml"> |
ndai | 1866385 | 2005-09-15 16:06:41 +0000 | [diff] [blame] | 7 | <property name="wtp.builder.home" value="${wtp.builder.home}" /> |
| 8 | <property name="buildBranch" value="${buildBranch}" /> |
ndai | dab24cb | 2006-07-28 15:22:38 +0000 | [diff] [blame^] | 9 | <property name="build.pack-all-in-one" value="${build.pack-all-in-one}"/> |
| 10 | |
ndai | b8cedc8 | 2005-09-13 18:00:32 +0000 | [diff] [blame] | 11 | </ant> |
| 12 | </target> |
| 13 | |
| 14 | |
ndai | 0aef096 | 2005-09-14 17:36:08 +0000 | [diff] [blame] | 15 | <target name="site" depends="init"> |
ndai | 0aef096 | 2005-09-14 17:36:08 +0000 | [diff] [blame] | 16 | <ant antfile="${wtp.builder.home}/distribution/${build.distribution}.site/build.xml"> |
| 17 | <property name="wtp.builder.home" value="${wtp.builder.home}" /> |
ndai | 1866385 | 2005-09-15 16:06:41 +0000 | [diff] [blame] | 18 | <property name="buildBranch" value="${buildBranch}" /> |
ndai | dab24cb | 2006-07-28 15:22:38 +0000 | [diff] [blame^] | 19 | <property name="build.pack-all-in-one" value="${build.pack-all-in-one}"/> |
ndai | 1866385 | 2005-09-15 16:06:41 +0000 | [diff] [blame] | 20 | </ant> |
ndai | b8cedc8 | 2005-09-13 18:00:32 +0000 | [diff] [blame] | 21 | </target> |
ndai | 1866385 | 2005-09-15 16:06:41 +0000 | [diff] [blame] | 22 | |
| 23 | |
ndai | 0aef096 | 2005-09-14 17:36:08 +0000 | [diff] [blame] | 24 | <target name="test" depends="init"> |
| 25 | <ant antfile="${wtp.builder.home}/distribution/${build.distribution}.tests/build.xml"> |
| 26 | <property name="wtp.builder.home" value="${wtp.builder.home}" /> |
ndai | 1866385 | 2005-09-15 16:06:41 +0000 | [diff] [blame] | 27 | <property name="buildBranch" value="${buildBranch}" /> |
ndai | dab24cb | 2006-07-28 15:22:38 +0000 | [diff] [blame^] | 28 | <property name="build.pack-all-in-one" value="${build.pack-all-in-one}"/> |
ndai | 90b6c86 | 2006-07-07 12:09:58 +0000 | [diff] [blame] | 29 | <property name="testRoot" value="${build.home}/${build.tests}-${build.distribution}-${buildBranch}-${buildType}" /> |
ndai | 9e12178 | 2005-09-14 16:24:25 +0000 | [diff] [blame] | 30 | <property name="dependencyTargets" value="${wtp.builder.home}/scripts/dependency/build.xml" /> |
ndai | a04ffd5 | 2005-09-14 16:28:32 +0000 | [diff] [blame] | 31 | <property name="local.cache.dir" value="${build.home}/${build.local.repository}" /> |
ndai | b8cedc8 | 2005-09-13 18:00:32 +0000 | [diff] [blame] | 32 | </ant> |
| 33 | </target> |
ndai | 0aef096 | 2005-09-14 17:36:08 +0000 | [diff] [blame] | 34 | |
ndai | 1866385 | 2005-09-15 16:06:41 +0000 | [diff] [blame] | 35 | <target name="upload" depends="init"> |
ndai | 0aef096 | 2005-09-14 17:36:08 +0000 | [diff] [blame] | 36 | <ant antfile="${wtp.builder.home}/distribution/${build.distribution}.upload/build.xml"> |
| 37 | <property name="wtp.builder.home" value="${wtp.builder.home}" /> |
ndai | 90b6c86 | 2006-07-07 12:09:58 +0000 | [diff] [blame] | 38 | <property name="buildBranch" value="${buildBranch}" /> |
ndai | dab24cb | 2006-07-28 15:22:38 +0000 | [diff] [blame^] | 39 | <property name="build.pack-all-in-one" value="${build.pack-all-in-one}"/> |
ndai | b8cedc8 | 2005-09-13 18:00:32 +0000 | [diff] [blame] | 40 | </ant> |
| 41 | </target> |
| 42 | |
ndai | 2ded1c1 | 2006-01-29 09:58:38 +0000 | [diff] [blame] | 43 | <target name="whatisfixed" depends="init"> |
| 44 | <ant antfile="${wtp.builder.home}/distribution/${build.distribution}.whatisfixed/build.xml"> |
| 45 | <property name="wtp.builder.home" value="${wtp.builder.home}" /> |
| 46 | <property name="buildBranch" value="${buildBranch}" /> |
ndai | dab24cb | 2006-07-28 15:22:38 +0000 | [diff] [blame^] | 47 | <property name="build.pack-all-in-one" value="${build.pack-all-in-one}"/> |
ndai | 2ded1c1 | 2006-01-29 09:58:38 +0000 | [diff] [blame] | 48 | </ant> |
| 49 | </target> |
ndai | 1866385 | 2005-09-15 16:06:41 +0000 | [diff] [blame] | 50 | |
| 51 | |
| 52 | |
| 53 | |
| 54 | |
| 55 | <target name="init"> |
ndai | 0aef096 | 2005-09-14 17:36:08 +0000 | [diff] [blame] | 56 | <dirname file="${ant.file}" property="wtp.builder.home" /> |
ndai | 90b6c86 | 2006-07-07 12:09:58 +0000 | [diff] [blame] | 57 | <condition property="buildBranch" value="R2.0"> |
ndai | 0aef096 | 2005-09-14 17:36:08 +0000 | [diff] [blame] | 58 | <equals arg1="${mapVersionTag}" arg2="HEAD" /> |
| 59 | </condition> |
ndai | 90b6c86 | 2006-07-07 12:09:58 +0000 | [diff] [blame] | 60 | <condition property="buildBranch" value="R0.7"> |
ndai | 0aef096 | 2005-09-14 17:36:08 +0000 | [diff] [blame] | 61 | <equals arg1="${mapVersionTag}" arg2="R0_7_maintenance" /> |
| 62 | </condition> |
ndai | 90b6c86 | 2006-07-07 12:09:58 +0000 | [diff] [blame] | 63 | <condition property="buildBranch" value="R1.0"> |
david_williams | 6ca5662 | 2005-12-30 07:07:14 +0000 | [diff] [blame] | 64 | <equals arg1="${mapVersionTag}" arg2="R1_0_maintenance" /> |
| 65 | </condition> |
ndai | 90b6c86 | 2006-07-07 12:09:58 +0000 | [diff] [blame] | 66 | <condition property="buildBranch" value="R1.5"> |
| 67 | <equals arg1="${mapVersionTag}" arg2="R1_5_maintenance" /> |
| 68 | </condition> |
ndai | 1866385 | 2005-09-15 16:06:41 +0000 | [diff] [blame] | 69 | |
ndai | 0aef096 | 2005-09-14 17:36:08 +0000 | [diff] [blame] | 70 | <touch file="${user.home}/.cvspass" /> |
| 71 | |
| 72 | <property file="${wtp.builder.home}/build.properties" /> |
| 73 | <touch file="${user.home}/.cvspass" /> |
| 74 | <ant antfile="${wtp.builder.home}/scripts/build/label.xml" /> |
| 75 | <property file="${buildDirectory}/label.properties" /> |
| 76 | |
| 77 | <!--fetch the HEAD stream of all projects if build type specified as N--> |
| 78 | <condition property="fetchTag" value="HEAD"> |
| 79 | <equals arg1="${buildType}" arg2="N" /> |
| 80 | </condition> |
| 81 | |
| 82 | <condition property="tagMaps"> |
| 83 | <equals arg1="${build.trial}" arg2="false" /> |
| 84 | </condition> |
| 85 | </target> |
| 86 | |
ndai | b8cedc8 | 2005-09-13 18:00:32 +0000 | [diff] [blame] | 87 | |
| 88 | </project> |