java/SpringDemo1/SpringDemo1-ejb/nbproject/build-impl.xml
author František Kučera <franta-hg@frantovo.cz>
Wed Feb 10 20:55:08 2010 +0100 (2010-02-10)
changeset 1 9a3fced9634d
permissions -rw-r--r--
Přechod na EAR, EJB.
franta-hg@1
     1
<?xml version="1.0" encoding="UTF-8"?>
franta-hg@1
     2
<!--
franta-hg@1
     3
*** GENERATED FROM project.xml - DO NOT EDIT  ***
franta-hg@1
     4
***         EDIT ../build.xml INSTEAD         ***
franta-hg@1
     5
franta-hg@1
     6
For the purpose of easier reading the script
franta-hg@1
     7
is divided into following sections:
franta-hg@1
     8
franta-hg@1
     9
  - initialization
franta-hg@1
    10
  - compilation
franta-hg@1
    11
  - dist
franta-hg@1
    12
  - execution
franta-hg@1
    13
  - debugging
franta-hg@1
    14
  - javadoc
franta-hg@1
    15
  - cleanup
franta-hg@1
    16
franta-hg@1
    17
        -->
franta-hg@1
    18
<project xmlns:ejbjarproject1="http://www.netbeans.org/ns/j2ee-ejbjarproject/1" xmlns:ejbjarproject2="http://www.netbeans.org/ns/j2ee-ejbjarproject/2" xmlns:ejbjarproject3="http://www.netbeans.org/ns/j2ee-ejbjarproject/3" basedir=".." default="default" name="SpringDemo1-ejb-impl">
franta-hg@1
    19
    <import file="ant-deploy.xml"/>
franta-hg@1
    20
    <fail message="Please build using Ant 1.7.1 or higher.">
franta-hg@1
    21
        <condition>
franta-hg@1
    22
            <not>
franta-hg@1
    23
                <antversion atleast="1.7.1"/>
franta-hg@1
    24
            </not>
franta-hg@1
    25
        </condition>
franta-hg@1
    26
    </fail>
franta-hg@1
    27
    <target depends="dist,javadoc" description="Build whole project." name="default"/>
franta-hg@1
    28
    <!-- 
franta-hg@1
    29
                INITIALIZATION SECTION 
franta-hg@1
    30
            -->
franta-hg@1
    31
    <target name="-pre-init">
franta-hg@1
    32
        <!-- Empty placeholder for easier customization. -->
franta-hg@1
    33
        <!-- You can override this target in the ../build.xml file. -->
franta-hg@1
    34
    </target>
franta-hg@1
    35
    <target depends="-pre-init" name="-init-private">
franta-hg@1
    36
        <property file="nbproject/private/private.properties"/>
franta-hg@1
    37
    </target>
franta-hg@1
    38
    <target depends="-pre-init,-init-private" name="-init-userdir">
franta-hg@1
    39
        <property location="${netbeans.user}/build.properties" name="user.properties.file"/>
franta-hg@1
    40
    </target>
franta-hg@1
    41
    <target depends="-pre-init,-init-private,-init-userdir" name="-init-user">
franta-hg@1
    42
        <property file="${user.properties.file}"/>
franta-hg@1
    43
        <!-- The two properties below are usually overridden -->
franta-hg@1
    44
        <!-- by the active platform. Just a fallback. -->
franta-hg@1
    45
        <property name="default.javac.source" value="1.4"/>
franta-hg@1
    46
        <property name="default.javac.target" value="1.4"/>
franta-hg@1
    47
    </target>
franta-hg@1
    48
    <target depends="-pre-init,-init-private,-init-userdir,-init-user" name="-init-project">
franta-hg@1
    49
        <property file="nbproject/project.properties"/>
franta-hg@1
    50
    </target>
franta-hg@1
    51
    <target depends="-pre-init,-init-private,-init-userdir,-init-user,-init-project,-init-macrodef-property" name="-do-init">
franta-hg@1
    52
        <!-- Ensure configuration directory exists. -->
franta-hg@1
    53
        <mkdir dir="${meta.inf}"/>
franta-hg@1
    54
        <property name="runmain.jvmargs" value=""/>
franta-hg@1
    55
        <condition property="have.tests">
franta-hg@1
    56
            <or>
franta-hg@1
    57
                <available file="${test.src.dir}"/>
franta-hg@1
    58
            </or>
franta-hg@1
    59
        </condition>
franta-hg@1
    60
        <condition property="have.sources">
franta-hg@1
    61
            <or>
franta-hg@1
    62
                <available file="${src.dir}"/>
franta-hg@1
    63
            </or>
franta-hg@1
    64
        </condition>
franta-hg@1
    65
        <condition property="netbeans.home+have.tests">
franta-hg@1
    66
            <and>
franta-hg@1
    67
                <isset property="netbeans.home"/>
franta-hg@1
    68
                <isset property="have.tests"/>
franta-hg@1
    69
            </and>
franta-hg@1
    70
        </condition>
franta-hg@1
    71
        <condition property="no.javadoc.preview">
franta-hg@1
    72
            <isfalse value="${javadoc.preview}"/>
franta-hg@1
    73
        </condition>
franta-hg@1
    74
        <available file="${meta.inf}/MANIFEST.MF" property="has.custom.manifest"/>
franta-hg@1
    75
        <!--
franta-hg@1
    76
                    Variables needed to support directory deployment.
franta-hg@1
    77
                -->
franta-hg@1
    78
        <condition property="do.package.with.custom.manifest.not.directory.deploy">
franta-hg@1
    79
            <and>
franta-hg@1
    80
                <isset property="has.custom.manifest"/>
franta-hg@1
    81
                <isfalse value="${directory.deployment.supported}"/>
franta-hg@1
    82
            </and>
franta-hg@1
    83
        </condition>
franta-hg@1
    84
        <condition property="do.package.without.custom.manifest.not.directory.deploy">
franta-hg@1
    85
            <and>
franta-hg@1
    86
                <not>
franta-hg@1
    87
                    <isset property="has.custom.manifest"/>
franta-hg@1
    88
                </not>
franta-hg@1
    89
                <isfalse value="${directory.deployment.supported}"/>
franta-hg@1
    90
            </and>
franta-hg@1
    91
        </condition>
franta-hg@1
    92
        <!--End Variables needed to support directory deployment.-->
franta-hg@1
    93
        <condition property="classes.dir" value="${build.ear.classes.dir}">
