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

« back to all changes in this revision

Viewing changes to usersguide/tutorials/j2ee-tut/examples/ejb/cmproster/Roster/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
  - dist
 
12
  - execution
 
13
  - debugging
 
14
  - javadoc
 
15
  - cleanup
 
16
 
 
17
-->
 
18
<project name="Roster-impl" default="build" basedir=".." xmlns:ejbjarproject3="http://www.netbeans.org/ns/j2ee-ejbjarproject/3" xmlns:ejbjarproject2="http://www.netbeans.org/ns/j2ee-ejbjarproject/2" xmlns:ejbjarproject1="http://www.netbeans.org/ns/j2ee-ejbjarproject/1">
 
19
    <target name="default" depends="dist,javadoc" description="Build whole project."/>
 
20
    <!-- 
 
21
    ======================
 
22
    INITIALIZATION SECTION 
 
23
    ======================
 
24
    -->
 
25
    <target name="-pre-init">
 
26
        <!-- Empty placeholder for easier customization. -->
 
27
        <!-- You can override this target in the ../build.xml file. -->
 
28
    </target>
 
29
    <target name="-init-private" depends="-pre-init">
 
30
        <property file="nbproject/private/private.properties"/>
 
31
    </target>
 
32
    <target name="-init-userdir" depends="-pre-init,-init-private">
 
33
        <property name="user.properties.file" location="${netbeans.user}/build.properties"/>
 
34
    </target>
 
35
    <target name="-init-user" depends="-pre-init,-init-private,-init-userdir">
 
36
        <property file="${user.properties.file}"/>
 
37
    </target>
 
38
    <target name="-init-project" depends="-pre-init,-init-private,-init-userdir,-init-user">
 
39
        <property file="nbproject/project.properties"/>
 
40
    </target>
 
41
    <target name="-do-init" depends="-pre-init,-init-private,-init-userdir,-init-user,-init-project,-init-macrodef-property">
 
42
        <!-- The two properties below are usually overridden -->
 
43
        <!-- by the active platform. Just a fallback. -->
 
44
        <property name="default.javac.source" value="1.4"/>
 
45
        <property name="default.javac.target" value="1.4"/>
 
46
        <condition property="have.tests">
 
47
            <or>
 
48
                <available file="${test.src.dir}"/>
 
49
            </or>
 
50
        </condition>
 
51
        <condition property="netbeans.home+have.tests">
 
52
            <and>
 
53
                <isset property="netbeans.home"/>
 
54
                <isset property="have.tests"/>
 
55
            </and>
 
56
        </condition>
 
57
        <condition property="no.javadoc.preview">
 
58
            <isfalse value="${javadoc.preview}"/>
 
59
        </condition>
 
60
        <available file="${meta.inf}/MANIFEST.MF" property="has.custom.manifest"/>
 
61
        <condition property="classes.dir" value="${build.ear.classes.dir}">
 
62
            <isset property="dist.ear.dir"/>
 
63
        </condition>
 
64
        <property name="classes.dir" value="${build.classes.dir}"/>
 
65
        <condition property="no.deps">
 
66
            <and>
 
67
                <istrue value="${no.dependencies}"/>
 
68
            </and>
 
69
        </condition>
 
70
        <condition property="no.dist.ear.dir">
 
71
            <not>
 
72
                <isset property="dist.ear.dir"/>
 
73
            </not>
 
74
        </condition>
 
75
    </target>
 
76
    <target name="-post-init">
 
77
        <!-- Empty placeholder for easier customization. -->
 
78
        <!-- You can override this target in the ../build.xml file. -->
 
79
    </target>
 
80
    <target name="-init-check" depends="-pre-init,-init-private,-init-userdir,-init-user,-init-project,-do-init">
 
81
        <fail unless="src.dir">Must set src.dir</fail>
 
82
        <fail unless="test.src.dir">Must set test.src.dir</fail>
 
83
        <fail unless="build.dir">Must set build.dir</fail>
 
84
        <fail unless="build.generated.dir">Must set build.generated.dir</fail>
 
85
        <fail unless="dist.dir">Must set dist.dir</fail>
 
86
        <fail unless="build.classes.dir">Must set build.classes.dir</fail>
 
