~ubuntu-branches/ubuntu/quantal/netbeans/quantal

« back to all changes in this revision

Viewing changes to usersguide/tutorials/j2ee-tut/examples/ejb/order/OrderClient/nbproject/build-impl.xml

  • Committer: Bazaar Package Importer
  • Author(s): Marek Slama
  • Date: 2008-01-29 14:11:22 UTC
  • Revision ID: james.westby@ubuntu.com-20080129141122-fnzjbo11ntghxfu7
Tags: upstream-6.0.1
ImportĀ upstreamĀ versionĀ 6.0.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="UTF-8"?>
 
2
<!--
 
3
*** GENERATED FROM project.xml - DO NOT EDIT  ***
 
4
***         EDIT ../build.xml INSTEAD         ***
 
5
 
 
6
For the purpose of easier reading the script
 
7
is divided into following sections:
 
8
 
 
9
  - initialization
 
10
  - compilation
 
11
  - jar
 
12
  - execution
 
13
  - debugging
 
14
  - javadoc
 
15
  - junit compilation
 
16
  - junit execution
 
17
  - junit debugging
 
18
  - applet
 
19
  - cleanup
 
20
 
 
21
-->
 
22
<project xmlns:j2seproject2="http://www.netbeans.org/ns/j2se-project/2" xmlns:j2seproject1="http://www.netbeans.org/ns/j2se-project/1" name="OrderClient-impl" default="default" basedir="..">
 
23
    <target name="default" depends="test,jar,javadoc" description="Build and test whole project."/>
 
24
    <!-- 
 
25
    ======================
 
26
    INITIALIZATION SECTION 
 
27
    ======================
 
28
    -->
 
29
    <target name="-pre-init">
 
30
        <!-- Empty placeholder for easier customization. -->
 
31
        <!-- You can override this target in the ../build.xml file. -->
 
32
    </target>
 
33
    <target name="-init-private" depends="-pre-init">
 
34
        <property file="nbproject/private/private.properties"/>
 
35
    </target>
 
36
    <target name="-init-user" depends="-pre-init,-init-private">
 
37
        <property file="${user.properties.file}"/>
 
38
        <!-- The two properties below are usually overridden -->
 
39
        <!-- by the active platform. Just a fallback. -->
 
40
        <property value="1.4" name="default.javac.source"/>
 
41
        <property value="1.4" name="default.javac.target"/>
 
42
    </target>
 
43
    <target name="-init-project" depends="-pre-init,-init-private,-init-user">
 
44
        <property file="nbproject/project.properties"/>
 
45
    </target>
 
46
    <target name="-do-init" depends="-pre-init,-init-private,-init-user,-init-project,-init-macrodef-property">
 
47
        <available property="manifest.available" file="${manifest.file}"/>
 
48
        <condition property="manifest.available+main.class">
 
49
            <and>
 
50
                <isset property="manifest.available"/>
 
51
                <isset property="main.class"/>
 
52
                <not>
 
53
                    <equals trim="true" arg2="" arg1="${main.class}"/>
 
54
                </not>
 
55
            </and>
 
56
        </condition>
 
57
        <condition property="have.tests">
 
58
            <or>
 
59
                <available file="${test.src.dir}"/>
 
60
            </or>
 
61
        </condition>
 
62
        <condition property="netbeans.home+have.tests">
 
63
            <and>
 
64
                <isset property="netbeans.home"/>
 
65
                <isset property="have.tests"/>
 
66
            </and>
 
67
        </condition>
 
68
        <condition property="no.javadoc.preview">
 
69
            <isfalse value="${javadoc.preview}"/>
 
70
        </condition>
 
71
        <property value="" name="run.jvmargs"/>
 
72
        <property value="" name="javac.compilerargs"/>
 
73
        <property value="${basedir}" name="work.dir"/>
 
74
        <condition property="no.deps">
 
75
            <and>
 
76
                <istrue value="${no.dependencies}"/>
 
77
            </and>
 
78
        </condition>
 
