1
<?xml version="1.0" encoding="UTF-8"?>
3
*** GENERATED FROM project.xml - DO NOT EDIT ***
4
*** EDIT ../build.xml INSTEAD ***
6
For the purpose of easier reading the script
7
is divided into following sections:
22
<project xmlns:j2seproject1="http://www.netbeans.org/ns/j2se-project/1" xmlns:j2seproject3="http://www.netbeans.org/ns/j2se-project/3" xmlns:jaxrpc="http://www.netbeans.org/ns/j2se-project/jax-rpc" basedir=".." default="default" name="JSearchClient-impl">
23
<target depends="test,jar,javadoc" description="Build and test whole project." name="default"/>
25
======================
26
INITIALIZATION SECTION
27
======================
29
<target name="-pre-init">
30
<!-- Empty placeholder for easier customization. -->
31
<!-- You can override this target in the ../build.xml file. -->
33
<target depends="-pre-init" name="-init-private">
34
<property file="nbproject/private/config.properties"/>
35
<property file="nbproject/private/configs/${config}.properties"/>
36
<property file="nbproject/private/private.properties"/>
38
<target depends="-pre-init,-init-private" name="-init-user">
39
<property file="${user.properties.file}"/>
40
<!-- The two properties below are usually overridden -->
41
<!-- by the active platform. Just a fallback. -->
42
<property name="default.javac.source" value="1.4"/>
43
<property name="default.javac.target" value="1.4"/>
45
<target depends="-pre-init,-init-private,-init-user" name="-init-project">
46
<property file="nbproject/configs/${config}.properties"/>
47
<property file="nbproject/project.properties"/>
49
<target depends="-pre-init,-init-private,-init-user,-init-project,-init-macrodef-property" name="-do-init">
50
<available file="${manifest.file}" property="manifest.available"/>
51
<condition property="manifest.available+main.class">
53
<isset property="manifest.available"/>
54
<isset property="main.class"/>
56
<equals arg1="${main.class}" arg2="" trim="true"/>
60
<condition property="manifest.available+main.class+mkdist.available">
62
<istrue value="${manifest.available+main.class}"/>
63
<isset property="libs.CopyLibs.classpath"/>
66
<condition property="have.tests">
69
<condition property="have.sources">
71
<available file="${src.dir}"/>
74
<condition property="netbeans.home+have.tests">
76
<isset property="netbeans.home"/>
77
<isset property="have.tests"/>
80
<condition property="no.javadoc.preview">
82
<isset property="javadoc.preview"/>
83
<isfalse value="${javadoc.preview}"/>
86
<property name="run.jvmargs" value=""/>
87
<property name="javac.compilerargs" value=""/>
88
<property name="work.dir" value="${basedir}"/>
89
<condition property="no.deps">
91
<istrue value="${no.dependencies}"/>
94
<property name="javac.debug" value="true"/>
95
<property name="javadoc.preview" value="true"/>
96
<property name="application.args" value=""/>
97
<property name="source.encoding" value="${file.encoding}"/>
98
<condition property="javadoc.encoding.used" value="${javadoc.encoding}">
100
<isset property="javadoc.encoding"/>
102
<equals arg1="${javadoc.encoding}" arg2=""/>
106
<property name="javadoc.encoding.used" value="${source.encoding}"/>
107
<property name="includes" value="**"/>
108
<property name="excludes" value=""/>
109
<property name="do.depend" value="false"/>
110
<condition property="do.depend.true">
111
<istrue value="${do.depend}"/>
113
<condition else="" property="javac.compilerargs.jaxws" value="-Djava.endorsed.dirs='${jaxws.endorsed.dir}'">
115
<isset property="jaxws.endorsed.dir"/>
116
<available file="nbproject/jaxws-build.xml"/>
120
<target name="-post-init">
121
<!-- Empty placeholder for easier customization. -->
122
<!-- You can override this target in the ../build.xml file. -->
124
<target depends="-pre-init,-init-private,-init-user,-init-project,-do-init" name="-init-check">
125
<fail unless="src.dir">Must set src.dir</fail>
126
<fail unless="build.dir">Must set build.dir</fail>
127
<fail unless="dist.dir">Must set dist.dir</fail>
128
<fail unless="build.classes.dir">Must set build.classes.dir</fail>
129
<fail unless="dist.javadoc.dir">Must set dist.javadoc.dir</fail>
130
<fail unless="build.test.classes.dir">Must set build.test.classes.dir</fail>
131
<fail unless="build.test.results.dir">Must set build.test.results.dir</fail>
132
<fail unless="build.classes.excludes">Must set build.classes.excludes</fail>
133
<fail unless="dist.jar">Must set dist.jar</fail>
135
<target name="-init-macrodef-property">
136
<macrodef name="property" uri="http://www.netbeans.org/ns/j2se-project/1">
137
<attribute name="name"/>
138
<attribute name="value"/>
140
<property name="@{name}" value="${@{value}}"/>
144
<target name="-init-macrodef-javac">
145
<macrodef name="javac" uri="http://www.netbeans.org/ns/j2se-project/3">
146
<attribute default="${src.dir}" name="srcdir"/>
147
<attribute default="${build.classes.dir}" name="destdir"/>
148
<attribute default="${javac.classpath}" name="classpath"/>
149
<attribute default="${includes}" name="includes"/>
150
<attribute default="${excludes}" name="excludes"/>
151
<attribute default="${javac.debug}" name="debug"/>
152
<attribute default="/does/not/exist" name="sourcepath"/>
153
<element name="customize" optional="true"/>
155
<javac debug="@{debug}" deprecation="${javac.deprecation}" destdir="@{destdir}" encoding="${source.encoding}" excludes="@{excludes}" includeantruntime="false" includes="@{includes}" source="${javac.source}" sourcepath="@{sourcepath}" srcdir="@{srcdir}" target="${javac.target}">
157
<path path="@{classpath}"/>
159
<compilerarg line="${javac.compilerargs} ${javac.compilerargs.jaxws}"/>
164
<macrodef name="depend" uri="http://www.netbeans.org/ns/j2se-project/3">
165
<attribute default="${src.dir}" name="srcdir"/>
166
<attribute default="${build.classes.dir}" name="destdir"/>
167
<attribute default="${javac.classpath}" name="classpath"/>
169
<depend cache="${build.dir}/depcache" destdir="@{destdir}" excludes="${excludes}" includes="${includes}" srcdir="@{srcdir}">
171
<path path="@{classpath}"/>
176
<macrodef name="force-recompile" uri="http://www.netbeans.org/ns/j2se-project/3">
177
<attribute default="${build.classes.dir}" name="destdir"/>
179
<fail unless="javac.includes">Must set javac.includes</fail>
180
<pathconvert pathsep="," property="javac.includes.binary">
182
<filelist dir="@{destdir}" files="${javac.includes}"/>
184
<globmapper from="*.java" to="*.class"/>
187
<files includes="${javac.includes.binary}"/>
192
<target name="-init-macrodef-junit">
193
<macrodef name="junit" uri="http://www.netbeans.org/ns/j2se-project/3">
194
<attribute default="${includes}" name="includes"/>
195
<attribute default="${excludes}" name="excludes"/>
196
<attribute default="**" name="testincludes"/>
198
<junit dir="${work.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" showoutput="true">
199
<batchtest todir="${build.test.results.dir}"/>
201
<path path="${run.test.classpath}"/>
204
<propertyref prefix="test-sys-prop."/>
205
<mapper from="test-sys-prop.*" to="*" type="glob"/>
207
<formatter type="brief" usefile="false"/>
208
<formatter type="xml"/>
209
<jvmarg line="${run.jvmargs}"/>
214
<target depends="-init-debug-args" name="-init-macrodef-nbjpda">
215
<macrodef name="nbjpdastart" uri="http://www.netbeans.org/ns/j2se-project/1">
216
<attribute default="${main.class}" name="name"/>
217
<attribute default="${debug.classpath}" name="classpath"/>
218
<attribute default="" name="stopclassname"/>
220
<nbjpdastart addressproperty="jpda.address" name="@{name}" stopclassname="@{stopclassname}" transport="${debug-transport}">
222
<path path="@{classpath}"/>
227
<macrodef name="nbjpdareload" uri="http://www.netbeans.org/ns/j2se-project/1">
228
<attribute default="${build.classes.dir}" name="dir"/>
231
<fileset dir="@{dir}" includes="${fix.classes}">
232
<include name="${fix.includes}*.class"/>
238
<target name="-init-debug-args">
239
<property name="version-output" value="java version "${ant.java.version}"/>
240
<condition property="have-jdk-older-than-1.4">
242
<contains string="${version-output}" substring="java version "1.0"/>
243
<contains string="${version-output}" substring="java version "1.1"/>
244
<contains string="${version-output}" substring="java version "1.2"/>
245
<contains string="${version-output}" substring="java version "1.3"/>
248
<condition else="-Xdebug" property="debug-args-line" value="-Xdebug -Xnoagent -Djava.compiler=none">
249
<istrue value="${have-jdk-older-than-1.4}"/>
251
<condition else="dt_socket" property="debug-transport-by-os" value="dt_shmem">
252
<os family="windows"/>
254
<condition else="${debug-transport-by-os}" property="debug-transport" value="${debug.transport}">
255
<isset property="debug.transport"/>
258
<target depends="-init-debug-args" name="-init-macrodef-debug">
259
<macrodef name="debug" uri="http://www.netbeans.org/ns/j2se-project/3">
260
<attribute default="${main.class}" name="classname"/>
261
<attribute default="${debug.classpath}" name="classpath"/>
262
<element name="customize" optional="true"/>
264
<java classname="@{classname}" dir="${work.dir}" fork="true">
265
<jvmarg line="${debug-args-line}"/>
266
<jvmarg value="-Xrunjdwp:transport=${debug-transport},address=${jpda.address}"/>
267
<jvmarg line="${run.jvmargs}"/>
269
<path path="@{classpath}"/>
272
<propertyref prefix="run-sys-prop."/>
273
<mapper from="run-sys-prop.*" to="*" type="glob"/>
280
<target name="-init-macrodef-java">
281
<macrodef name="java" uri="http://www.netbeans.org/ns/j2se-project/1">
282
<attribute default="${main.class}" name="classname"/>
283
<attribute default="${run.classpath}" name="classpath"/>
284
<element name="customize" optional="true"/>
286
<java classname="@{classname}" dir="${work.dir}" fork="true">
287
<jvmarg line="${run.jvmargs}"/>
289
<path path="@{classpath}"/>
292
<propertyref prefix="run-sys-prop."/>
293
<mapper from="run-sys-prop.*" to="*" type="glob"/>
300
<target name="-init-presetdef-jar">
301
<presetdef name="jar" uri="http://www.netbeans.org/ns/j2se-project/1">
302
<jar compress="${jar.compress}" jarfile="${dist.jar}">
303
<j2seproject1:fileset dir="${build.classes.dir}"/>
307
<target depends="-pre-init,-init-private,-init-user,-init-project,-do-init,-post-init,-init-check,-init-macrodef-property,-init-macrodef-javac,-init-macrodef-junit,-init-macrodef-nbjpda,-init-macrodef-debug,-init-macrodef-java,-init-presetdef-jar" name="init"/>
313
<target depends="init" name="deps-jar" unless="no.deps">
314
<ant antfile="${project.JavaHelp}/build.xml" inheritall="false" target="jar"/>
316
<target depends="init,-check-automatic-build,-clean-after-automatic-build" name="-verify-automatic-build"/>
317
<target depends="init" name="-check-automatic-build">
318
<available file="${build.classes.dir}/.netbeans_automatic_build" property="netbeans.automatic.build"/>
320
<target depends="init" if="netbeans.automatic.build" name="-clean-after-automatic-build">
321
<antcall target="clean"/>
323
<target depends="init,deps-jar" name="-pre-pre-compile">
324
<mkdir dir="${build.classes.dir}"/>
326
<target name="-pre-compile">
327
<!-- Empty placeholder for easier customization. -->
328
<!-- You can override this target in the ../build.xml file. -->
330
<target if="do.depend.true" name="-compile-depend">
331
<j2seproject3:depend/>
333
<target depends="init,deps-jar,-pre-pre-compile,-pre-compile,-compile-depend" if="have.sources" name="-do-compile">
334
<j2seproject3:javac/>
335
<copy todir="${build.classes.dir}">
336
<fileset dir="${src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
339
<target name="-post-compile">
340
<!-- Empty placeholder for easier customization. -->
341
<!-- You can override this target in the ../build.xml file. -->
343
<target depends="init,deps-jar,-verify-automatic-build,-pre-pre-compile,-pre-compile,-do-compile,-post-compile" description="Compile project." name="compile"/>
344
<target name="-pre-compile-single">
345
<!-- Empty placeholder for easier customization. -->
346
<!-- You can override this target in the ../build.xml file. -->
348
<target depends="init,deps-jar,-pre-pre-compile" name="-do-compile-single">
349
<fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail>
350
<j2seproject3:force-recompile/>
351
<j2seproject3:javac excludes="" includes="${javac.includes}" sourcepath="${src.dir}"/>
353
<target name="-post-compile-single">
354
<!-- Empty placeholder for easier customization. -->
355
<!-- You can override this target in the ../build.xml file. -->
357
<target depends="init,deps-jar,-verify-automatic-build,-pre-pre-compile,-pre-compile-single,-do-compile-single,-post-compile-single" name="compile-single"/>
363
<target depends="init" name="-pre-pre-jar">
364
<dirname file="${dist.jar}" property="dist.jar.dir"/>
365
<mkdir dir="${dist.jar.dir}"/>
367
<target name="-pre-jar">
368
<!-- Empty placeholder for easier customization. -->
369
<!-- You can override this target in the ../build.xml file. -->
371
<target depends="init,compile,-pre-pre-jar,-pre-jar" name="-do-jar-without-manifest" unless="manifest.available">
374
<target depends="init,compile,-pre-pre-jar,-pre-jar" if="manifest.available" name="-do-jar-with-manifest" unless="manifest.available+main.class">
375
<j2seproject1:jar manifest="${manifest.file}"/>
377
<target depends="init,compile,-pre-pre-jar,-pre-jar" if="manifest.available+main.class" name="-do-jar-with-mainclass" unless="manifest.available+main.class+mkdist.available">
378
<j2seproject1:jar manifest="${manifest.file}">
379
<j2seproject1:manifest>
380
<j2seproject1:attribute name="Main-Class" value="${main.class}"/>
381
</j2seproject1:manifest>
383
<echo>To run this application from the command line without Ant, try:</echo>
384
<property location="${build.classes.dir}" name="build.classes.dir.resolved"/>
385
<property location="${dist.jar}" name="dist.jar.resolved"/>
386
<pathconvert property="run.classpath.with.dist.jar">
387
<path path="${run.classpath}"/>
388
<map from="${build.classes.dir.resolved}" to="${dist.jar.resolved}"/>
390
<echo>java -cp "${run.classpath.with.dist.jar}" ${main.class}</echo>
392
<target depends="init,compile,-pre-pre-jar,-pre-jar" if="manifest.available+main.class+mkdist.available" name="-do-jar-with-libraries">
393
<property location="${build.classes.dir}" name="build.classes.dir.resolved"/>
394
<pathconvert property="run.classpath.without.build.classes.dir">
395
<path path="${run.classpath}"/>
396
<map from="${build.classes.dir.resolved}" to=""/>
398
<pathconvert pathsep=" " property="jar.classpath">
399
<path path="${run.classpath.without.build.classes.dir}"/>
402
<globmapper from="*" to="lib/*"/>
405
<taskdef classname="org.netbeans.modules.java.j2seproject.copylibstask.CopyLibs" classpath="${libs.CopyLibs.classpath}" name="copylibs"/>
406
<copylibs compress="${jar.compress}" jarfile="${dist.jar}" manifest="${manifest.file}" runtimeclasspath="${run.classpath.without.build.classes.dir}">
407
<fileset dir="${build.classes.dir}"/>
409
<attribute name="Main-Class" value="${main.class}"/>
410
<attribute name="Class-Path" value="${jar.classpath}"/>
413
<echo>To run this application from the command line without Ant, try:</echo>
414
<property location="${dist.jar}" name="dist.jar.resolved"/>
415
<echo>java -jar "${dist.jar.resolved}"</echo>
417
<target name="-post-jar">
418
<!-- Empty placeholder for easier customization. -->
419
<!-- You can override this target in the ../build.xml file. -->
421
<target depends="init,compile,-pre-jar,-do-jar-with-manifest,-do-jar-without-manifest,-do-jar-with-mainclass,-do-jar-with-libraries,-post-jar" description="Build JAR." name="jar"/>
427
<target depends="init,compile" description="Run a main class." name="run">
430
<arg line="${application.args}"/>
434
<target name="-do-not-recompile">
435
<property name="javac.includes.binary" value=""/>
437
<target depends="init,-do-not-recompile,compile-single" name="run-single">
438
<fail unless="run.class">Must select one file in the IDE or set run.class</fail>
439
<j2seproject1:java classname="${run.class}"/>
441
<target depends="init,-do-not-recompile,compile-test-single" name="run-test-with-main">
442
<fail unless="run.class">Must select one file in the IDE or set run.class</fail>
443
<j2seproject1:java classname="${run.class}" classpath="${run.test.classpath}"/>
450
<target depends="init" if="netbeans.home" name="-debug-start-debugger">
451
<j2seproject1:nbjpdastart name="${debug.class}"/>
453
<target depends="init" if="netbeans.home" name="-debug-start-debugger-main-test">
454
<j2seproject1:nbjpdastart classpath="${debug.test.classpath}" name="${debug.class}"/>
456
<target depends="init,compile" name="-debug-start-debuggee">
459
<arg line="${application.args}"/>
461
</j2seproject3:debug>
463
<target depends="init,compile,-debug-start-debugger,-debug-start-debuggee" description="Debug project in IDE." if="netbeans.home" name="debug"/>
464
<target depends="init" if="netbeans.home" name="-debug-start-debugger-stepinto">
465
<j2seproject1:nbjpdastart stopclassname="${main.class}"/>
467
<target depends="init,compile,-debug-start-debugger-stepinto,-debug-start-debuggee" if="netbeans.home" name="debug-stepinto"/>
468
<target depends="init,compile-single" if="netbeans.home" name="-debug-start-debuggee-single">
469
<fail unless="debug.class">Must select one file in the IDE or set debug.class</fail>
470
<j2seproject3:debug classname="${debug.class}"/>
472
<target depends="init,-do-not-recompile,compile-single,-debug-start-debugger,-debug-start-debuggee-single" if="netbeans.home" name="debug-single"/>
473
<target depends="init,compile-test-single" if="netbeans.home" name="-debug-start-debuggee-main-test">
474
<fail unless="debug.class">Must select one file in the IDE or set debug.class</fail>
475
<j2seproject3:debug classname="${debug.class}" classpath="${debug.test.classpath}"/>
477
<target depends="init,-do-not-recompile,compile-test-single,-debug-start-debugger-main-test,-debug-start-debuggee-main-test" if="netbeans.home" name="debug-test-with-main"/>
478
<target depends="init" name="-pre-debug-fix">
479
<fail unless="fix.includes">Must set fix.includes</fail>
480
<property name="javac.includes" value="${fix.includes}.java"/>
482
<target depends="init,-pre-debug-fix,compile-single" if="netbeans.home" name="-do-debug-fix">
483
<j2seproject1:nbjpdareload/>
485
<target depends="init,-pre-debug-fix,-do-debug-fix" if="netbeans.home" name="debug-fix"/>
491
<target depends="init" name="-javadoc-build">
492
<mkdir dir="${dist.javadoc.dir}"/>
493
<javadoc additionalparam="${javadoc.additionalparam}" author="${javadoc.author}" charset="UTF-8" destdir="${dist.javadoc.dir}" docencoding="UTF-8" encoding="${javadoc.encoding.used}" failonerror="true" noindex="${javadoc.noindex}" nonavbar="${javadoc.nonavbar}" notree="${javadoc.notree}" private="${javadoc.private}" source="${javac.source}" splitindex="${javadoc.splitindex}" use="${javadoc.use}" useexternalfile="true" version="${javadoc.version}" windowtitle="${javadoc.windowtitle}">
495
<path path="${javac.classpath}"/>
497
<fileset dir="${src.dir}" excludes="${excludes}" includes="${includes}">
498
<filename name="**/*.java"/>
502
<target depends="init,-javadoc-build" if="netbeans.home" name="-javadoc-browse" unless="no.javadoc.preview">
503
<nbbrowse file="${dist.javadoc.dir}/index.html"/>
505
<target depends="init,-javadoc-build,-javadoc-browse" description="Build Javadoc." name="javadoc"/>
507
=========================
508
JUNIT COMPILATION SECTION
509
=========================
511
<target depends="init,compile" if="have.tests" name="-pre-pre-compile-test">
512
<mkdir dir="${build.test.classes.dir}"/>
514
<target name="-pre-compile-test">
515
<!-- Empty placeholder for easier customization. -->
516
<!-- You can override this target in the ../build.xml file. -->
518
<target if="do.depend.true" name="-compile-test-depend">
519
<j2seproject3:depend classpath="${javac.test.classpath}" destdir="${build.test.classes.dir}" srcdir=""/>
521
<target depends="init,compile,-pre-pre-compile-test,-pre-compile-test,-compile-test-depend" if="have.tests" name="-do-compile-test">
522
<j2seproject3:javac classpath="${javac.test.classpath}" debug="true" destdir="${build.test.classes.dir}" srcdir=""/>
523
<copy todir="${build.test.classes.dir}"/>
525
<target name="-post-compile-test">
526
<!-- Empty placeholder for easier customization. -->
527
<!-- You can override this target in the ../build.xml file. -->
529
<target depends="init,compile,-pre-pre-compile-test,-pre-compile-test,-do-compile-test,-post-compile-test" name="compile-test"/>
530
<target name="-pre-compile-test-single">
531
<!-- Empty placeholder for easier customization. -->
532
<!-- You can override this target in the ../build.xml file. -->
534
<target depends="init,compile,-pre-pre-compile-test,-pre-compile-test-single" if="have.tests" name="-do-compile-test-single">
535
<fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail>
536
<j2seproject3:force-recompile destdir="${build.test.classes.dir}"/>
537
<j2seproject3:javac classpath="${javac.test.classpath}" debug="true" destdir="${build.test.classes.dir}" excludes="" includes="${javac.includes}" sourcepath="" srcdir=""/>
538
<copy todir="${build.test.classes.dir}"/>
540
<target name="-post-compile-test-single">
541
<!-- Empty placeholder for easier customization. -->
542
<!-- You can override this target in the ../build.xml file. -->
544
<target depends="init,compile,-pre-pre-compile-test,-pre-compile-test-single,-do-compile-test-single,-post-compile-test-single" name="compile-test-single"/>
546
=======================
547
JUNIT EXECUTION SECTION
548
=======================
550
<target depends="init" if="have.tests" name="-pre-test-run">
551
<mkdir dir="${build.test.results.dir}"/>
553
<target depends="init,compile-test,-pre-test-run" if="have.tests" name="-do-test-run">
554
<j2seproject3:junit testincludes="**/*Test.java"/>
556
<target depends="init,compile-test,-pre-test-run,-do-test-run" if="have.tests" name="-post-test-run">
557
<fail if="tests.failed">Some tests failed; see details above.</fail>
559
<target depends="init" if="have.tests" name="test-report"/>
560
<target depends="init" if="netbeans.home+have.tests" name="-test-browse"/>
561
<target depends="init,compile-test,-pre-test-run,-do-test-run,test-report,-post-test-run,-test-browse" description="Run unit tests." name="test"/>
562
<target depends="init" if="have.tests" name="-pre-test-run-single">
563
<mkdir dir="${build.test.results.dir}"/>
565
<target depends="init,compile-test-single,-pre-test-run-single" if="have.tests" name="-do-test-run-single">
566
<fail unless="test.includes">Must select some files in the IDE or set test.includes</fail>
567
<j2seproject3:junit excludes="" includes="${test.includes}"/>
569
<target depends="init,compile-test-single,-pre-test-run-single,-do-test-run-single" if="have.tests" name="-post-test-run-single">
570
<fail if="tests.failed">Some tests failed; see details above.</fail>
572
<target depends="init,-do-not-recompile,compile-test-single,-pre-test-run-single,-do-test-run-single,-post-test-run-single" description="Run single unit test." name="test-single"/>
574
=======================
575
JUNIT DEBUGGING SECTION
576
=======================
578
<target depends="init,compile-test" if="have.tests" name="-debug-start-debuggee-test">
579
<fail unless="test.class">Must select one file in the IDE or set test.class</fail>
580
<property location="${build.test.results.dir}/TEST-${test.class}.xml" name="test.report.file"/>
581
<delete file="${test.report.file}"/>
582
<mkdir dir="${build.test.results.dir}"/>
583
<j2seproject3:debug classname="org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner" classpath="${ant.home}/lib/ant.jar:${ant.home}/lib/ant-junit.jar:${debug.test.classpath}">
586
<propertyref prefix="test-sys-prop."/>
587
<mapper from="test-sys-prop.*" to="*" type="glob"/>
589
<arg value="${test.class}"/>
590
<arg value="showoutput=true"/>
591
<arg value="formatter=org.apache.tools.ant.taskdefs.optional.junit.BriefJUnitResultFormatter"/>
592
<arg value="formatter=org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter,${test.report.file}"/>
594
</j2seproject3:debug>
596
<target depends="init,compile-test" if="netbeans.home+have.tests" name="-debug-start-debugger-test">
597
<j2seproject1:nbjpdastart classpath="${debug.test.classpath}" name="${test.class}"/>
599
<target depends="init,-do-not-recompile,compile-test-single,-debug-start-debugger-test,-debug-start-debuggee-test" name="debug-test"/>
600
<target depends="init,-pre-debug-fix,compile-test-single" if="netbeans.home" name="-do-debug-fix-test">
601
<j2seproject1:nbjpdareload dir="${build.test.classes.dir}"/>
603
<target depends="init,-pre-debug-fix,-do-debug-fix-test" if="netbeans.home" name="debug-fix-test"/>
605
=========================
606
APPLET EXECUTION SECTION
607
=========================
609
<target depends="init,compile-single" name="run-applet">
610
<fail unless="applet.url">Must select one file in the IDE or set applet.url</fail>
611
<j2seproject1:java classname="sun.applet.AppletViewer">
613
<arg value="${applet.url}"/>
618
=========================
619
APPLET DEBUGGING SECTION
620
=========================
622
<target depends="init,compile-single" if="netbeans.home" name="-debug-start-debuggee-applet">
623
<fail unless="applet.url">Must select one file in the IDE or set applet.url</fail>
624
<j2seproject3:debug classname="sun.applet.AppletViewer">
626
<arg value="${applet.url}"/>
628
</j2seproject3:debug>
630
<target depends="init,compile-single,-debug-start-debugger,-debug-start-debuggee-applet" if="netbeans.home" name="debug-applet"/>
636
<target depends="init" name="deps-clean" unless="no.deps">
637
<ant antfile="${project.JavaHelp}/build.xml" inheritall="false" target="clean"/>
639
<target depends="init" name="-do-clean">
640
<delete dir="${build.dir}"/>
641
<delete dir="${dist.dir}"/>
643
<target name="-post-clean">
644
<!-- Empty placeholder for easier customization. -->
645
<!-- You can override this target in the ../build.xml file. -->
647
<target depends="init,deps-clean,-do-clean,-post-clean" description="Clean build products." name="clean"/>