franta-hg@1
    94
            <isset property="dist.ear.dir"/>
franta-hg@1
    95
        </condition>
franta-hg@1
    96
        <property name="classes.dir" value="${build.classes.dir}"/>
franta-hg@1
    97
        <condition property="no.deps">
franta-hg@1
    98
            <and>
franta-hg@1
    99
                <istrue value="${no.dependencies}"/>
franta-hg@1
   100
            </and>
franta-hg@1
   101
        </condition>
franta-hg@1
   102
        <condition property="no.dist.ear.dir">
franta-hg@1
   103
            <not>
franta-hg@1
   104
                <isset property="dist.ear.dir"/>
franta-hg@1
   105
            </not>
franta-hg@1
   106
        </condition>
franta-hg@1
   107
        <property name="source.encoding" value="${file.encoding}"/>
franta-hg@1
   108
        <condition property="javadoc.encoding.used" value="${javadoc.encoding}">
franta-hg@1
   109
            <and>
franta-hg@1
   110
                <isset property="javadoc.encoding"/>
franta-hg@1
   111
                <not>
franta-hg@1
   112
                    <equals arg1="${javadoc.encoding}" arg2=""/>
franta-hg@1
   113
                </not>
franta-hg@1
   114
            </and>
franta-hg@1
   115
        </condition>
franta-hg@1
   116
        <property name="javadoc.encoding.used" value="${source.encoding}"/>
franta-hg@1
   117
        <property name="includes" value="**"/>
franta-hg@1
   118
        <property name="excludes" value=""/>
franta-hg@1
   119
        <path id="endorsed.classpath.path" path="${endorsed.classpath}"/>
franta-hg@1
   120
        <condition else="" property="endorsed.classpath.cmd.line.arg" value="-Xbootclasspath/p:'${toString:endorsed.classpath.path}'">
franta-hg@1
   121
            <length length="0" string="${endorsed.classpath}" when="greater"/>
franta-hg@1
   122
        </condition>
franta-hg@1
   123
    </target>
franta-hg@1
   124
    <target depends="init" name="-init-cos" unless="deploy.on.save">
franta-hg@1
   125
        <condition property="deploy.on.save" value="true">
franta-hg@1
   126
            <istrue value="${j2ee.deploy.on.save}"/>
franta-hg@1
   127
        </condition>
franta-hg@1
   128
    </target>
franta-hg@1
   129
    <target name="-post-init">
franta-hg@1
   130
        <!-- Empty placeholder for easier customization. -->
franta-hg@1
   131
        <!-- You can override this target in the ../build.xml file. -->
franta-hg@1
   132
    </target>
franta-hg@1
   133
    <target depends="-pre-init,-init-private,-init-userdir,-init-user,-init-project,-do-init" name="-init-check">
franta-hg@1
   134
        <fail unless="src.dir">Must set src.dir</fail>
franta-hg@1
   135
        <fail unless="test.src.dir">Must set test.src.dir</fail>
franta-hg@1
   136
        <fail unless="build.dir">Must set build.dir</fail>
franta-hg@1
   137
        <fail unless="build.generated.dir">Must set build.generated.dir</fail>
franta-hg@1
   138
        <fail unless="dist.dir">Must set dist.dir</fail>
franta-hg@1
   139
        <fail unless="build.classes.dir">Must set build.classes.dir</fail>
franta-hg@1
   140
        <fail unless="dist.javadoc.dir">Must set dist.javadoc.dir</fail>
franta-hg@1
   141
        <fail unless="build.classes.excludes">Must set build.classes.excludes</fail>
franta-hg@1
   142
        <fail unless="dist.jar">Must set dist.jar</fail>
franta-hg@1
   143
        <fail unless="j2ee.platform.classpath">
franta-hg@1
   144
The Java EE server classpath is not correctly set up. Your active server type is ${j2ee.server.type}.
franta-hg@1
   145
Either open the project in the IDE and assign the server or setup the server classpath manually.
franta-hg@1
   146
For example like this:
franta-hg@1
   147
   ant -Duser.properties.file=&lt;path_to_property_file&gt; (where you put the property "j2ee.platform.classpath" in a .properties file)
franta-hg@1
   148
or ant -Dj2ee.platform.classpath=&lt;server_classpath&gt; (where no properties file is used)
franta-hg@1
   149
                </fail>
franta-hg@1
   150
    </target>
franta-hg@1
   151
    <target name="-init-macrodef-property">
franta-hg@1
   152
        <macrodef name="property" uri="http://www.netbeans.org/ns/j2ee-ejbjarproject/1">
franta-hg@1
   153
            <attribute name="name"/>
franta-hg@1
   154
            <attribute name="value"/>
franta-hg@1
   155
            <sequential>
franta-hg@1
   156
                <property name="@{name}" value="${@{value}}"/>
franta-hg@1
   157
            </sequential>
franta-hg@1
   158
        </macrodef>
franta-hg@1
   159
    </target>
franta-hg@1
   160
    <target name="-init-macrodef-javac">
franta-hg@1
   161
        <macrodef name="javac" uri="http://www.netbeans.org/ns/j2ee-ejbjarproject/2">
franta-hg@1
   162
            <attribute default="${src.dir}" name="srcdir"/>
franta-hg@1
   163
            <attribute default="${build.classes.dir}" name="destdir"/>
franta-hg@1
   164
            <attribute default="${javac.classpath}:${j2ee.platform.classpath}" name="classpath"/>
franta-hg@1
   165
            <attribute default="${includes}" name="includes"/>
franta-hg@1
   166
            <attribute default="${excludes}" name="excludes"/>
franta-hg@1
   167
            <attribute default="${javac.debug}" name="debug"/>
franta-hg@1
   168
            <attribute default="${empty.dir}" name="gensrcdir"/>
franta-hg@1
   169
            <element name="customize" optional="true"/>
franta-hg@1
   170
            <sequential>
franta-hg@1
   171
                <property name="javac.compilerargs" value=""/>
franta-hg@1
   172
                <property location="${build.dir}/empty" name="empty.dir"/>
franta-hg@1
   173
                <mkdir dir="${empty.dir}"/>
franta-hg@1
   174
                <javac debug="@{debug}" deprecation="${javac.deprecation}" destdir="@{destdir}" encoding="${source.encoding}" excludes="@{excludes}" includeantruntime="false" includes="@{includes}" source="${javac.source}" srcdir="@{srcdir}" target="${javac.target}">