79
    </target>
 
80
    <target name="-post-init">
 
81
        <!-- Empty placeholder for easier customization. -->
 
82
        <!-- You can override this target in the ../build.xml file. -->
 
83
    </target>
 
84
    <target name="-init-check" depends="-pre-init,-init-private,-init-user,-init-project,-do-init">
 
85
        <fail unless="src.dir">Must set src.dir</fail>
 
86
        <fail unless="test.src.dir">Must set test.src.dir</fail>
 
87
        <fail unless="build.dir">Must set build.dir</fail>
 
88
        <fail unless="dist.dir">Must set dist.dir</fail>
 
89
        <fail unless="build.classes.dir">Must set build.classes.dir</fail>
 
90
        <fail unless="dist.javadoc.dir">Must set dist.javadoc.dir</fail>
 
91
        <fail unless="build.test.classes.dir">Must set build.test.classes.dir</fail>
 
92
        <fail unless="build.test.results.dir">Must set build.test.results.dir</fail>
 
93
        <fail unless="build.classes.excludes">Must set build.classes.excludes</fail>
 
94
        <fail unless="dist.jar">Must set dist.jar</fail>
 
95
    </target>
 
96
    <target name="-init-macrodef-property">
 
97
        <macrodef name="property" uri="http://www.netbeans.org/ns/j2se-project/1">
 
98
            <attribute name="name"/>
 
99
            <attribute name="value"/>
 
100
            <sequential>
 
101
                <property value="${@{value}}" name="@{name}"/>
 
102
            </sequential>
 
103
        </macrodef>
 
104
    </target>
 
105
    <target name="-init-macrodef-javac">
 
106
        <macrodef name="javac" uri="http://www.netbeans.org/ns/j2se-project/2">
 
107
            <attribute name="srcdir" default="${src.dir}"/>
 
108
            <attribute name="destdir" default="${build.classes.dir}"/>
 
109
            <attribute name="classpath" default="${javac.classpath}"/>
 
110
            <attribute name="debug" default="${javac.debug}"/>
 
111
            <element name="customize" optional="true"/>
 
112
            <sequential>
 
113
                <javac srcdir="@{srcdir}" destdir="@{destdir}" debug="@{debug}" deprecation="${javac.deprecation}" source="${javac.source}" target="${javac.target}" includeantruntime="false">
 
114
                    <classpath>
 
115
                        <path path="@{classpath}"/>
 
116
                    </classpath>
 
117
                    <compilerarg line="${javac.compilerargs}"/>
 
118
                    <customize/>
 
119
                </javac>
 
120
            </sequential>
 
121
        </macrodef>
 
122
    </target>
 
123
    <target name="-init-macrodef-junit">
 
124
        <macrodef name="junit" uri="http://www.netbeans.org/ns/j2se-project/2">
 
125
            <attribute name="includes" default="**/*Test.java"/>
 
126
            <sequential>
 
127
                <junit showoutput="true" fork="true" dir="${basedir}" failureproperty="tests.failed" errorproperty="tests.failed">
 
128
                    <batchtest todir="${build.test.results.dir}">
 
129
                        <fileset dir="${test.src.dir}" includes="@{includes}"/>
 
130
                    </batchtest>
 
131
                    <classpath>
 
132
                        <path path="${run.test.classpath}"/>
 
133
                    </classpath>
 
134
                    <syspropertyset>
 
135
                        <propertyref prefix="test-sys-prop."/>
 
136
                        <mapper to="*" from="test-sys-prop.*" type="glob"/>
 
137
                    </syspropertyset>
 
138
                    <formatter usefile="false" type="brief"/>
 
139
                </junit>
 
140
            </sequential>
 
141
        </macrodef>
 
142
    </target>
 
143
    <target name="-init-macrodef-nbjpda">
 
144
        <macrodef name="nbjpdastart" uri="http://www.netbeans.org/ns/j2se-project/1">
 
145
            <attribute name="name" default="${main.class}"/>
 
