blob: 9705f3e85ca338449539ea859a268169cf1fcc8a [file] [log] [blame]
david_williamsbb0fc612006-05-19 10:28:20 +00001<project default="all">
2
3 <!-- requires following to be passed in
4 buildType
david_williams1cff0e92006-11-23 00:40:29 +00005 build.home (env.BUILD_HOME)
david_williamsbb0fc612006-05-19 10:28:20 +00006 codir
7 mapVersionTag
8 -->
9
10 <property file="checkout.properties" />
11
12
13
14 <target name="all">
15 <antcall target="${buildType}" />
16 </target>
17
18 <target name="N">
19
20 <antcall target="initBuilders"/>
21 <cvs quiet="true" cvsRoot="${mapCvsRoot}" package="${wst}" dest="${codir}" />
22 <cvs quiet="true" cvsRoot="${mapCvsRoot}" package="${jst}" dest="${codir}" />
23 <antcall target="getwtpbuilder" />
24
25 </target>
26
27 <target name="S">
28 <antcall target="initBuilders"/>
29 <antcall target="getwtpbuilder" />
30 </target>
31
32 <target name="I">
33 <antcall target="initBuilders"/>
34 <antcall target="getwtpbuilder" />
35 </target>
36
37 <target name="M">
38 <antcall target="initBuilders"/>
39 <antcall target="getwtpbuilder" />
40 </target>
david_williams713bee32006-11-14 01:33:31 +000041
42 <target name="P">
43 <antcall target="initBuilders"/>
44 <antcall target="getwtpbuilder" />
45 </target>
david_williamsbb0fc612006-05-19 10:28:20 +000046 <target name="R">
47 <antcall target="initBuilders"/>
48 <antcall target="getwtpbuilder" />
49 </target>
50
51
52
53
54 <target name="getwtpbuilder" depends="check.clean" if="doClean">
55 <property file="${codir}/releng/maps/build.cfg" />
56 <delete dir="${codir}/releng.wtpbuilder" failonerror="false" />
57 <echo message="Version tag for ${releng.wtpbuilder} is: ${wtpBuilderVersion}" />
58 <cvs quiet="true" cvsRoot="${mapCvsRoot}" package="${releng.wtpbuilder}" dest="${codir}" tag="${wtpBuilderVersion}" />
59
60 </target>
61
62
63 <target name="check.clean">
64 <condition property="doClean">
65 <equals arg1="${checkout.wtpbuilder.clean}" arg2="true" />
66 </condition>
67 </target>
68
69 <target name="initBuilders">
70 <echo message="Version tag for ${releng}: ${mapVersionTag}" />
71 <cvs quiet="true" cvsRoot="${mapCvsRoot}" package="${releng}" dest="${codir}" tag="${mapVersionTag}" />
72
73<!-- <delete dir="${codir}/releng.control/workspace" failonerror="false" /> -->
74 <!-- issue, we should probably not always use 'head' ... perhaps eliminate altogether
75 and just check out when ever server is (re) started? -->
76<!-- <cvs quiet="true" cvsRoot="${mapCvsRoot}" package="${releng.control}" dest="${codir}" tag="HEAD" />
77-->
78 </target>
79
80
81</project>
82