franta-hg@1
   175
                    <src>
franta-hg@1
   176
                        <dirset dir="@{gensrcdir}" erroronmissingdir="false">
franta-hg@1
   177
                            <include name="*"/>
franta-hg@1
   178
                        </dirset>
franta-hg@1
   179
                    </src>
franta-hg@1
   180
                    <classpath>
franta-hg@1
   181
                        <path path="@{classpath}"/>
franta-hg@1
   182
                    </classpath>
franta-hg@1
   183
                    <compilerarg line="${endorsed.classpath.cmd.line.arg}"/>
franta-hg@1
   184
                    <compilerarg line="${javac.compilerargs}"/>
franta-hg@1
   185
                    <customize/>
franta-hg@1
   186
                </javac>
franta-hg@1
   187
            </sequential>
franta-hg@1
   188
        </macrodef>
franta-hg@1
   189
    </target>
franta-hg@1
   190
    <target name="-init-macrodef-junit">
franta-hg@1
   191
        <macrodef name="junit" uri="http://www.netbeans.org/ns/j2ee-ejbjarproject/2">
franta-hg@1
   192
            <attribute default="${includes}" name="includes"/>
franta-hg@1
   193
            <attribute default="${excludes}" name="excludes"/>
franta-hg@1
   194
            <attribute default="**" name="testincludes"/>
franta-hg@1
   195
            <sequential>
franta-hg@1
   196
                <junit dir="${basedir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" showoutput="true" tempdir="${java.io.tmpdir}">
franta-hg@1
   197
                    <batchtest todir="${build.test.results.dir}">
franta-hg@1
   198
                        <fileset dir="${test.src.dir}" excludes="@{excludes},${excludes}" includes="@{includes}">
franta-hg@1
   199
                            <filename name="@{testincludes}"/>
franta-hg@1
   200
                        </fileset>
franta-hg@1
   201
                    </batchtest>
franta-hg@1
   202
                    <classpath>
franta-hg@1
   203
                        <path path="${run.test.classpath}"/>
franta-hg@1
   204
                        <path path="${j2ee.platform.classpath}"/>
franta-hg@1
   205
                        <path path="${j2ee.platform.embeddableejb.classpath}"/>
franta-hg@1
   206
                    </classpath>
franta-hg@1
   207
                    <syspropertyset>
franta-hg@1
   208
                        <propertyref prefix="test-sys-prop."/>
franta-hg@1
   209
                        <mapper from="test-sys-prop.*" to="*" type="glob"/>
franta-hg@1
   210
                    </syspropertyset>
franta-hg@1
   211
                    <formatter type="brief" usefile="false"/>
franta-hg@1
   212
                    <formatter type="xml"/>
franta-hg@1
   213
                    <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
franta-hg@1
   214
                    <jvmarg line="${runmain.jvmargs}"/>
franta-hg@1
   215
                </junit>
franta-hg@1
   216
            </sequential>
franta-hg@1
   217
        </macrodef>
franta-hg@1
   218
    </target>
franta-hg@1
   219
    <target name="-init-macrodef-java">
franta-hg@1
   220
        <macrodef name="java" uri="http://www.netbeans.org/ns/j2ee-ejbjarproject/3">
franta-hg@1
   221
            <attribute default="${main.class}" name="classname"/>
franta-hg@1
   222
            <element name="customize" optional="true"/>
franta-hg@1
   223
            <sequential>
franta-hg@1
   224
                <java classname="@{classname}" fork="true">
franta-hg@1
   225
                    <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
franta-hg@1
   226
                    <jvmarg line="${runmain.jvmargs}"/>
franta-hg@1
   227
                    <classpath>
franta-hg@1
   228
                        <path path="${build.classes.dir}:${javac.classpath}:${j2ee.platform.classpath}"/>
franta-hg@1
   229
                    </classpath>
franta-hg@1
   230
                    <syspropertyset>
franta-hg@1
   231
                        <propertyref prefix="run-sys-prop."/>
franta-hg@1
   232
                        <mapper from="run-sys-prop.*" to="*" type="glob"/>
franta-hg@1
   233
                    </syspropertyset>
franta-hg@1
   234
                    <customize/>
franta-hg@1
   235
                </java>
franta-hg@1
   236
            </sequential>
franta-hg@1
   237
        </macrodef>
franta-hg@1
   238
    </target>
franta-hg@1
   239
    <target depends="-init-debug-args" name="-init-macrodef-nbjpda">
franta-hg@1
   240
        <macrodef name="nbjpdastart" uri="http://www.netbeans.org/ns/j2ee-ejbjarproject/1">
franta-hg@1
   241
            <attribute default="${main.class}" name="name"/>
franta-hg@1
   242
            <attribute default="${debug.classpath}" name="classpath"/>
franta-hg@1
   243
            <sequential>
franta-hg@1
   244
                <nbjpdastart addressproperty="jpda.address" name="@{name}" transport="${debug-transport}">
franta-hg@1
   245
                    <classpath>
franta-hg@1
   246
                        <path path="@{classpath}"/>
franta-hg@1
   247
                    </classpath>
franta-hg@1
   248
                </nbjpdastart>
franta-hg@1
   249
            </sequential>
franta-hg@1
   250
        </macrodef>
franta-hg@1
   251
        <macrodef name="nbjpdareload" uri="http://www.netbeans.org/ns/j2ee-ejbjarproject/1">
franta-hg@1
   252
            <attribute default="${build.classes.dir}" name="dir"/>
franta-hg@1
   253
            <sequential>
franta-hg@1
   254
                <nbjpdareload>
franta-hg@1
   255
                    <fileset dir="@{dir}" includes="${fix.classes}">
franta-hg@1
   256
                        <include name="${fix.includes}*.class"/>
franta-hg@1
   257
                    </fileset>
franta-hg@1
   258
                </nbjpdareload>
franta-hg@1
   259
            </sequential>
franta-hg@1
   260
        </macrodef>
franta-hg@1
   261
        <macrodef name="nbjpdaappreloaded" uri="http://www.netbeans.org/ns/web-project/1">
franta-hg@1
   262
            <sequential>
franta-hg@1
   263
                <nbjpdaappreloaded/>
franta-hg@1
   264
            </sequential>
franta-hg@1
   265
        </macrodef>
franta-hg@1
   266
    </target>
