blob: d3d3fd7723bd77124d14bc0d44a8ae145862bedf [file] [log] [blame]
deboeraed5e9e2004-11-05 22:56:41 +00001<project name="Build specific targets and properties" default="noDefault" >
2
3<!-- ===================================================================== -->
4<!-- Run a given ${target} on all elements being built -->
5<!-- Add on <ant> task for each top level element being built. -->
6<!-- ===================================================================== -->
7<target name="allElements">
8 <echo message="Target:${target} " />
9 <echo message="basedir: ${basedir}"/>
10 <echo message="component: ${component}"/>
11 <echo message="buildDirectory: ${buildDirectory}"/>
12 <echo message="baseLocation: ${baseLocation}" />
13 <ant antfile="${genericTargets}" target="${target}" >
14 <property name="type" value="feature" />
15 <property name="id" value="org.eclipse.jst.tests.performance.feature" />
16 </ant>
17</target>
18
19<!-- ===================================================================== -->
20<!-- Targets to assemble the built elements for particular configurations -->
21<!-- These generally call the generated assemble scripts (named in -->
22<!-- ${assembleScriptName}) but may also add pre and post processing -->
23<!-- Add one target for each root element and each configuration -->
24<!-- ===================================================================== -->
25
26<target name="assemble.org.eclipse.jst.tests.performance.feature">
27 <property name="archiveName" value="wtp-jst-perf-Tests-${buildId}.zip"/>
28 <ant antfile="${assembleScriptName}" dir="${buildDirectory}"/>
29</target>
30
31<!-- ===================================================================== -->
32<!-- Check out map files from correct repository -->
33<!-- Replace values for cvsRoot, package and mapVersionTag as desired. -->
34<!-- ===================================================================== -->
35 <target name="checkLocal">
36 <available property="mapsLocal" file="${buildDirectory}/maps" />
37 </target>
38 <target name="getMapFiles" depends="checkLocal" unless="mapsLocal">
39
40 <!-- *** change the repo info -->
41 <property name="mapCvsRoot" value=":${cvsProtocol}:${cvsUser}@${cvsServer}:${cvsRoot}" />
42 <property name="mapVersionTag" value="HEAD" />
43 <cvs cvsRoot="${mapCvsRoot}"
44
45 package="org.eclipse.wtp.releng/maps"
46 dest="${buildDirectory}/maps"
47 tag="${mapVersionTag}"
48 />
49 <!--tag the map files project-->
50 <antcall target="tagMapFiles" />
51 </target>
52
53 <target name="tagMapFiles" if="tagMaps">
54 <cvs dest="${buildDirectory}/maps" command="tag v${timestamp}" />
55 </target>
56
57
58<!-- ===================================================================== -->
59<!-- Steps to do before setup -->
60<!-- ===================================================================== -->
61<target name="preSetup">
62</target>
63
64<!-- ===================================================================== -->
65<!-- Steps to do after setup but before starting the build proper -->
66<!-- ===================================================================== -->
67<target name="postSetup">
68</target>
69
70<!-- ===================================================================== -->
71<!-- Steps to do before fetching the build elements -->
72<!-- ===================================================================== -->
73<target name="preFetch">
74</target>
75
76<!-- ===================================================================== -->
77<!-- Steps to do after fetching the build elements -->
78<!-- ===================================================================== -->
79<target name="postFetch">
80</target>
81
82<!-- ===================================================================== -->
83<!-- Steps to do before generating the build scripts. -->
84<!-- ===================================================================== -->
85<target name="preGenerate">
86</target>
87
88<!-- ===================================================================== -->
89<!-- Steps to do after generating the build scripts. -->
90<!-- ===================================================================== -->
91<target name="postGenerate">
92</target>
93
94
95<!-- ===================================================================== -->
96<!-- Steps to do before running the build.xmls for the elements being built. -->
97<!-- ===================================================================== -->
98<target name="preProcess">
99</target>
100
101<!-- ===================================================================== -->
102<!-- Steps to do after running the build.xmls for the elements being built. -->
103<!-- ===================================================================== -->
104<target name="postProcess">
105</target>
106
107
108<!-- ===================================================================== -->
109<!-- Steps to do before running assemble. -->
110<!-- ===================================================================== -->
111<target name="preAssemble">
112</target>
113
114<!-- ===================================================================== -->
115<!-- Steps to do after running assemble. -->
116<!-- ===================================================================== -->
117<target name="postAssemble">
118</target>
119
120<!-- ===================================================================== -->
121<!-- Steps to do after the build is done. -->
122<!-- ===================================================================== -->
123<target name="postBuild">
124</target>
125
126<!-- ===================================================================== -->
127<!-- Steps to do to test the build results -->
128<!-- ===================================================================== -->
129<target name="test">
130</target>
131
132<!-- ===================================================================== -->
133<!-- Steps to do to publish the build results -->
134<!-- ===================================================================== -->
135<target name="publish">
136</target>
137
138<!-- ===================================================================== -->
139<!-- Default target -->
140<!-- ===================================================================== -->
141<target name="noDefault">
142 <echo message="You must specify a target when invoking this file" />
143</target>
144
145</project>