146
            <attribute name="classpath" default="${debug.classpath}"/>
 
147
            <attribute name="stopclassname" default=""/>
 
148
            <sequential>
 
149
                <nbjpdastart stopclassname="@{stopclassname}" name="@{name}" addressproperty="jpda.address" transport="dt_socket">
 
150
                    <classpath>
 
151
                        <path path="@{classpath}"/>
 
152
                    </classpath>
 
153
                </nbjpdastart>
 
154
            </sequential>
 
155
        </macrodef>
 
156
        <macrodef name="nbjpdareload" uri="http://www.netbeans.org/ns/j2se-project/1">
 
157
            <attribute name="dir" default="${build.classes.dir}"/>
 
158
            <sequential>
 
159
                <nbjpdareload>
 
160
                    <fileset dir="@{dir}" includes="${fix.includes}*.class"/>
 
161
                </nbjpdareload>
 
162
            </sequential>
 
163
        </macrodef>
 
164
    </target>
 
165
    <target name="-init-macrodef-debug">
 
166
        <macrodef name="debug" uri="http://www.netbeans.org/ns/j2se-project/2">
 
167
            <attribute name="classname" default="${main.class}"/>
 
168
            <attribute name="classpath" default="${debug.classpath}"/>
 
169
            <element name="customize" optional="true"/>
 
170
            <sequential>
 
171
                <java classname="@{classname}" fork="true" dir="${work.dir}">
 
172
                    <jvmarg value="-Xdebug"/>
 
173
                    <jvmarg value="-Xnoagent"/>
 
174
                    <jvmarg value="-Djava.compiler=none"/>
 
175
                    <jvmarg value="-Xrunjdwp:transport=dt_socket,address=${jpda.address}"/>
 
176
                    <jvmarg line="${run.jvmargs}"/>
 
177
                    <classpath>
 
178
                        <path path="@{classpath}"/>
 
179
                    </classpath>
 
180
                    <syspropertyset>
 
181
                        <propertyref prefix="run-sys-prop."/>
 
182
                        <mapper to="*" from="run-sys-prop.*" type="glob"/>
 
183
                    </syspropertyset>
 
184
                    <customize/>
 
185
                </java>
 
186
            </sequential>
 
187
        </macrodef>
 
188
    </target>
 
189
    <target name="-init-macrodef-java">
 
190
        <macrodef name="java" uri="http://www.netbeans.org/ns/j2se-project/1">
 
191
            <attribute name="classname" default="${main.class}"/>
 
192
            <element name="customize" optional="true"/>
 
193
            <sequential>
 
194
                <java classname="@{classname}" fork="true" dir="${work.dir}">
 
195
                    <jvmarg line="${run.jvmargs}"/>
 
196
                    <classpath>
 
197
                        <path path="${run.classpath}"/>
 
198
                    </classpath>
 
199
                    <syspropertyset>
 
200
                        <propertyref prefix="run-sys-prop."/>
 
201
                        <mapper to="*" from="run-sys-prop.*" type="glob"/>
 
202
                    </syspropertyset>
 
203
                    <customize/>
 
204
                </java>
 
205
            </sequential>
 
206
        </macrodef>
 
207
    </target>
 
208
    <target name="-init-presetdef-jar">
 
209
        <presetdef name="jar" uri="http://www.netbeans.org/ns/j2se-project/1">
 
210
            <jar compress="${jar.compress}" jarfile="${dist.jar}">
 
211
                <j2seproject1:fileset dir="${build.classes.dir}"/>
 
212
            </jar>
 
213
        </presetdef>
 
214
    </target>
 
215
    <target name="init" 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"/>
 
216
    <!--
 
217
    ===================
 
218
    COMPILATION SECTION
 
219
    ===================
 
220
    -->
 
221
    <target name="deps-jar" depends="init" unless="no.deps">
 
222
        <ant antfile="${project.Order}/build.xml" inheritall="false" target="dist"/>
 
223
    </target>
 
224
    <target name="-pre-pre-compile" depends="init,deps-jar">
 