franta-hg@1
   267
    <target name="-init-debug-args">
franta-hg@1
   268
        <property name="version-output" value="java version &quot;${ant.java.version}"/>
franta-hg@1
   269
        <condition property="have-jdk-older-than-1.4">
franta-hg@1
   270
            <or>
franta-hg@1
   271
                <contains string="${version-output}" substring="java version &quot;1.0"/>
franta-hg@1
   272
                <contains string="${version-output}" substring="java version &quot;1.1"/>
franta-hg@1
   273
                <contains string="${version-output}" substring="java version &quot;1.2"/>
franta-hg@1
   274
                <contains string="${version-output}" substring="java version &quot;1.3"/>
franta-hg@1
   275
            </or>
franta-hg@1
   276
        </condition>
franta-hg@1
   277
        <condition else="-Xdebug" property="debug-args-line" value="-Xdebug -Xnoagent -Djava.compiler=none">
franta-hg@1
   278
            <istrue value="${have-jdk-older-than-1.4}"/>
franta-hg@1
   279
        </condition>
franta-hg@1
   280
        <condition else="dt_socket" property="debug-transport-by-os" value="dt_shmem">
franta-hg@1
   281
            <os family="windows"/>
franta-hg@1
   282
        </condition>
franta-hg@1
   283
        <condition else="${debug-transport-by-os}" property="debug-transport" value="${debug.transport}">
franta-hg@1
   284
            <isset property="debug.transport"/>
franta-hg@1
   285
        </condition>
franta-hg@1
   286
    </target>
franta-hg@1
   287
    <target depends="-init-debug-args" name="-init-macrodef-debug">
franta-hg@1
   288
        <macrodef name="debug" uri="http://www.netbeans.org/ns/j2ee-ejbjarproject/1">
franta-hg@1
   289
            <attribute default="${main.class}" name="classname"/>
franta-hg@1
   290
            <attribute default="${debug.classpath}" name="classpath"/>
franta-hg@1
   291
            <attribute default="${application.args}" name="args"/>
franta-hg@1
   292
            <element name="customize" optional="true"/>
franta-hg@1
   293
            <sequential>
franta-hg@1
   294
                <java classname="@{classname}" fork="true">
franta-hg@1
   295
                    <jvmarg line="${debug-args-line}"/>
franta-hg@1
   296
                    <jvmarg value="-Xrunjdwp:transport=${debug-transport},address=${jpda.address}"/>
franta-hg@1
   297
                    <classpath>
franta-hg@1
   298
                        <path path="@{classpath}"/>
franta-hg@1
   299
                    </classpath>
franta-hg@1
   300
                    <arg line="@{args}"/>
franta-hg@1
   301
                    <customize/>
franta-hg@1
   302
                </java>
franta-hg@1
   303
            </sequential>
franta-hg@1
   304
        </macrodef>
franta-hg@1
   305
    </target>
franta-hg@1
   306
    <target name="-init-taskdefs">
franta-hg@1
   307
        <fail unless="libs.CopyLibs.classpath">
franta-hg@1
   308
The libs.CopyLibs.classpath property is not set up.
franta-hg@1
   309
This property must point to 
franta-hg@1
   310
org-netbeans-modules-java-j2seproject-copylibstask.jar file which is part
franta-hg@1
   311
of NetBeans IDE installation and is usually located at 
franta-hg@1
   312
&lt;netbeans_installation&gt;/java&lt;version&gt;/ant/extra folder.
franta-hg@1
   313
Either open the project in the IDE and make sure CopyLibs library
franta-hg@1
   314
exists or setup the property manually. For example like this:
franta-hg@1
   315
 ant -Dlibs.CopyLibs.classpath=a/path/to/org-netbeans-modules-java-j2seproject-copylibstask.jar
franta-hg@1
   316
                </fail>
franta-hg@1
   317
        <taskdef classpath="${libs.CopyLibs.classpath}" resource="org/netbeans/modules/java/j2seproject/copylibstask/antlib.xml"/>
franta-hg@1
   318
    </target>
franta-hg@1
   319
    <target 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-java,-init-macrodef-nbjpda,-init-macrodef-debug,-init-taskdefs" name="init"/>
franta-hg@1
   320
    <!--
franta-hg@1
   321
                COMPILATION SECTION
franta-hg@1
   322
            -->
franta-hg@1
   323
    <target depends="init" if="no.dist.ear.dir" name="-deps-module-jar" unless="no.deps">
franta-hg@1
   324
        <ant antfile="${project.SpringDemo1-lib}/build.xml" inheritall="false" target="jar">
franta-hg@1
   325
            <property name="deploy.on.save" value="false"/>
franta-hg@1
   326
        </ant>
franta-hg@1
   327
    </target>
franta-hg@1
   328
    <target depends="init" if="dist.ear.dir" name="-deps-ear-jar" unless="no.deps">
franta-hg@1
   329
        <ant antfile="${project.SpringDemo1-lib}/build.xml" inheritall="false" target="jar">
franta-hg@1
   330
            <property name="deploy.on.save" value="false"/>
franta-hg@1
   331
        </ant>
franta-hg@1
   332
    </target>
franta-hg@1
   333
    <target depends="init, -deps-module-jar, -deps-ear-jar" name="deps-jar"/>
franta-hg@1
   334
    <target depends="init,deps-jar" name="-pre-pre-compile">
franta-hg@1
   335
        <mkdir dir="${build.classes.dir}"/>
franta-hg@1
   336
        <mkdir dir="${build.ear.classes.dir}"/>
franta-hg@1
   337
    </target>
franta-hg@1
   338
    <target name="-pre-compile">
franta-hg@1
   339
        <!-- Empty placeholder for easier customization. -->
franta-hg@1
   340
        <!-- You can override this target in the ../build.xml file. -->
franta-hg@1
   341
    </target>
franta-hg@1
   342
    <target depends="compile" name="library-inclusion-in-archive">
franta-hg@1
   343
        <copyfiles files="${reference.SpringDemo1-lib.jar}" todir="${build.classes.dir}"/>
franta-hg@1
   344
        <copyfiles files="${libs.spring-framework.classpath}" todir="${build.classes.dir}"/>
franta-hg@1
   345
    </target>
franta-hg@1
   346
    <target depends="compile" name="library-inclusion-in-manifest">
franta-hg@1
   347
        <copyfiles files="${reference.SpringDemo1-lib.jar}" todir="${dist.ear.dir}/lib"/>
