blob: 26add78eb3260afb5b8fed6826832a4de6afbfbf [file] [log] [blame]
david_williamsbb0fc612006-05-19 10:28:20 +00001<project default="all">
2
3 <!-- requires following to be passed in
4 buildType
5 build.home
6 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>
41
42 <target name="R">
43 <antcall target="initBuilders"/>
44 <antcall target="getwtpbuilder" />
45 </target>
46
47
48
49
50 <target name="getwtpbuilder" depends="check.clean" if="doClean">
51 <property file="${codir}/releng/maps/build.cfg" />
52 <delete dir="${codir}/releng.wtpbuilder" failonerror="false" />
53 <echo message="Version tag for ${releng.wtpbuilder} is: ${wtpBuilderVersion}" />
54 <cvs quiet="true" cvsRoot="${mapCvsRoot}" package="${releng.wtpbuilder}" dest="${codir}" tag="${wtpBuilderVersion}" />
55
56 </target>
57
58
59 <target name="check.clean">
60 <condition property="doClean">
61 <equals arg1="${checkout.wtpbuilder.clean}" arg2="true" />
62 </condition>
63 </target>
64
65 <target name="initBuilders">
66 <echo message="Version tag for ${releng}: ${mapVersionTag}" />
67 <cvs quiet="true" cvsRoot="${mapCvsRoot}" package="${releng}" dest="${codir}" tag="${mapVersionTag}" />
68
69<!-- <delete dir="${codir}/releng.control/workspace" failonerror="false" /> -->
70 <!-- issue, we should probably not always use 'head' ... perhaps eliminate altogether
71 and just check out when ever server is (re) started? -->
72<!-- <cvs quiet="true" cvsRoot="${mapCvsRoot}" package="${releng.control}" dest="${codir}" tag="HEAD" />
73-->
74 </target>
75
76
77</project>
78