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="ImgToMap-impl">
23 <import file="jnlp-impl.xml"/>
24 <target depends="test,jar,javadoc" description="Build and test whole project." name="default"/>
26 ======================
27 INITIALIZATION SECTION
28 ======================
30 <target name="-pre-init">
31 <!-- Empty placeholder for easier customization. -->
32 <!-- You can override this target in the ../build.xml file. -->
34 <target depends="-pre-init" name="-init-private">
35 <property file="nbproject/private/config.properties"/>
36 <property file="nbproject/private/configs/${config}.properties"/>
37 <property file="nbproject/private/private.properties"/>
39 <target depends="-pre-init,-init-private" name="-init-user">
40 <property file="${user.properties.file}"/>
41 <!-- The two properties below are usually overridden -->
42 <!-- by the active platform. Just a fallback. -->
43 <property name="default.javac.source" value="1.4"/>
44 <property name="default.javac.target" value="1.4"/>
46 <target depends="-pre-init,-init-private,-init-user" name="-init-project">
47 <property file="nbproject/configs/${config}.properties"/>
48 <property file="nbproject/project.properties"/>
50 <target depends="-pre-init,-init-private,-init-user,-init-project,-init-macrodef-property" name="-do-init">
51 <available file="${manifest.file}" property="manifest.available"/>
52 <condition property="manifest.available+main.class">
54 <isset property="manifest.available"/>
55 <isset property="main.class"/>
57 <equals arg1="${main.class}" arg2="" trim="true"/>
61 <condition property="manifest.available+main.class+mkdist.available">
63 <istrue value="${manifest.available+main.class}"/>
64 <isset property="libs.CopyLibs.classpath"/>
67 <condition property="have.tests">
69 <available file="${test.src.dir}"/>
72 <condition property="have.sources">
74 <available file="${src.dir}"/>
77 <condition property="netbeans.home+have.tests">
79 <isset property="netbeans.home"/>
80 <isset property="have.tests"/>
83 <condition property="no.javadoc.preview">
85 <isset property="javadoc.preview"/>
86 <isfalse value="${javadoc.preview}"/>
89 <property name="run.jvmargs" value=""/>
90 <property name="javac.compilerargs" value=""/>
91 <property name="work.dir" value="${basedir}"/>
92 <condition property="no.deps">
94 <istrue value="${no.dependencies}"/>
97 <property name="javac.debug" value="true"/>
98 <property name="javadoc.preview" value="true"/>
99 <property name="application.args" value=""/>
100 <property name="source.encoding" value="${file.encoding}"/>
101 <condition property="javadoc.encoding.used" value="${javadoc.encoding}">
103 <isset property="javadoc.encoding"/>
105 <equals arg1="${javadoc.encoding}" arg2=""/>
109 <property name="javadoc.encoding.used" value="${source.encoding}"/>
110 <property name="includes" value="**"/>
111 <property name="excludes" value=""/>
112 <property name="do.depend" value="false"/>
113 <condition property="do.depend.true">
114 <istrue value="${do.depend}"/>
116 <condition else="" property="javac.compilerargs.jaxws" value="-Djava.endorsed.dirs='${jaxws.endorsed.dir}'">
118 <isset property="jaxws.endorsed.dir"/>
119 <available file="nbproject/jaxws-build.xml"/>
123 <target name="-post-init">
124 <!-- Empty placeholder for easier customization. -->
125 <!-- You can override this target in the ../build.xml file. -->
127 <target depends="-pre-init,-init-private,-init-user,-init-project,-do-init" name="-init-check">
128 <fail unless="src.dir">Must set src.dir</fail>
129 <fail unless="test.src.dir">Must set test.src.dir</fail>
130 <fail unless="build.dir">Must set build.dir</fail>
131 <fail unless="dist.dir">Must set dist.dir</fail>
132 <fail unless="build.classes.dir">Must set build.classes.dir</fail>
133 <fail unless="dist.javadoc.dir">Must set dist.javadoc.dir</fail>
134 <fail unless="build.test.classes.dir">Must set build.test.classes.dir</fail>
135 <fail unless="build.test.results.dir">Must set build.test.results.dir</fail>
136 <fail unless="build.classes.excludes">Must set build.classes.excludes</fail>
137 <fail unless="dist.jar">Must set dist.jar</fail>
139 <target name="-init-macrodef-property">
140 <macrodef name="property" uri="http://www.netbeans.org/ns/j2se-project/1">
141 <attribute name="name"/>
142 <attribute name="value"/>
144 <property name="@{name}" value="${@{value}}"/>
148 <target name="-init-macrodef-javac">
149 <macrodef name="javac" uri="http://www.netbeans.org/ns/j2se-project/3">
150 <attribute default="${src.dir}" name="srcdir"/>
151 <attribute default="${build.classes.dir}" name="destdir"/>
152 <attribute default="${javac.classpath}" name="classpath"/>
153 <attribute default="${includes}" name="includes"/>
154 <attribute default="${excludes}" name="excludes"/>
155 <attribute default="${javac.debug}" name="debug"/>
156 <attribute default="" name="sourcepath"/>
157 <element name="customize" optional="true"/>
159 <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}">
161 <path path="@{classpath}"/>
163 <compilerarg line="${javac.compilerargs} ${javac.compilerargs.jaxws}"/>
168 <macrodef name="depend" uri="http://www.netbeans.org/ns/j2se-project/3">
169 <attribute default="${src.dir}" name="srcdir"/>
170 <attribute default="${build.classes.dir}" name="destdir"/>
171 <attribute default="${javac.classpath}" name="classpath"/>
173 <depend cache="${build.dir}/depcache" destdir="@{destdir}" excludes="${excludes}" includes="${includes}" srcdir="@{srcdir}">
175 <path path="@{classpath}"/>
180 <macrodef name="force-recompile" uri="http://www.netbeans.org/ns/j2se-project/3">
181 <attribute default="${build.classes.dir}" name="destdir"/>
183 <fail unless="javac.includes">Must set javac.includes</fail>
184 <pathconvert pathsep="," property="javac.includes.binary">
186 <filelist dir="@{destdir}" files="${javac.includes}"/>
188 <globmapper from="*.java" to="*.class"/>
191 <files includes="${javac.includes.binary}"/>
196 <target name="-init-macrodef-junit">
197 <macrodef name="junit" uri="http://www.netbeans.org/ns/j2se-project/3">
198 <attribute default="${includes}" name="includes"/>
199 <attribute default="${excludes}" name="excludes"/>
200 <attribute default="**" name="testincludes"/>
202 <junit dir="${work.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" showoutput="true">
203 <batchtest todir="${build.test.results.dir}">
204 <fileset dir="${test.src.dir}" excludes="@{excludes},${excludes}" includes="@{includes}">
205 <filename name="@{testincludes}"/>
209 <path path="${run.test.classpath}"/>
212 <propertyref prefix="test-sys-prop."/>
213 <mapper from="test-sys-prop.*" to="*" type="glob"/>
215 <formatter type="brief" usefile="false"/>
216 <formatter type="xml"/>
217 <jvmarg line="${run.jvmargs}"/>
222 <target name="-init-macrodef-nbjpda">
223 <macrodef name="nbjpdastart" uri="http://www.netbeans.org/ns/j2se-project/1">
224 <attribute default="${main.class}" name="name"/>
225 <attribute default="${debug.classpath}" name="classpath"/>
226 <attribute default="" name="stopclassname"/>
228 <nbjpdastart addressproperty="jpda.address" name="@{name}" stopclassname="@{stopclassname}" transport="dt_socket">
230 <path path="@{classpath}"/>
235 <macrodef name="nbjpdareload" uri="http://www.netbeans.org/ns/j2se-project/1">
236 <attribute default="${build.classes.dir}" name="dir"/>
239 <fileset dir="@{dir}" includes="${fix.classes}">
240 <include name="${fix.includes}*.class"/>
246 <target name="-init-debug-args">
247 <property name="version-output" value="java version "${ant.java.version}"/>
248 <condition property="have-jdk-older-than-1.4">
250 <contains string="${version-output}" substring="java version "1.0"/>
251 <contains string="${version-output}" substring="java version "1.1"/>
252 <contains string="${version-output}" substring="java version "1.2"/>
253 <contains string="${version-output}" substring="java version "1.3"/>
256 <condition else="-Xdebug" property="debug-args-line" value="-Xdebug -Xnoagent -Djava.compiler=none">
257 <istrue value="${have-jdk-older-than-1.4}"/>
260 <target depends="-init-debug-args" name="-init-macrodef-debug">
261 <macrodef name="debug" uri="http://www.netbeans.org/ns/j2se-project/3">
262 <attribute default="${main.class}" name="classname"/>
263 <attribute default="${debug.classpath}" name="classpath"/>
264 <element name="customize" optional="true"/>
266 <java classname="@{classname}" dir="${work.dir}" fork="true">
267 <jvmarg line="${debug-args-line}"/>
268 <jvmarg value="-Xrunjdwp:transport=dt_socket,address=${jpda.address}"/>
269 <jvmarg line="${run.jvmargs}"/>
271 <path path="@{classpath}"/>
274 <propertyref prefix="run-sys-prop."/>
275 <mapper from="run-sys-prop.*" to="*" type="glob"/>
282 <target name="-init-macrodef-java">
283 <macrodef name="java" uri="http://www.netbeans.org/ns/j2se-project/1">
284 <attribute default="${main.class}" name="classname"/>
285 <element name="customize" optional="true"/>
287 <java classname="@{classname}" dir="${work.dir}" fork="true">
288 <jvmarg line="${run.jvmargs}"/>
290 <path path="${run.classpath}"/>
293 <propertyref prefix="run-sys-prop."/>
294 <mapper from="run-sys-prop.*" to="*" type="glob"/>
301 <target name="-init-presetdef-jar">
302 <presetdef name="jar" uri="http://www.netbeans.org/ns/j2se-project/1">
303 <jar compress="${jar.compress}" jarfile="${dist.jar}">
304 <j2seproject1:fileset dir="${build.classes.dir}"/>
308 <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"/>
314 <target depends="init" name="deps-jar" unless="no.deps"/>
315 <target depends="init,deps-jar" name="-pre-pre-compile">
316 <mkdir dir="${build.classes.dir}"/>
318 <target name="-pre-compile">
319 <!-- Empty placeholder for easier customization. -->
320 <!-- You can override this target in the ../build.xml file. -->
322 <target if="do.depend.true" name="-compile-depend">
323 <j2seproject3:depend/>
325 <target depends="init,deps-jar,-pre-pre-compile,-pre-compile,-compile-depend" if="have.sources" name="-do-compile">
326 <j2seproject3:javac/>
327 <copy todir="${build.classes.dir}">
328 <fileset dir="${src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
331 <target name="-post-compile">
332 <!-- Empty placeholder for easier customization. -->
333 <!-- You can override this target in the ../build.xml file. -->
335 <target depends="init,deps-jar,-pre-pre-compile,-pre-compile,-do-compile,-post-compile" description="Compile project." name="compile"/>
336 <target name="-pre-compile-single">
337 <!-- Empty placeholder for easier customization. -->
338 <!-- You can override this target in the ../build.xml file. -->
340 <target depends="init,deps-jar,-pre-pre-compile" name="-do-compile-single">
341 <fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail>
342 <j2seproject3:force-recompile/>
343 <j2seproject3:javac excludes="" includes="${javac.includes}" sourcepath="${src.dir}"/>
345 <target name="-post-compile-single">
346 <!-- Empty placeholder for easier customization. -->
347 <!-- You can override this target in the ../build.xml file. -->
349 <target depends="init,deps-jar,-pre-pre-compile,-pre-compile-single,-do-compile-single,-post-compile-single" name="compile-single"/>
355 <target depends="init" name="-pre-pre-jar">
356 <dirname file="${dist.jar}" property="dist.jar.dir"/>
357 <mkdir dir="${dist.jar.dir}"/>
359 <target name="-pre-jar">
360 <!-- Empty placeholder for easier customization. -->
361 <!-- You can override this target in the ../build.xml file. -->
363 <target depends="init,compile,-pre-pre-jar,-pre-jar" name="-do-jar-without-manifest" unless="manifest.available">
366 <target depends="init,compile,-pre-pre-jar,-pre-jar" if="manifest.available" name="-do-jar-with-manifest" unless="manifest.available+main.class">
367 <j2seproject1:jar manifest="${manifest.file}"/>
369 <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">
370 <j2seproject1:jar manifest="${manifest.file}">
371 <j2seproject1:manifest>
372 <j2seproject1:attribute name="Main-Class" value="${main.class}"/>
373 </j2seproject1:manifest>
375 <echo>To run this application from the command line without Ant, try:</echo>
376 <property location="${build.classes.dir}" name="build.classes.dir.resolved"/>
377 <property location="${dist.jar}" name="dist.jar.resolved"/>
378 <pathconvert property="run.classpath.with.dist.jar">
379 <path path="${run.classpath}"/>
380 <map from="${build.classes.dir.resolved}" to="${dist.jar.resolved}"/>
382 <echo>java -cp "${run.classpath.with.dist.jar}" ${main.class}</echo>
384 <target depends="init,compile,-pre-pre-jar,-pre-jar" if="manifest.available+main.class+mkdist.available" name="-do-jar-with-libraries">
385 <property location="${build.classes.dir}" name="build.classes.dir.resolved"/>
386 <pathconvert property="run.classpath.without.build.classes.dir">
387 <path path="${run.classpath}"/>
388 <map from="${build.classes.dir.resolved}" to=""/>
390 <pathconvert pathsep=" " property="jar.classpath">
391 <path path="${run.classpath.without.build.classes.dir}"/>
394 <globmapper from="*" to="lib/*"/>
397 <taskdef classname="org.netbeans.modules.java.j2seproject.copylibstask.CopyLibs" classpath="${libs.CopyLibs.classpath}" name="copylibs"/>
398 <copylibs compress="${jar.compress}" jarfile="${dist.jar}" manifest="${manifest.file}" runtimeclasspath="${run.classpath.without.build.classes.dir}">
399 <fileset dir="${build.classes.dir}"/>
401 <attribute name="Main-Class" value="${main.class}"/>
402 <attribute name="Class-Path" value="${jar.classpath}"/>
405 <echo>To run this application from the command line without Ant, try:</echo>
406 <property location="${dist.jar}" name="dist.jar.resolved"/>
407 <echo>java -jar "${dist.jar.resolved}"</echo>
409 <target name="-post-jar">
410 <!-- Empty placeholder for easier customization. -->
411 <!-- You can override this target in the ../build.xml file. -->
413 <target depends="init,compile,-pre-jar,-do-jar-with-manifest,-do-jar-without-manifest,-do-jar-with-mainclass,-do-jar-with-libraries,-post-jar,jnlp" description="Build JAR." name="jar"/>
419 <target depends="init,compile" description="Run a main class." name="run">
422 <arg line="${application.args}"/>
426 <target name="-do-not-recompile">
427 <property name="javac.includes.binary" value=""/>
429 <target depends="init,-do-not-recompile,compile-single" name="run-single">
430 <fail unless="run.class">Must select one file in the IDE or set run.class</fail>
431 <j2seproject1:java classname="${run.class}"/>
438 <target depends="init" if="netbeans.home" name="-debug-start-debugger">
439 <j2seproject1:nbjpdastart name="${debug.class}"/>
441 <target depends="init,compile" name="-debug-start-debuggee">
444 <arg line="${application.args}"/>
446 </j2seproject3:debug>
448 <target depends="init,compile,-debug-start-debugger,-debug-start-debuggee" description="Debug project in IDE." if="netbeans.home" name="debug"/>
449 <target depends="init" if="netbeans.home" name="-debug-start-debugger-stepinto">
450 <j2seproject1:nbjpdastart stopclassname="${main.class}"/>
452 <target depends="init,compile,-debug-start-debugger-stepinto,-debug-start-debuggee" if="netbeans.home" name="debug-stepinto"/>
453 <target depends="init,compile-single" if="netbeans.home" name="-debug-start-debuggee-single">
454 <fail unless="debug.class">Must select one file in the IDE or set debug.class</fail>
455 <j2seproject3:debug classname="${debug.class}"/>
457 <target depends="init,-do-not-recompile,compile-single,-debug-start-debugger,-debug-start-debuggee-single" if="netbeans.home" name="debug-single"/>
458 <target depends="init" name="-pre-debug-fix">
459 <fail unless="fix.includes">Must set fix.includes</fail>
460 <property name="javac.includes" value="${fix.includes}.java"/>
462 <target depends="init,-pre-debug-fix,compile-single" if="netbeans.home" name="-do-debug-fix">
463 <j2seproject1:nbjpdareload/>
465 <target depends="init,-pre-debug-fix,-do-debug-fix" if="netbeans.home" name="debug-fix"/>
471 <target depends="init" name="-javadoc-build">
472 <mkdir dir="${dist.javadoc.dir}"/>
473 <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}">
475 <path path="${javac.classpath}"/>
477 <fileset dir="${src.dir}" excludes="${excludes}" includes="${includes}">
478 <filename name="**/*.java"/>
482 <target depends="init,-javadoc-build" if="netbeans.home" name="-javadoc-browse" unless="no.javadoc.preview">
483 <nbbrowse file="${dist.javadoc.dir}/index.html"/>
485 <target depends="init,-javadoc-build,-javadoc-browse" description="Build Javadoc." name="javadoc"/>
487 =========================
488 JUNIT COMPILATION SECTION
489 =========================
491 <target depends="init,compile" if="have.tests" name="-pre-pre-compile-test">
492 <mkdir dir="${build.test.classes.dir}"/>
494 <target name="-pre-compile-test">
495 <!-- Empty placeholder for easier customization. -->
496 <!-- You can override this target in the ../build.xml file. -->
498 <target if="do.depend.true" name="-compile-test-depend">
499 <j2seproject3:depend classpath="${javac.test.classpath}" destdir="${build.test.classes.dir}" srcdir="${test.src.dir}"/>
501 <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test,-compile-test-depend" if="have.tests" name="-do-compile-test">
502 <j2seproject3:javac classpath="${javac.test.classpath}" debug="true" destdir="${build.test.classes.dir}" srcdir="${test.src.dir}"/>
503 <copy todir="${build.test.classes.dir}">
504 <fileset dir="${test.src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
507 <target name="-post-compile-test">
508 <!-- Empty placeholder for easier customization. -->
509 <!-- You can override this target in the ../build.xml file. -->
511 <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test,-do-compile-test,-post-compile-test" name="compile-test"/>
512 <target name="-pre-compile-test-single">
513 <!-- Empty placeholder for easier customization. -->
514 <!-- You can override this target in the ../build.xml file. -->
516 <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test-single" if="have.tests" name="-do-compile-test-single">
517 <fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail>
518 <j2seproject3:force-recompile destdir="${build.test.classes.dir}"/>
519 <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}"/>
520 <copy todir="${build.test.classes.dir}">
521 <fileset dir="${test.src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
524 <target name="-post-compile-test-single">
525 <!-- Empty placeholder for easier customization. -->
526 <!-- You can override this target in the ../build.xml file. -->
528 <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test-single,-do-compile-test-single,-post-compile-test-single" name="compile-test-single"/>
530 =======================
531 JUNIT EXECUTION SECTION
532 =======================
534 <target depends="init" if="have.tests" name="-pre-test-run">
535 <mkdir dir="${build.test.results.dir}"/>
537 <target depends="init,compile-test,-pre-test-run" if="have.tests" name="-do-test-run">
538 <j2seproject3:junit testincludes="**/*Test.java"/>
540 <target depends="init,compile-test,-pre-test-run,-do-test-run" if="have.tests" name="-post-test-run">
541 <fail if="tests.failed">Some tests failed; see details above.</fail>
543 <target depends="init" if="have.tests" name="test-report"/>
544 <target depends="init" if="netbeans.home+have.tests" name="-test-browse"/>
545 <target depends="init,compile-test,-pre-test-run,-do-test-run,test-report,-post-test-run,-test-browse" description="Run unit tests." name="test"/>
546 <target depends="init" if="have.tests" name="-pre-test-run-single">
547 <mkdir dir="${build.test.results.dir}"/>
549 <target depends="init,compile-test-single,-pre-test-run-single" if="have.tests" name="-do-test-run-single">
550 <fail unless="test.includes">Must select some files in the IDE or set test.includes</fail>
551 <j2seproject3:junit excludes="" includes="${test.includes}"/>
553 <target depends="init,compile-test-single,-pre-test-run-single,-do-test-run-single" if="have.tests" name="-post-test-run-single">
554 <fail if="tests.failed">Some tests failed; see details above.</fail>
556 <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"/>
558 =======================
559 JUNIT DEBUGGING SECTION
560 =======================
562 <target depends="init,compile-test" if="have.tests" name="-debug-start-debuggee-test">
563 <fail unless="test.class">Must select one file in the IDE or set test.class</fail>
564 <property location="${build.test.results.dir}/TEST-${test.class}.xml" name="test.report.file"/>
565 <delete file="${test.report.file}"/>
566 <mkdir dir="${build.test.results.dir}"/>
567 <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}">
570 <propertyref prefix="test-sys-prop."/>
571 <mapper from="test-sys-prop.*" to="*" type="glob"/>
573 <arg value="${test.class}"/>
574 <arg value="showoutput=true"/>
575 <arg value="formatter=org.apache.tools.ant.taskdefs.optional.junit.BriefJUnitResultFormatter"/>
576 <arg value="formatter=org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter,${test.report.file}"/>
578 </j2seproject3:debug>
580 <target depends="init,compile-test" if="netbeans.home+have.tests" name="-debug-start-debugger-test">
581 <j2seproject1:nbjpdastart classpath="${debug.test.classpath}" name="${test.class}"/>
583 <target depends="init,-do-not-recompile,compile-test-single,-debug-start-debugger-test,-debug-start-debuggee-test" name="debug-test"/>
584 <target depends="init,-pre-debug-fix,compile-test-single" if="netbeans.home" name="-do-debug-fix-test">
585 <j2seproject1:nbjpdareload dir="${build.test.classes.dir}"/>
587 <target depends="init,-pre-debug-fix,-do-debug-fix-test" if="netbeans.home" name="debug-fix-test"/>
589 =========================
590 APPLET EXECUTION SECTION
591 =========================
593 <target depends="init,compile-single" name="run-applet">
594 <fail unless="applet.url">Must select one file in the IDE or set applet.url</fail>
595 <j2seproject1:java classname="sun.applet.AppletViewer">
597 <arg value="${applet.url}"/>
602 =========================
603 APPLET DEBUGGING SECTION
604 =========================
606 <target depends="init,compile-single" if="netbeans.home" name="-debug-start-debuggee-applet">
607 <fail unless="applet.url">Must select one file in the IDE or set applet.url</fail>
608 <j2seproject3:debug classname="sun.applet.AppletViewer">
610 <arg value="${applet.url}"/>
612 </j2seproject3:debug>
614 <target depends="init,compile-single,-debug-start-debugger,-debug-start-debuggee-applet" if="netbeans.home" name="debug-applet"/>
620 <target depends="init" name="deps-clean" unless="no.deps"/>
621 <target depends="init" name="-do-clean">
622 <delete dir="${build.dir}"/>
623 <delete dir="${dist.dir}"/>
625 <target name="-post-clean">
626 <!-- Empty placeholder for easier customization. -->
627 <!-- You can override this target in the ../build.xml file. -->
629 <target depends="init,deps-clean,-do-clean,-post-clean" description="Clean build products." name="clean"/>