225
        <mkdir dir="${build.classes.dir}"/>
 
226
    </target>
 
227
    <target name="-pre-compile">
 
228
        <!-- Empty placeholder for easier customization. -->
 
229
        <!-- You can override this target in the ../build.xml file. -->
 
230
    </target>
 
231
    <target name="-do-compile" depends="init,deps-jar,-pre-pre-compile,-pre-compile">
 
232
        <j2seproject2:javac/>
 
233
        <copy todir="${build.classes.dir}">
 
234
            <fileset dir="${src.dir}" excludes="${build.classes.excludes}"/>
 
235
        </copy>
 
236
    </target>
 
237
    <target name="-post-compile">
 
238
        <!-- Empty placeholder for easier customization. -->
 
239
        <!-- You can override this target in the ../build.xml file. -->
 
240
    </target>
 
241
    <target name="compile" depends="init,deps-jar,-pre-pre-compile,-pre-compile,-do-compile,-post-compile" description="Compile project."/>
 
242
    <target name="-pre-compile-single">
 
243
        <!-- Empty placeholder for easier customization. -->
 
244
        <!-- You can override this target in the ../build.xml file. -->
 
245
    </target>
 
246
    <target name="-do-compile-single" depends="init,deps-jar,-pre-pre-compile">
 
247
        <fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail>
 
248
        <j2seproject2:javac>
 
249
            <customize>
 
250
                <patternset includes="${javac.includes}"/>
 
251
            </customize>
 
252
        </j2seproject2:javac>
 
253
    </target>
 
254
    <target name="-post-compile-single">
 
255
        <!-- Empty placeholder for easier customization. -->
 
256
        <!-- You can override this target in the ../build.xml file. -->
 
257
    </target>
 
258
    <target name="compile-single" depends="init,deps-jar,-pre-pre-compile,-pre-compile-single,-do-compile-single,-post-compile-single"/>
 
259
    <!--
 
260
    ====================
 
261
    JAR BUILDING SECTION
 
262
    ====================
 
263
    -->
 
264
    <target name="-pre-pre-jar" depends="init">
 
265
        <dirname file="${dist.jar}" property="dist.jar.dir"/>
 
266
        <mkdir dir="${dist.jar.dir}"/>
 
267
    </target>
 
268
    <target name="-pre-jar">
 
269
        <!-- Empty placeholder for easier customization. -->
 
270
        <!-- You can override this target in the ../build.xml file. -->
 
271
    </target>
 
272
    <target name="-do-jar-without-manifest" depends="init,compile,-pre-pre-jar,-pre-jar" unless="manifest.available">
 
273
        <j2seproject1:jar/>
 
274
    </target>
 
275
    <target name="-do-jar-with-manifest" depends="init,compile,-pre-pre-jar,-pre-jar" if="manifest.available" unless="manifest.available+main.class">
 
276
        <j2seproject1:jar manifest="${manifest.file}"/>
 
277
    </target>
 
278
    <target name="-do-jar-with-mainclass" depends="init,compile,-pre-pre-jar,-pre-jar" if="manifest.available+main.class">
 
279
        <j2seproject1:jar manifest="${manifest.file}">
 
280
            <j2seproject1:manifest>
 
281
                <j2seproject1:attribute value="${main.class}" name="Main-Class"/>
 
282
            </j2seproject1:manifest>
 
283
        </j2seproject1:jar>
 
284
    </target>
 
285
    <target name="-post-jar">
 
286
        <!-- Empty placeholder for easier customization. -->
 
287
        <!-- You can override this target in the ../build.xml file. -->
 
288
    </target>
 
289
    <target name="jar" depends="init,compile,-pre-jar,-do-jar-with-manifest,-do-jar-without-manifest,-do-jar-with-mainclass,-post-jar" description="Build JAR."/>
 
290
    <!--
 
291
    =================
 
292
    EXECUTION SECTION
 
293
    =================
 
294
    -->
 
295
    <target name="run" depends="init,compile" description="Run a main class.">
 