franta-hg@1
   348
        <copyfiles files="${libs.spring-framework.classpath}" todir="${dist.ear.dir}/lib"/>
franta-hg@1
   349
        <manifest file="${build.ear.classes.dir}/META-INF/MANIFEST.MF" mode="update"/>
franta-hg@1
   350
    </target>
franta-hg@1
   351
    <target name="-copy-meta-inf">
franta-hg@1
   352
        <copy todir="${classes.dir}">
franta-hg@1
   353
            <fileset dir="${meta.inf}" includes="**/*.dbschema"/>
franta-hg@1
   354
        </copy>
franta-hg@1
   355
        <copy todir="${classes.dir}/META-INF">
franta-hg@1
   356
            <fileset dir="${meta.inf}" excludes="**/*.dbschema **/xml-resources/** ${meta.inf.excludes}"/>
franta-hg@1
   357
        </copy>
franta-hg@1
   358
    </target>
franta-hg@1
   359
    <target depends="init,deps-jar,-pre-pre-compile,-pre-compile,-copy-meta-inf" if="have.sources" name="-do-compile">
franta-hg@1
   360
        <ejbjarproject2:javac destdir="${classes.dir}" gensrcdir="${build.generated.sources.dir}"/>
franta-hg@1
   361
        <copy todir="${classes.dir}">
franta-hg@1
   362
            <fileset dir="${src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
franta-hg@1
   363
        </copy>
franta-hg@1
   364
    </target>
franta-hg@1
   365
    <target name="-post-compile">
franta-hg@1
   366
        <!-- Empty placeholder for easier customization. -->
franta-hg@1
   367
        <!-- You can override this target in the ../build.xml file. -->
franta-hg@1
   368
    </target>
franta-hg@1
   369
    <target depends="init,deps-jar,-pre-pre-compile,-pre-compile,-do-compile,-post-compile" description="Compile project." name="compile"/>
franta-hg@1
   370
    <target name="-pre-compile-single">
franta-hg@1
   371
        <!-- Empty placeholder for easier customization. -->
franta-hg@1
   372
        <!-- You can override this target in the ../build.xml file. -->
franta-hg@1
   373
    </target>
franta-hg@1
   374
    <target depends="init,deps-jar,-pre-pre-compile" name="-do-compile-single">
franta-hg@1
   375
        <fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail>
franta-hg@1
   376
        <ejbjarproject2:javac excludes="" gensrcdir="${build.generated.sources.dir}" includes="${javac.includes}"/>
franta-hg@1
   377
    </target>
franta-hg@1
   378
    <target name="-post-compile-single">
franta-hg@1
   379
        <!-- Empty placeholder for easier customization. -->
franta-hg@1
   380
        <!-- You can override this target in the ../build.xml file. -->
franta-hg@1
   381
    </target>
franta-hg@1
   382
    <target depends="init,deps-jar,-pre-pre-compile,-pre-compile-single,-do-compile-single,-post-compile-single" name="compile-single"/>
franta-hg@1
   383
    <!--
franta-hg@1
   384
                DIST BUILDING SECTION
franta-hg@1
   385
            -->
franta-hg@1
   386
    <target name="-pre-dist">
franta-hg@1
   387
        <!-- Empty placeholder for easier customization. -->
franta-hg@1
   388
        <!-- You can override this target in the ../build.xml file. -->
franta-hg@1
   389
    </target>
franta-hg@1
   390
    <target depends="init,compile,-pre-dist,library-inclusion-in-archive" if="has.custom.manifest" name="-do-dist-with-manifest">
franta-hg@1
   391
        <dirname file="${dist.jar}" property="dist.jar.dir"/>
franta-hg@1
   392
        <mkdir dir="${dist.jar.dir}"/>
franta-hg@1
   393
        <jar compress="${jar.compress}" jarfile="${dist.jar}" manifest="${build.classes.dir}/META-INF/MANIFEST.MF">
franta-hg@1
   394
            <fileset dir="${build.classes.dir}"/>
franta-hg@1
   395
        </jar>
franta-hg@1
   396
    </target>
franta-hg@1
   397
    <target depends="init,compile,-pre-dist,library-inclusion-in-archive" name="-do-dist-without-manifest" unless="has.custom.manifest">
franta-hg@1
   398
        <dirname file="${dist.jar}" property="dist.jar.dir"/>
franta-hg@1
   399
        <mkdir dir="${dist.jar.dir}"/>
franta-hg@1
   400
        <jar compress="${jar.compress}" jarfile="${dist.jar}">
franta-hg@1
   401
            <fileset dir="${build.classes.dir}"/>
franta-hg@1
   402
        </jar>
franta-hg@1
   403
    </target>
franta-hg@1
   404
    <!--
franta-hg@1
   405
                TARGETS NEEDED TO SUPPORT DIRECTORY DEPLOYMENT
franta-hg@1
   406
            -->
franta-hg@1
   407
    <target depends="init,compile,-pre-dist,library-inclusion-in-archive" if="do.package.with.custom.manifest.not.directory.deploy" name="-do-tmp-dist-with-manifest">
franta-hg@1
   408
        <dirname file="${dist.jar}" property="dist.jar.dir"/>
franta-hg@1
   409
        <mkdir dir="${dist.jar.dir}"/>
franta-hg@1
   410
        <jar compress="${jar.compress}" jarfile="${dist.jar}" manifest="${build.classes.dir}/META-INF/MANIFEST.MF">
franta-hg@1
   411
            <fileset dir="${build.classes.dir}"/>
franta-hg@1
   412
        </jar>
franta-hg@1
   413
    </target>
franta-hg@1
   414
    <target depends="init,compile,-pre-dist,library-inclusion-in-archive" if="do.package.without.custom.manifest.not.directory.deploy" name="-do-tmp-dist-without-manifest">
franta-hg@1
   415
        <dirname file="${dist.jar}" property="dist.jar.dir"/>
franta-hg@1
   416
        <mkdir dir="${dist.jar.dir}"/>
franta-hg@1
   417
        <jar compress="${jar.compress}" jarfile="${dist.jar}">
franta-hg@1
   418
            <fileset dir="${build.classes.dir}"/>
franta-hg@1
   419
        </jar>
franta-hg@1
   420
    </target>
