blob: 406ff3ea2614f7e434d737efdb7baa8082a497f0 [file] [log] [blame]
david_williams2e87efa2008-09-01 02:56:08 +00001<project
2 name="Publish Build"
3 default="default"
4 basedir=".">
david_williams13e2a2c2009-11-14 08:06:12 +00005 <!--
6 Properties that must be passed to this script: buildDirectory:
7 Path to perform the build in. (A working directory) buildType:
8 Type of build (nightly, integration etc.) buildId: Build name
9 buildLabel: <buildType>-<buildName>-<timestamp>
david_williams2e87efa2008-09-01 02:56:08 +000010 -->
david_williams13e2a2c2009-11-14 08:06:12 +000011 <property
12 environment="env"/>
13 <fail
14 unless="buildDirectory"
15 message="buildDirectory must be provided to publish"/>
16 <fail
17 unless="buildLabel"
18 message="buildLabel must be provided to publish"/>
19 <fail
20 unless="wtp.builder.home"
21 message="wtp.builder.home must be provided to publish"/>
22 <fail
23 unless="build.distribution"
24 message="build.distribution must be provided to publish"/>
david_williams2e87efa2008-09-01 02:56:08 +000025 <property
26 name="resultDir"
david_williams13e2a2c2009-11-14 08:06:12 +000027 value="${buildDirectory}/${buildLabel}"/>
david_williams2e87efa2008-09-01 02:56:08 +000028 <!--name of generated index page-->
29 <property
30 name="indexFileName"
david_williams13e2a2c2009-11-14 08:06:12 +000031 value="index.php"/>
david_williams2e87efa2008-09-01 02:56:08 +000032 <property
33 name="templateDir"
david_williams13e2a2c2009-11-14 08:06:12 +000034 value="${wtp.builder.home}/distribution/${build.distribution}.site"/>
david_williams2e87efa2008-09-01 02:56:08 +000035 <property
36 name="resultingIndex"
david_williams13e2a2c2009-11-14 08:06:12 +000037 value="${resultDir}/${indexFileName}"/>
david_williams2e87efa2008-09-01 02:56:08 +000038 <echo
39 level="debug"
david_williams13e2a2c2009-11-14 08:06:12 +000040 message="resultDir: ${resultDir}"/>
david_williams2e87efa2008-09-01 02:56:08 +000041 <echo
42 level="debug"
david_williams13e2a2c2009-11-14 08:06:12 +000043 message="templateDir: ${templateDir}"/>
david_williams2e87efa2008-09-01 02:56:08 +000044 <echo
45 level="debug"
david_williams13e2a2c2009-11-14 08:06:12 +000046 message="resultingIndex: ${resultingIndex}"/>
47 <target
48 name="default">
david_williams2e87efa2008-09-01 02:56:08 +000049 <copy
50 overwrite="true"
51 file="${wtp.builder.home}/distribution/${build.distribution}.site/templateFiles/${indexTemplateFilename}"
david_williams13e2a2c2009-11-14 08:06:12 +000052 tofile="${resultingIndex}"/>
53 <antcall
54 target="countFiles"/>
55 <antcall
56 target="generateCompileIndex"/>
57 <antcall
58 target="generateJUnitTestsIndex"/>
59 <antcall
60 target="getStaticFiles"/>
david_williams2e87efa2008-09-01 02:56:08 +000061 </target>
david_williams13e2a2c2009-11-14 08:06:12 +000062 <target
63 name="generateCompileIndex">
david_williams2e87efa2008-09-01 02:56:08 +000064 <!--
david_williams13e2a2c2009-11-14 08:06:12 +000065 <taskdef name="indexResults"
66 classname="org.eclipse.wtp.releng.tools.ResultsSummaryGenerator"
67 />
david_williams2e87efa2008-09-01 02:56:08 +000068 -->
david_williams2e87efa2008-09-01 02:56:08 +000069 <!--
david_williams13e2a2c2009-11-14 08:06:12 +000070 isBuildTested: true|false should JUnit plugin test results
71 be used to generate index page dropTokenList: comma
72 separated list of strings which should be replaced by the
73 fileName attribute settings in the testManifest.xml.
74 xmlDirectoryName: path to directory containing JUnit plugin
75 test results in xml format (see doc is org.eclipse.test).
76 dropDirectoryName: path to directory containing the result
77 of the build. testResultsTemplateFileName: path to template
78 file used to generate page with links to JUnit test results
79 testResultsHtmlFileName: name of file which will be
80 generated with links to JUnit test results dropHtmlFileName:
81 name of generated index page hrefTestResultsTargetPath:
82 relative path from index page to directory containing JUnit
83 html test results hrefCompileLogsTargetPath: relative path
84 from index page directory containing compilelogs
85 testManifestFileName: name of xml file containing
86 descriptions of zip types and log files
david_williams2e87efa2008-09-01 02:56:08 +000087 -->
88 <property
david_williams13e2a2c2009-11-14 08:06:12 +000089 file="${buildDirectory}/maps/${env.RELENG}${env.DEP_DIR}/maps/dependencies.properties"/>
david_williams2e87efa2008-09-01 02:56:08 +000090
91 <!-- create tables of test plugin compiles first -->
david_williams13e2a2c2009-11-14 08:06:12 +000092 <antcall
93 target="generateTestCompileOutput">
94 <param
95 name="outputDirectory"
96 value="${resultDir}/testcompilelogs"/>
97 </antcall>
98
99 <!-- create table of code plugins compiles -->
100 <antcall
101 target="generateCompileOutput">
102 <param
103 name="outputDirectory"
104 value="${resultDir}/compilelogs"/>
105 </antcall>
106 <tstamp>
107 <format
108 property="TODAY"
109 pattern="MMMM d, yyyy"/>
110 </tstamp>
111
112 <!-- Insert Build Type descriptor -->
113 <antcall
114 target="${buildType}"/>
115 <antcall
116 target="writeData"/>
117 <!--
118 Update timestamp on file to permit overwrite through Ant
119 copy task
120 -->
121 <touch
122 file="${resultingIndex}"/>
123 </target>
124 <target
125 name="generateTestCompileOutput"
126 depends="checkIfCompileLogs"
127 if="doCompileLogs">
david_williams2e87efa2008-09-01 02:56:08 +0000128 <summarizeResults
129 isBuildTested="false"
130 includeAll="true"
131 dropTokenList="${dropTokenList}"
132 xmlDirectoryName=""
133 dropDirectoryName="${resultDir}"
134 testResultsTemplateFileName="${templateDir}/templateFiles/testCompileResults.php.template"
135 testResultsHtmlFileName="testCompileResults.php"
136 hrefTestResultsTargetPath=""
137 hrefCompileLogsTargetPath="testcompilelogs"
david_williams13e2a2c2009-11-14 08:06:12 +0000138 compileLogsDirectoryName="${outputDirectory}"/>
139 <antcall
140 target="compilerXMLToHTML"/>
141 </target>
142 <target
143 name="generateCompileOutput"
144 depends="checkIfCompileLogs"
145 if="doCompileLogs">
david_williams2e87efa2008-09-01 02:56:08 +0000146 <summarizeResults
147 isBuildTested="false"
148 includeAll="true"
149 dropTokenList="${dropTokenList}"
150 xmlDirectoryName=""
151 dropDirectoryName="${resultDir}"
152 testResultsTemplateFileName="${templateDir}/templateFiles/compileResults.php.template"
153 testResultsHtmlFileName="compileResults.php"
154 hrefTestResultsTargetPath="testResults/html"
155 hrefCompileLogsTargetPath="compilelogs"
david_williams13e2a2c2009-11-14 08:06:12 +0000156 compileLogsDirectoryName="${outputDirectory}"/>
157 <antcall
158 target="compilerXMLToHTML"/>
159 </target>
160 <target
161 name="compilerXMLToHTML">
david_williams2e87efa2008-09-01 02:56:08 +0000162 <xslt
david_williams13e2a2c2009-11-14 08:06:12 +0000163 basedir="${outputDirectory}"
164 destdir="${outputDirectory}"
165 includes="**/*.xml"
david_williams2e87efa2008-09-01 02:56:08 +0000166 scanincludeddirectories="true"
167 style="compilerXMLOutputToHTML.xsl"
david_williams13e2a2c2009-11-14 08:06:12 +0000168 force="true"/>
david_williams2e87efa2008-09-01 02:56:08 +0000169 </target>
david_williams2e87efa2008-09-01 02:56:08 +0000170 <target
171 name="generateJUnitTestsIndex"
172 depends="checkIfTested"
173 if="doTests">
david_williams2e87efa2008-09-01 02:56:08 +0000174 <!--
david_williams13e2a2c2009-11-14 08:06:12 +0000175 isBuildTested: true|false should JUnit plugin test results
176 be used to generate index page dropTokenList: comma
177 separated list of strings which should be replaced by the
178 fileName attribute settings in the testManifest.xml.
179 xmlDirectoryName: path to directory containing JUnit plugin
180 test results in xml format (see doc is org.eclipse.test).
181 dropDirectoryName: path to directory containing the result
182 of the build. testResultsTemplateFileName: path to template
183 file used to generate page with links to JUnit test results
184 testResultsHtmlFileName: name of file which will be
185 generated with links to JUnit test results dropHtmlFileName:
186 name of generated index page hrefTestResultsTargetPath:
187 relative path from index page to directory containing JUnit
188 html test results hrefCompileLogsTargetPath: relative path
189 from index page directory containing compilelogs
190 testManifestFileName: name of xml file containing
191 descriptions of zip types and log files
david_williams2e87efa2008-09-01 02:56:08 +0000192 -->
193 <property
david_williams13e2a2c2009-11-14 08:06:12 +0000194 file="${buildDirectory}/maps/${env.RELENG}${env.DEP_DIR}/maps/dependencies.properties"/>
david_williams2e87efa2008-09-01 02:56:08 +0000195
196 <!-- create table of test plugin compiles first -->
197 <!-- set isBuildTested to true for the "compile only" results -->
david_williams2e87efa2008-09-01 02:56:08 +0000198 <summarizeResults
199 isBuildTested="true"
200 dropTokenList="${dropTokenList}"
201 dropDirectoryName="${resultDir}"
202 xmlDirectoryName="${resultDir}/testResults/xml"
203 testResultsTemplateFileName="${templateDir}/templateFiles/testResults.php.template"
204 testResultsHtmlFileName="testResults.php"
205 hrefTestResultsTargetPath="testResults/html"
david_williams13e2a2c2009-11-14 08:06:12 +0000206 compileLogsDirectoryName=""/>
david_williams2e87efa2008-09-01 02:56:08 +0000207 <tstamp>
208 <format
209 property="TODAY"
david_williams13e2a2c2009-11-14 08:06:12 +0000210 pattern="MMMM d, yyyy"/>
david_williams2e87efa2008-09-01 02:56:08 +0000211 </tstamp>
212
213 <!-- Insert Build Type descriptor -->
david_williams13e2a2c2009-11-14 08:06:12 +0000214 <antcall
215 target="${buildType}"/>
216 <antcall
217 target="writeData"/>
218 <!--
219 Update timestamp on file to permit overwrite through Ant
220 copy task
221 -->
222 <touch
223 file="${resultingIndex}"/>
david_williams2e87efa2008-09-01 02:56:08 +0000224 </target>
david_williams13e2a2c2009-11-14 08:06:12 +0000225 <target
226 name="getStaticFiles">
david_williams2e87efa2008-09-01 02:56:08 +0000227 <!--get static files required in the buildLabel directory-->
david_williams13e2a2c2009-11-14 08:06:12 +0000228 <copy
229 todir="${resultDir}">
230 <fileset
231 dir="${templateDir}/staticDropFiles"/>
david_williams2e87efa2008-09-01 02:56:08 +0000232 </copy>
233
234 <!--copy buildnotes from plugin directories-->
david_williams13e2a2c2009-11-14 08:06:12 +0000235 <mkdir
236 dir="${resultDir}/buildnotes"/>
david_williams2e87efa2008-09-01 02:56:08 +0000237 <copy
238 todir="${resultDir}/buildnotes"
239 flatten="true">
240 <fileset
241 dir="${buildDirectory}/plugins"
david_williams13e2a2c2009-11-14 08:06:12 +0000242 includes="**/buildnotes_*.html"/>
david_williams2e87efa2008-09-01 02:56:08 +0000243 <fileset
244 dir="${buildDirectory}/features"
david_williams13e2a2c2009-11-14 08:06:12 +0000245 includes="**/buildnotes_*.html"/>
david_williams2e87efa2008-09-01 02:56:08 +0000246 </copy>
david_williams2e87efa2008-09-01 02:56:08 +0000247 <copy
248 file="${templateDir}/staticDropFiles/logIndex.php"
david_williams13e2a2c2009-11-14 08:06:12 +0000249 tofile="${resultDir}/testResults/consolelogs/full/logIndex.php"/>
david_williams2e87efa2008-09-01 02:56:08 +0000250 <copy
251 file="${templateDir}/staticDropFiles/logIndex.php"
david_williams13e2a2c2009-11-14 08:06:12 +0000252 tofile="${resultDir}/testResults/consolelogs/testLogs/logIndex.php"/>
david_williams2e87efa2008-09-01 02:56:08 +0000253 <copy
254 file="${templateDir}/staticDropFiles/logIndex.php"
david_williams13e2a2c2009-11-14 08:06:12 +0000255 tofile="${resultDir}/testResults/consolelogs/testSysErrorLogs/logIndex.php"/>
david_williams2e87efa2008-09-01 02:56:08 +0000256 </target>
david_williams13e2a2c2009-11-14 08:06:12 +0000257 <target
258 name="updateSite">
david_williams2e87efa2008-09-01 02:56:08 +0000259
260
261 <!-- get our authored, tokenized site.xml file -->
262 <copy
263 file="${wtp.builder.home}/distribution/${build.distribution}.site/templateFiles/siteWTP.xml"
264 tofile="${buildDirectory}/${buildLabel}/updateSite/site.xml"
265 overwrite="true"
david_williams13e2a2c2009-11-14 08:06:12 +0000266 failonerror="true"/>
267 <!--
268 get the ${buildDirectory}/finalPluginsVersions.properties,
269 and read as properties
270 -->
david_williams2e87efa2008-09-01 02:56:08 +0000271 <!-- substitute property value for tokens -->
272 <replace
273 file="${buildDirectory}/${buildLabel}/updateSite/site.xml"
274 propertyfile="${buildDirectory}/finalFeaturesVersions.properties">
275 <replacefilter
david_williams13e2a2c2009-11-14 08:06:12 +0000276 token="@org.eclipse.wtp@"
277 property="org.eclipse.wtp"/>
david_williams2e87efa2008-09-01 02:56:08 +0000278 <replacefilter
david_williams13e2a2c2009-11-14 08:06:12 +0000279 token="@org.eclipse.wtp.sdk@"
280 property="org.eclipse.wtp.sdk"/>
david_williams2e87efa2008-09-01 02:56:08 +0000281 <replacefilter
282 token="@org.eclipse.jst@"
david_williams13e2a2c2009-11-14 08:06:12 +0000283 property="org.eclipse.jst"/>
david_williams2e87efa2008-09-01 02:56:08 +0000284 <replacefilter
285 token="@org.eclipse.jst.sdk@"
david_williams13e2a2c2009-11-14 08:06:12 +0000286 property="org.eclipse.jst.sdk"/>
david_williams2e87efa2008-09-01 02:56:08 +0000287 <replacefilter
288 token="@org.eclipse.jpt.feature@"
david_williams13e2a2c2009-11-14 08:06:12 +0000289 property="org.eclipse.jpt.feature"/>
david_williams2e87efa2008-09-01 02:56:08 +0000290 <replacefilter
291 token="@org.eclipse.jpt_sdk.feature@"
david_williams13e2a2c2009-11-14 08:06:12 +0000292 property="org.eclipse.jpt_sdk.feature"/>
david_williams2e87efa2008-09-01 02:56:08 +0000293 </replace>
david_williams2e87efa2008-09-01 02:56:08 +0000294 </target>
david_williams13e2a2c2009-11-14 08:06:12 +0000295 <target
296 name="countFiles">
297 <!--
298 files.count is a file that should exist in the drop
299 directory with a count of the zip files in the same
300 directory. It is required to generate a link to the build on
301 the downloads page.
david_williams2e87efa2008-09-01 02:56:08 +0000302 -->
david_williams2e87efa2008-09-01 02:56:08 +0000303 <countBuildFiles
304 sourceDirectory="${resultDir}"
305 filterString=".zip,.tar.gz"
david_williams13e2a2c2009-11-14 08:06:12 +0000306 outputFile="${resultDir}/files.count"/>
david_williams2e87efa2008-09-01 02:56:08 +0000307 </target>
308
309 <!--Build type descriptors-->
david_williams13e2a2c2009-11-14 08:06:12 +0000310 <target
311 name="I">
david_williams2e87efa2008-09-01 02:56:08 +0000312 <replace
313 file="${resultingIndex}"
314 token="%wtpandprereqs%"
david_williams13e2a2c2009-11-14 08:06:12 +0000315 value=" "/>
david_williams2e87efa2008-09-01 02:56:08 +0000316 <replace
317 file="${resultingIndex}"
318 token="@type@"
david_williams13e2a2c2009-11-14 08:06:12 +0000319 value="Integration"/>
david_williams2e87efa2008-09-01 02:56:08 +0000320 </target>
david_williams13e2a2c2009-11-14 08:06:12 +0000321 <target
322 name="S">
david_williams2e87efa2008-09-01 02:56:08 +0000323 <replace
324 file="${resultingIndex}"
325 token="%wtpandprereqs%"
david_williams13e2a2c2009-11-14 08:06:12 +0000326 value=" "/>
david_williams2e87efa2008-09-01 02:56:08 +0000327 <replace
328 file="${resultingIndex}"
329 token="@type@"
david_williams13e2a2c2009-11-14 08:06:12 +0000330 value="Stable"/>
david_williams2e87efa2008-09-01 02:56:08 +0000331 </target>
david_williams13e2a2c2009-11-14 08:06:12 +0000332 <target
333 name="N">
david_williams2e87efa2008-09-01 02:56:08 +0000334 <replace
335 file="${resultingIndex}"
336 token="%wtpandprereqs%"
david_williams13e2a2c2009-11-14 08:06:12 +0000337 value=" "/>
david_williams2e87efa2008-09-01 02:56:08 +0000338 <replace
339 file="${resultingIndex}"
340 token="@type@"
david_williams13e2a2c2009-11-14 08:06:12 +0000341 value="Nightly"/>
david_williams2e87efa2008-09-01 02:56:08 +0000342 </target>
david_williams13e2a2c2009-11-14 08:06:12 +0000343 <target
344 name="M">
david_williams2e87efa2008-09-01 02:56:08 +0000345 <replace
346 file="${resultingIndex}"
347 token="%wtpandprereqs%"
david_williams13e2a2c2009-11-14 08:06:12 +0000348 value=" "/>
david_williams2e87efa2008-09-01 02:56:08 +0000349 <replace
350 file="${resultingIndex}"
351 token="@type@"
david_williams13e2a2c2009-11-14 08:06:12 +0000352 value="Maintenance"/>
david_williams2e87efa2008-09-01 02:56:08 +0000353 </target>
david_williams13e2a2c2009-11-14 08:06:12 +0000354 <target
355 name="R">
david_williams2e87efa2008-09-01 02:56:08 +0000356 <replace
357 file="${resultingIndex}"
358 token="%wtpandprereqs%"
david_williams13e2a2c2009-11-14 08:06:12 +0000359 value=" "/>
david_williams2e87efa2008-09-01 02:56:08 +0000360 <replace
361 file="${resultingIndex}"
362 token="@type@"
david_williams13e2a2c2009-11-14 08:06:12 +0000363 value="Release"/>
david_williams2e87efa2008-09-01 02:56:08 +0000364 </target>
david_williams13e2a2c2009-11-14 08:06:12 +0000365 <target
366 name="T">
david_williams2e87efa2008-09-01 02:56:08 +0000367 <replace
368 file="${resultingIndex}"
369 token="%wtpandprereqs%"
david_williams13e2a2c2009-11-14 08:06:12 +0000370 value=" "/>
david_williams2e87efa2008-09-01 02:56:08 +0000371 <replace
372 file="${resultingIndex}"
373 token="@type@"
david_williams13e2a2c2009-11-14 08:06:12 +0000374 value="Test"/>
david_williams2e87efa2008-09-01 02:56:08 +0000375 </target>
david_williams13e2a2c2009-11-14 08:06:12 +0000376 <target
377 name="P">
david_williams2e87efa2008-09-01 02:56:08 +0000378 <replace
379 file="${resultingIndex}"
380 token="%wtpandprereqs%"
david_williams13e2a2c2009-11-14 08:06:12 +0000381 value=" "/>
david_williams2e87efa2008-09-01 02:56:08 +0000382 <replace
383 file="${resultingIndex}"
384 token="@type@"
david_williams13e2a2c2009-11-14 08:06:12 +0000385 value="Patches"/>
david_williams2e87efa2008-09-01 02:56:08 +0000386 </target>
david_williams13e2a2c2009-11-14 08:06:12 +0000387 <target
388 name="checkIfTested">
david_williams2e87efa2008-09-01 02:56:08 +0000389 <echo
390 level="debug"
david_williams13e2a2c2009-11-14 08:06:12 +0000391 message="isBuildTested: ${isBuildTested}"/>
392 <condition
393 property="doTests">
david_williams2e87efa2008-09-01 02:56:08 +0000394 <equals
395 arg1="${isBuildTested}"
396 arg2="true"
397 trim="true"
david_williams13e2a2c2009-11-14 08:06:12 +0000398 casesensitive="false"/>
david_williams2e87efa2008-09-01 02:56:08 +0000399 </condition>
400 </target>
david_williams13e2a2c2009-11-14 08:06:12 +0000401 <target
402 name="checkIfCompileLogs">
403 <condition
404 property="doCompileLogs">
405 <available
406 file="${outputDirectory}"/>
407 </condition>
408 </target>
409 <target
410 name="writeData">
david_williams2e87efa2008-09-01 02:56:08 +0000411 <!-- Insert Build Date -->
412 <replace
413 file="${resultingIndex}"
414 token="@date@"
david_williams13e2a2c2009-11-14 08:06:12 +0000415 value="${TODAY}"/>
david_williams2e87efa2008-09-01 02:56:08 +0000416
417 <!-- Insert Build Name -->
418 <replace
419 file="${resultingIndex}"
420 token="@build@"
david_williams13e2a2c2009-11-14 08:06:12 +0000421 value="${buildLabel}"/>
david_williams2e87efa2008-09-01 02:56:08 +0000422 <replace
423 file="${resultingIndex}"
424 token="@buildBranch@"
david_williams13e2a2c2009-11-14 08:06:12 +0000425 value="${buildBranch}"/>
david_williams2e87efa2008-09-01 02:56:08 +0000426
427 <!-- Insert PreRequsites -->
david_williams13e2a2c2009-11-14 08:06:12 +0000428
429 <replace
430 file="${resultingIndex}"
431 token="@eclipseplatformFile@"
432 value="${eclipseplatform.file.linux-gtk-x86}"/>
433 <replace
434 file="${resultingIndex}"
435 token="@eclipseplatformURL@"
436 value="${eclipseplatform.url}/${eclipseplatform.file.linux-gtk-x86}"/>
437 <replace
438 file="${resultingIndex}"
439 token="@eclipseplatformBuildURL@"
440 value="${eclipseplatform.url}"/>
441 <replace
442 file="${resultingIndex}"
443 token="@eclipseplatformfilelinux@"
444 value="${eclipseplatform.file.linux-gtk-x86}"/>
445 <replace
446 file="${resultingIndex}"
447 token="@eclipseplatformfilewindows@"
448 value="${eclipseplatform.file.win32-win32-x86}"/>
449 <replace
450 file="${resultingIndex}"
451 token="@eclipseplatformfilemacos@"
452 value="${eclipseplatform.file.macosx-carbon-ppc}"/>
453 <replace
454 file="${resultingIndex}"
455 token="@eclipseplatformBuildHome@"
456 value="${eclipseplatform.build.home}"/>
457 <replace
458 file="${resultingIndex}"
459 token="@eclipseplatform.mirror.prefixuri@"
460 value="${eclipseplatform.mirror.prefixuri}"/>
461 <replace
462 file="${resultingIndex}"
463 token="@eclipseplatform.fspath.prefix@"
464 value="${eclipseplatform.fspath.prefix}"/>
david_williams2e87efa2008-09-01 02:56:08 +0000465
david_williams13e2a2c2009-11-14 08:06:12 +0000466
467
468
david_williams2e87efa2008-09-01 02:56:08 +0000469 <replace
470 file="${resultingIndex}"
471 token="@eclipseFile@"
david_williams13e2a2c2009-11-14 08:06:12 +0000472 value="${eclipse.file.linux-gtk-x86}"/>
david_williams2e87efa2008-09-01 02:56:08 +0000473 <replace
474 file="${resultingIndex}"
475 token="@eclipseURL@"
david_williams13e2a2c2009-11-14 08:06:12 +0000476 value="${eclipse.url}/${eclipse.file.linux-gtk-x86}"/>
david_williams2e87efa2008-09-01 02:56:08 +0000477 <replace
478 file="${resultingIndex}"
479 token="@eclipseBuildURL@"
david_williams13e2a2c2009-11-14 08:06:12 +0000480 value="${eclipse.url}"/>
david_williams2e87efa2008-09-01 02:56:08 +0000481 <replace
482 file="${resultingIndex}"
483 token="@eclipsefilelinux@"
david_williams13e2a2c2009-11-14 08:06:12 +0000484 value="${eclipse.file.linux-gtk-x86}"/>
david_williams2e87efa2008-09-01 02:56:08 +0000485 <replace
486 file="${resultingIndex}"
487 token="@eclipsefilewindows@"
david_williams13e2a2c2009-11-14 08:06:12 +0000488 value="${eclipse.file.win32-win32-x86}"/>
david_williams2e87efa2008-09-01 02:56:08 +0000489 <replace
490 file="${resultingIndex}"
491 token="@eclipsefilemacos@"
david_williams13e2a2c2009-11-14 08:06:12 +0000492 value="${eclipse.file.macosx-carbon-ppc}"/>
david_williams2e87efa2008-09-01 02:56:08 +0000493 <replace
494 file="${resultingIndex}"
495 token="@eclipseBuildHome@"
david_williams13e2a2c2009-11-14 08:06:12 +0000496 value="${eclipse.build.home}"/>
david_williams2e87efa2008-09-01 02:56:08 +0000497 <replace
498 file="${resultingIndex}"
499 token="@eclipse.mirror.prefixuri@"
david_williams13e2a2c2009-11-14 08:06:12 +0000500 value="${eclipse.mirror.prefixuri}"/>
david_williams2e87efa2008-09-01 02:56:08 +0000501 <replace
502 file="${resultingIndex}"
david_williams13e2a2c2009-11-14 08:06:12 +0000503 token="@eclipse.fspath.prefix@"
504 value="${eclipse.fspath.prefix}"/>
david_williams2e87efa2008-09-01 02:56:08 +0000505 <replace
506 file="${resultingIndex}"
507 token="@testURL@"
david_williams13e2a2c2009-11-14 08:06:12 +0000508 value="${eclipseTestFramework.url}/${eclipseTestFramework.file}"/>
david_williams2e87efa2008-09-01 02:56:08 +0000509 <replace
510 file="${resultingIndex}"
511 token="@testFile@"
david_williams13e2a2c2009-11-14 08:06:12 +0000512 value="${eclipseTestFramework.file}"/>
513 <replace
514 file="${resultingIndex}"
515 token="@emfName@"
516 value="${emf.name}"/>
517 <replace
518 file="${resultingIndex}"
519 token="@emfDescription@"
520 value="${emf.description}"/>
david_williams2e87efa2008-09-01 02:56:08 +0000521 <replace
522 file="${resultingIndex}"
523 token="@emfFile@"
david_williams13e2a2c2009-11-14 08:06:12 +0000524 value="${emf.file}"/>
david_williams2e87efa2008-09-01 02:56:08 +0000525 <replace
526 file="${resultingIndex}"
527 token="@emfURL@"
david_williams13e2a2c2009-11-14 08:06:12 +0000528 value="${emf.url}/${emf.file}"/>
david_williams2e87efa2008-09-01 02:56:08 +0000529 <replace
530 file="${resultingIndex}"
531 token="@emfBuildHome@"
david_williams13e2a2c2009-11-14 08:06:12 +0000532 value="${emf.build.home}"/>
david_williams2e87efa2008-09-01 02:56:08 +0000533 <replace
534 file="${resultingIndex}"
535 token="@emf.mirror.prefixuri@"
david_williams13e2a2c2009-11-14 08:06:12 +0000536 value="${emf.mirror.prefixuri}"/>
david_williams2e87efa2008-09-01 02:56:08 +0000537
david_williams13e2a2c2009-11-14 08:06:12 +0000538 <replace
539 file="${resultingIndex}"
540 token="@emfsourceURL@"
541 value="${emfsourcedoc.url}/${emfsourcedoc.file}"/>
542 <replace
543 file="${resultingIndex}"
544 token="@emfsourceFile@"
545 value="${emfsourcedoc.file}"/>
546 <replace
547 file="${resultingIndex}"
548 token="@emfsourceName@"
549 value="${emfsourcedoc.name}"/>
550 <replace
551 file="${resultingIndex}"
552 token="@emfsourceDescription@"
553 value="${emfsourcedoc.description}"/>
554 <replace
555 file="${resultingIndex}"
556 token="@emfsourceBuildHome@"
557 value="${emfsourcedoc.build.home}"/>
558 <replace
559 file="${resultingIndex}"
560 token="@emfsource.mirror.prefixuri@"
561 value="${emfsourcedoc.mirror.prefixuri}"/>
david_williams2e87efa2008-09-01 02:56:08 +0000562
david_williams13e2a2c2009-11-14 08:06:12 +0000563 <replace
564 file="${resultingIndex}"
565 token="@emfxsdsourceURL@"
566 value="${emfxsdsourcedoc.url}/${emfsourcedoc.file}"/>
567 <replace
568 file="${resultingIndex}"
569 token="@emfxsdsourceFile@"
570 value="${emfxsdsourcedoc.file}"/>
571 <replace
572 file="${resultingIndex}"
573 token="@emfxsdsourceName@"
574 value="${emfxsdsourcedoc.name}"/>
575 <replace
576 file="${resultingIndex}"
577 token="@emfxsdsourceDescription@"
578 value="${emfxsdsourcedoc.description}"/>
579 <replace
580 file="${resultingIndex}"
581 token="@emfxsdsourceBuildHome@"
582 value="${emfxsdsourcedoc.build.home}"/>
583 <replace
584 file="${resultingIndex}"
585 token="@emfxsdsource.mirror.prefixuri@"
586 value="${emfxsdsourcedoc.mirror.prefixuri}"/>
587
588 <replace
589 file="${resultingIndex}"
590 token="@emfxsdFile@"
591 value="${emfxsd.file}"/>
592 <replace
593 file="${resultingIndex}"
594 token="@emfxsdName@"
595 value="${emfxsd.name}"/>
596 <replace
597 file="${resultingIndex}"
598 token="@emfxsdDescription@"
599 value="${emfxsd.description}"/>
600 <replace
601 file="${resultingIndex}"
602 token="@emfxsdURL@"
603 value="${emfxsd.url}/${emfxsd.file}"/>
604 <replace
605 file="${resultingIndex}"
606 token="@emfxsdBuildHome@"
607 value="${emfxsd.build.home}"/>
608 <replace
609 file="${resultingIndex}"
610 token="@emfxsd.mirror.prefixuri@"
611 value="${emfxsd.mirror.prefixuri}"/>
612 <replace
613 file="${resultingIndex}"
614 token="@emfvalidationFile@"
615 value="${emfvalidation.file}"/>
616 <replace
617 file="${resultingIndex}"
618 token="@emfvalidationURL@"
619 value="${emfvalidation.url}/${emfvalidation.file}"/>
620 <replace
621 file="${resultingIndex}"
622 token="@emfvalidationBuildHome@"
623 value="${emfvalidation.build.home}"/>
624 <replace
625 file="${resultingIndex}"
626 token="@emfvalidation.mirror.prefixuri@"
627 value="${emfvalidation.mirror.prefixuri}"/>
628 <replace
629 file="${resultingIndex}"
630 token="@emfvalidationName@"
631 value="${emfvalidation.name}"/>
632 <replace
633 file="${resultingIndex}"
634 token="@emfvalidationDescription@"
635 value="${emfvalidation.description}"/>
636 <replace
637 file="${resultingIndex}"
638 token="@emfvalidationsourceFile@"
639 value="${emfvalidationsourcedoc.file}"/>
640 <replace
641 file="${resultingIndex}"
642 token="@emfvalidationsourceURL@"
643 value="${emfvalidationsourcedoc.url}/${emfvalidationsourcedoc.file}"/>
644 <replace
645 file="${resultingIndex}"
646 token="@emfvalidationsourceBuildHome@"
647 value="${emfvalidationsourcedoc.build.home}"/>
648 <replace
649 file="${resultingIndex}"
650 token="@emfvalidationsource.mirror.prefixuri@"
651 value="${emfvalidationsourcedoc.mirror.prefixuri}"/>
652 <replace
653 file="${resultingIndex}"
654 token="@emfvalidationsourceName@"
655 value="${emfvalidationsourcedoc.name}"/>
656 <replace
657 file="${resultingIndex}"
658 token="@emfvalidationsourceDescription@"
659 value="${emfvalidationsourcedoc.description}"/>
660 <replace
661 file="${resultingIndex}"
662 token="@wstName@"
663 value="${wst.name}"/>
664 <replace
665 file="${resultingIndex}"
666 token="@wstDescription@"
667 value="${wst.description}"/>
668 <replace
669 file="${resultingIndex}"
670 token="@wstFile@"
671 value="${wst.file}"/>
672 <replace
673 file="${resultingIndex}"
674 token="@wstURL@"
675 value="${wst.url}/${wst.file}"/>
676 <replace
677 file="${resultingIndex}"
678 token="@wstBuildHome@"
679 value="${wst.build.home}"/>
680 <replace
681 file="${resultingIndex}"
682 token="@wst.mirror.prefixuri@"
683 value="${wst.mirror.prefixuri}"/>
david_williams2e87efa2008-09-01 02:56:08 +0000684
david_williams13e2a2c2009-11-14 08:06:12 +0000685 <replace
686 file="${resultingIndex}"
687 token="@jstName@"
688 value="${jst.name}"/>
689 <replace
690 file="${resultingIndex}"
691 token="@jstDescription@"
692 value="${jst.description}"/>
693 <replace
694 file="${resultingIndex}"
695 token="@jstFile@"
696 value="${jst.file}"/>
697 <replace
698 file="${resultingIndex}"
699 token="@jstURL@"
700 value="${jst.url}/${jst.file}"/>
701 <replace
702 file="${resultingIndex}"
703 token="@jstBuildHome@"
704 value="${jst.build.home}"/>
705 <replace
706 file="${resultingIndex}"
707 token="@jst.mirror.prefixuri@"
708 value="${jst.mirror.prefixuri}"/>
709
710 <replace
711 file="${resultingIndex}"
712 token="@wtpName@"
713 value="${wtp.name}"/>
714 <replace
715 file="${resultingIndex}"
716 token="@wtpDescription@"
717 value="${wtp.description}"/>
718 <replace
719 file="${resultingIndex}"
720 token="@wtpFile@"
721 value="${wtp.file}"/>
722 <replace
723 file="${resultingIndex}"
724 token="@wtpURL@"
725 value="${wtp.url}/${wtp.file}"/>
726 <replace
727 file="${resultingIndex}"
728 token="@wtpBuildHome@"
729 value="${wtp.build.home}"/>
730 <replace
731 file="${resultingIndex}"
732 token="@wtp.mirror.prefixuri@"
733 value="${wtp.mirror.prefixuri}"/>
david_williams2e87efa2008-09-01 02:56:08 +0000734 <replace
735 file="${resultingIndex}"
736 token="@gefFile@"
david_williams13e2a2c2009-11-14 08:06:12 +0000737 value="${gef.file}"/>
david_williams2e87efa2008-09-01 02:56:08 +0000738 <replace
739 file="${resultingIndex}"
740 token="@gefURL@"
david_williams13e2a2c2009-11-14 08:06:12 +0000741 value="${gef.url}/${gef.file}"/>
david_williams2e87efa2008-09-01 02:56:08 +0000742 <replace
743 file="${resultingIndex}"
744 token="@gefBuildHome@"
david_williams13e2a2c2009-11-14 08:06:12 +0000745 value="${gef.build.home}"/>
david_williams2e87efa2008-09-01 02:56:08 +0000746 <replace
747 file="${resultingIndex}"
748 token="@gef.mirror.prefixuri@"
david_williams13e2a2c2009-11-14 08:06:12 +0000749 value="${gef.mirror.prefixuri}"/>
750 <replace
751 file="${resultingIndex}"
752 token="@gefName@"
753 value="${gef.name}"/>
754 <replace
755 file="${resultingIndex}"
756 token="@gefDescription@"
757 value="${gef.description}"/>
david_williams2e87efa2008-09-01 02:56:08 +0000758 <replace
759 file="${resultingIndex}"
760 token="@eclipserelengFile@"
david_williams13e2a2c2009-11-14 08:06:12 +0000761 value="${eclipsereleng.file}"/>
david_williams2e87efa2008-09-01 02:56:08 +0000762 <replace
763 file="${resultingIndex}"
764 token="@eclipserelengURL@"
david_williams13e2a2c2009-11-14 08:06:12 +0000765 value="${eclipsereleng.url}/${eclipsereleng.file}"/>
david_williams2e87efa2008-09-01 02:56:08 +0000766 <replace
767 file="${resultingIndex}"
768 token="@orbitthirdpartyzipFile@"
david_williams13e2a2c2009-11-14 08:06:12 +0000769 value="${orbitthirdpartyzip.file}"/>
david_williams2e87efa2008-09-01 02:56:08 +0000770 <replace
771 file="${resultingIndex}"
772 token="@orbitthirdpartyzipURL@"
david_williams13e2a2c2009-11-14 08:06:12 +0000773 value="${orbitthirdpartyzip.url}/${orbitthirdpartyzip.file}"/>
david_williams2e87efa2008-09-01 02:56:08 +0000774 <replace
775 file="${resultingIndex}"
776 token="@orbitthirdpartyzipBuildHome@"
david_williams13e2a2c2009-11-14 08:06:12 +0000777 value="${orbitthirdpartyzip.build.home}"/>
david_williams2e87efa2008-09-01 02:56:08 +0000778 <replace
779 file="${resultingIndex}"
780 token="@orbitthirdpartyzip.mirror.prefixuri@"
david_williams13e2a2c2009-11-14 08:06:12 +0000781 value="${orbitthirdpartyzip.mirror.prefixuri}"/>
david_williams2e87efa2008-09-01 02:56:08 +0000782
783
784 <!-- no longer used. Post 1.5.5 -->
785 <replace
786 file="${resultingIndex}"
787 token="@jemFile@"
david_williams13e2a2c2009-11-14 08:06:12 +0000788 value="${jem.file}"/>
david_williams2e87efa2008-09-01 02:56:08 +0000789 <replace
790 file="${resultingIndex}"
791 token="@jemURL@"
david_williams13e2a2c2009-11-14 08:06:12 +0000792 value="${jem.url}/${jem.file}"/>
david_williams2e87efa2008-09-01 02:56:08 +0000793 <replace
794 file="${resultingIndex}"
795 token="@jemBuildHome@"
david_williams13e2a2c2009-11-14 08:06:12 +0000796 value="${jem.build.home}"/>
david_williams2e87efa2008-09-01 02:56:08 +0000797 <replace
798 file="${resultingIndex}"
799 token="@jem.mirror.prefixuri@"
david_williams13e2a2c2009-11-14 08:06:12 +0000800 value="${jem.mirror.prefixuri}"/>
801 <!--
802 these token/s should not exist in maintenance stream, but do
803 no harm done, so in the interests of keeping builder streams
804 in sync, we'll leave them here as place hold
david_williams2e87efa2008-09-01 02:56:08 +0000805 -->
806 <replace
807 file="${resultingIndex}"
808 token="@dtpFile@"
david_williams13e2a2c2009-11-14 08:06:12 +0000809 value="${dtp.file}"/>
david_williams2e87efa2008-09-01 02:56:08 +0000810 <replace
811 file="${resultingIndex}"
812 token="@dtpURL@"
david_williams13e2a2c2009-11-14 08:06:12 +0000813 value="${dtp.url}/${dtp.file}"/>
david_williams2e87efa2008-09-01 02:56:08 +0000814 <replace
815 file="${resultingIndex}"
816 token="@dtpBuildHome@"
david_williams13e2a2c2009-11-14 08:06:12 +0000817 value="${dtp.build.home}"/>
david_williams2e87efa2008-09-01 02:56:08 +0000818 <replace
819 file="${resultingIndex}"
820 token="@dtp.mirror.prefixuri@"
david_williams13e2a2c2009-11-14 08:06:12 +0000821 value="${dtp.mirror.prefixuri}"/>
822 <replace
823 file="${resultingIndex}"
824 token="@dtpName@"
825 value="${dtp.name}"/>
826 <replace
827 file="${resultingIndex}"
828 token="@dtpDescription@"
829 value="${dtp.description}"/>
david_williams2e87efa2008-09-01 02:56:08 +0000830 </target>
david_williams2e87efa2008-09-01 02:56:08 +0000831</project>