blob: 9e8791f21a9ee1849c9a32b197ea0efb24e7a1b8 [file] [log] [blame]
ndaia1ebdb92005-08-09 20:23:24 +00001<project default="Build">
2
ndai037487f2005-07-09 20:15:53 +00003 <property file="trigger.properties" />
ndaia5b27662005-07-09 19:41:27 +00004
ndaia1ebdb92005-08-09 20:23:24 +00005 <target name="Build">
6 <property name="buildTarget" value="all" />
7 <property name="removeBuildDir" value="true" />
8 <antcall target="startBuild">
ndai037487f2005-07-09 20:15:53 +00009 </antcall>
10 </target>
ndaia5b27662005-07-09 19:41:27 +000011
ndaia1ebdb92005-08-09 20:23:24 +000012 <target name="Repeat">
13 <property name="buildTarget" value="all" />
14 <antcall target="startBuild">
ndaibccd41f2005-08-08 19:15:03 +000015 </antcall>
16 </target>
17
ndaia1ebdb92005-08-09 20:23:24 +000018 <target name="Test">
19 <delete dir="${build.home}/test-${build.component}-${buildType}" failonerror="false" />
20 <property name="buildTarget" value="test" />
21 <antcall target="startBuild">
ndai037487f2005-07-09 20:15:53 +000022 </antcall>
23 </target>
ndaia5b27662005-07-09 19:41:27 +000024
ndaia1ebdb92005-08-09 20:23:24 +000025 <target name="Publish">
26 <property name="buildTarget" value="justPublish" />
27 <antcall target="startBuild">
ndai037487f2005-07-09 20:15:53 +000028 </antcall>
29 </target>
ndaia5b27662005-07-09 19:41:27 +000030
ndaia1ebdb92005-08-09 20:23:24 +000031 <target name="Push">
32 <property name="buildTarget" value="justPush" />
33 <antcall target="startBuild">
34 </antcall>
35 </target>
36
37 <target name="startBuild" depends="clean">
ndai037487f2005-07-09 20:15:53 +000038 <antcall target="clean" />
ndaia1ebdb92005-08-09 20:23:24 +000039
ndai037487f2005-07-09 20:15:53 +000040 <ant antfile="checkout.xml" target="all" dir="." inheritall="false">
ndaia1ebdb92005-08-09 20:23:24 +000041 <property name="codir" value="/home/build-home/build-node/checkout/${build.component}-${buildType}" />
ndai037487f2005-07-09 20:15:53 +000042 <property name="buildType" value="${buildType}" />
ndai727821a2005-08-08 20:22:12 +000043 <property name="mapVersionTag" value="${mapVersionTag}" />
ndai037487f2005-07-09 20:15:53 +000044 </ant>
ndaia5b27662005-07-09 19:41:27 +000045
ndaia1ebdb92005-08-09 20:23:24 +000046 <ant antfile="cruise.xml" target="${buildTarget}" dir="/home/build-home/build-node/checkout/${build.component}-${buildType}/releng.builder/scripts" inheritall="false">
ndai037487f2005-07-09 20:15:53 +000047 <!-- PUBLISH TO eclipse.org -->
ndaia5b27662005-07-09 19:41:27 +000048
ndai037487f2005-07-09 20:15:53 +000049 <property name="baseos" value="${baseos}" />
50 <property name="basews" value="${basews}" />
51 <property name="basearch" value="${basearch}" />
52 <property name="build.home" value="${build.home}" />
ndaicbf7ef32005-07-16 05:47:34 +000053 <property name="build.trial" value="${build.trial}" />
ndaia1ebdb92005-08-09 20:23:24 +000054 <property name="build.component" value="${build.component}" />
ndaia5b27662005-07-09 19:41:27 +000055
ndaibccd41f2005-08-08 19:15:03 +000056 <property name="mapVersionTag" value="${mapVersionTag}" />
ndai037487f2005-07-09 20:15:53 +000057 <property name="buildType" value="${buildType}" />
58 <property name="ftpUser" value="${ftpUser}" />
59 <property name="ftpPassword" value="${ftpPassword}" />
60 <property name="ftpServer" value="${ftpServer}" />
61 <property name="ftpRemoteDirectory" value="${ftpRemoteDirectory}" />
ndaia5b27662005-07-09 19:41:27 +000062
ndai037487f2005-07-09 20:15:53 +000063 </ant>
64 </target>
ndaia5b27662005-07-09 19:41:27 +000065
ndaia5b27662005-07-09 19:41:27 +000066
67
ndai037487f2005-07-09 20:15:53 +000068 <target name="Driver">
69 <ant antfile="checkout.xml" target="all" dir="." inheritall="false">
ndai82fe9582005-08-08 20:39:29 +000070 <property name="codir" value="/home/build-home/build-node/checkout/wtp-driver" />
ndai037487f2005-07-09 20:15:53 +000071 <property name="buildType" value="I" />
ndai727821a2005-08-08 20:22:12 +000072 <property name="mapVersionTag" value="${mapVersionTag}" />
ndai037487f2005-07-09 20:15:53 +000073 </ant>
ndaibccd41f2005-08-08 19:15:03 +000074 <ant antfile="drivers.xml" target="all" dir="/home/build-home/build-node/checkout/wtp-driver/releng.builder/tools/cruise" inheritall="false">
75 </ant>
76 </target>
ndaia1ebdb92005-08-09 20:23:24 +000077
ndaibccd41f2005-08-08 19:15:03 +000078 <target name="docs">
ndaia1ebdb92005-08-09 20:23:24 +000079 <property name="build.component" value="docs" />
80 <property name="buildTarget" value="buildDocs" />
81 <antcall target="Build">
82 </antcall>
ndai037487f2005-07-09 20:15:53 +000083 </target>
ndaia5b27662005-07-09 19:41:27 +000084
85
ndaia1ebdb92005-08-09 20:23:24 +000086 <target name="clean" if="removeBuildDir">
87 <delete dir="${build.home}/build-${build.component}-${buildType}" failonerror="false" />
88 <delete dir="${build.home}/test-${build.component}-${buildType}" failonerror="false" />
89 <delete dir="/home/build-home/build-node/checkout/${build.component}-${buildType}/build/test-results" failonerror="false" />
ndai037487f2005-07-09 20:15:53 +000090 <delete dir="${build.home}/workspace" failonerror="false" />
91 </target>
ndaia5b27662005-07-09 19:41:27 +000092
ndai037487f2005-07-09 20:15:53 +000093</project>