blob: a3a56a680e53cc6986d57ad274e6dc8d766abc81 [file] [log] [blame]
david_williamsa3e48362007-08-22 04:21:50 +00001<project
2 default="main"
3 basedir=".">
jeffliu20cbe5f2005-10-05 19:06:30 +00004
david_williamsa3e48362007-08-22 04:21:50 +00005 <!--
6 Required inputs:
7
8 build.home
9 buildType
10 buildId
11 timestamp
12 env.BASEOS
13 env.BASEWS
14 env.BASEARCH
15 build.stream [optional]
16 build.committers [optional]
17 releng.tag [optional]
18 wtp.dir [optional]
19 clean [optional]
20 -->
21
david_williams42f9b242006-11-27 18:45:14 +000022 <!-- Note to be cross-platform, "environment variables" are only appropriate for
23 some variables, e.g. ones we set, since properties are case sensitive, even if
24 the environment variables on your operating system are not, e.g. it will
25 be ${env.Path} not ${env.PATH} on Windows -->
26 <property environment="env" />
27
jeffliu20cbe5f2005-10-05 19:06:30 +000028
david_williamsa3e48362007-08-22 04:21:50 +000029 <target name="main">
30 <property
david_williamsd4b1fd32008-01-02 04:16:52 +000031 file="${build.home}/${env.RELENG_BUILDER}/build.properties" />
david_williamsa3e48362007-08-22 04:21:50 +000032 <property
david_williamsd4b1fd32008-01-02 04:16:52 +000033 file="${build.home}/${env.RELENG_BUILDER}/distribution/wtp.api/api.properties" />
david_williamsa3e48362007-08-22 04:21:50 +000034 <property
35 name="wtp.api"
david_williamsd4b1fd32008-01-02 04:16:52 +000036 value="${build.home}/${env.RELENG_BUILDER}/distribution/wtp.api" />
david_williamsa3e48362007-08-22 04:21:50 +000037 <property
38 name="apiRoot"
39 value="${build.home}/apiRoot" />
40 <property
41 name="buildLabel"
42 value="${buildId}" />
43 <delete
44 dir="${apiRoot}"
45 failonerror="false" />
46 <mkdir dir="${apiRoot}" />
47 <antcall target="getReleng" />
david_williams403beae2007-12-09 02:10:40 +000048 <property
david_williamscecc5a92009-09-30 03:17:50 +000049 file="${apiRoot}/${env.RELENG}${env.DEP_DIR}/maps/dependencies.properties" />
david_williamsa3e48362007-08-22 04:21:50 +000050 <property
51 name="local.cache.dir"
52 value="${env.LOCAL_PREREQS_CACHE}" />
53 <property
54 name="wtp.dir"
55 value="${local.cache.dir}" />
56 <property
57 name="install.destination"
58 value="${apiRoot}" />
59 <antcall target="getDependencies" />
60 <condition
61 property="wtp-sdk"
62 value="wtp-sdk-${buildId}.zip"
63 else="wtp-sdk-${buildType}-${buildId}-${timestamp}.zip">
64 <available file="${wtp.dir}/wtp-sdk-${buildId}.zip" />
65 </condition>
66 <condition
67 property="wtp-tests"
david_williamsb55f0982009-11-03 02:41:00 +000068 value="wtp-tests-${buildId}.zip"
69 else="wtp-tests-${buildType}-${buildId}-${timestamp}.zip">
david_williamsa3e48362007-08-22 04:21:50 +000070 <available
david_williamsb55f0982009-11-03 02:41:00 +000071 file="${wtp.dir}/wtp-tests-${buildId}.zip" />
david_williamsa3e48362007-08-22 04:21:50 +000072 </condition>
73 <antcall target="run" />
74 <antcall target="upload" />
75 </target>
jeffliu20cbe5f2005-10-05 19:06:30 +000076
david_williamsa3e48362007-08-22 04:21:50 +000077 <target name="getReleng">
78 <property
79 name="releng.tag"
80 value="v${buildType}${timestamp}" />
81 <cvs
82 cvsRoot=":pserver:anonymous@dev.eclipse.org:/cvsroot/webtools"
david_williams957ca732007-11-17 01:39:24 +000083 package="${env.RELENG}"
david_williamsa3e48362007-08-22 04:21:50 +000084 dest="${apiRoot}"
85 command="export"
86 tag="${releng.tag}"
87 quiet="${env.CVS_QUIET}"
88 reallyquiet="${env.CVS_REALLY_QUIET}" />
89 </target>
jeffliu20cbe5f2005-10-05 19:06:30 +000090
david_williamsa3e48362007-08-22 04:21:50 +000091 <target name="getDependencies">
92 <antcall target="getAndInstall">
93 <param
94 name="groupId"
95 value="eclipse" />
96 </antcall>
97 <antcall target="getAndInstall">
98 <param
99 name="groupId"
100 value="eclipseTestFramework" />
101 <param
102 name="clean"
103 value="true" />
104 </antcall>
105 <antcall target="getAndInstall">
106 <param
107 name="groupId"
108 value="emf" />
109 </antcall>
110 <antcall target="getAndInstall">
111 <param
112 name="groupId"
113 value="gef" />
114 </antcall>
115 <antcall target="getAndInstall">
116 <param
117 name="groupId"
118 value="dtp" />
119 </antcall>
120 <antcall target="getAndInstall">
121 <param
122 name="groupId"
123 value="tomcat.5" />
124 </antcall>
125 <antcall target="getAndInstall">
126 <param
127 name="groupId"
128 value="jonas.4" />
129 </antcall>
130 <antcall target="getAndInstall">
131 <param
132 name="groupId"
133 value="oagis.release" />
134 </antcall>
135 <antcall target="getAndInstall">
136 <param
137 name="groupId"
138 value="oagis.wsdl" />
139 </antcall>
jeffliu20cbe5f2005-10-05 19:06:30 +0000140
david_williamsa3e48362007-08-22 04:21:50 +0000141 <!-- this appears to be pretty explict hard coding for windows machines.
142 I wonder why the usual "get dependencies" methods would not work?
143 -->
144 <antcall target="get">
145 <param
146 name="groupId"
147 value="eclipse" />
148 <param
149 name="baseos"
150 value="win32" />
151 <param
152 name="basews"
153 value="win32" />
154 <param
155 name="basearch"
156 value="x86" />
157 </antcall>
jeffliu20cbe5f2005-10-05 19:06:30 +0000158
jeffliu98217272005-10-07 21:27:07 +0000159
david_williamsa3e48362007-08-22 04:21:50 +0000160 <antcall target="get">
161 <param
162 name="groupId"
163 value="tptp" />
164 </antcall>
165 <mkdir dir="${apiRoot}/piagent" />
166 <condition property="isLinux">
167 <equals
168 arg1="${baseos}"
169 arg2="linux" />
170 </condition>
171 <antcall target="setupPIAgent.linux" />
172 <antcall target="setupPIAgent.win32" />
173 <antcall target="getAndInstallWTP">
174 <param
175 name="file"
176 value="wtp-sdk-${buildId}.zip" />
177 </antcall>
178 <antcall target="getAndInstallWTP">
179 <param
180 name="file"
181 value="wtp-sdk-${buildType}-${buildId}-${timestamp}.zip" />
182 </antcall>
183 <antcall target="getAndInstallWTP">
184 <param
185 name="file"
david_williamsb55f0982009-11-03 02:41:00 +0000186 value="wtp-tests-${buildId}.zip" />
david_williamsa3e48362007-08-22 04:21:50 +0000187 </antcall>
188 <antcall target="getAndInstallWTP">
189 <param
190 name="file"
david_williamsb55f0982009-11-03 02:41:00 +0000191 value="wtp-tests-${buildType}-${buildId}-${timestamp}.zip" />
david_williamsa3e48362007-08-22 04:21:50 +0000192 </antcall>
193 <delete file="${local.cache.dir}/wtp-apiscanner.zip" />
194 <get
195 src="http://download.eclipse.org/webtools/downloads/wtp-apiscanner.zip"
196 dest="${local.cache.dir}/wtp-apiscanner.zip" />
197 <unzip
198 src="${local.cache.dir}/wtp-apiscanner.zip"
199 dest="${apiRoot}" />
200 </target>
jeffliu20cbe5f2005-10-05 19:06:30 +0000201
david_williamsa3e48362007-08-22 04:21:50 +0000202 <target name="get">
203 <property
204 name="dependencyTargets"
david_williamsd4b1fd32008-01-02 04:16:52 +0000205 value="${build.home}/${env.RELENG_BUILDER}/scripts/dependency/build.xml" />
david_williamsa3e48362007-08-22 04:21:50 +0000206 <ant
207 antfile="${dependencyTargets}"
208 target="checkDependency">
209 <property
210 name="groupId"
211 value="${groupId}" />
212 </ant>
213 </target>
jeffliuc4ea6b02006-02-28 00:40:33 +0000214
david_williamsa3e48362007-08-22 04:21:50 +0000215 <target name="getAndInstall">
216 <property
217 name="dependencyTargets"
david_williamsd4b1fd32008-01-02 04:16:52 +0000218 value="${build.home}/${env.RELENG_BUILDER}/scripts/dependency/build.xml" />
david_williamsa3e48362007-08-22 04:21:50 +0000219 <ant
220 antfile="${dependencyTargets}"
221 target="checkDependency">
222 <property
223 name="groupId"
224 value="${groupId}" />
225 </ant>
226 <ant
227 antfile="${dependencyTargets}"
228 target="installDependency">
229 <property
230 name="groupId"
231 value="${groupId}" />
232 </ant>
233 </target>
jeffliu20cbe5f2005-10-05 19:06:30 +0000234
david_williamsa3e48362007-08-22 04:21:50 +0000235 <target name="getAndInstallWTP">
236 <available
237 file="${wtp.dir}/${file}"
238 property="file.exists" />
239 <antcall target="getWTP" />
240 <available
241 file="${wtp.dir}/${file}"
242 property="file.exists" />
243 <antcall target="installWTP" />
244 </target>
jeffliu98217272005-10-07 21:27:07 +0000245
david_williamsa3e48362007-08-22 04:21:50 +0000246 <target name="getWTP">
247 <condition
248 property="file.url.1"
249 value="http://download.eclipse.org/webtools/committers"
250 else="http://download.eclipse.org/webtools/downloads">
251 <isset property="build.committers" />
252 </condition>
253 <condition
254 property="file.url"
255 value="${file.url.1}/drops/${build.stream}/${buildType}-${buildId}-${timestamp}"
256 else="${file.url.1}/drops/${buildType}-${buildId}-${timestamp}">
257 <isset property="build.stream" />
258 </condition>
259 <antcall target="getWTP2" />
260 </target>
jeffliuc4ea6b02006-02-28 00:40:33 +0000261
david_williamsa3e48362007-08-22 04:21:50 +0000262 <target
263 name="getWTP2"
264 unless="file.exists">
265 <property
266 name="file.url"
267 value="http://download.eclipse.org/webtools/downloads/drops/${build.stream}/${buildType}-${buildId}-${timestamp}" />
268 <mkdir dir="${wtp.dir}" />
269 <get
270 dest="${wtp.dir}/${file}"
271 src="${file.url}/${file}"
272 ignoreerrors="true" />
273 </target>
jeffliuebfc3df2006-05-31 02:17:15 +0000274
david_williamsa3e48362007-08-22 04:21:50 +0000275 <target
276 name="installWTP"
277 if="file.exists">
278 <unzip
279 src="${wtp.dir}/${file}"
280 dest="${install.destination}"
281 overwrite="true" />
282 </target>
jeffliuebfc3df2006-05-31 02:17:15 +0000283
david_williamsa3e48362007-08-22 04:21:50 +0000284 <target
285 name="setupPIAgent.linux"
286 if="isLinux">
287 <unzip
288 src="${local.cache.dir}/${tptp.file.linux-gtk-x86}"
289 dest="${apiRoot}/piagent">
290 <patternset>
291 <include name="lib/*" />
292 </patternset>
293 </unzip>
294 <move
295 todir="${apiRoot}/piagent"
296 flatten="true">
297 <fileset dir="${apiRoot}/piagent/lib" />
298 </move>
299 </target>
jeffliuc4ea6b02006-02-28 00:40:33 +0000300
david_williamsa3e48362007-08-22 04:21:50 +0000301 <target
302 name="setupPIAgent.win32"
303 unless="isLinux">
304 <unzip
305 src="${local.cache.dir}/${tptp.file.win32-win32-x86}"
306 dest="${apiRoot}/piagent">
307 <patternset>
308 <include name="bin/*" />
309 </patternset>
310 </unzip>
311 <move
312 todir="${apiRoot}/piagent"
313 flatten="true">
314 <fileset dir="${apiRoot}/piagent/bin" />
315 </move>
316 </target>
jeffliuebfc3df2006-05-31 02:17:15 +0000317
david_williamsa3e48362007-08-22 04:21:50 +0000318 <target name="run">
319 <cvs
320 cvsRoot=":pserver:anonymous@dev.eclipse.org:/cvsroot/webtools"
321 package="releng.wtptools/api/adopter_usages"
322 dest="${apiRoot}"
323 command="export"
324 tag="HEAD" />
325 <mkdir dir="${apiRoot}/adopters" />
326 <antcall target="runEclipseApp">
327 <param
328 name="application"
329 value="org.eclipse.wtp.releng.tools.component.core.APIRefCompatibilityScanner" />
330 <param
331 name="vmargs"
332 value="-Dsrc=${local.cache.dir}/${wtp-sdk},${local.cache.dir}/${eclipse.file.win32-win32-x86},${local.cache.dir}/${emf.file},${local.cache.dir}/${gef.file},${local.cache.dir}/${dtp.file} -Duse=${apiRoot}/releng.wtptools/api/adopter_usages -DoutputDir=${apiRoot}/adopters -Xmx512M" />
333 </antcall>
334 <copy
335 tofile="${apiRoot}/apiresults/api-ref-compatibility.html"
336 file="${apiRoot}/adopters/api-ref-compatibility.html" />
337 <copy
338 tofile="${apiRoot}/apiresults/api-ref-compatibility.xml"
339 file="${apiRoot}/adopters/api-ref-compatibility.xml" />
jeffliu20cbe5f2005-10-05 19:06:30 +0000340
david_williamsa3e48362007-08-22 04:21:50 +0000341 <antcall target="runEclipseApp">
342 <param
343 name="application"
344 value="org.eclipse.wtp.releng.tools.component.core.Java2API" />
345 <param
346 name="vmargs"
347 value="-Dsrc=${local.cache.dir}/${eclipse.file.win32-win32-x86} -DoutputDir=${apiRoot}/api-eclipse -Dexcludes=.*internal.*" />
348 </antcall>
349 <antcall target="runEclipseApp">
350 <param
351 name="application"
352 value="org.eclipse.wtp.releng.tools.component.core.Java2API" />
353 <param
354 name="vmargs"
355 value="-Dsrc=${local.cache.dir}/${emf.file} -DoutputDir=${apiRoot}/api-emf -Dexcludes=.*internal.*" />
356 </antcall>
357 <antcall target="runEclipseApp">
358 <param
359 name="application"
360 value="org.eclipse.wtp.releng.tools.component.core.Java2API" />
361 <param
362 name="vmargs"
363 value="-Dsrc=${local.cache.dir}/${gef.file} -DoutputDir=${apiRoot}/api-gef -Dexcludes=.*internal.*" />
364 </antcall>
365 <antcall target="runEclipseApp">
366 <param
367 name="application"
368 value="org.eclipse.wtp.releng.tools.component.core.Java2API" />
369 <param
370 name="vmargs"
371 value="-Dsrc=${local.cache.dir}/${dtp.file} -DoutputDir=${apiRoot}/api-dtp -Dexcludes=.*internal.*" />
372 </antcall>
373 <antcall target="runEclipseApp">
374 <param
375 name="application"
376 value="org.eclipse.wtp.releng.tools.component.core.Java2API" />
377 <param
378 name="vmargs"
379 value="-Dsrc=${local.cache.dir}/${wtp-sdk} -DoutputDir=${apiRoot}/api-wtp" />
380 </antcall>
jeffliu20cbe5f2005-10-05 19:06:30 +0000381
david_williamsa3e48362007-08-22 04:21:50 +0000382 <antcall target="runJavaMain">
383 <param
384 name="classname"
385 value="org.eclipse.wtp.releng.tools.component.api.violation.APIViolationScanner" />
386 <param
387 name="args"
388 value="-src ${local.cache.dir}/${wtp-sdk} -api ${apiRoot}/api-eclipse ${apiRoot}/api-emf ${apiRoot}/api-gef ${apiRoot}/api-dtp -outputDir ${apiRoot}/apiresults -html -includes org.eclipse.* -excludes org.eclipse.wst.* org.eclipse.jst.* org.eclipse.jem.* org.eclipse.jpt.* -debug" />
389 </antcall>
jeffliu20cbe5f2005-10-05 19:06:30 +0000390
david_williamsa3e48362007-08-22 04:21:50 +0000391 <antcall target="runJavaMain">
392 <param
393 name="classname"
394 value="org.eclipse.wtp.releng.tools.component.api.API2ComponentAPI" />
395 <param
396 name="args"
397 value="-src ${local.cache.dir}/${wtp-sdk} -api ${local.cache.dir}/${wtp-sdk} -outputDir ${apiRoot}/apiresults -html" />
398 </antcall>
jeffliu925d2c92006-03-07 07:38:36 +0000399
david_williamsa3e48362007-08-22 04:21:50 +0000400 <antcall target="runEclipseApp">
401 <param
402 name="application"
403 value="org.eclipse.wtp.releng.tools.component.core.JavadocScanner" />
404 <param
405 name="vmargs"
406 value="-Dsrc=${local.cache.dir}/${wtp-sdk} -DoutputDir=${apiRoot}/apiresults -Dapi=${local.cache.dir}/${wtp-sdk} -Dexcludes=.*internal.* -DskipAPIGen=true -Dhtml=true" />
407 </antcall>
408
409 <antcall target="runJavaMain">
410 <param
411 name="classname"
412 value="org.eclipse.wtp.releng.tools.component.api.violation.NonAPIDependencyScanner" />
413 <param
414 name="args"
415 value="-src ${local.cache.dir}/${wtp-sdk} -api ${local.cache.dir}/${wtp-sdk} -outputDir ${apiRoot}/apiresults -refapi ${apiRoot}/api-eclipse ${apiRoot}/api-emf ${apiRoot}/api-gef ${apiRoot}/api-dtp -includes org.eclipse.* -skipAPIGen" />
416 </antcall>
417
418 <mkdir dir="${apiRoot}/results/consolelogs" />
419 <copy
420 todir="${apiRoot}"
421 overwrite="true">
422 <fileset
david_williamsd4b1fd32008-01-02 04:16:52 +0000423 dir="${build.home}/${env.RELENG_BUILDER}/distribution/wtp.tests/testScripts" />
david_williamsa3e48362007-08-22 04:21:50 +0000424 </copy>
425 <copy
david_williamsd4b1fd32008-01-02 04:16:52 +0000426 file="${build.home}/${env.RELENG_BUILDER}/distribution/wtp.api/testScripts/test.xml"
david_williamsa3e48362007-08-22 04:21:50 +0000427 tofile="${apiRoot}/test.xml"
428 overwrite="true" />
429 <ant
david_williamsd4b1fd32008-01-02 04:16:52 +0000430 antfile="${build.home}/${env.RELENG_BUILDER}/distribution/wtp.tests/build.xml"
david_williamsa3e48362007-08-22 04:21:50 +0000431 target="runTestEclipse">
432 <property
433 name="testRoot"
434 value="${apiRoot}" />
435 <property
436 name="testTarget"
437 value="all" />
438 </ant>
439 <antcall target="runJavaMain">
440 <param
441 name="classname"
442 value="org.eclipse.wtp.releng.tools.component.CodeCoverageScanner" />
443 <param
444 name="args"
445 value="-api ${local.cache.dir}/${wtp-sdk} -src ${local.cache.dir}/${wtp-sdk} ${local.cache.dir}/${wtp-tests} ${local.cache.dir}/${wtp-wst-tests} ${local.cache.dir}/${wtp-jst-tests} -trcxml ${apiRoot}/apiresults/trcxml -outputDir ${apiRoot}/apiresults -skipAPIGen -html" />
446 </antcall>
447
448 <cvs
449 cvsRoot=":pserver:anonymous@dev.eclipse.org:/cvsroot/webtools"
450 package="releng.wtptools/api/api_progress"
451 dest="${apiRoot}"
452 command="export"
453 tag="HEAD" />
454 <antcall target="runJavaMain">
455 <param
456 name="classname"
457 value="org.eclipse.wtp.releng.tools.component.api.progress.APIProgressScanner" />
458 <param
459 name="args"
460 value="-api ${local.cache.dir}/${wtp-sdk} -src ${local.cache.dir}/${wtp-sdk} -outputDir ${apiRoot}/apiresults -progressDir ${apiRoot}/releng.wtptools/api/api_progress/2.0 -timestamp ${timestamp} -excludes .*infopop .*doc.isv .*doc.user .*source org.eclipse.wst org.eclipse.jst org.eclipse.jem org.eclipse.jpt" />
461 </antcall>
462
463 <antcall target="runJavaMain">
464 <param
465 name="classname"
466 value="org.eclipse.wtp.releng.tools.component.CodeCoverageScanner" />
467 <param
468 name="args"
469 value="-api ${apiRoot}/api-wtp -src ${local.cache.dir}/${wtp-sdk} ${local.cache.dir}/${wtp-tests} ${local.cache.dir}/${wtp-wst-tests} ${local.cache.dir}/${wtp-jst-tests} -trcxml ${apiRoot}/apiresults/trcxml -outputDir ${apiRoot}/apiresults/full_test_coverage -html -includeAllTC -title Test_Coverage_Report" />
470 </antcall>
471 </target>
472
473 <target name="runEclipseApp">
474 <property
475 name="vmargs"
476 value="" />
477 <java
478 jar="${apiRoot}/eclipse/plugins/org.eclipse.equinox.launcher_*.jar"
479 fork="true"
480 failonerror="true"
481 timeout="3600000"
482 dir="${apiRoot}">
483 <jvmarg value="-Dosgi.ws=${env.BASEWS}" />
484 <jvmarg value="-Dosgi.os=${env.BASEOS}" />
485 <jvmarg value="-Dosgi.arch=${env.BASEARCH}" />
486 <jvmarg value="-Xmx512M" />
487 <jvmarg line="${vmargs}" />
488 <arg value="-application" />
489 <arg value="${application}" />
490 </java>
491 </target>
492
493 <target name="runJavaMain">
494 <java
495 fork="true"
496 classname="${classname}"
497 failonerror="false"
498 timeout="3600000"
499 dir="${apiRoot}">
500 <classpath>
501 <fileset dir="${apiRoot}/eclipse/plugins">
502 <include
503 name="**/org.eclipse.wtp.releng.tools.component.core*.jar" />
504 </fileset>
505 <fileset dir="${apiRoot}/lib">
506 <include
507 name="**/org.eclipse.core.contenttype*.jar" />
508 <include name="**/org.eclipse.core.jobs*.jar" />
509 <include name="**/org.eclipse.core.resources*.jar" />
510 <include name="**/org.eclipse.core.runtime*.jar" />
511 <include name="**/org.eclipse.equinox*.jar" />
512 <include name="**/org.eclipse.jdt.core*.jar" />
513 <include name="**/org.eclipse.jface.text*.jar" />
514 <include name="**/org.eclipse.osgi*.jar" />
515 <include name="**/org.eclipse.text*.jar" />
516 <include
517 name="**/org.eclipse.equinox.launcher_*.jar" />
518 </fileset>
519 </classpath>
520 <jvmarg value="-Xmx512M" />
david_williamsb93c1ee2008-02-10 21:27:40 +0000521 <jvmarg value="-Djava.io.tmpdir=${env.RECOMMENDED_TMP_DIR}" />
david_williamsa3e48362007-08-22 04:21:50 +0000522 <arg line="${args}" />
523 </java>
524 </target>
525
526 <target
527 name="upload"
528 if="login">
529 <mkdir dir="${build.home}/archives" />
530 <zip
531 destfile="${build.home}/archives/${buildType}-${buildId}-${timestamp}.zip"
532 basedir="${build.home}/apiRoot/apiresults" />
533 <condition
534 property="upload.path.1"
535 else="${login}@build.eclipse.org:~/downloads/webtools/downloads"
536 value="${login}@build.eclipse.org:~/downloads/webtools/committers">
537 <isset property="build.committers" />
538 </condition>
539 <condition
540 property="upload.path"
541 else="${upload.path.1}/drops/${buildType}-${buildId}-${timestamp}"
542 value="${upload.path.1}/drops/${build.stream}/${buildType}-${buildId}-${timestamp}">
543 <isset property="build.stream" />
544 </condition>
545 <exec
546 executable="scp"
547 dir="${build.home}">
548 <arg line="-r ./apiRoot/apiresults ${upload.path}" />
549 </exec>
550 </target>
551
552 <target
553 name="clean"
554 if="clean">
555 <property
david_williamsd4b1fd32008-01-02 04:16:52 +0000556 file="${build.home}/${env.RELENG_BUILDER}/build.properties" />
david_williamsa3e48362007-08-22 04:21:50 +0000557 <property
558 name="local.cache.dir"
559 value="${env.LOCAL_PREREQS_CACHE}" />
560 <property
561 name="apiRoot"
562 value="${build.home}/apiRoot" />
563 <property
564 name="wtp.dir"
565 value="${local.cache.dir}" />
566 <delete
567 dir="${apiRoot}"
568 failonerror="false" />
569 <delete failonerror="false">
570 <fileset
571 dir="${wtp.dir}"
572 includes="wtp-*" />
573 </delete>
574 </target>
jeffliuc4ea6b02006-02-28 00:40:33 +0000575
jeffliu20cbe5f2005-10-05 19:06:30 +0000576</project>