87
        <fail unless="dist.javadoc.dir">Must set dist.javadoc.dir</fail>
 
88
        <fail unless="build.classes.excludes">Must set build.classes.excludes</fail>
 
89
        <fail unless="dist.jar">Must set dist.jar</fail>
 
90
    </target>
 
91
    <target name="-init-macrodef-property">
 
92
        <macrodef name="property" uri="http://www.netbeans.org/ns/j2ee-ejbjarproject/1">
 
93
            <attribute name="name"/>
 
94
            <attribute name="value"/>
 
95
            <sequential>
 
96
                <property name="@{name}" value="${@{value}}"/>
 
97
            </sequential>
 
98
        </macrodef>
 
99
    </target>
 
100
    <target name="-init-macrodef-javac">
 
101
        <macrodef name="javac" uri="http://www.netbeans.org/ns/j2ee-ejbjarproject/2">
 
102
            <attribute name="srcdir" default="${src.dir}"/>
 
103
            <attribute name="destdir" default="${build.classes.dir}"/>
 
104
            <attribute name="classpath" default="${javac.classpath}:${j2ee.platform.classpath}"/>
 
105
            <attribute name="debug" default="${javac.debug}"/>
 
106
            <element name="customize" optional="true"/>
 
107
            <sequential>
 
108
                <property name="javac.compilerargs" value=""/>
 
109
                <javac srcdir="@{srcdir}" destdir="@{destdir}" debug="@{debug}" deprecation="${javac.deprecation}" source="${javac.source}" target="${javac.target}" includeantruntime="false">
 
110
                    <classpath>
 
111
                        <path path="@{classpath}"/>
 
112
                    </classpath>
 
113
                    <compilerarg line="${javac.compilerargs}"/>
 
114
                    <customize/>
 
115
                </javac>
 
116
            </sequential>
 
117
        </macrodef>
 
118
    </target>
 
119
    <target name="-init-macrodef-junit">
 
120
        <macrodef name="junit" uri="http://www.netbeans.org/ns/j2ee-ejbjarproject/2">
 
121
            <attribute name="includes" default="**/*Test.java"/>
 
122
            <sequential>
 
123
                <junit showoutput="true" fork="true" dir="${basedir}" failureproperty="tests.failed" errorproperty="tests.failed">
 
124
                    <batchtest todir="${build.test.results.dir}">
 
125
                        <fileset dir="${test.src.dir}" includes="@{includes}"/>
 
126
                    </batchtest>
 
127
                    <classpath>
 
128
                        <path path="${run.test.classpath}"/>
 
129
                        <path path="${j2ee.platform.classpath}"/>
 
130
                    </classpath>
 
131
                    <syspropertyset>
 
132
                        <propertyref prefix="test-sys-prop."/>
 
133
                        <mapper type="glob" from="test-sys-prop.*" to="*"/>
 
134
                    </syspropertyset>
 
135
                    <formatter type="brief" usefile="false"/>
 
136
                </junit>
 
137
            </sequential>
 
138
        </macrodef>
 
139
    </target>
 
140
    <target name="-init-macrodef-nbjpda">
 
141
        <macrodef name="nbjpdastart" uri="http://www.netbeans.org/ns/j2ee-ejbjarproject/1">
 
142
            <attribute name="name" default="${main.class}"/>
 
143
            <attribute name="classpath" default="${debug.classpath}"/>
 
144
            <sequential>
 
145
                <nbjpdastart transport="dt_socket" addressproperty="jpda.address" name="@{name}">
 
146
                    <classpath>
 
147
                        <path path="@{classpath}"/>
 
148
                    </classpath>
 
149
                </nbjpdastart>
 
150
            </sequential>
 
151
        </macrodef>
 
152
        <macrodef name="nbjpdareload" uri="http://www.netbeans.org/ns/j2ee-ejbjarproject/1">
 
153
            <attribute name="dir" default="${build.classes.dir}"/>
 
154
            <sequential>
 
155
                <nbjpdareload>
 
156
                    <fileset includes="${fix.includes}*.class" dir="@{dir}"/>
 
157
                </nbjpdareload>
 
158
            </sequential>
 