franta-hg@1
   421
    <target depends="init,compile,-pre-dist,library-inclusion-in-archive, -do-tmp-dist-without-manifest, -do-tmp-dist-with-manifest" name="-do-dist-directory-deploy"/>
franta-hg@1
   422
    <target depends="init,compile,-pre-dist,-do-dist-directory-deploy,-post-dist" description="Build distribution (JAR) - if directory deployment is not supported." name="dist-directory-deploy"/>
franta-hg@1
   423
    <!--
franta-hg@1
   424
                END TARGETS NEEDED TO SUPPORT DIRECTORY DEPLOYMENT
franta-hg@1
   425
            -->
franta-hg@1
   426
    <target depends="init,compile,-pre-dist,library-inclusion-in-archive, -do-dist-without-manifest, -do-dist-with-manifest" name="-do-dist"/>
franta-hg@1
   427
    <target depends="init,compile,-pre-dist,library-inclusion-in-manifest" name="-do-ear-dist">
franta-hg@1
   428
        <dirname file="${dist.ear.jar}" property="dist.jar.dir"/>
franta-hg@1
   429
        <mkdir dir="${dist.jar.dir}"/>
franta-hg@1
   430
        <jar compress="${jar.compress}" jarfile="${dist.ear.jar}" manifest="${build.ear.classes.dir}/META-INF/MANIFEST.MF">
franta-hg@1
   431
            <fileset dir="${build.ear.classes.dir}"/>
franta-hg@1
   432
        </jar>
franta-hg@1
   433
    </target>
franta-hg@1
   434
    <target name="-post-dist">
franta-hg@1
   435
        <!-- Empty placeholder for easier customization. -->
franta-hg@1
   436
        <!-- You can override this target in the ../build.xml file. -->
franta-hg@1
   437
    </target>
franta-hg@1
   438
    <target depends="init,compile,-pre-dist,-do-dist,-post-dist" description="Build distribution (JAR)." name="dist"/>
franta-hg@1
   439
    <target depends="init,-init-cos,compile,-pre-dist,-do-ear-dist,-post-dist" description="Build distribution (JAR) to be packaged into an EAR." name="dist-ear"/>
franta-hg@1
   440
    <!--
franta-hg@1
   441
                EXECUTION SECTION
franta-hg@1
   442
            -->
franta-hg@1
   443
    <target depends="run-deploy" description="Deploy to server." name="run"/>
franta-hg@1
   444
    <target name="-init-deploy">
franta-hg@1
   445
        <property name="include.jar.manifest" value=""/>
franta-hg@1
   446
    </target>
franta-hg@1
   447
    <target name="pre-run-deploy">
franta-hg@1
   448
        <!-- Empty placeholder for easier customization. -->
franta-hg@1
   449
        <!-- You can override this target in the ../build.xml file. -->
franta-hg@1
   450
    </target>
franta-hg@1
   451
    <target name="post-run-deploy">
franta-hg@1
   452
        <!-- Empty placeholder for easier customization. -->
franta-hg@1
   453
        <!-- You can override this target in the ../build.xml file. -->
franta-hg@1
   454
    </target>
franta-hg@1
   455
    <target name="-pre-nbmodule-run-deploy">
franta-hg@1
   456
        <!-- Empty placeholder for easier customization. -->
franta-hg@1
   457
        <!-- This target can be overriden by NetBeans modules. Don't override it directly, use -pre-run-deploy task instead. -->
franta-hg@1
   458
    </target>
franta-hg@1
   459
    <target name="-post-nbmodule-run-deploy">
franta-hg@1
   460
        <!-- Empty placeholder for easier customization. -->
franta-hg@1
   461
        <!-- This target can be overriden by NetBeans modules. Don't override it directly, use -post-run-deploy task instead. -->
franta-hg@1
   462
    </target>
franta-hg@1
   463
    <target name="-run-deploy-am">
franta-hg@1
   464
        <!-- Task to deploy to the Access Manager runtime. -->
franta-hg@1
   465
    </target>
franta-hg@1
   466
    <target depends="init,-init-cos,-init-deploy,compile,library-inclusion-in-archive,dist-directory-deploy,pre-run-deploy,-pre-nbmodule-run-deploy,-run-deploy-nb,-init-deploy-ant,-deploy-ant,-run-deploy-am,-post-nbmodule-run-deploy,post-run-deploy" name="run-deploy">
franta-hg@1
   467
        <nbjpdaappreloaded/>
franta-hg@1
   468
    </target>
franta-hg@1
   469
    <target if="netbeans.home" name="-run-deploy-nb">
franta-hg@1
   470
        <nbdeploy debugmode="false" forceRedeploy="${forceRedeploy}"/>
franta-hg@1
   471
    </target>
franta-hg@1
   472
    <target name="-init-deploy-ant" unless="netbeans.home">
franta-hg@1
   473
        <property name="deploy.ant.archive" value="${dist.jar}"/>
franta-hg@1
   474
        <property name="deploy.ant.resource.dir" value="${resource.dir}"/>
franta-hg@1
   475
        <property name="deploy.ant.enabled" value="true"/>
franta-hg@1
   476
    </target>
franta-hg@1
   477
    <target depends="dist,-run-undeploy-nb,-init-deploy-ant,-undeploy-ant" name="run-undeploy"/>
franta-hg@1
   478
    <target if="netbeans.home" name="-run-undeploy-nb">
franta-hg@1
   479
        <fail message="Undeploy is not supported from within the IDE"/>
franta-hg@1
   480
    </target>
franta-hg@1
   481
    <target depends="dist" name="verify">
franta-hg@1
   482
        <nbverify file="${dist.jar}"/>
franta-hg@1
   483
    </target>
franta-hg@1
   484
    <target depends="init,compile-single" name="run-main">
franta-hg@1
   485
        <fail unless="run.class">Must select one file in the IDE or set run.class</fail>
franta-hg@1
   486
        <ejbjarproject3:java classname="${run.class}"/>
franta-hg@1
   487
    </target>
franta-hg@1
   488
    <!--
franta-hg@1
   489
                DEBUGGING SECTION
franta-hg@1
   490
            -->
franta-hg@1
   491
    <target depends="init,compile,dist-directory-deploy" description="Debug project in IDE." if="netbeans.home" name="debug">
franta-hg@1
   492
        <nbdeploy debugmode="true"/>
franta-hg@1
   493
        <antcall target="connect-debugger"/>
franta-hg@1
   494
    </target>