296
        <j2seproject1:java>
 
297
            <customize>
 
298
                <arg line="${application.args}"/>
 
299
            </customize>
 
300
        </j2seproject1:java>
 
301
    </target>
 
302
    <target name="run-single" depends="init,compile-single">
 
303
        <fail unless="run.class">Must select one file in the IDE or set run.class</fail>
 
304
        <j2seproject1:java classname="${run.class}"/>
 
305
    </target>
 
306
    <!--
 
307
    =================
 
308
    DEBUGGING SECTION
 
309
    =================
 
310
    -->
 
311
    <target name="-debug-start-debugger" if="netbeans.home" depends="init">
 
312
        <j2seproject1:nbjpdastart name="${debug.class}"/>
 
313
    </target>
 
314
    <target name="-debug-start-debuggee" depends="init,compile">
 
315
        <j2seproject2:debug>
 
316
            <customize>
 
317
                <arg line="${application.args}"/>
 
318
            </customize>
 
319
        </j2seproject2:debug>
 
320
    </target>
 
321
    <target name="debug" if="netbeans.home" depends="init,compile,-debug-start-debugger,-debug-start-debuggee" description="Debug project in IDE."/>
 
322
    <target name="-debug-start-debugger-stepinto" if="netbeans.home" depends="init">
 
323
        <j2seproject1:nbjpdastart stopclassname="${main.class}"/>
 
324
    </target>
 
325
    <target name="debug-stepinto" if="netbeans.home" depends="init,compile,-debug-start-debugger-stepinto,-debug-start-debuggee"/>
 
326
    <target name="-debug-start-debuggee-single" if="netbeans.home" depends="init,compile-single">
 
327
        <fail unless="debug.class">Must select one file in the IDE or set debug.class</fail>
 
328
        <j2seproject2:debug classname="${debug.class}"/>
 
329
    </target>
 
330
    <target name="debug-single" if="netbeans.home" depends="init,compile-single,-debug-start-debugger,-debug-start-debuggee-single"/>
 
331
    <target name="-pre-debug-fix" depends="init">
 
332
        <fail unless="fix.includes">Must set fix.includes</fail>
 
333
        <property value="${fix.includes}.java" name="javac.includes"/>
 
334
    </target>
 
335
    <target name="-do-debug-fix" if="netbeans.home" depends="init,-pre-debug-fix,compile-single">
 
336
        <j2seproject1:nbjpdareload/>
 
337
    </target>
 
338
    <target name="debug-fix" if="netbeans.home" depends="init,-pre-debug-fix,-do-debug-fix"/>
 
339
    <!--
 
340
    ===============
 
341
    JAVADOC SECTION
 
342
    ===============
 
343
    -->
 
344
    <target name="-javadoc-build" depends="init">
 
345
        <mkdir dir="${dist.javadoc.dir}"/>
 
346
        <javadoc destdir="${dist.javadoc.dir}" source="${javac.source}" notree="${javadoc.notree}" use="${javadoc.use}" nonavbar="${javadoc.nonavbar}" noindex="${javadoc.noindex}" splitindex="${javadoc.splitindex}" author="${javadoc.author}" version="${javadoc.version}" windowtitle="${javadoc.windowtitle}" private="${javadoc.private}" additionalparam="${javadoc.additionalparam}" failonerror="true">
 
347
            <classpath>
 
348
                <path path="${javac.classpath}"/>
 
349
            </classpath>
 
350
            <sourcepath>
 
351
                <pathelement location="${src.dir}"/>
 
352
            </sourcepath>
 
353
            <fileset dir="${src.dir}"/>
 
354
        </javadoc>
 
355
    </target>
 
356
    <target name="-javadoc-browse" if="netbeans.home" unless="no.javadoc.preview" depends="init,-javadoc-build">
 
357
        <nbbrowse file="${dist.javadoc.dir}/index.html"/>
 
358
    </target>
 
359
    <target name="javadoc" depends="init,-javadoc-build,-javadoc-browse" description="Build Javadoc."/>
 