159
        </macrodef>
 
160
    </target>
 
161
    <target name="-init-macrodef-debug">
 
162
        <macrodef name="debug" uri="http://www.netbeans.org/ns/j2ee-ejbjarproject/1">
 
163
            <attribute name="classname" default="${main.class}"/>
 
164
            <attribute name="classpath" default="${debug.classpath}"/>
 
165
            <attribute name="args" default="${application.args}"/>
 
166
            <sequential>
 
167
                <java fork="true" classname="@{classname}">
 
168
                    <jvmarg value="-Xdebug"/>
 
169
                    <jvmarg value="-Xnoagent"/>
 
170
                    <jvmarg value="-Djava.compiler=none"/>
 
171
                    <jvmarg value="-Xrunjdwp:transport=dt_socket,address=${jpda.address}"/>
 
172
                    <classpath>
 
173
                        <path path="@{classpath}"/>
 
174
                    </classpath>
 
175
                    <arg line="@{args}"/>
 
176
                </java>
 
177
            </sequential>
 
178
        </macrodef>
 
179
    </target>
 
180
    <target name="init" depends="-pre-init,-init-private,-init-userdir,-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"/>
 
181
    <!--
 
182
    ===================
 
183
    COMPILATION SECTION
 
184
    ===================
 
185
    -->
 
186
    <target name="-deps-module-jar" depends="init" if="no.dist.ear.dir" unless="no.deps"/>
 
187
    <target name="-deps-ear-jar" depends="init" if="dist.ear.dir" unless="no.deps"/>
 
188
    <target name="deps-jar" depends="init, -deps-module-jar, -deps-ear-jar"/>
 
189
    <target name="-pre-pre-compile" depends="init,deps-jar">
 
190
        <mkdir dir="${build.classes.dir}"/>
 
191
        <mkdir dir="${build.ear.classes.dir}"/>
 
192
    </target>
 
193
    <target name="-pre-compile">
 
194
        <!-- Empty placeholder for easier customization. -->
 
195
        <!-- You can override this target in the ../build.xml file. -->
 
196
    </target>
 
197
    <target name="library-inclusion-in-archive" depends="compile"/>
 
198
    <target name="library-inclusion-in-manifest" depends="compile">
 
199
        <manifest file="${build.ear.classes.dir}/META-INF/MANIFEST.MF" mode="update"/>
 
200
    </target>
 
201
    <target name="-do-compile" depends="init,deps-jar,-pre-pre-compile,-pre-compile">
 
202
        <ejbjarproject2:javac destdir="${classes.dir}"/>
 
203
        <copy todir="${classes.dir}">
 
204
            <fileset dir="${src.dir}" excludes="${build.classes.excludes}"/>
 
205
            <fileset dir="${src.dir}" excludes="${build.classes.excludes}"/>
 
206
            <fileset dir="${meta.inf}" includes="**/*.dbschema"/>
 
207
        </copy>
 
208
        <copy todir="${classes.dir}/META-INF">
 
209
            <fileset dir="${meta.inf}" excludes="**/*.dbschema ${meta.inf.excludes}"/>
 
210
        </copy>
 
211
    </target>
 
212
    <target name="-post-compile">
 
213
        <!-- Empty placeholder for easier customization. -->
 
214
        <!-- You can override this target in the ../build.xml file. -->
 
215
    </target>
 
216
    <target name="compile" depends="init,deps-jar,-pre-pre-compile,-pre-compile,-do-compile,-post-compile" description="Compile project."/>
 
217
    <target name="-pre-compile-single">
 
218
        <!-- Empty placeholder for easier customization. -->
 
219
        <!-- You can override this target in the ../build.xml file. -->
 
220
    </target>
 
221
    <target name="-do-compile-single" depends="init,deps-jar,-pre-pre-compile">
 
222
        <fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail>
 
223
        <ejbjarproject2:javac>
 
224
            <customize>
 
225
                <include name="${javac.includes}"/>
 
226
            </customize>
 
227
        </ejbjarproject2:javac>
 
228
    </target>
 
229
    <target name="-post-compile-single">
 
230
        <!-- Empty placeholder for easier customization. -->
 