franta-hg@1
   495
    <target name="connect-debugger" unless="is.debugged">
franta-hg@1
   496
        <nbjpdaconnect address="${jpda.address}" host="${jpda.host}" name="${name}" transport="${jpda.transport}">
franta-hg@1
   497
            <classpath>
franta-hg@1
   498
                <path path="${debug.classpath}"/>
franta-hg@1
   499
            </classpath>
franta-hg@1
   500
            <sourcepath>
franta-hg@1
   501
                <path path="${web.docbase.dir}"/>
franta-hg@1
   502
            </sourcepath>
franta-hg@1
   503
        </nbjpdaconnect>
franta-hg@1
   504
    </target>
franta-hg@1
   505
    <target depends="init" if="netbeans.home" name="-debug-start-debugger">
franta-hg@1
   506
        <ejbjarproject1:nbjpdastart/>
franta-hg@1
   507
    </target>
franta-hg@1
   508
    <target depends="init,compile-single" if="netbeans.home" name="-debug-start-debuggee-single">
franta-hg@1
   509
        <fail unless="main.class">Must select one file in the IDE or set main.class</fail>
franta-hg@1
   510
        <ejbjarproject1:debug/>
franta-hg@1
   511
    </target>
franta-hg@1
   512
    <target depends="init,compile-single,-debug-start-debugger,-debug-start-debuggee-single" if="netbeans.home" name="debug-single-main"/>
franta-hg@1
   513
    <target depends="init" name="-pre-debug-fix">
franta-hg@1
   514
        <fail unless="fix.includes">Must set fix.includes</fail>
franta-hg@1
   515
        <property name="javac.includes" value="${fix.includes}.java"/>
franta-hg@1
   516
    </target>
franta-hg@1
   517
    <target depends="init,-pre-debug-fix,compile-single" if="netbeans.home" name="-do-debug-fix">
franta-hg@1
   518
        <ejbjarproject1:nbjpdareload/>
franta-hg@1
   519
    </target>
franta-hg@1
   520
    <target depends="init,-pre-debug-fix,-do-debug-fix" if="netbeans.home" name="debug-fix"/>
franta-hg@1
   521
    <!--
franta-hg@1
   522
                JAVADOC SECTION
franta-hg@1
   523
            -->
franta-hg@1
   524
    <target depends="init" name="javadoc-build">
franta-hg@1
   525
        <mkdir dir="${dist.javadoc.dir}"/>
franta-hg@1
   526
        <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}">
franta-hg@1
   527
            <classpath>
franta-hg@1
   528
                <path path="${javac.classpath}:${j2ee.platform.classpath}"/>
franta-hg@1
   529
            </classpath>
franta-hg@1
   530
            <fileset dir="${src.dir}" excludes="${excludes}" includes="${includes}">
franta-hg@1
   531
                <filename name="**/*.java"/>
franta-hg@1
   532
            </fileset>
franta-hg@1
   533
            <fileset dir="${build.generated.sources.dir}" erroronmissingdir="false">
franta-hg@1
   534
                <include name="**/*.java"/>
franta-hg@1
   535
            </fileset>
franta-hg@1
   536
        </javadoc>
franta-hg@1
   537
    </target>
franta-hg@1
   538
    <target depends="init,javadoc-build" if="netbeans.home" name="javadoc-browse" unless="no.javadoc.preview">
franta-hg@1
   539
        <nbbrowse file="${dist.javadoc.dir}/index.html"/>
franta-hg@1
   540
    </target>
franta-hg@1
   541
    <target depends="init,javadoc-build,javadoc-browse" description="Build Javadoc." name="javadoc"/>
franta-hg@1
   542
    <!--
franta-hg@1
   543
                JUNIT COMPILATION SECTION
franta-hg@1
   544
            -->
franta-hg@1
   545
    <target depends="init,compile" if="have.tests" name="-pre-pre-compile-test">
franta-hg@1
   546
        <mkdir dir="${build.test.classes.dir}"/>
franta-hg@1
   547
        <property name="j2ee.platform.embeddableejb.classpath" value=""/>
franta-hg@1
   548
    </target>
franta-hg@1
   549
    <target name="-pre-compile-test">
franta-hg@1
   550
        <!-- Empty placeholder for easier customization. -->
franta-hg@1
   551
        <!-- You can override this target in the ../build.xml file. -->
franta-hg@1
   552
    </target>
franta-hg@1
   553
    <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test" if="have.tests" name="-do-compile-test">
franta-hg@1
   554
        <ejbjarproject2:javac classpath="${javac.test.classpath}:${j2ee.platform.classpath}:${j2ee.platform.embeddableejb.classpath}" debug="true" destdir="${build.test.classes.dir}" srcdir="${test.src.dir}"/>
franta-hg@1
   555
        <copy todir="${build.test.classes.dir}">
franta-hg@1
   556
            <fileset dir="${test.src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
franta-hg@1
   557
        </copy>
franta-hg@1
   558
    </target>
franta-hg@1
   559
    <target name="-post-compile-test">
franta-hg@1
   560
        <!-- Empty placeholder for easier customization. -->
franta-hg@1
   561
        <!-- You can override this target in the ../build.xml file. -->
franta-hg@1
   562
    </target>
franta-hg@1
   563
    <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test,-do-compile-test,-post-compile-test" name="compile-test"/>
franta-hg@1
   564
    <target name="-pre-compile-test-single">
franta-hg@1
   565
        <!-- Empty placeholder for easier customization. -->
franta-hg@1
   566
        <!-- You can override this target in the ../build.xml file. -->
franta-hg@1
   567
    </target>
franta-hg@1
   568
    <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test-single" if="have.tests" name="-do-compile-test-single">
franta-hg@1
   569
        <fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail>
franta-hg@1
   570
        <ejbjarproject2:javac classpath="${javac.test.classpath}:${j2ee.platform.classpath}:${j2ee.platform.embeddableejb.classpath}" debug="true" destdir="${build.test.classes.dir}" excludes="" includes="${javac.includes}" srcdir="${test.src.dir}"/>
franta-hg@1
   571
    </target>
franta-hg@1
   572
    <target name="-post-compile-test-single">
franta-hg@1
   573
        <!-- Empty placeholder for easier customization. -->
franta-hg@1
   574
        <!-- You can override this target in the ../build.xml file. -->
franta-hg@1
   575
    </target>
franta-hg@1
   576
    <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test-single,-do-compile-test-single,-post-compile-test-single" name="compile-test-single"/>
