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:j2seproject2="http://www.netbeans.org/ns/j2se-project/2" 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="galago-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">
68 <available file="${test.src.dir}"/>
71 <condition property="have.sources">
73 <available file="${src.dir}"/>
76 <condition property="netbeans.home+have.tests">
78 <isset property="netbeans.home"/>
79 <isset property="have.tests"/>
82 <condition property="no.javadoc.preview">
84 <isset property="javadoc.preview"/>
85 <isfalse value="${javadoc.preview}"/>
88 <property name="run.jvmargs" value=""/>
89 <property name="javac.compilerargs" value=""/>
90 <property name="work.dir" value="${basedir}"/>
91 <condition property="no.deps">
93 <istrue value="${no.dependencies}"/>
96 <property name="javac.debug" value="true"/>
97 <property name="javadoc.preview" value="true"/>
98 <property name="application.args" value=""/>
99 <property name="source.encoding" value="${file.encoding}"/>
100 <condition property="javadoc.encoding.used" value="${javadoc.encoding}">
102 <isset property="javadoc.encoding"/>
104 <equals arg1="${javadoc.encoding}" arg2=""/>
108 <property name="javadoc.encoding.used" value="${source.encoding}"/>
109 <property name="includes" value="**"/>
110 <property name="excludes" value=""/>
111 <property name="do.depend" value="false"/>
112 <condition property="do.depend.true">
113 <istrue value="${do.depend}"/>
116 <target name="-post-init">
117 <!-- Empty placeholder for easier customization. -->
118 <!-- You can override this target in the ../build.xml file. -->
120 <target depends="-pre-init,-init-private,-init-user,-init-project,-do-init" name="-init-check">
121 <fail unless="src.dir">Must set src.dir</fail>
122 <fail unless="test.src.dir">Must set test.src.dir</fail>
123 <fail unless="build.dir">Must set build.dir</fail>
124 <fail unless="dist.dir">Must set dist.dir</fail>
125 <fail unless="build.classes.dir">Must set build.classes.dir</fail>
126 <fail unless="dist.javadoc.dir">Must set dist.javadoc.dir</fail>
127 <fail unless="build.test.classes.dir">Must set build.test.classes.dir</fail>
128 <fail unless="build.test.results.dir">Must set build.test.results.dir</fail>
129 <fail unless="build.classes.excludes">Must set build.classes.excludes</fail>
130 <fail unless="dist.jar">Must set dist.jar</fail>
132 <target name="-init-macrodef-property">
133 <macrodef name="property" uri="http://www.netbeans.org/ns/j2se-project/1">
134 <attribute name="name"/>
135 <attribute name="value"/>
137 <property name="@{name}" value="${@{value}}"/>
141 <target name="-init-macrodef-javac">
142 <macrodef name="javac" uri="http://www.netbeans.org/ns/j2se-project/3">
143 <attribute default="${src.dir}" name="srcdir"/>
144 <attribute default="${build.classes.dir}" name="destdir"/>
145 <attribute default="${javac.classpath}" name="classpath"/>
146 <attribute default="${includes}" name="includes"/>
147 <attribute default="${excludes}" name="excludes"/>
148 <attribute default="${javac.debug}" name="debug"/>
149 <attribute default="" name="javac.compilerargs.jaxws"/>
150 <attribute default="" name="sourcepath"/>
151 <element name="customize" optional="true"/>
153 <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}">
155 <path path="@{classpath}"/>
157 <compilerarg line="${javac.compilerargs} @{javac.compilerargs.jaxws}"/>
162 <macrodef name="depend" uri="http://www.netbeans.org/ns/j2se-project/3">
163 <attribute default="${src.dir}" name="srcdir"/>
164 <attribute default="${build.classes.dir}" name="destdir"/>
165 <attribute default="${javac.classpath}" name="classpath"/>
167 <depend cache="${build.dir}/depcache" destdir="@{destdir}" excludes="${excludes}" includes="${includes}" srcdir="@{srcdir}">
169 <path path="@{classpath}"/>
174 <macrodef name="force-recompile" uri="http://www.netbeans.org/ns/j2se-project/3">
175 <attribute default="${build.classes.dir}" name="destdir"/>
177 <fail unless="javac.includes">Must set javac.includes</fail>
178 <pathconvert pathsep="," property="javac.includes.binary">
180 <filelist dir="@{destdir}" files="${javac.includes}"/>
182 <globmapper from="*.java" to="*.class"/>
185 <files includes="${javac.includes.binary}"/>
190 <target name="-init-macrodef-junit">
191 <macrodef name="junit" uri="http://www.netbeans.org/ns/j2se-project/3">
192 <attribute default="${includes}" name="includes"/>
193 <attribute default="${excludes}" name="excludes"/>
194 <attribute default="**" name="testincludes"/>
196 <junit dir="${work.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" showoutput="true">
197 <batchtest todir="${build.test.results.dir}">
198 <fileset dir="${test.src.dir}" excludes="@{excludes},${excludes}" includes="@{includes}">
199 <filename name="@{testincludes}"/>
203 <path path="${run.test.classpath}"/>
206 <propertyref prefix="test-sys-prop."/>
207 <mapper from="test-sys-prop.*" to="*" type="glob"/>
209 <formatter type="brief" usefile="false"/>
210 <formatter type="xml"/>
211 <jvmarg line="${run.jvmargs}"/>
216 <target name="-init-macrodef-nbjpda">
217 <macrodef name="nbjpdastart" uri="http://www.netbeans.org/ns/j2se-project/1">
218 <attribute default="${main.class}" name="name"/>
219 <attribute default="${debug.classpath}" name="classpath"/>
220 <attribute default="" name="stopclassname"/>
222 <nbjpdastart addressproperty="jpda.address" name="@{name}" stopclassname="@{stopclassname}" transport="dt_socket">
224 <path path="@{classpath}"/>
229 <macrodef name="nbjpdareload" uri="http://www.netbeans.org/ns/j2se-project/1">
230 <attribute default="${build.classes.dir}" name="dir"/>
233 <fileset dir="@{dir}" includes="${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}"/>
252 <target depends="-init-debug-args" name="-init-macrodef-debug">
253 <macrodef name="debug" uri="http://www.netbeans.org/ns/j2se-project/3">
254 <attribute default="${main.class}" name="classname"/>
255 <attribute default="${debug.classpath}" name="classpath"/>
256 <element name="customize" optional="true"/>
258 <java classname="@{classname}" dir="${work.dir}" fork="true">
259 <jvmarg line="${debug-args-line}"/>
260 <jvmarg value="-Xrunjdwp:transport=dt_socket,address=${jpda.address}"/>
261 <jvmarg line="${run.jvmargs}"/>
263 <path path="@{classpath}"/>
266 <propertyref prefix="run-sys-prop."/>
267 <mapper from="run-sys-prop.*" to="*" type="glob"/>
274 <target name="-init-macrodef-java">
275 <macrodef name="java" uri="http://www.netbeans.org/ns/j2se-project/1">
276 <attribute default="${main.class}" name="classname"/>
277 <element name="customize" optional="true"/>
279 <java classname="@{classname}" dir="${work.dir}" fork="true">
280 <jvmarg line="${run.jvmargs}"/>
282 <path path="${run.classpath}"/>
285 <propertyref prefix="run-sys-prop."/>
286 <mapper from="run-sys-prop.*" to="*" type="glob"/>
293 <target name="-init-presetdef-jar">
294 <presetdef name="jar" uri="http://www.netbeans.org/ns/j2se-project/1">
295 <jar compress="${jar.compress}" jarfile="${dist.jar}">
296 <j2seproject1:fileset dir="${build.classes.dir}"/>
300 <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"/>
306 <target depends="init" name="deps-jar" unless="no.deps"/>
307 <target depends="init,deps-jar" name="-pre-pre-compile">
308 <mkdir dir="${build.classes.dir}"/>
310 <target name="-pre-compile">
311 <!-- Empty placeholder for easier customization. -->
312 <!-- You can override this target in the ../build.xml file. -->
314 <target if="do.depend.true" name="-compile-depend">
315 <j2seproject3:depend/>
317 <target depends="init,deps-jar,-pre-pre-compile,-pre-compile,-compile-depend" if="have.sources" name="-do-compile">
318 <j2seproject3:javac/>
319 <copy todir="${build.classes.dir}">
320 <fileset dir="${src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
323 <target name="-post-compile">
324 <!-- Empty placeholder for easier customization. -->
325 <!-- You can override this target in the ../build.xml file. -->
327 <target depends="init,deps-jar,-pre-pre-compile,-pre-compile,-do-compile,-post-compile" description="Compile project." name="compile"/>
328 <target name="-pre-compile-single">
329 <!-- Empty placeholder for easier customization. -->
330 <!-- You can override this target in the ../build.xml file. -->
332 <target depends="init,deps-jar,-pre-pre-compile" name="-do-compile-single">
333 <fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail>
334 <j2seproject3:force-recompile/>
335 <j2seproject3:javac excludes="" includes="${javac.includes}" sourcepath="${src.dir}"/>
337 <target name="-post-compile-single">
338 <!-- Empty placeholder for easier customization. -->
339 <!-- You can override this target in the ../build.xml file. -->
341 <target depends="init,deps-jar,-pre-pre-compile,-pre-compile-single,-do-compile-single,-post-compile-single" name="compile-single"/>
347 <target depends="init" name="-pre-pre-jar">
348 <dirname file="${dist.jar}" property="dist.jar.dir"/>
349 <mkdir dir="${dist.jar.dir}"/>
351 <target name="-pre-jar">
352 <!-- Empty placeholder for easier customization. -->
353 <!-- You can override this target in the ../build.xml file. -->
355 <target depends="init,compile,-pre-pre-jar,-pre-jar" name="-do-jar-without-manifest" unless="manifest.available">
358 <target depends="init,compile,-pre-pre-jar,-pre-jar" if="manifest.available" name="-do-jar-with-manifest" unless="manifest.available+main.class">
359 <j2seproject1:jar manifest="${manifest.file}"/>
361 <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">
362 <j2seproject1:jar manifest="${manifest.file}">
363 <j2seproject1:manifest>
364 <j2seproject1:attribute name="Main-Class" value="${main.class}"/>
365 </j2seproject1:manifest>
367 <echo>To run this application from the command line without Ant, try:</echo>
368 <property location="${build.classes.dir}" name="build.classes.dir.resolved"/>
369 <property location="${dist.jar}" name="dist.jar.resolved"/>
370 <pathconvert property="run.classpath.with.dist.jar">
371 <path path="${run.classpath}"/>
372 <map from="${build.classes.dir.resolved}" to="${dist.jar.resolved}"/>
374 <echo>java -cp "${run.classpath.with.dist.jar}" ${main.class}</echo>
376 <target depends="init,compile,-pre-pre-jar,-pre-jar" if="manifest.available+main.class+mkdist.available" name="-do-jar-with-libraries">
377 <property location="${build.classes.dir}" name="build.classes.dir.resolved"/>
378 <pathconvert property="run.classpath.without.build.classes.dir">
379 <path path="${run.classpath}"/>
380 <map from="${build.classes.dir.resolved}" to=""/>
382 <pathconvert pathsep=" " property="jar.classpath">
383 <path path="${run.classpath.without.build.classes.dir}"/>
386 <globmapper from="*" to="lib/*"/>
389 <taskdef classname="org.netbeans.modules.java.j2seproject.copylibstask.CopyLibs" classpath="${libs.CopyLibs.classpath}" name="copylibs"/>
390 <copylibs compress="${jar.compress}" jarfile="${dist.jar}" manifest="${manifest.file}" runtimeclasspath="${run.classpath.without.build.classes.dir}">
391 <fileset dir="${build.classes.dir}"/>
393 <attribute name="Main-Class" value="${main.class}"/>
394 <attribute name="Class-Path" value="${jar.classpath}"/>
397 <echo>To run this application from the command line without Ant, try:</echo>
398 <property location="${dist.jar}" name="dist.jar.resolved"/>
399 <echo>java -jar "${dist.jar.resolved}"</echo>
401 <target name="-post-jar">
402 <!-- Empty placeholder for easier customization. -->
403 <!-- You can override this target in the ../build.xml file. -->
405 <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"/>
411 <target depends="init,compile" description="Run a main class." name="run">
414 <arg line="${application.args}"/>
418 <target name="-do-not-recompile">
419 <property name="javac.includes.binary" value=""/>
421 <target depends="init,-do-not-recompile,compile-single" name="run-single">
422 <fail unless="run.class">Must select one file in the IDE or set run.class</fail>
423 <j2seproject1:java classname="${run.class}"/>
430 <target depends="init" if="netbeans.home" name="-debug-start-debugger">
431 <j2seproject1:nbjpdastart name="${debug.class}"/>
433 <target depends="init,compile" name="-debug-start-debuggee">
436 <arg line="${application.args}"/>
438 </j2seproject3:debug>
440 <target depends="init,compile,-debug-start-debugger,-debug-start-debuggee" description="Debug project in IDE." if="netbeans.home" name="debug"/>
441 <target depends="init" if="netbeans.home" name="-debug-start-debugger-stepinto">
442 <j2seproject1:nbjpdastart stopclassname="${main.class}"/>
444 <target depends="init,compile,-debug-start-debugger-stepinto,-debug-start-debuggee" if="netbeans.home" name="debug-stepinto"/>
445 <target depends="init,compile-single" if="netbeans.home" name="-debug-start-debuggee-single">
446 <fail unless="debug.class">Must select one file in the IDE or set debug.class</fail>
447 <j2seproject3:debug classname="${debug.class}"/>
449 <target depends="init,-do-not-recompile,compile-single,-debug-start-debugger,-debug-start-debuggee-single" if="netbeans.home" name="debug-single"/>
450 <target depends="init" name="-pre-debug-fix">
451 <fail unless="fix.includes">Must set fix.includes</fail>
452 <property name="javac.includes" value="${fix.includes}.java"/>
454 <target depends="init,-pre-debug-fix,compile-single" if="netbeans.home" name="-do-debug-fix">
455 <j2seproject1:nbjpdareload/>
457 <target depends="init,-pre-debug-fix,-do-debug-fix" if="netbeans.home" name="debug-fix"/>
463 <target depends="init" name="-javadoc-build">
464 <mkdir dir="${dist.javadoc.dir}"/>
465 <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}">
467 <path path="${javac.classpath}"/>
469 <fileset dir="${src.dir}" excludes="${excludes}" includes="${includes}">
470 <filename name="**/*.java"/>
474 <target depends="init,-javadoc-build" if="netbeans.home" name="-javadoc-browse" unless="no.javadoc.preview">
475 <nbbrowse file="${dist.javadoc.dir}/index.html"/>
477 <target depends="init,-javadoc-build,-javadoc-browse" description="Build Javadoc." name="javadoc"/>
479 =========================
480 JUNIT COMPILATION SECTION
481 =========================
483 <target depends="init,compile" if="have.tests" name="-pre-pre-compile-test">
484 <mkdir dir="${build.test.classes.dir}"/>
486 <target name="-pre-compile-test">
487 <!-- Empty placeholder for easier customization. -->
488 <!-- You can override this target in the ../build.xml file. -->
490 <target if="do.depend.true" name="-compile-test-depend">
491 <j2seproject3:depend classpath="${javac.test.classpath}" destdir="${build.test.classes.dir}" srcdir="${test.src.dir}"/>
493 <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test,-compile-test-depend" if="have.tests" name="-do-compile-test">
494 <j2seproject3:javac classpath="${javac.test.classpath}" debug="true" destdir="${build.test.classes.dir}" srcdir="${test.src.dir}"/>
495 <copy todir="${build.test.classes.dir}">
496 <fileset dir="${test.src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
499 <target name="-post-compile-test">
500 <!-- Empty placeholder for easier customization. -->
501 <!-- You can override this target in the ../build.xml file. -->
503 <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test,-do-compile-test,-post-compile-test" name="compile-test"/>
504 <target name="-pre-compile-test-single">
505 <!-- Empty placeholder for easier customization. -->
506 <!-- You can override this target in the ../build.xml file. -->
508 <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test-single" if="have.tests" name="-do-compile-test-single">
509 <fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail>
510 <j2seproject3:force-recompile destdir="${build.test.classes.dir}"/>
511 <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}"/>
512 <copy todir="${build.test.classes.dir}">
513 <fileset dir="${test.src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
516 <target name="-post-compile-test-single">
517 <!-- Empty placeholder for easier customization. -->
518 <!-- You can override this target in the ../build.xml file. -->
520 <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test-single,-do-compile-test-single,-post-compile-test-single" name="compile-test-single"/>
522 =======================
523 JUNIT EXECUTION SECTION
524 =======================
526 <target depends="init" if="have.tests" name="-pre-test-run">
527 <mkdir dir="${build.test.results.dir}"/>
529 <target depends="init,compile-test,-pre-test-run" if="have.tests" name="-do-test-run">
530 <j2seproject3:junit testincludes="**/*Test.java"/>
532 <target depends="init,compile-test,-pre-test-run,-do-test-run" if="have.tests" name="-post-test-run">
533 <fail if="tests.failed">Some tests failed; see details above.</fail>
535 <target depends="init" if="have.tests" name="test-report"/>
536 <target depends="init" if="netbeans.home+have.tests" name="-test-browse"/>
537 <target depends="init,compile-test,-pre-test-run,-do-test-run,test-report,-post-test-run,-test-browse" description="Run unit tests." name="test"/>
538 <target depends="init" if="have.tests" name="-pre-test-run-single">
539 <mkdir dir="${build.test.results.dir}"/>
541 <target depends="init,compile-test-single,-pre-test-run-single" if="have.tests" name="-do-test-run-single">
542 <fail unless="test.includes">Must select some files in the IDE or set test.includes</fail>
543 <j2seproject3:junit excludes="" includes="${test.includes}"/>
545 <target depends="init,compile-test-single,-pre-test-run-single,-do-test-run-single" if="have.tests" name="-post-test-run-single">
546 <fail if="tests.failed">Some tests failed; see details above.</fail>
548 <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"/>
550 =======================
551 JUNIT DEBUGGING SECTION
552 =======================
554 <target depends="init,compile-test" if="have.tests" name="-debug-start-debuggee-test">
555 <fail unless="test.class">Must select one file in the IDE or set test.class</fail>
556 <property location="${build.test.results.dir}/TEST-${test.class}.xml" name="test.report.file"/>
557 <delete file="${test.report.file}"/>
558 <mkdir dir="${build.test.results.dir}"/>
559 <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}">
562 <propertyref prefix="test-sys-prop."/>
563 <mapper from="test-sys-prop.*" to="*" type="glob"/>
565 <arg value="${test.class}"/>
566 <arg value="showoutput=true"/>
567 <arg value="formatter=org.apache.tools.ant.taskdefs.optional.junit.BriefJUnitResultFormatter"/>
568 <arg value="formatter=org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter,${test.report.file}"/>
570 </j2seproject3:debug>
572 <target depends="init,compile-test" if="netbeans.home+have.tests" name="-debug-start-debugger-test">
573 <j2seproject1:nbjpdastart classpath="${debug.test.classpath}" name="${test.class}"/>
575 <target depends="init,-do-not-recompile,compile-test-single,-debug-start-debugger-test,-debug-start-debuggee-test" name="debug-test"/>
576 <target depends="init,-pre-debug-fix,compile-test-single" if="netbeans.home" name="-do-debug-fix-test">
577 <j2seproject1:nbjpdareload dir="${build.test.classes.dir}"/>
579 <target depends="init,-pre-debug-fix,-do-debug-fix-test" if="netbeans.home" name="debug-fix-test"/>
581 =========================
582 APPLET EXECUTION SECTION
583 =========================
585 <target depends="init,compile-single" name="run-applet">
586 <fail unless="applet.url">Must select one file in the IDE or set applet.url</fail>
587 <j2seproject1:java classname="sun.applet.AppletViewer">
589 <arg value="${applet.url}"/>
594 =========================
595 APPLET DEBUGGING SECTION
596 =========================
598 <target depends="init,compile-single" if="netbeans.home" name="-debug-start-debuggee-applet">
599 <fail unless="applet.url">Must select one file in the IDE or set applet.url</fail>
600 <j2seproject3:debug classname="sun.applet.AppletViewer">
602 <arg value="${applet.url}"/>
604 </j2seproject3:debug>
606 <target depends="init,compile-single,-debug-start-debugger,-debug-start-debuggee-applet" if="netbeans.home" name="debug-applet"/>
612 <target depends="init" name="deps-clean" unless="no.deps"/>
613 <target depends="init" name="-do-clean">
614 <delete dir="${build.dir}"/>
615 <delete dir="${dist.dir}"/>
617 <target name="-post-clean">
618 <!-- Empty placeholder for easier customization. -->
619 <!-- You can override this target in the ../build.xml file. -->
621 <target depends="init,deps-clean,-do-clean,-post-clean" description="Clean build products." name="clean"/>