231
        <!-- You can override this target in the ../build.xml file. -->
 
232
    </target>
 
233
    <target name="compile-single" depends="init,deps-jar,-pre-pre-compile,-pre-compile-single,-do-compile-single,-post-compile-single"/>
 
234
    <!--
 
235
    ====================
 
236
    DIST BUILDING SECTION
 
237
    ====================
 
238
    -->
 
239
    <target name="-pre-dist">
 
240
        <!-- Empty placeholder for easier customization. -->
 
241
        <!-- You can override this target in the ../build.xml file. -->
 
242
    </target>
 
243
    <target name="-do-dist-with-manifest" depends="init,compile,-pre-dist,library-inclusion-in-archive" if="has.custom.manifest">
 
244
        <dirname property="dist.jar.dir" file="${dist.jar}"/>
 
245
        <mkdir dir="${dist.jar.dir}"/>
 
246
        <jar jarfile="${dist.jar}" compress="${jar.compress}" manifest="${build.classes.dir}/META-INF/MANIFEST.MF">
 
247
            <fileset dir="${build.classes.dir}"/>
 
248
        </jar>
 
249
    </target>
 
250
    <target name="-do-dist-without-manifest" depends="init,compile,-pre-dist,library-inclusion-in-archive" unless="has.custom.manifest">
 
251
        <dirname property="dist.jar.dir" file="${dist.jar}"/>
 
252
        <mkdir dir="${dist.jar.dir}"/>
 
253
        <jar jarfile="${dist.jar}" compress="${jar.compress}">
 
254
            <fileset dir="${build.classes.dir}"/>
 
255
        </jar>
 
256
    </target>
 
257
    <target name="-do-dist" depends="init,compile,-pre-dist,library-inclusion-in-archive, -do-dist-without-manifest, -do-dist-with-manifest"/>
 
258
    <target name="-do-ear-dist" depends="init,compile,-pre-dist,library-inclusion-in-manifest">
 
259
        <dirname property="dist.jar.dir" file="${dist.ear.jar}"/>
 
260
        <mkdir dir="${dist.jar.dir}"/>
 
261
        <jar jarfile="${dist.ear.jar}" compress="${jar.compress}" manifest="${build.ear.classes.dir}/META-INF/MANIFEST.MF">
 
262
            <fileset dir="${build.ear.classes.dir}"/>
 
263
        </jar>
 
264
    </target>
 
265
    <target name="-post-dist">
 
266
        <!-- Empty placeholder for easier customization. -->
 
267
        <!-- You can override this target in the ../build.xml file. -->
 
268
    </target>
 
269
    <target name="dist" depends="init,compile,-pre-dist,-do-dist,-post-dist" description="Build distribution (JAR)."/>
 
270
    <target name="dist-ear" depends="init,compile,-pre-dist,-do-ear-dist,-post-dist" description="Build distribution (JAR) to be packaged into an EAR."/>
 
271
    <!--
 
272
    =================
 
273
    EXECUTION SECTION
 
274
    =================
 
275
    -->
 
276
    <target name="run" depends="run-deploy" description="Deploy to server."/>
 
277
    <target name="-init-deploy">
 
278
        <property name="include.jar.manifest" value=""/>
 
279
    </target>
 
280
    <target name="run-deploy" depends="init,-init-deploy,compile,library-inclusion-in-archive,dist">
 
281
        <nbdeploy debugmode="false" forceRedeploy="${forceRedeploy}"/>
 
282
    </target>
 
283
    <target name="verify" depends="dist">
 
284
        <nbverify file="${dist.jar}"/>
 
285
    </target>
 
286
    <!--
 
287
    =================
 
288
    DEBUGGING SECTION
 
289
    =================
 
290
    -->
 
291
    <target name="debug" description="Debug project in IDE." depends="init,compile,dist" if="netbeans.home">
 
292
        <nbdeploy debugmode="true" clientUrlPart="${client.urlPart}"/>
 
293
        <nbjpdaconnect name="${name}" host="${jpda.host}" address="${jpda.address}" transport="${jpda.transport}">
 
294
            <classpath>
 
295
                <path path="${debug.classpath}"/>
 
296
            </classpath>
 