franta-hg@1
   577
    <!--
franta-hg@1
   578
                JUNIT EXECUTION SECTION
franta-hg@1
   579
            -->
franta-hg@1
   580
    <target depends="init" if="have.tests" name="-pre-test-run">
franta-hg@1
   581
        <mkdir dir="${build.test.results.dir}"/>
franta-hg@1
   582
    </target>
franta-hg@1
   583
    <target depends="init,compile-test,-pre-test-run" if="have.tests" name="-do-test-run">
franta-hg@1
   584
        <ejbjarproject2:junit testincludes="**/*Test.java"/>
franta-hg@1
   585
    </target>
franta-hg@1
   586
    <target depends="init,compile-test,-pre-test-run,-do-test-run" if="have.tests" name="-post-test-run">
franta-hg@1
   587
        <fail if="tests.failed" unless="ignore.failing.tests">Some tests failed; see details above.</fail>
franta-hg@1
   588
    </target>
franta-hg@1
   589
    <target depends="init" if="have.tests" name="test-report"/>
franta-hg@1
   590
    <target depends="init" if="netbeans.home+have.tests" name="-test-browse"/>
franta-hg@1
   591
    <target depends="init,compile-test,-pre-test-run,-do-test-run,test-report,-post-test-run,-test-browse" description="Run unit tests." name="test"/>
franta-hg@1
   592
    <target depends="init" if="have.tests" name="-pre-test-run-single">
franta-hg@1
   593
        <mkdir dir="${build.test.results.dir}"/>
franta-hg@1
   594
    </target>
franta-hg@1
   595
    <target depends="init,compile-test-single,-pre-test-run-single" if="have.tests" name="-do-test-run-single">
franta-hg@1
   596
        <fail unless="test.includes">Must select some files in the IDE or set test.includes</fail>
franta-hg@1
   597
        <ejbjarproject2:junit excludes="" includes="${test.includes}"/>
franta-hg@1
   598
    </target>
franta-hg@1
   599
    <target depends="init,compile-test-single,-pre-test-run-single,-do-test-run-single" if="have.tests" name="-post-test-run-single">
franta-hg@1
   600
        <fail if="tests.failed" unless="ignore.failing.tests">Some tests failed; see details above.</fail>
franta-hg@1
   601
    </target>
franta-hg@1
   602
    <target depends="init,compile-test-single,-pre-test-run-single,-do-test-run-single,-post-test-run-single" description="Run single unit test." name="test-single"/>
franta-hg@1
   603
    <!--
franta-hg@1
   604
                JUNIT DEBUGGING SECTION
franta-hg@1
   605
            -->
franta-hg@1
   606
    <target depends="init,compile-test" if="have.tests" name="-debug-start-debuggee-test">
franta-hg@1
   607
        <fail unless="test.class">Must select one file in the IDE or set test.class</fail>
franta-hg@1
   608
        <property location="${build.test.results.dir}/TEST-${test.class}.xml" name="test.report.file"/>
franta-hg@1
   609
        <delete file="${test.report.file}"/>
franta-hg@1
   610
        <!-- the directory must exist, otherwise the XML formatter would fail -->
franta-hg@1
   611
        <mkdir dir="${build.test.results.dir}"/>
franta-hg@1
   612
        <ejbjarproject1:debug args="${test.class}" classname="org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner" classpath="${ant.home}/lib/ant.jar:${ant.home}/lib/ant-junit.jar:${debug.test.classpath}:${j2ee.platform.embeddableejb.classpath}">
franta-hg@1
   613
            <customize>
franta-hg@1
   614
                <arg value="showoutput=true"/>
franta-hg@1
   615
                <arg value="formatter=org.apache.tools.ant.taskdefs.optional.junit.BriefJUnitResultFormatter"/>
franta-hg@1
   616
                <arg value="formatter=org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter,${test.report.file}"/>
franta-hg@1
   617
            </customize>
franta-hg@1
   618
        </ejbjarproject1:debug>
franta-hg@1
   619
    </target>
franta-hg@1
   620
    <target depends="init,compile-test" if="netbeans.home+have.tests" name="-debug-start-debugger-test">
franta-hg@1
   621
        <ejbjarproject1:nbjpdastart classpath="${debug.test.classpath}" name="${test.class}"/>
franta-hg@1
   622
    </target>
franta-hg@1
   623
    <target depends="init,compile-test,-debug-start-debugger-test,-debug-start-debuggee-test" name="debug-test"/>
franta-hg@1
   624
    <target depends="init,-pre-debug-fix,compile-test-single" if="netbeans.home" name="-do-debug-fix-test">
franta-hg@1
   625
        <ejbjarproject1:nbjpdareload dir="${build.test.classes.dir}"/>
franta-hg@1
   626
    </target>
franta-hg@1
   627
    <target depends="init,-pre-debug-fix,-do-debug-fix-test" if="netbeans.home" name="debug-fix-test"/>
franta-hg@1
   628
    <!--
franta-hg@1
   629
                CLEANUP SECTION
franta-hg@1
   630
            -->
franta-hg@1
   631
    <target depends="init" if="no.dist.ear.dir" name="deps-clean" unless="no.deps">
franta-hg@1
   632
        <ant antfile="${project.SpringDemo1-lib}/build.xml" inheritall="false" target="clean"/>
franta-hg@1
   633
    </target>
franta-hg@1
   634
    <target depends="init" name="-do-clean">
franta-hg@1
   635
        <delete dir="${build.dir}"/>
franta-hg@1
   636
        <delete dir="${dist.dir}"/>
franta-hg@1
   637
    </target>
franta-hg@1
   638
    <target name="-post-clean">
franta-hg@1
   639
        <!-- Empty placeholder for easier customization. -->
franta-hg@1
   640
        <!-- You can override this target in the ../build.xml file. -->
franta-hg@1
   641
    </target>
franta-hg@1
   642
    <target depends="init" if="netbeans.home" name="undeploy-clean">
franta-hg@1
   643
        <nbundeploy failOnError="false" startServer="false"/>
franta-hg@1
   644
    </target>
franta-hg@1
   645
    <target depends="init,undeploy-clean,deps-clean,-do-clean,-post-clean" description="Clean build products." name="clean"/>
franta-hg@1
   646
    <target depends="clean" name="clean-ear"/>
franta-hg@1
   647
</project>