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="FirmarFacturaE-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-libraries">
39
<property location=".\libs\nblibraries.properties" name="libraries.1.path"/>
40
<dirname file="${libraries.1.path}" property="libraries.1.dir.nativedirsep"/>
41
<pathconvert dirsep="/" property="libraries.1.dir">
42
<path path="${libraries.1.dir.nativedirsep}"/>
44
<basename file="${libraries.1.path}" property="libraries.1.basename" suffix=".properties"/>
45
<touch file="${libraries.1.dir}/${libraries.1.basename}-private.properties"/>
46
<loadproperties srcfile="${libraries.1.dir}/${libraries.1.basename}-private.properties">
48
<replacestring from="$${base}" to="${libraries.1.dir}"/>
51
<loadproperties srcfile="${libraries.1.path}">
53
<replacestring from="$${base}" to="${libraries.1.dir}"/>
57
<target depends="-pre-init,-init-private,-init-libraries" name="-init-user">
58
<property file="${user.properties.file}"/>
59
<!-- The two properties below are usually overridden -->
60
<!-- by the active platform. Just a fallback. -->
61
<property name="default.javac.source" value="1.4"/>
62
<property name="default.javac.target" value="1.4"/>
64
<target depends="-pre-init,-init-private,-init-libraries,-init-user" name="-init-project">
65
<property file="nbproject/configs/${config}.properties"/>
66
<property file="nbproject/project.properties"/>
68
<target depends="-pre-init,-init-private,-init-libraries,-init-user,-init-project,-init-macrodef-property" name="-do-init">
69
<available file="${manifest.file}" property="manifest.available"/>
70
<condition property="manifest.available+main.class">
72
<isset property="manifest.available"/>
73
<isset property="main.class"/>
75
<equals arg1="${main.class}" arg2="" trim="true"/>
79
<condition property="manifest.available+main.class+mkdist.available">
81
<istrue value="${manifest.available+main.class}"/>
82
<isset property="libs.CopyLibs.classpath"/>
85
<condition property="have.tests">
87
<available file="${test.src.dir}"/>
90
<condition property="have.sources">
92
<available file="${src.dir}"/>
95
<condition property="netbeans.home+have.tests">
97
<isset property="netbeans.home"/>
98
<isset property="have.tests"/>
101
<condition property="no.javadoc.preview">
103
<isset property="javadoc.preview"/>
104
<isfalse value="${javadoc.preview}"/>
107
<property name="run.jvmargs" value=""/>
108
<property name="javac.compilerargs" value=""/>
109
<property name="work.dir" value="${basedir}"/>
110
<condition property="no.deps">
112
<istrue value="${no.dependencies}"/>
115
<property name="javac.debug" value="true"/>
116
<property name="javadoc.preview" value="true"/>
117
<property name="application.args" value=""/>
118
<property name="source.encoding" value="${file.encoding}"/>
119
<condition property="javadoc.encoding.used" value="${javadoc.encoding}">
121
<isset property="javadoc.encoding"/>
123
<equals arg1="${javadoc.encoding}" arg2=""/>
127
<property name="javadoc.encoding.used" value="${source.encoding}"/>
128
<property name="includes" value="**"/>
129
<property name="excludes" value=""/>
130
<property name="do.depend" value="false"/>
131
<condition property="do.depend.true">
132
<istrue value="${do.depend}"/>
134
<condition else="" property="javac.compilerargs.jaxws" value="-Djava.endorsed.dirs='${jaxws.endorsed.dir}'">
136
<isset property="jaxws.endorsed.dir"/>
137
<available file="nbproject/jaxws-build.xml"/>
141
<target name="-post-init">
142
<!-- Empty placeholder for easier customization. -->
143
<!-- You can override this target in the ../build.xml file. -->
145
<target depends="-pre-init,-init-private,-init-libraries,-init-user,-init-project,-do-init" name="-init-check">
146
<fail unless="src.dir">Must set src.dir</fail>
147
<fail unless="test.src.dir">Must set test.src.dir</fail>
148
<fail unless="build.dir">Must set build.dir</fail>
149
<fail unless="dist.dir">Must set dist.dir</fail>
150
<fail unless="build.classes.dir">Must set build.classes.dir</fail>
151
<fail unless="dist.javadoc.dir">Must set dist.javadoc.dir</fail>
152
<fail unless="build.test.classes.dir">Must set build.test.classes.dir</fail>
153
<fail unless="build.test.results.dir">Must set build.test.results.dir</fail>
154
<fail unless="build.classes.excludes">Must set build.classes.excludes</fail>
155
<fail unless="dist.jar">Must set dist.jar</fail>
157
<target name="-init-macrodef-property">
158
<macrodef name="property" uri="http://www.netbeans.org/ns/j2se-project/1">
159
<attribute name="name"/>
160
<attribute name="value"/>
162
<property name="@{name}" value="${@{value}}"/>
166
<target name="-init-macrodef-javac">
167
<macrodef name="javac" uri="http://www.netbeans.org/ns/j2se-project/3">
168
<attribute default="${src.dir}" name="srcdir"/>
169
<attribute default="${build.classes.dir}" name="destdir"/>
170
<attribute default="${javac.classpath}" name="classpath"/>
171
<attribute default="${includes}" name="includes"/>
172
<attribute default="${excludes}" name="excludes"/>
173
<attribute default="${javac.debug}" name="debug"/>
174
<attribute default="/does/not/exist" name="sourcepath"/>
175
<element name="customize" optional="true"/>
177
<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}">
179
<path path="@{classpath}"/>
181
<compilerarg line="${javac.compilerargs} ${javac.compilerargs.jaxws}"/>
186
<macrodef name="depend" uri="http://www.netbeans.org/ns/j2se-project/3">
187
<attribute default="${src.dir}" name="srcdir"/>
188
<attribute default="${build.classes.dir}" name="destdir"/>
189
<attribute default="${javac.classpath}" name="classpath"/>
191
<depend cache="${build.dir}/depcache" destdir="@{destdir}" excludes="${excludes}" includes="${includes}" srcdir="@{srcdir}">
193
<path path="@{classpath}"/>
198
<macrodef name="force-recompile" uri="http://www.netbeans.org/ns/j2se-project/3">
199
<attribute default="${build.classes.dir}" name="destdir"/>
201
<fail unless="javac.includes">Must set javac.includes</fail>
202
<pathconvert pathsep="," property="javac.includes.binary">
204
<filelist dir="@{destdir}" files="${javac.includes}"/>
206
<globmapper from="*.java" to="*.class"/>
209
<files includes="${javac.includes.binary}"/>
214
<target name="-init-macrodef-junit">
215
<macrodef name="junit" uri="http://www.netbeans.org/ns/j2se-project/3">
216
<attribute default="${includes}" name="includes"/>
217
<attribute default="${excludes}" name="excludes"/>
218
<attribute default="**" name="testincludes"/>
220
<junit dir="${work.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" showoutput="true">
221
<batchtest todir="${build.test.results.dir}">
222
<fileset dir="${test.src.dir}" excludes="@{excludes},${excludes}" includes="@{includes}">
223
<filename name="@{testincludes}"/>
227
<path path="${run.test.classpath}"/>
230
<propertyref prefix="test-sys-prop."/>
231
<mapper from="test-sys-prop.*" to="*" type="glob"/>
233
<formatter type="brief" usefile="false"/>
234
<formatter type="xml"/>
235
<jvmarg line="${run.jvmargs}"/>
240
<target depends="-init-debug-args" name="-init-macrodef-nbjpda">
241
<macrodef name="nbjpdastart" uri="http://www.netbeans.org/ns/j2se-project/1">
242
<attribute default="${main.class}" name="name"/>
243
<attribute default="${debug.classpath}" name="classpath"/>
244
<attribute default="" name="stopclassname"/>
246
<nbjpdastart addressproperty="jpda.address" name="@{name}" stopclassname="@{stopclassname}" transport="${debug-transport}">
248
<path path="@{classpath}"/>
253
<macrodef name="nbjpdareload" uri="http://www.netbeans.org/ns/j2se-project/1">
254
<attribute default="${build.classes.dir}" name="dir"/>
257
<fileset dir="@{dir}" includes="${fix.classes}">
258
<include name="${fix.includes}*.class"/>
264
<target name="-init-debug-args">
265
<property name="version-output" value="java version "${ant.java.version}"/>
266
<condition property="have-jdk-older-than-1.4">
268
<contains string="${version-output}" substring="java version "1.0"/>
269
<contains string="${version-output}" substring="java version "1.1"/>
270
<contains string="${version-output}" substring="java version "1.2"/>
271
<contains string="${version-output}" substring="java version "1.3"/>
274
<condition else="-Xdebug" property="debug-args-line" value="-Xdebug -Xnoagent -Djava.compiler=none">
275
<istrue value="${have-jdk-older-than-1.4}"/>
277
<condition else="dt_socket" property="debug-transport-by-os" value="dt_shmem">
278
<os family="windows"/>
280
<condition else="${debug-transport-by-os}" property="debug-transport" value="${debug.transport}">
281
<isset property="debug.transport"/>
284
<target depends="-init-debug-args" name="-init-macrodef-debug">
285
<macrodef name="debug" uri="http://www.netbeans.org/ns/j2se-project/3">
286
<attribute default="${main.class}" name="classname"/>
287
<attribute default="${debug.classpath}" name="classpath"/>
288
<element name="customize" optional="true"/>
290
<java classname="@{classname}" dir="${work.dir}" fork="true">
291
<jvmarg line="${debug-args-line}"/>
292
<jvmarg value="-Xrunjdwp:transport=${debug-transport},address=${jpda.address}"/>
293
<jvmarg line="${run.jvmargs}"/>
295
<path path="@{classpath}"/>
298
<propertyref prefix="run-sys-prop."/>
299
<mapper from="run-sys-prop.*" to="*" type="glob"/>
306
<target name="-init-macrodef-java">
307
<macrodef name="java" uri="http://www.netbeans.org/ns/j2se-project/1">
308
<attribute default="${main.class}" name="classname"/>
309
<element name="customize" optional="true"/>
311
<java classname="@{classname}" dir="${work.dir}" fork="true">
312
<jvmarg line="${run.jvmargs}"/>
314
<path path="${run.classpath}"/>
317
<propertyref prefix="run-sys-prop."/>
318
<mapper from="run-sys-prop.*" to="*" type="glob"/>
325
<target name="-init-presetdef-jar">
326
<presetdef name="jar" uri="http://www.netbeans.org/ns/j2se-project/1">
327
<jar compress="${jar.compress}" jarfile="${dist.jar}">
328
<j2seproject1:fileset dir="${build.classes.dir}"/>
332
<target depends="-pre-init,-init-private,-init-libraries,-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"/>
338
<target depends="init" name="deps-jar" unless="no.deps"/>
339
<target depends="init,-check-automatic-build,-clean-after-automatic-build" name="-verify-automatic-build"/>
340
<target depends="init" name="-check-automatic-build">
341
<available file="${build.classes.dir}/.netbeans_automatic_build" property="netbeans.automatic.build"/>
343
<target depends="init" if="netbeans.automatic.build" name="-clean-after-automatic-build">
344
<antcall target="clean"/>
346
<target depends="init,deps-jar" name="-pre-pre-compile">
347
<mkdir dir="${build.classes.dir}"/>
349
<target name="-pre-compile">
350
<!-- Empty placeholder for easier customization. -->
351
<!-- You can override this target in the ../build.xml file. -->
353
<target if="do.depend.true" name="-compile-depend">
354
<j2seproject3:depend/>
356
<target depends="init,deps-jar,-pre-pre-compile,-pre-compile,-compile-depend" if="have.sources" name="-do-compile">
357
<j2seproject3:javac/>
358
<copy todir="${build.classes.dir}">
359
<fileset dir="${src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
362
<target name="-post-compile">
363
<!-- Empty placeholder for easier customization. -->
364
<!-- You can override this target in the ../build.xml file. -->
366
<target depends="init,deps-jar,-verify-automatic-build,-pre-pre-compile,-pre-compile,-do-compile,-post-compile" description="Compile project." name="compile"/>
367
<target name="-pre-compile-single">
368
<!-- Empty placeholder for easier customization. -->
369
<!-- You can override this target in the ../build.xml file. -->
371
<target depends="init,deps-jar,-pre-pre-compile" name="-do-compile-single">
372
<fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail>
373
<j2seproject3:force-recompile/>
374
<j2seproject3:javac excludes="" includes="${javac.includes}" sourcepath="${src.dir}"/>
376
<target name="-post-compile-single">
377
<!-- Empty placeholder for easier customization. -->
378
<!-- You can override this target in the ../build.xml file. -->
380
<target depends="init,deps-jar,-verify-automatic-build,-pre-pre-compile,-pre-compile-single,-do-compile-single,-post-compile-single" name="compile-single"/>
386
<target depends="init" name="-pre-pre-jar">
387
<dirname file="${dist.jar}" property="dist.jar.dir"/>
388
<mkdir dir="${dist.jar.dir}"/>
390
<target name="-pre-jar">
391
<!-- Empty placeholder for easier customization. -->
392
<!-- You can override this target in the ../build.xml file. -->
394
<target depends="init,compile,-pre-pre-jar,-pre-jar" name="-do-jar-without-manifest" unless="manifest.available">
397
<target depends="init,compile,-pre-pre-jar,-pre-jar" if="manifest.available" name="-do-jar-with-manifest" unless="manifest.available+main.class">
398
<j2seproject1:jar manifest="${manifest.file}"/>
400
<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">
401
<j2seproject1:jar manifest="${manifest.file}">
402
<j2seproject1:manifest>
403
<j2seproject1:attribute name="Main-Class" value="${main.class}"/>
404
</j2seproject1:manifest>
406
<echo>To run this application from the command line without Ant, try:</echo>
407
<property location="${build.classes.dir}" name="build.classes.dir.resolved"/>
408
<property location="${dist.jar}" name="dist.jar.resolved"/>
409
<pathconvert property="run.classpath.with.dist.jar">
410
<path path="${run.classpath}"/>
411
<map from="${build.classes.dir.resolved}" to="${dist.jar.resolved}"/>
413
<echo>java -cp "${run.classpath.with.dist.jar}" ${main.class}</echo>
415
<target depends="init,compile,-pre-pre-jar,-pre-jar" if="manifest.available+main.class+mkdist.available" name="-do-jar-with-libraries">
416
<property location="${build.classes.dir}" name="build.classes.dir.resolved"/>
417
<pathconvert property="run.classpath.without.build.classes.dir">
418
<path path="${run.classpath}"/>
419
<map from="${build.classes.dir.resolved}" to=""/>
421
<pathconvert pathsep=" " property="jar.classpath">
422
<path path="${run.classpath.without.build.classes.dir}"/>
425
<globmapper from="*" to="lib/*"/>
428
<taskdef classname="org.netbeans.modules.java.j2seproject.copylibstask.CopyLibs" classpath="${libs.CopyLibs.classpath}" name="copylibs"/>
429
<copylibs compress="${jar.compress}" jarfile="${dist.jar}" manifest="${manifest.file}" runtimeclasspath="${run.classpath.without.build.classes.dir}">
430
<fileset dir="${build.classes.dir}"/>
432
<attribute name="Main-Class" value="${main.class}"/>
433
<attribute name="Class-Path" value="${jar.classpath}"/>
436
<echo>To run this application from the command line without Ant, try:</echo>
437
<property location="${dist.jar}" name="dist.jar.resolved"/>
438
<echo>java -jar "${dist.jar.resolved}"</echo>
440
<target name="-post-jar">
441
<!-- Empty placeholder for easier customization. -->
442
<!-- You can override this target in the ../build.xml file. -->
444
<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"/>
450
<target depends="init,compile" description="Run a main class." name="run">
453
<arg line="${application.args}"/>
457
<target name="-do-not-recompile">
458
<property name="javac.includes.binary" value=""/>
460
<target depends="init,-do-not-recompile,compile-single" name="run-single">
461
<fail unless="run.class">Must select one file in the IDE or set run.class</fail>
462
<j2seproject1:java classname="${run.class}"/>
469
<target depends="init" if="netbeans.home" name="-debug-start-debugger">
470
<j2seproject1:nbjpdastart name="${debug.class}"/>
472
<target depends="init,compile" name="-debug-start-debuggee">
475
<arg line="${application.args}"/>
477
</j2seproject3:debug>
479
<target depends="init,compile,-debug-start-debugger,-debug-start-debuggee" description="Debug project in IDE." if="netbeans.home" name="debug"/>
480
<target depends="init" if="netbeans.home" name="-debug-start-debugger-stepinto">
481
<j2seproject1:nbjpdastart stopclassname="${main.class}"/>
483
<target depends="init,compile,-debug-start-debugger-stepinto,-debug-start-debuggee" if="netbeans.home" name="debug-stepinto"/>
484
<target depends="init,compile-single" if="netbeans.home" name="-debug-start-debuggee-single">
485
<fail unless="debug.class">Must select one file in the IDE or set debug.class</fail>
486
<j2seproject3:debug classname="${debug.class}"/>
488
<target depends="init,-do-not-recompile,compile-single,-debug-start-debugger,-debug-start-debuggee-single" if="netbeans.home" name="debug-single"/>
489
<target depends="init" name="-pre-debug-fix">
490
<fail unless="fix.includes">Must set fix.includes</fail>
491
<property name="javac.includes" value="${fix.includes}.java"/>
493
<target depends="init,-pre-debug-fix,compile-single" if="netbeans.home" name="-do-debug-fix">
494
<j2seproject1:nbjpdareload/>
496
<target depends="init,-pre-debug-fix,-do-debug-fix" if="netbeans.home" name="debug-fix"/>
502
<target depends="init" name="-javadoc-build">
503
<mkdir dir="${dist.javadoc.dir}"/>
504
<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}">
506
<path path="${javac.classpath}"/>
508
<fileset dir="${src.dir}" excludes="${excludes}" includes="${includes}">
509
<filename name="**/*.java"/>
513
<target depends="init,-javadoc-build" if="netbeans.home" name="-javadoc-browse" unless="no.javadoc.preview">
514
<nbbrowse file="${dist.javadoc.dir}/index.html"/>
516
<target depends="init,-javadoc-build,-javadoc-browse" description="Build Javadoc." name="javadoc"/>
518
=========================
519
JUNIT COMPILATION SECTION
520
=========================
522
<target depends="init,compile" if="have.tests" name="-pre-pre-compile-test">
523
<mkdir dir="${build.test.classes.dir}"/>
525
<target name="-pre-compile-test">
526
<!-- Empty placeholder for easier customization. -->
527
<!-- You can override this target in the ../build.xml file. -->
529
<target if="do.depend.true" name="-compile-test-depend">
530
<j2seproject3:depend classpath="${javac.test.classpath}" destdir="${build.test.classes.dir}" srcdir="${test.src.dir}"/>
532
<target depends="init,compile,-pre-pre-compile-test,-pre-compile-test,-compile-test-depend" if="have.tests" name="-do-compile-test">
533
<j2seproject3:javac classpath="${javac.test.classpath}" debug="true" destdir="${build.test.classes.dir}" srcdir="${test.src.dir}"/>
534
<copy todir="${build.test.classes.dir}">
535
<fileset dir="${test.src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
538
<target name="-post-compile-test">
539
<!-- Empty placeholder for easier customization. -->
540
<!-- You can override this target in the ../build.xml file. -->
542
<target depends="init,compile,-pre-pre-compile-test,-pre-compile-test,-do-compile-test,-post-compile-test" name="compile-test"/>
543
<target name="-pre-compile-test-single">
544
<!-- Empty placeholder for easier customization. -->
545
<!-- You can override this target in the ../build.xml file. -->
547
<target depends="init,compile,-pre-pre-compile-test,-pre-compile-test-single" if="have.tests" name="-do-compile-test-single">
548
<fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail>
549
<j2seproject3:force-recompile destdir="${build.test.classes.dir}"/>
550
<j2seproject3:javac classpath="${javac.test.classpath}" debug="true" destdir="${build.test.classes.dir}" excludes="" includes="${javac.includes}" sourcepath="${test.src.dir}" srcdir="${test.src.dir}"/>
551
<copy todir="${build.test.classes.dir}">
552
<fileset dir="${test.src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
555
<target name="-post-compile-test-single">
556
<!-- Empty placeholder for easier customization. -->
557
<!-- You can override this target in the ../build.xml file. -->
559
<target depends="init,compile,-pre-pre-compile-test,-pre-compile-test-single,-do-compile-test-single,-post-compile-test-single" name="compile-test-single"/>
561
=======================
562
JUNIT EXECUTION SECTION
563
=======================
565
<target depends="init" if="have.tests" name="-pre-test-run">
566
<mkdir dir="${build.test.results.dir}"/>
568
<target depends="init,compile-test,-pre-test-run" if="have.tests" name="-do-test-run">
569
<j2seproject3:junit testincludes="**/*Test.java"/>
571
<target depends="init,compile-test,-pre-test-run,-do-test-run" if="have.tests" name="-post-test-run">
572
<fail if="tests.failed">Some tests failed; see details above.</fail>
574
<target depends="init" if="have.tests" name="test-report"/>
575
<target depends="init" if="netbeans.home+have.tests" name="-test-browse"/>
576
<target depends="init,compile-test,-pre-test-run,-do-test-run,test-report,-post-test-run,-test-browse" description="Run unit tests." name="test"/>
577
<target depends="init" if="have.tests" name="-pre-test-run-single">
578
<mkdir dir="${build.test.results.dir}"/>
580
<target depends="init,compile-test-single,-pre-test-run-single" if="have.tests" name="-do-test-run-single">
581
<fail unless="test.includes">Must select some files in the IDE or set test.includes</fail>
582
<j2seproject3:junit excludes="" includes="${test.includes}"/>
584
<target depends="init,compile-test-single,-pre-test-run-single,-do-test-run-single" if="have.tests" name="-post-test-run-single">
585
<fail if="tests.failed">Some tests failed; see details above.</fail>
587
<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"/>
589
=======================
590
JUNIT DEBUGGING SECTION
591
=======================
593
<target depends="init,compile-test" if="have.tests" name="-debug-start-debuggee-test">
594
<fail unless="test.class">Must select one file in the IDE or set test.class</fail>
595
<property location="${build.test.results.dir}/TEST-${test.class}.xml" name="test.report.file"/>
596
<delete file="${test.report.file}"/>
597
<mkdir dir="${build.test.results.dir}"/>
598
<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}">
601
<propertyref prefix="test-sys-prop."/>
602
<mapper from="test-sys-prop.*" to="*" type="glob"/>
604
<arg value="${test.class}"/>
605
<arg value="showoutput=true"/>
606
<arg value="formatter=org.apache.tools.ant.taskdefs.optional.junit.BriefJUnitResultFormatter"/>
607
<arg value="formatter=org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter,${test.report.file}"/>
609
</j2seproject3:debug>
611
<target depends="init,compile-test" if="netbeans.home+have.tests" name="-debug-start-debugger-test">
612
<j2seproject1:nbjpdastart classpath="${debug.test.classpath}" name="${test.class}"/>
614
<target depends="init,-do-not-recompile,compile-test-single,-debug-start-debugger-test,-debug-start-debuggee-test" name="debug-test"/>
615
<target depends="init,-pre-debug-fix,compile-test-single" if="netbeans.home" name="-do-debug-fix-test">
616
<j2seproject1:nbjpdareload dir="${build.test.classes.dir}"/>
618
<target depends="init,-pre-debug-fix,-do-debug-fix-test" if="netbeans.home" name="debug-fix-test"/>
620
=========================
621
APPLET EXECUTION SECTION
622
=========================
624
<target depends="init,compile-single" name="run-applet">
625
<fail unless="applet.url">Must select one file in the IDE or set applet.url</fail>
626
<j2seproject1:java classname="sun.applet.AppletViewer">
628
<arg value="${applet.url}"/>
633
=========================
634
APPLET DEBUGGING SECTION
635
=========================
637
<target depends="init,compile-single" if="netbeans.home" name="-debug-start-debuggee-applet">
638
<fail unless="applet.url">Must select one file in the IDE or set applet.url</fail>
639
<j2seproject3:debug classname="sun.applet.AppletViewer">
641
<arg value="${applet.url}"/>
643
</j2seproject3:debug>
645
<target depends="init,compile-single,-debug-start-debugger,-debug-start-debuggee-applet" if="netbeans.home" name="debug-applet"/>
651
<target depends="init" name="deps-clean" unless="no.deps"/>
652
<target depends="init" name="-do-clean">
653
<delete dir="${build.dir}"/>
654
<delete dir="${dist.dir}"/>
656
<target name="-post-clean">
657
<!-- Empty placeholder for easier customization. -->
658
<!-- You can override this target in the ../build.xml file. -->
660
<target depends="init,deps-clean,-do-clean,-post-clean" description="Clean build products." name="clean"/>