360
    <!--
 
361
    =========================
 
362
    JUNIT COMPILATION SECTION
 
363
    =========================
 
364
    -->
 
365
    <target name="-pre-pre-compile-test" if="have.tests" depends="init,compile">
 
366
        <mkdir dir="${build.test.classes.dir}"/>
 
367
    </target>
 
368
    <target name="-pre-compile-test">
 
369
        <!-- Empty placeholder for easier customization. -->
 
370
        <!-- You can override this target in the ../build.xml file. -->
 
371
    </target>
 
372
    <target name="-do-compile-test" if="have.tests" depends="init,compile,-pre-pre-compile-test,-pre-compile-test">
 
373
        <j2seproject2:javac srcdir="${test.src.dir}" destdir="${build.test.classes.dir}" debug="true" classpath="${javac.test.classpath}"/>
 
374
        <copy todir="${build.test.classes.dir}">
 
375
            <fileset dir="${test.src.dir}" excludes="**/*.java"/>
 
376
        </copy>
 
377
    </target>
 
378
    <target name="-post-compile-test">
 
379
        <!-- Empty placeholder for easier customization. -->
 
380
        <!-- You can override this target in the ../build.xml file. -->
 
381
    </target>
 
382
    <target name="compile-test" depends="init,compile,-pre-pre-compile-test,-pre-compile-test,-do-compile-test,-post-compile-test"/>
 
383
    <target name="-pre-compile-test-single">
 
384
        <!-- Empty placeholder for easier customization. -->
 
385
        <!-- You can override this target in the ../build.xml file. -->
 
386
    </target>
 
387
    <target name="-do-compile-test-single" if="have.tests" depends="init,compile,-pre-pre-compile-test,-pre-compile-test-single">
 
388
        <fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail>
 
389
        <j2seproject2:javac srcdir="${test.src.dir}" destdir="${build.test.classes.dir}" debug="true" classpath="${javac.test.classpath}">
 
390
            <customize>
 
391
                <patternset includes="${javac.includes}"/>
 
392
            </customize>
 
393
        </j2seproject2:javac>
 
394
    </target>
 
395
    <target name="-post-compile-test-single">
 
396
        <!-- Empty placeholder for easier customization. -->
 
397
        <!-- You can override this target in the ../build.xml file. -->
 
398
    </target>
 
399
    <target name="compile-test-single" depends="init,compile,-pre-pre-compile-test,-pre-compile-test-single,-do-compile-test-single,-post-compile-test-single"/>
 
400
    <!--
 
401
    =======================
 
402
    JUNIT EXECUTION SECTION
 
403
    =======================
 
404
    -->
 
405
    <target name="-pre-test-run" if="have.tests" depends="init">
 
406
        <mkdir dir="${build.test.results.dir}"/>
 
407
    </target>
 
408
    <target name="-do-test-run" if="have.tests" depends="init,compile-test,-pre-test-run">
 
409
        <j2seproject2:junit/>
 
410
    </target>
 
411
    <target name="-post-test-run" if="have.tests" depends="init,compile-test,-pre-test-run,-do-test-run">
 
412
        <fail if="tests.failed">Some tests failed; see details above.</fail>
 
413
    </target>
 
414
    <target name="test-report" if="have.tests" depends="init"/>
 
415
    <target name="-test-browse" if="netbeans.home+have.tests" depends="init"/>
 
416
    <target name="test" depends="init,compile-test,-pre-test-run,-do-test-run,test-report,-post-test-run,-test-browse" description="Run unit tests."/>
 
417
    <target name="-pre-test-run-single" if="have.tests" depends="init">
 
418
        <mkdir dir="${build.test.results.dir}"/>
 
419
    </target>
 
420
    <target name="-do-test-run-single" if="have.tests" depends="init,compile-test-single,-pre-test-run-single">
 
421
        <fail unless="test.includes">Must select some files in the IDE or set test.includes</fail>
 