297
            <sourcepath>
 
298
                <path path="${web.docbase.dir}"/>
 
299
            </sourcepath>
 
300
        </nbjpdaconnect>
 
301
    </target>
 
302
    <target name="-pre-debug-fix" depends="init">
 
303
        <fail unless="fix.includes">Must set fix.includes</fail>
 
304
        <property name="javac.includes" value="${fix.includes}.java"/>
 
305
    </target>
 
306
    <target name="-do-debug-fix" if="netbeans.home" depends="init,-pre-debug-fix,compile-single">
 
307
        <j2seproject:nbjpdareload xmlns:j2seproject="http://www.netbeans.org/ns/j2se-project/1"/>
 
308
    </target>
 
309
    <target name="debug-fix" if="netbeans.home" depends="init,-pre-debug-fix,-do-debug-fix"/>
 
310
    <!--
 
311
    ===============
 
312
    JAVADOC SECTION
 
313
    ===============
 
314
    -->
 
315
    <target name="javadoc-build" depends="init">
 
316
        <mkdir dir="${dist.javadoc.dir}"/>
 
317
        <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}" failonerror="true">
 
318
            <classpath>
 
319
                <path path="${javac.classpath}:${j2ee.platform.classpath}"/>
 
320
            </classpath>
 
321
            <sourcepath>
 
322
                <pathelement location="${src.dir}"/>
 
323
            </sourcepath>
 
324
            <fileset dir="${src.dir}"/>
 
325
        </javadoc>
 
326
    </target>
 
327
    <target name="javadoc-browse" if="netbeans.home" unless="no.javadoc.preview" depends="init,javadoc-build">
 
328
        <nbbrowse file="${dist.javadoc.dir}/index.html"/>
 
329
    </target>
 
330
    <target name="javadoc" depends="init,javadoc-build,javadoc-browse" description="Build Javadoc."/>
 
331
    <!--
 
332
    =========================
 
333
    JUNIT COMPILATION SECTION
 
334
    =========================
 
335
    -->
 
336
    <target name="-pre-pre-compile-test" if="have.tests" depends="init,compile">
 
337
        <mkdir dir="${build.test.classes.dir}"/>
 
338
    </target>
 
339
    <target name="-pre-compile-test">
 
340
        <!-- Empty placeholder for easier customization. -->
 
341
        <!-- You can override this target in the ../build.xml file. -->
 
342
    </target>
 
343
    <target name="-do-compile-test" if="have.tests" depends="init,compile,-pre-pre-compile-test,-pre-compile-test">
 
344
        <ejbjarproject2:javac srcdir="${test.src.dir}" destdir="${build.test.classes.dir}" debug="true" classpath="${javac.test.classpath}:${j2ee.platform.classpath}"/>
 
345
        <copy todir="${build.test.classes.dir}">
 
346
            <fileset dir="${test.src.dir}" excludes="**/*.java"/>
 
347
        </copy>
 
348
    </target>
 
349
    <target name="-post-compile-test">
 
350
        <!-- Empty placeholder for easier customization. -->
 
351
        <!-- You can override this target in the ../build.xml file. -->
 
352
    </target>
 
353
    <target name="compile-test" depends="init,compile,-pre-pre-compile-test,-pre-compile-test,-do-compile-test,-post-compile-test"/>
 
354
    <target name="-pre-compile-test-single">
 
355
        <!-- Empty placeholder for easier customization. -->
 
356
        <!-- You can override this target in the ../build.xml file. -->
 
357
    </target>
 
358
    <target name="-do-compile-test-single" if="have.tests" depends="init,compile,-pre-pre-compile-test,-pre-compile-test-single">
 
359
        <fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail>
 
360
        <ejbjarproject2:javac srcdir="${test.src.dir}" destdir="${build.test.classes.dir}" debug="true" classpath="${javac.test.classpath}:${j2ee.platform.classpath}">
 
361
            <customize>
 
362
                <patternset includes="${javac.includes}"/>
 
363
            </customize>
 
364
        </ejbjarproject2:javac>
 
365
    </target>
 
366
    <target name="-post-compile-test-single">
 
367
        <!-- Empty placeholder for easier customization. -->
 
