blob: 7bd894d12a1f1d17c831aeb7e6a121bb50fed6ac [file] [log] [blame]
ndaib8cedc82005-09-13 18:00:32 +00001<project name="Publish Build" default="default" basedir=".">
2
david_williamsc84ab8c2006-12-11 18:50:34 +00003 <!-- Properties that must be passed to this script:
david_williamsa76816d2006-12-11 20:10:22 +00004 buildDirectory: Path to perform the build in. (A working directory)
5 buildType: Type of build (nightly, integration etc.)
6 buildId: Build name
7 buildLabel: <buildType>-<buildName>-<timestamp>
8 -->
david_williamsb7db8ba2007-02-19 01:54:04 +00009
10 <property environment="env" />
11
12 <property name="resultDir"
david_williams4d2fe842006-12-13 06:26:45 +000013 value="${buildDirectory}/${buildLabel}" />
david_williamsc84ab8c2006-12-11 18:50:34 +000014 <!--name of generated index page-->
15 <property name="indexFileName" value="index.php" />
david_williams535d6812007-03-29 06:46:26 +000016
17 <property name="templateDir" value="${wtp.builder.home}/distribution/wtp.site" />
18 <property name="resultingIndex" value="${resultDir}/${indexFileName}" />
19
20 <echo message="resultDir: ${resultDir}" />
21 <echo message="templateDir: ${templateDir}" />
22 <echo message="resultingIndex: ${resultingIndex}" />
23
24
ndaib8cedc82005-09-13 18:00:32 +000025
david_williamsc84ab8c2006-12-11 18:50:34 +000026 <target name="default">
david_williams535d6812007-03-29 06:46:26 +000027 <copy overwrite="true" file="${wtp.builder.home}/distribution/wtp.site/templateFiles/${indexTemplateFilename}" tofile="${resultingIndex}" />
david_williamsc84ab8c2006-12-11 18:50:34 +000028 <antcall target="countFiles" />
david_williamsb7db8ba2007-02-19 01:54:04 +000029 <antcall target="generateCompileIndex" />
30 <antcall target="generateJUnitTestsIndex" />
david_williamsc84ab8c2006-12-11 18:50:34 +000031 <antcall target="getStaticFiles" />
32 </target>
ndaib8cedc82005-09-13 18:00:32 +000033
david_williamsb7db8ba2007-02-19 01:54:04 +000034 <target name="generateCompileIndex" >
35
david_williams535d6812007-03-29 06:46:26 +000036
david_williams6252b612007-02-25 07:23:43 +000037 <!--
38 <taskdef name="indexResults" classname="org.eclipse.wtp.releng.tools.ResultsSummaryGenerator" />
39 -->
david_williamsb7db8ba2007-02-19 01:54:04 +000040
41 <!--
42 isBuildTested: true|false should JUnit plugin test results be used to generate index page
43 dropTokenList: comma separated list of strings which should be replaced by the fileName attribute settings in the testManifest.xml.
44 xmlDirectoryName: path to directory containing JUnit plugin test results in xml format (see doc is org.eclipse.test).
45 dropDirectoryName: path to directory containing the result of the build.
46 testResultsTemplateFileName: path to template file used to generate page with links to JUnit test results
47 testResultsHtmlFileName: name of file which will be generated with links to JUnit test results
48 dropHtmlFileName: name of generated index page
49 hrefTestResultsTargetPath: relative path from index page to directory containing JUnit html test results
50 hrefCompileLogsTargetPath: relative path from index page directory containing compilelogs
51 testManifestFileName: name of xml file containing descriptions of zip types and log files
52
53
54
55 -->
56 <property file="${buildDirectory}/maps/releng/maps/dependencies.properties" />
57
58 <!-- create tables of test plugin compiles first -->
david_williams6252b612007-02-25 07:23:43 +000059 <summarizeResults isBuildTested="false"
60 includeAll="true"
david_williamsb7db8ba2007-02-19 01:54:04 +000061 dropTokenList="${dropTokenList}"
62 xmlDirectoryName=""
63 dropDirectoryName="${resultDir}"
64 testResultsTemplateFileName="${templateDir}/templateFiles/testCompileResults.php.template"
david_williamsb7db8ba2007-02-19 01:54:04 +000065 testResultsHtmlFileName="testCompileResults.php"
david_williamsb7db8ba2007-02-19 01:54:04 +000066 hrefTestResultsTargetPath=""
67 hrefCompileLogsTargetPath="testcompilelogs"
david_williams535d6812007-03-29 06:46:26 +000068 compileLogsDirectoryName="${resultDir}/testcompilelogs" />
david_williamsb7db8ba2007-02-19 01:54:04 +000069
david_williams0b74c592007-04-09 06:11:35 +000070 <xslt
71 basedir="${resultDir}/testcompilelogs"
72 destdir="${resultDir}/testcompilelogs"
73 includes="**/*.bin.xml"
74 scanincludeddirectories="true"
75 style="compilerXMLOutputToHTML.xsl"
76 force="true" />
77
david_williamsb7db8ba2007-02-19 01:54:04 +000078 <!-- create table of code plugins compiles -->
david_williams6252b612007-02-25 07:23:43 +000079 <summarizeResults isBuildTested="false"
80 includeAll="true"
david_williamsb7db8ba2007-02-19 01:54:04 +000081 dropTokenList="${dropTokenList}"
82 xmlDirectoryName=""
83 dropDirectoryName="${resultDir}"
84 testResultsTemplateFileName="${templateDir}/templateFiles/compileResults.php.template"
david_williamsb7db8ba2007-02-19 01:54:04 +000085 testResultsHtmlFileName="compileResults.php"
david_williamsb7db8ba2007-02-19 01:54:04 +000086 hrefTestResultsTargetPath="testResults/html"
87 hrefCompileLogsTargetPath="compilelogs"
david_williams535d6812007-03-29 06:46:26 +000088 compileLogsDirectoryName="${resultDir}/compilelogs" />
david_williamsb7db8ba2007-02-19 01:54:04 +000089
90
david_williams0b74c592007-04-09 06:11:35 +000091 <xslt
92 basedir="${resultDir}/compilelogs"
93 destdir="${resultDir}/compilelogs"
94 includes="**/*.bin.xml"
95 scanincludeddirectories="true"
96 style="compilerXMLOutputToHTML.xsl"
97 force="true" />
david_williamsb7db8ba2007-02-19 01:54:04 +000098
99 <tstamp>
100 <format property="TODAY"
101 pattern="MMMM d, yyyy" />
102 </tstamp>
103
104 <!-- Insert Build Type descriptor -->
105 <antcall target="${buildType}" />
106
107 <!-- Insert Build Date -->
david_williams535d6812007-03-29 06:46:26 +0000108 <replace file="${resultingIndex}"
david_williamsb7db8ba2007-02-19 01:54:04 +0000109 token="@date@"
110 value="${TODAY}" />
111
112 <!-- Insert Build Name -->
david_williams535d6812007-03-29 06:46:26 +0000113 <replace file="${resultingIndex}"
david_williamsb7db8ba2007-02-19 01:54:04 +0000114 token="@build@"
115 value="${buildLabel}" />
116
117 <!-- Insert Mirror Name -->
david_williams535d6812007-03-29 06:46:26 +0000118 <!--
119 <replace file="${resultingIndex}"
david_williamsb7db8ba2007-02-19 01:54:04 +0000120 token="@mirror@"
david_williams535d6812007-03-29 06:46:26 +0000121 value="\${downloadprefix}" />
122 -->
123 <!-- value="${webtoolsDownloadURL}/${buildBranch}/${buildLabel}/" /> -->
david_williamsb7db8ba2007-02-19 01:54:04 +0000124
125 <!-- Insert PreRequsites -->
126
david_williams535d6812007-03-29 06:46:26 +0000127 <replace file="${resultingIndex}"
david_williamsb7db8ba2007-02-19 01:54:04 +0000128 token="@eclipseFile@"
129 value="${eclipse.file.linux-gtk-x86}" />
david_williams535d6812007-03-29 06:46:26 +0000130 <replace file="${resultingIndex}"
david_williamsb7db8ba2007-02-19 01:54:04 +0000131 token="@eclipseURL@"
132 value="${eclipse.url}/${eclipse.file.linux-gtk-x86}" />
david_williams535d6812007-03-29 06:46:26 +0000133 <replace file="${resultingIndex}"
david_williamsb7db8ba2007-02-19 01:54:04 +0000134 token="@eclipseBuildURL@"
135 value="${eclipse.url}" />
david_williams535d6812007-03-29 06:46:26 +0000136 <replace file="${resultingIndex}"
david_williamsb7db8ba2007-02-19 01:54:04 +0000137 token="@emfFile@"
138 value="${emf.file}" />
david_williams535d6812007-03-29 06:46:26 +0000139 <replace file="${resultingIndex}"
david_williamsb7db8ba2007-02-19 01:54:04 +0000140 token="@emfURL@"
141 value="${emf.url}/${emf.file}" />
david_williams535d6812007-03-29 06:46:26 +0000142 <replace file="${resultingIndex}"
david_williamsb7db8ba2007-02-19 01:54:04 +0000143 token="@gefFile@"
144 value="${gef.file}" />
david_williams535d6812007-03-29 06:46:26 +0000145 <replace file="${resultingIndex}"
david_williamsb7db8ba2007-02-19 01:54:04 +0000146 token="@gefURL@"
147 value="${gef.url}/${gef.file}" />
david_williams535d6812007-03-29 06:46:26 +0000148 <replace file="${resultingIndex}"
david_williamsb7db8ba2007-02-19 01:54:04 +0000149 token="@jemFile@"
150 value="${jem.file}" />
david_williams535d6812007-03-29 06:46:26 +0000151 <replace file="${resultingIndex}"
david_williamsb7db8ba2007-02-19 01:54:04 +0000152 token="@jemURL@"
153 value="${jem.url}/${jem.file}" />
154 <!--
155 these token/s should not exist in maintenance stream, but
156 no harm done, so in the interests of keeping builder
157 streams in sync, we'll leave them here as place hold
158-->
david_williams535d6812007-03-29 06:46:26 +0000159 <replace file="${resultingIndex}"
david_williamsb7db8ba2007-02-19 01:54:04 +0000160 token="@dtpFile@"
161 value="${dtp.file}" />
david_williams535d6812007-03-29 06:46:26 +0000162 <replace file="${resultingIndex}"
david_williamsb7db8ba2007-02-19 01:54:04 +0000163 token="@dtpURL@"
164 value="${dtp.url}/${dtp.file}" />
165
166 <mkdir dir="${resultDir}/whatisfixed" />
167 <echo file="${resultDir}/whatisfixed/buglog.html"
168 append="true">
169 what is fixed list is not available yet!
170 </echo>
171
172 <!-- Update timestamp on file to permit overwrite through Ant copy task -->
david_williams535d6812007-03-29 06:46:26 +0000173 <touch file="${resultingIndex}" />
david_williamsb7db8ba2007-02-19 01:54:04 +0000174 </target>
175
176 <target name="generateJUnitTestsIndex" depends="checkIfTested" if="doTests">
ndaib8cedc82005-09-13 18:00:32 +0000177
david_williamsc84ab8c2006-12-11 18:50:34 +0000178 <!--
david_williamsa76816d2006-12-11 20:10:22 +0000179 isBuildTested: true|false should JUnit plugin test results be used to generate index page
180 dropTokenList: comma separated list of strings which should be replaced by the fileName attribute settings in the testManifest.xml.
181 xmlDirectoryName: path to directory containing JUnit plugin test results in xml format (see doc is org.eclipse.test).
182 dropDirectoryName: path to directory containing the result of the build.
183 testResultsTemplateFileName: path to template file used to generate page with links to JUnit test results
184 testResultsHtmlFileName: name of file which will be generated with links to JUnit test results
185 dropHtmlFileName: name of generated index page
186 hrefTestResultsTargetPath: relative path from index page to directory containing JUnit html test results
187 hrefCompileLogsTargetPath: relative path from index page directory containing compilelogs
188 testManifestFileName: name of xml file containing descriptions of zip types and log files
189
190
191
192 -->
david_williamsc84ab8c2006-12-11 18:50:34 +0000193 <property file="${buildDirectory}/maps/releng/maps/dependencies.properties" />
ndaib8cedc82005-09-13 18:00:32 +0000194
david_williams4d2fe842006-12-13 06:26:45 +0000195 <!-- create table of test plugin compiles first -->
david_williams944e4d02006-12-14 05:59:27 +0000196 <!-- set isBuildTested to true for the "compile only" results -->
david_williamsb7db8ba2007-02-19 01:54:04 +0000197
david_williams58473ad2007-03-03 01:12:43 +0000198 <summarizeResults isBuildTested="true"
david_williams4d2fe842006-12-13 06:26:45 +0000199 dropTokenList="${dropTokenList}"
david_williamsb7db8ba2007-02-19 01:54:04 +0000200 dropDirectoryName="${resultDir}"
201 xmlDirectoryName="${resultDir}/testResults/xml"
202 testResultsTemplateFileName="${templateDir}/templateFiles/testResults.php.template"
david_williams4d2fe842006-12-13 06:26:45 +0000203 testResultsHtmlFileName="testResults.php"
david_williams4d2fe842006-12-13 06:26:45 +0000204 hrefTestResultsTargetPath="testResults/html"
david_williams535d6812007-03-29 06:46:26 +0000205 compileLogsDirectoryName=""/>
david_williamsb7db8ba2007-02-19 01:54:04 +0000206
ndaib8cedc82005-09-13 18:00:32 +0000207
david_williamsc84ab8c2006-12-11 18:50:34 +0000208 <tstamp>
209 <format property="TODAY"
david_williams4d2fe842006-12-13 06:26:45 +0000210 pattern="MMMM d, yyyy" />
david_williamsc84ab8c2006-12-11 18:50:34 +0000211 </tstamp>
ndaib8cedc82005-09-13 18:00:32 +0000212
david_williamsc84ab8c2006-12-11 18:50:34 +0000213 <!-- Insert Build Type descriptor -->
214 <antcall target="${buildType}" />
ndaib8cedc82005-09-13 18:00:32 +0000215
david_williamsc84ab8c2006-12-11 18:50:34 +0000216 <!-- Insert Build Date -->
david_williams535d6812007-03-29 06:46:26 +0000217 <replace file="${resultingIndex}"
david_williams4d2fe842006-12-13 06:26:45 +0000218 token="@date@"
219 value="${TODAY}" />
ndaib8cedc82005-09-13 18:00:32 +0000220
david_williamsc84ab8c2006-12-11 18:50:34 +0000221 <!-- Insert Build Name -->
david_williams535d6812007-03-29 06:46:26 +0000222 <replace file="${resultingIndex}"
david_williams4d2fe842006-12-13 06:26:45 +0000223 token="@build@"
224 value="${buildLabel}" />
ndaib8cedc82005-09-13 18:00:32 +0000225
david_williamsc84ab8c2006-12-11 18:50:34 +0000226 <!-- Insert Mirror Name -->
david_williams535d6812007-03-29 06:46:26 +0000227 <replace file="${resultingIndex}"
david_williams4d2fe842006-12-13 06:26:45 +0000228 token="@mirror@"
229 value="${webtoolsDownloadURL}/${buildBranch}/${buildLabel}/" />
ndaib8cedc82005-09-13 18:00:32 +0000230
david_williamsc84ab8c2006-12-11 18:50:34 +0000231 <!-- Insert PreRequsites -->
ndaib8cedc82005-09-13 18:00:32 +0000232
david_williams535d6812007-03-29 06:46:26 +0000233 <replace file="${resultingIndex}"
david_williams4d2fe842006-12-13 06:26:45 +0000234 token="@eclipseFile@"
235 value="${eclipse.file.linux-gtk-x86}" />
david_williams535d6812007-03-29 06:46:26 +0000236 <replace file="${resultingIndex}"
david_williams4d2fe842006-12-13 06:26:45 +0000237 token="@eclipseURL@"
238 value="${eclipse.url}/${eclipse.file.linux-gtk-x86}" />
david_williams535d6812007-03-29 06:46:26 +0000239 <replace file="${resultingIndex}"
david_williams4d2fe842006-12-13 06:26:45 +0000240 token="@eclipseBuildURL@"
241 value="${eclipse.url}" />
david_williams535d6812007-03-29 06:46:26 +0000242 <replace file="${resultingIndex}"
david_williams4d2fe842006-12-13 06:26:45 +0000243 token="@emfFile@"
244 value="${emf.file}" />
david_williams535d6812007-03-29 06:46:26 +0000245 <replace file="${resultingIndex}"
david_williams4d2fe842006-12-13 06:26:45 +0000246 token="@emfURL@"
david_williams254309b2006-12-16 19:15:23 +0000247 value="${emf.url}/${emf.file}" />
david_williams535d6812007-03-29 06:46:26 +0000248 <replace file="${resultingIndex}"
david_williams4d2fe842006-12-13 06:26:45 +0000249 token="@gefFile@"
250 value="${gef.file}" />
david_williams535d6812007-03-29 06:46:26 +0000251 <replace file="${resultingIndex}"
david_williams4d2fe842006-12-13 06:26:45 +0000252 token="@gefURL@"
253 value="${gef.url}/${gef.file}" />
david_williams535d6812007-03-29 06:46:26 +0000254 <replace file="${resultingIndex}"
david_williams4d2fe842006-12-13 06:26:45 +0000255 token="@jemFile@"
256 value="${jem.file}" />
david_williams535d6812007-03-29 06:46:26 +0000257 <replace file="${resultingIndex}"
david_williams4d2fe842006-12-13 06:26:45 +0000258 token="@jemURL@"
259 value="${jem.url}/${jem.file}" />
260 <!--
david_williamsa76816d2006-12-11 20:10:22 +0000261 these token/s should not exist in maintenance stream, but
262 no harm done, so in the interests of keeping builder
263 streams in sync, we'll leave them here as place hold
264-->
david_williams535d6812007-03-29 06:46:26 +0000265 <replace file="${resultingIndex}"
david_williamsc84ab8c2006-12-11 18:50:34 +0000266 token="@dtpFile@"
267 value="${dtp.file}" />
david_williams535d6812007-03-29 06:46:26 +0000268 <replace file="${resultingIndex}"
david_williamsc84ab8c2006-12-11 18:50:34 +0000269 token="@dtpURL@"
270 value="${dtp.url}/${dtp.file}" />
271
david_williamsb7db8ba2007-02-19 01:54:04 +0000272 <mkdir dir="${resultDir}/whatisfixed" />
273 <echo file="${resultDir}/whatisfixed/buglog.html"
david_williams4d2fe842006-12-13 06:26:45 +0000274 append="true">
david_williamsa76816d2006-12-11 20:10:22 +0000275 what is fixed list is not available yet!
276 </echo>
ndaib8cedc82005-09-13 18:00:32 +0000277
david_williamsc84ab8c2006-12-11 18:50:34 +0000278 <!-- Update timestamp on file to permit overwrite through Ant copy task -->
david_williams535d6812007-03-29 06:46:26 +0000279 <touch file="${resultingIndex}" />
david_williamsc84ab8c2006-12-11 18:50:34 +0000280 </target>
ndaib8cedc82005-09-13 18:00:32 +0000281
282
david_williamsc84ab8c2006-12-11 18:50:34 +0000283 <target name="getStaticFiles">
284 <!--get static files required in the buildLabel directory-->
david_williamsb7db8ba2007-02-19 01:54:04 +0000285 <copy todir="${resultDir}">
286 <fileset dir="${templateDir}/staticDropFiles" />
david_williamsc84ab8c2006-12-11 18:50:34 +0000287 </copy>
ndaib8cedc82005-09-13 18:00:32 +0000288
david_williamsc84ab8c2006-12-11 18:50:34 +0000289 <!--copy buildnotes from plugin directories-->
david_williamsb7db8ba2007-02-19 01:54:04 +0000290 <mkdir dir="${resultDir}/buildnotes" />
291 <copy todir="${resultDir}/buildnotes" flatten="true">
david_williamsc84ab8c2006-12-11 18:50:34 +0000292 <fileset dir="${buildDirectory}/plugins"
david_williams4d2fe842006-12-13 06:26:45 +0000293 includes="**/buildnotes_*.html" />
david_williamsc84ab8c2006-12-11 18:50:34 +0000294 </copy>
david_williamsb2d7f2b2007-03-25 02:53:33 +0000295
296
297 <copy file="${templateDir}/staticDropFiles/logIndex.php" tofile="${resultDir}/testResults/consolelogs/full/logIndex.php" />
298 <copy file="${templateDir}/staticDropFiles/logIndex.php" tofile="${resultDir}/testResults/consolelogs/testLogs/logIndex.php" />
299 <copy file="${templateDir}/staticDropFiles/logIndex.php" tofile="${resultDir}/testResults/consolelogs/testSysErrorLogs/logIndex.php" />
300
301
david_williamsc84ab8c2006-12-11 18:50:34 +0000302 </target>
david_williams50f2a4a2007-01-02 05:02:05 +0000303
304 <target name="updateSite">
305
306
307 <!-- get our authored, tokenized site.xml file -->
308 <copy file="${wtp.builder.home}/distribution/wtp.site/templateFiles/siteWTP.xml"
309 tofile="${buildDirectory}/${buildLabel}/updateSite/site.xml" overwrite="true" failonerror="true"/>
310 <!-- get the ${buildDirectory}/finalPluginsVersions.properties, and
311 read as properties -->
312 <!-- substitute property value for tokens -->
313 <replace file="${buildDirectory}/${buildLabel}/updateSite/site.xml"
314 propertyfile="${buildDirectory}/finalFeaturesVersions.properties" >
315 <replacefilter token="@org.eclipse.wst@"
316 property="org.eclipse.wst" />
317 <replacefilter token="@org.eclipse.wst.sdk@"
318 property="org.eclipse.wst.sdk" />
319 <replacefilter token="@org.eclipse.jst@"
320 property="org.eclipse.jst" />
321 <replacefilter token="@org.eclipse.jst.sdk@"
322 property="org.eclipse.jst.sdk" />
323
324 <replacefilter token="@org.eclipse.jst.jsf.feature@"
325 property="org.eclipse.jst.jsf.feature" />
326 <replacefilter token="@org.eclipse.jst.jsf_sdk.feature@"
327 property="org.eclipse.jst.jsf_sdk.feature" />
david_williamseb49d082007-05-01 03:03:15 +0000328 <replacefilter token="@org.eclipse.jpt.feature@"
329 property="org.eclipse.jpt.feature" />
330 <replacefilter token="@org.eclipse.jpt_sdk.feature@"
331 property="org.eclipse.jpt_sdk.feature" />
david_williams50f2a4a2007-01-02 05:02:05 +0000332 </replace>
333
334 </target>
ndaib8cedc82005-09-13 18:00:32 +0000335
david_williamsc84ab8c2006-12-11 18:50:34 +0000336 <target name="countFiles">
david_williams0b45fcf2007-03-29 15:28:18 +0000337 <!--
338 files.count is a file that should exist in the drop directory with a count of the zip files in the same directory.
david_williamsa76816d2006-12-11 20:10:22 +0000339 It is required to generate a link to the build on the downloads page.
david_williamsa76816d2006-12-11 20:10:22 +0000340 -->
ndaib8cedc82005-09-13 18:00:32 +0000341
david_williams0b45fcf2007-03-29 15:28:18 +0000342 <countBuildFiles sourceDirectory="${resultDir}"
david_williams4d2fe842006-12-13 06:26:45 +0000343 filterString=".zip,.tar.gz"
david_williamsb7db8ba2007-02-19 01:54:04 +0000344 outputFile="${resultDir}/files.count" />
ndaib8cedc82005-09-13 18:00:32 +0000345
david_williamsc84ab8c2006-12-11 18:50:34 +0000346 </target>
ndaib8cedc82005-09-13 18:00:32 +0000347
david_williamsc84ab8c2006-12-11 18:50:34 +0000348 <!--Build type descriptors-->
349 <target name="I">
david_williams535d6812007-03-29 06:46:26 +0000350 <replace file="${resultingIndex}"
david_williams4d2fe842006-12-13 06:26:45 +0000351 token="%wtpandprereqs%"
352 value=" " />
david_williams535d6812007-03-29 06:46:26 +0000353 <replace file="${resultingIndex}"
david_williams4d2fe842006-12-13 06:26:45 +0000354 token="@type@"
355 value="Integration" />
david_williamsc84ab8c2006-12-11 18:50:34 +0000356 </target>
ndaib8cedc82005-09-13 18:00:32 +0000357
david_williamsc84ab8c2006-12-11 18:50:34 +0000358 <target name="S">
david_williams535d6812007-03-29 06:46:26 +0000359 <replace file="${resultingIndex}"
david_williams4d2fe842006-12-13 06:26:45 +0000360 token="%wtpandprereqs%"
361 value=" " />
david_williams535d6812007-03-29 06:46:26 +0000362 <replace file="${resultingIndex}"
david_williams4d2fe842006-12-13 06:26:45 +0000363 token="@type@"
364 value="Stable" />
david_williamsc84ab8c2006-12-11 18:50:34 +0000365 </target>
ndaib8cedc82005-09-13 18:00:32 +0000366
david_williamsc84ab8c2006-12-11 18:50:34 +0000367 <target name="N">
david_williams535d6812007-03-29 06:46:26 +0000368 <replace file="${resultingIndex}"
david_williams4d2fe842006-12-13 06:26:45 +0000369 token="%wtpandprereqs%"
370 value=" " />
david_williams535d6812007-03-29 06:46:26 +0000371 <replace file="${resultingIndex}"
david_williams4d2fe842006-12-13 06:26:45 +0000372 token="@type@"
373 value="Nightly" />
david_williamsc84ab8c2006-12-11 18:50:34 +0000374 </target>
ndaib8cedc82005-09-13 18:00:32 +0000375
david_williamsc84ab8c2006-12-11 18:50:34 +0000376 <target name="M">
david_williams535d6812007-03-29 06:46:26 +0000377 <replace file="${resultingIndex}"
david_williams4d2fe842006-12-13 06:26:45 +0000378 token="%wtpandprereqs%"
379 value=" " />
david_williams535d6812007-03-29 06:46:26 +0000380 <replace file="${resultingIndex}"
david_williams4d2fe842006-12-13 06:26:45 +0000381 token="@type@"
382 value="Maintenance" />
david_williamsc84ab8c2006-12-11 18:50:34 +0000383 </target>
ndaib8cedc82005-09-13 18:00:32 +0000384
david_williamsc84ab8c2006-12-11 18:50:34 +0000385 <target name="R">
david_williams535d6812007-03-29 06:46:26 +0000386 <replace file="${resultingIndex}"
david_williams4d2fe842006-12-13 06:26:45 +0000387 token="%wtpandprereqs%"
388 value=" " />
david_williams535d6812007-03-29 06:46:26 +0000389 <replace file="${resultingIndex}"
david_williams4d2fe842006-12-13 06:26:45 +0000390 token="@type@"
391 value="Release" />
david_williamsc84ab8c2006-12-11 18:50:34 +0000392 </target>
ndaib8cedc82005-09-13 18:00:32 +0000393
394
david_williamsc84ab8c2006-12-11 18:50:34 +0000395 <target name="T">
david_williams535d6812007-03-29 06:46:26 +0000396 <replace file="${resultingIndex}"
david_williams4d2fe842006-12-13 06:26:45 +0000397 token="%wtpandprereqs%"
398 value=" " />
david_williams535d6812007-03-29 06:46:26 +0000399 <replace file="${resultingIndex}"
david_williams4d2fe842006-12-13 06:26:45 +0000400 token="@type@"
401 value="Test" />
david_williamsc84ab8c2006-12-11 18:50:34 +0000402 </target>
david_williamsb7db8ba2007-02-19 01:54:04 +0000403
404
405 <target name="checkIfTested">
406 <echo message="isBuildTested: ${isBuildTested}" />
407 <condition property="doTests">
408 <equals arg1="${isBuildTested}"
409 arg2="true"
410 trim="true"
411 casesensitive="false" />
412 </condition>
413 </target>
414
ndaib8cedc82005-09-13 18:00:32 +0000415
416</project>