422
        <j2seproject2:junit includes="${test.includes}"/>
 
423
    </target>
 
424
    <target name="-post-test-run-single" if="have.tests" depends="init,compile-test-single,-pre-test-run-single,-do-test-run-single">
 
425
        <fail if="tests.failed">Some tests failed; see details above.</fail>
 
426
    </target>
 
427
    <target name="test-single" depends="init,compile-test-single,-pre-test-run-single,-do-test-run-single,-post-test-run-single" description="Run single unit test."/>
 
428
    <!--
 
429
    =======================
 
430
    JUNIT DEBUGGING SECTION
 
431
    =======================
 
432
    -->
 
433
    <target name="-debug-start-debuggee-test" if="have.tests" depends="init,compile-test">
 
434
        <fail unless="test.class">Must select one file in the IDE or set test.class</fail>
 
435
        <j2seproject2:debug classpath="${debug.test.classpath}" classname="junit.textui.TestRunner">
 
436
            <customize>
 
437
                <arg line="${test.class}"/>
 
438
            </customize>
 
439
        </j2seproject2:debug>
 
440
    </target>
 
441
    <target name="-debug-start-debugger-test" if="netbeans.home+have.tests" depends="init,compile-test">
 
442
        <j2seproject1:nbjpdastart classpath="${debug.test.classpath}" name="${test.class}"/>
 
443
    </target>
 
444
    <target name="debug-test" depends="init,compile-test,-debug-start-debugger-test,-debug-start-debuggee-test"/>
 
445
    <target name="-do-debug-fix-test" if="netbeans.home" depends="init,-pre-debug-fix,compile-test-single">
 
446
        <j2seproject1:nbjpdareload dir="${build.test.classes.dir}"/>
 
447
    </target>
 
448
    <target name="debug-fix-test" if="netbeans.home" depends="init,-pre-debug-fix,-do-debug-fix-test"/>
 
449
    <!--
 
450
    =========================
 
451
    APPLET EXECUTION SECTION
 
452
    =========================
 
453
    -->
 
454
    <target name="run-applet" depends="init,compile-single">
 
455
        <fail unless="applet.url">Must select one file in the IDE or set applet.url</fail>
 
456
        <j2seproject1:java classname="sun.applet.AppletViewer">
 
457
            <customize>
 
458
                <arg value="${applet.url}"/>
 
459
            </customize>
 
460
        </j2seproject1:java>
 
461
    </target>
 
462
    <!--
 
463
    =========================
 
464
    APPLET DEBUGGING  SECTION
 
465
    =========================
 
466
    -->
 
467
    <target name="-debug-start-debuggee-applet" if="netbeans.home" depends="init,compile-single">
 
468
        <fail unless="applet.url">Must select one file in the IDE or set applet.url</fail>
 
469
        <j2seproject2:debug classname="sun.applet.AppletViewer">
 
470
            <customize>
 
471
                <arg value="${applet.url}"/>
 
472
            </customize>
 
473
        </j2seproject2:debug>
 
474
    </target>
 
475
    <target name="debug-applet" if="netbeans.home" depends="init,compile-single,-debug-start-debugger,-debug-start-debuggee-applet"/>
 
476
    <!--
 
477
    ===============
 
478
    CLEANUP SECTION
 
479
    ===============
 
480
    -->
 
481
    <target name="deps-clean" depends="init" unless="no.deps">
 
482
        <ant antfile="${project.Order}/build.xml" inheritall="false" target="clean"/>
 
483
    </target>
 
484
    <target name="-do-clean" depends="init">
 
485
        <delete dir="${build.dir}"/>
 
486
        <delete dir="${dist.dir}"/>
 
487
    </target>
 
488
    <target name="-post-clean">
 
489
        <!-- Empty placeholder for easier customization. -->
 
490
        <!-- You can override this target in the ../build.xml file. -->
 
491
    </target>
 
492
    <target name="clean" depends="init,deps-clean,-do-clean,-post-clean" description="Clean build products."/>
 
493
</project>