368
        <!-- You can override this target in the ../build.xml file. -->
 
369
    </target>
 
370
    <target name="compile-test-single" depends="init,compile,-pre-pre-compile-test,-pre-compile-test-single,-do-compile-test-single,-post-compile-test-single"/>
 
371
    <!--
 
372
    =======================
 
373
    JUNIT EXECUTION SECTION
 
374
    =======================
 
375
    -->
 
376
    <target name="-pre-test-run" if="have.tests" depends="init">
 
377
        <mkdir dir="${build.test.results.dir}"/>
 
378
    </target>
 
379
    <target name="-do-test-run" if="have.tests" depends="init,compile-test,-pre-test-run">
 
380
        <ejbjarproject2:junit/>
 
381
    </target>
 
382
    <target name="-post-test-run" if="have.tests" depends="init,compile-test,-pre-test-run,-do-test-run">
 
383
        <fail if="tests.failed">Some tests failed; see details above.</fail>
 
384
    </target>
 
385
    <target name="test-report" if="have.tests" depends="init"/>
 
386
    <target name="-test-browse" if="netbeans.home+have.tests" depends="init"/>
 
387
    <target name="test" depends="init,compile-test,-pre-test-run,-do-test-run,test-report,-post-test-run,-test-browse" description="Run unit tests."/>
 
388
    <target name="-pre-test-run-single" if="have.tests" depends="init">
 
389
        <mkdir dir="${build.test.results.dir}"/>
 
390
    </target>
 
391
    <target name="-do-test-run-single" if="have.tests" depends="init,compile-test-single,-pre-test-run-single">
 
392
        <fail unless="test.includes">Must select some files in the IDE or set test.includes</fail>
 
393
        <ejbjarproject2:junit includes="${test.includes}"/>
 
394
    </target>
 
395
    <target name="-post-test-run-single" if="have.tests" depends="init,compile-test-single,-pre-test-run-single,-do-test-run-single">
 
396
        <fail if="tests.failed">Some tests failed; see details above.</fail>
 
397
    </target>
 
398
    <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."/>
 
399
    <!--
 
400
    =======================
 
401
    JUNIT DEBUGGING SECTION
 
402
    =======================
 
403
    -->
 
404
    <target name="-debug-start-debuggee-test" if="have.tests" depends="init,compile-test">
 
405
        <fail unless="test.class">Must select one file in the IDE or set test.class</fail>
 
406
        <ejbjarproject1:debug classname="junit.textui.TestRunner" classpath="${debug.test.classpath}" args="${test.class}"/>
 
407
    </target>
 
408
    <target name="-debug-start-debugger-test" if="netbeans.home+have.tests" depends="init,compile-test">
 
409
        <ejbjarproject1:nbjpdastart name="${test.class}" classpath="${debug.test.classpath}"/>
 
410
    </target>
 
411
    <target name="debug-test" depends="init,compile-test,-debug-start-debugger-test,-debug-start-debuggee-test"/>
 
412
    <target name="-do-debug-fix-test" if="netbeans.home" depends="init,-pre-debug-fix,compile-test-single">
 
413
        <ejbjarproject1:nbjpdareload dir="${build.test.classes.dir}"/>
 
414
    </target>
 
415
    <target name="debug-fix-test" if="netbeans.home" depends="init,-pre-debug-fix,-do-debug-fix-test"/>
 
416
    <!--
 
417
    ===============
 
418
    CLEANUP SECTION
 
419
    ===============
 
420
    -->
 
421
    <target name="deps-clean" depends="init" if="no.dist.ear.dir" unless="no.deps"/>
 
422
    <target name="-do-clean" depends="init">
 
423
        <delete dir="${build.dir}"/>
 
424
        <delete dir="${dist.dir}"/>
 
425
    </target>
 
426
    <target name="-post-clean">
 
427
        <!-- Empty placeholder for easier customization. -->
 
428
        <!-- You can override this target in the ../build.xml file. -->
 
429
    </target>
 
430
    <target name="clean" depends="init,deps-clean,-do-clean,-post-clean" description="Clean build products."/>
 
431
    <target name="clean-ear" depends="clean"/>
 
432
</project>