java/nekurak.net-ejb/nbproject/build-impl.xml
author František Kučera <franta-hg@frantovo.cz>
Fri, 15 Jul 2011 22:25:39 +0200
changeset 186 b0f7d9ab4a07
parent 151 d7b5099bf65e
child 188 74d06a8a4948
permissions -rw-r--r--
Glassfish 3.1.1
     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 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="nekurak.net-ejb-impl">
    19     <import file="ant-deploy.xml"/>
    20     <fail message="Please build using Ant 1.7.1 or higher.">
    21         <condition>
    22             <not>
    23                 <antversion atleast="1.7.1"/>
    24             </not>
    25         </condition>
    26     </fail>
    27     <target depends="dist,javadoc" description="Build whole project." name="default"/>
    28     <!-- 
    29                 INITIALIZATION SECTION 
    30             -->
    31     <target name="-pre-init">
    32         <!-- Empty placeholder for easier customization. -->
    33         <!-- You can override this target in the ../build.xml file. -->
    34     </target>
    35     <target depends="-pre-init" name="-init-private">
    36         <property file="nbproject/private/private.properties"/>
    37     </target>
    38     <target depends="-pre-init,-init-private" name="-init-userdir">
    39         <property location="${netbeans.user}/build.properties" name="user.properties.file"/>
    40     </target>
    41     <target depends="-pre-init,-init-private,-init-userdir" name="-init-user">
    42         <property file="${user.properties.file}"/>
    43         <!-- The two properties below are usually overridden -->
    44         <!-- by the active platform. Just a fallback. -->
    45         <property name="default.javac.source" value="1.4"/>
    46         <property name="default.javac.target" value="1.4"/>
    47     </target>
    48     <target depends="-pre-init,-init-private,-init-userdir,-init-user" name="-init-project">
    49         <property file="nbproject/project.properties"/>
    50     </target>
    51     <target depends="-pre-init,-init-private,-init-userdir,-init-user,-init-project,-init-macrodef-property" name="-do-init">
    52         <!-- Ensure configuration directory exists. -->
    53         <mkdir dir="${meta.inf}"/>
    54         <property name="runmain.jvmargs" value=""/>
    55         <condition property="have.tests">
    56             <or>
    57                 <available file="${test.src.dir}"/>
    58             </or>
    59         </condition>
    60         <condition property="have.sources">
    61             <or>
    62                 <available file="${src.dir}"/>
    63             </or>
    64         </condition>
    65         <condition property="netbeans.home+have.tests">
    66             <and>
    67                 <isset property="netbeans.home"/>
    68                 <isset property="have.tests"/>
    69             </and>
    70         </condition>
    71         <condition property="no.javadoc.preview">
    72             <isfalse value="${javadoc.preview}"/>
    73         </condition>
    74         <available file="${meta.inf}/MANIFEST.MF" property="has.custom.manifest"/>
    75         <!--
    76                     Variables needed to support directory deployment.
    77                 -->
    78         <condition property="do.package.with.custom.manifest.not.directory.deploy">
    79             <and>
    80                 <isset property="has.custom.manifest"/>
    81                 <isfalse value="${directory.deployment.supported}"/>
    82             </and>
    83         </condition>
    84         <condition property="do.package.without.custom.manifest.not.directory.deploy">
    85             <and>
    86                 <not>
    87                     <isset property="has.custom.manifest"/>
    88                 </not>
    89                 <isfalse value="${directory.deployment.supported}"/>
    90             </and>
    91         </condition>
    92         <!--End Variables needed to support directory deployment.-->
    93         <condition property="classes.dir" value="${build.ear.classes.dir}">
    94             <isset property="dist.ear.dir"/>
    95         </condition>
    96         <property name="classes.dir" value="${build.classes.dir}"/>
    97         <condition property="no.deps">
    98             <and>
    99                 <istrue value="${no.dependencies}"/>
   100             </and>
   101         </condition>
   102         <condition property="no.dist.ear.dir">
   103             <not>
   104                 <isset property="dist.ear.dir"/>
   105             </not>
   106         </condition>
   107         <property name="source.encoding" value="${file.encoding}"/>
   108         <condition property="javadoc.encoding.used" value="${javadoc.encoding}">
   109             <and>
   110                 <isset property="javadoc.encoding"/>
   111                 <not>
   112                     <equals arg1="${javadoc.encoding}" arg2=""/>
   113                 </not>
   114             </and>
   115         </condition>
   116         <property name="javadoc.encoding.used" value="${source.encoding}"/>
   117         <property name="includes" value="**"/>
   118         <property name="excludes" value=""/>
   119         <path id="endorsed.classpath.path" path="${endorsed.classpath}"/>
   120         <condition else="" property="endorsed.classpath.cmd.line.arg" value="-Xbootclasspath/p:'${toString:endorsed.classpath.path}'">
   121             <and>
   122                 <isset property="endorsed.classpath"/>
   123                 <length length="0" string="${endorsed.classpath}" when="greater"/>
   124             </and>
   125         </condition>
   126         <condition property="is.server.weblogic" value="true">
   127             <equals arg1="${j2ee.server.type}" arg2="WebLogic9"/>
   128         </condition>
   129         <condition else="false" property="jdkBug6558476">
   130             <and>
   131                 <matches pattern="1\.[56]" string="${java.specification.version}"/>
   132                 <not>
   133                     <os family="unix"/>
   134                 </not>
   135             </and>
   136         </condition>
   137         <property name="javac.fork" value="${jdkBug6558476}"/>
   138     </target>
   139     <target depends="init" name="-init-cos" unless="deploy.on.save">
   140         <condition property="deploy.on.save" value="true">
   141             <istrue value="${j2ee.deploy.on.save}"/>
   142         </condition>
   143     </target>
   144     <target name="-post-init">
   145         <!-- Empty placeholder for easier customization. -->
   146         <!-- You can override this target in the ../build.xml file. -->
   147     </target>
   148     <target depends="-pre-init,-init-private,-init-userdir,-init-user,-init-project,-do-init" name="-init-check">
   149         <fail unless="src.dir">Must set src.dir</fail>
   150         <fail unless="test.src.dir">Must set test.src.dir</fail>
   151         <fail unless="build.dir">Must set build.dir</fail>
   152         <fail unless="build.generated.dir">Must set build.generated.dir</fail>
   153         <fail unless="dist.dir">Must set dist.dir</fail>
   154         <fail unless="build.classes.dir">Must set build.classes.dir</fail>
   155         <fail unless="dist.javadoc.dir">Must set dist.javadoc.dir</fail>
   156         <fail unless="build.classes.excludes">Must set build.classes.excludes</fail>
   157         <fail unless="dist.jar">Must set dist.jar</fail>
   158         <condition property="missing.j2ee.server.home">
   159             <and>
   160                 <matches pattern="j2ee.server.home" string="${j2ee.platform.classpath}"/>
   161                 <not>
   162                     <isset property="j2ee.server.home"/>
   163                 </not>
   164             </and>
   165         </condition>
   166         <fail if="missing.j2ee.server.home">
   167 The Java EE server classpath is not correctly set up - server home directory is missing.
   168 Either open the project in the IDE and assign the server or setup the server classpath manually.
   169 For example like this:
   170    ant -Dj2ee.server.home=&lt;app_server_installation_directory&gt;
   171                 </fail>
   172         <fail unless="j2ee.platform.classpath">
   173 The Java EE server classpath is not correctly set up. Your active server type is ${j2ee.server.type}.
   174 Either open the project in the IDE and assign the server or setup the server classpath manually.
   175 For example like this:
   176    ant -Duser.properties.file=&lt;path_to_property_file&gt; (where you put the property "j2ee.platform.classpath" in a .properties file)
   177 or ant -Dj2ee.platform.classpath=&lt;server_classpath&gt; (where no properties file is used)
   178                 </fail>
   179     </target>
   180     <target name="-init-macrodef-property">
   181         <macrodef name="property" uri="http://www.netbeans.org/ns/j2ee-ejbjarproject/1">
   182             <attribute name="name"/>
   183             <attribute name="value"/>
   184             <sequential>
   185                 <property name="@{name}" value="${@{value}}"/>
   186             </sequential>
   187         </macrodef>
   188     </target>
   189     <target depends="-init-ap-cmdline-properties" if="ap.supported.internal" name="-init-macrodef-javac-with-processors">
   190         <macrodef name="javac" uri="http://www.netbeans.org/ns/j2ee-ejbjarproject/2">
   191             <attribute default="${src.dir}" name="srcdir"/>
   192             <attribute default="${build.classes.dir}" name="destdir"/>
   193             <attribute default="${javac.classpath}:${j2ee.platform.classpath}" name="classpath"/>
   194             <attribute default="${javac.processorpath}" name="processorpath"/>
   195             <attribute default="${build.generated.sources.dir}/ap-source-output" name="apgeneratedsrcdir"/>
   196             <attribute default="${includes}" name="includes"/>
   197             <attribute default="${excludes}" name="excludes"/>
   198             <attribute default="${javac.debug}" name="debug"/>
   199             <attribute default="${empty.dir}" name="gensrcdir"/>
   200             <element name="customize" optional="true"/>
   201             <sequential>
   202                 <property name="javac.compilerargs" value=""/>
   203                 <property location="${build.dir}/empty" name="empty.dir"/>
   204                 <mkdir dir="${empty.dir}"/>
   205                 <mkdir dir="@{apgeneratedsrcdir}"/>
   206                 <javac debug="@{debug}" deprecation="${javac.deprecation}" destdir="@{destdir}" encoding="${source.encoding}" excludes="@{excludes}" fork="${javac.fork}" includeantruntime="false" includes="@{includes}" source="${javac.source}" srcdir="@{srcdir}" target="${javac.target}">
   207                     <src>
   208                         <dirset dir="@{gensrcdir}" erroronmissingdir="false">
   209                             <include name="*"/>
   210                         </dirset>
   211                     </src>
   212                     <classpath>
   213                         <path path="@{classpath}"/>
   214                     </classpath>
   215                     <compilerarg line="${endorsed.classpath.cmd.line.arg}"/>
   216                     <compilerarg line="${javac.compilerargs}"/>
   217                     <compilerarg value="-processorpath"/>
   218                     <compilerarg path="@{processorpath}:${empty.dir}"/>
   219                     <compilerarg line="${ap.processors.internal}"/>
   220                     <compilerarg value="-s"/>
   221                     <compilerarg path="@{apgeneratedsrcdir}"/>
   222                     <compilerarg line="${ap.proc.none.internal}"/>
   223                     <customize/>
   224                 </javac>
   225             </sequential>
   226         </macrodef>
   227     </target>
   228     <target depends="-init-ap-cmdline-properties" name="-init-macrodef-javac-without-processors" unless="ap.supported.internal">
   229         <macrodef name="javac" uri="http://www.netbeans.org/ns/j2ee-ejbjarproject/2">
   230             <attribute default="${src.dir}" name="srcdir"/>
   231             <attribute default="${build.classes.dir}" name="destdir"/>
   232             <attribute default="${javac.classpath}:${j2ee.platform.classpath}" name="classpath"/>
   233             <attribute default="${javac.processorpath}" name="processorpath"/>
   234             <attribute default="${build.generated.sources.dir}/ap-source-output" name="apgeneratedsrcdir"/>
   235             <attribute default="${includes}" name="includes"/>
   236             <attribute default="${excludes}" name="excludes"/>
   237             <attribute default="${javac.debug}" name="debug"/>
   238             <attribute default="${empty.dir}" name="gensrcdir"/>
   239             <element name="customize" optional="true"/>
   240             <sequential>
   241                 <property name="javac.compilerargs" value=""/>
   242                 <property location="${build.dir}/empty" name="empty.dir"/>
   243                 <mkdir dir="${empty.dir}"/>
   244                 <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}">
   245                     <src>
   246                         <dirset dir="@{gensrcdir}" erroronmissingdir="false">
   247                             <include name="*"/>
   248                         </dirset>
   249                     </src>
   250                     <classpath>
   251                         <path path="@{classpath}"/>
   252                     </classpath>
   253                     <compilerarg line="${endorsed.classpath.cmd.line.arg}"/>
   254                     <compilerarg line="${javac.compilerargs}"/>
   255                     <customize/>
   256                 </javac>
   257             </sequential>
   258         </macrodef>
   259     </target>
   260     <target depends="-init-macrodef-javac-with-processors,-init-macrodef-javac-without-processors" name="-init-macrodef-javac">
   261         <macrodef name="depend" uri="http://www.netbeans.org/ns/j2ee-ejbjarproject/2">
   262             <attribute default="${src.dir}" name="srcdir"/>
   263             <attribute default="${build.classes.dir}" name="destdir"/>
   264             <attribute default="${javac.classpath}:${j2ee.platform.classpath}" name="classpath"/>
   265             <sequential>
   266                 <depend cache="${build.dir}/depcache" destdir="@{destdir}" excludes="${excludes}" includes="${includes}" srcdir="@{srcdir}">
   267                     <classpath>
   268                         <path path="@{classpath}"/>
   269                     </classpath>
   270                 </depend>
   271             </sequential>
   272         </macrodef>
   273         <macrodef name="force-recompile" uri="http://www.netbeans.org/ns/j2ee-ejbjarproject/2">
   274             <attribute default="${build.classes.dir}" name="destdir"/>
   275             <sequential>
   276                 <fail unless="javac.includes">Must set javac.includes</fail>
   277                 <pathconvert pathsep="${line.separator}" property="javac.includes.binary">
   278                     <path>
   279                         <filelist dir="@{destdir}" files="${javac.includes}"/>
   280                     </path>
   281                     <globmapper from="*.java" to="*.class"/>
   282                 </pathconvert>
   283                 <tempfile deleteonexit="true" property="javac.includesfile.binary"/>
   284                 <echo file="${javac.includesfile.binary}" message="${javac.includes.binary}"/>
   285                 <delete>
   286                     <files includesfile="${javac.includesfile.binary}"/>
   287                 </delete>
   288                 <delete file="${javac.includesfile.binary}"/>
   289             </sequential>
   290         </macrodef>
   291     </target>
   292     <target name="-init-macrodef-junit">
   293         <macrodef name="junit" uri="http://www.netbeans.org/ns/j2ee-ejbjarproject/2">
   294             <attribute default="${includes}" name="includes"/>
   295             <attribute default="${excludes}" name="excludes"/>
   296             <attribute default="**" name="testincludes"/>
   297             <sequential>
   298                 <junit dir="${basedir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" showoutput="true" tempdir="${java.io.tmpdir}">
   299                     <batchtest todir="${build.test.results.dir}">
   300                         <fileset dir="${test.src.dir}" excludes="@{excludes},${excludes}" includes="@{includes}">
   301                             <filename name="@{testincludes}"/>
   302                         </fileset>
   303                     </batchtest>
   304                     <classpath>
   305                         <path path="${run.test.classpath}"/>
   306                         <path path="${j2ee.platform.classpath}"/>
   307                         <path path="${j2ee.platform.embeddableejb.classpath}"/>
   308                     </classpath>
   309                     <syspropertyset>
   310                         <propertyref prefix="test-sys-prop."/>
   311                         <mapper from="test-sys-prop.*" to="*" type="glob"/>
   312                     </syspropertyset>
   313                     <formatter type="brief" usefile="false"/>
   314                     <formatter type="xml"/>
   315                     <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
   316                     <jvmarg value="-ea"/>
   317                     <jvmarg line="${runmain.jvmargs}"/>
   318                 </junit>
   319             </sequential>
   320         </macrodef>
   321     </target>
   322     <target name="-init-macrodef-java">
   323         <macrodef name="java" uri="http://www.netbeans.org/ns/j2ee-ejbjarproject/3">
   324             <attribute default="${main.class}" name="classname"/>
   325             <element name="customize" optional="true"/>
   326             <sequential>
   327                 <java classname="@{classname}" fork="true">
   328                     <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
   329                     <jvmarg line="${runmain.jvmargs}"/>
   330                     <classpath>
   331                         <path path="${build.classes.dir}:${javac.classpath}:${j2ee.platform.classpath}"/>
   332                     </classpath>
   333                     <syspropertyset>
   334                         <propertyref prefix="run-sys-prop."/>
   335                         <mapper from="run-sys-prop.*" to="*" type="glob"/>
   336                     </syspropertyset>
   337                     <customize/>
   338                 </java>
   339             </sequential>
   340         </macrodef>
   341     </target>
   342     <target depends="-init-debug-args" name="-init-macrodef-nbjpda">
   343         <macrodef name="nbjpdastart" uri="http://www.netbeans.org/ns/j2ee-ejbjarproject/1">
   344             <attribute default="${main.class}" name="name"/>
   345             <attribute default="${debug.classpath}" name="classpath"/>
   346             <sequential>
   347                 <nbjpdastart addressproperty="jpda.address" name="@{name}" transport="${debug-transport}">
   348                     <classpath>
   349                         <path path="@{classpath}"/>
   350                     </classpath>
   351                 </nbjpdastart>
   352             </sequential>
   353         </macrodef>
   354         <macrodef name="nbjpdareload" uri="http://www.netbeans.org/ns/j2ee-ejbjarproject/1">
   355             <attribute default="${build.classes.dir}" name="dir"/>
   356             <sequential>
   357                 <nbjpdareload>
   358                     <fileset dir="@{dir}" includes="${fix.classes}">
   359                         <include name="${fix.includes}*.class"/>
   360                     </fileset>
   361                 </nbjpdareload>
   362             </sequential>
   363         </macrodef>
   364         <macrodef name="nbjpdaappreloaded" uri="http://www.netbeans.org/ns/web-project/1">
   365             <sequential>
   366                 <nbjpdaappreloaded/>
   367             </sequential>
   368         </macrodef>
   369     </target>
   370     <target name="-init-debug-args">
   371         <property name="version-output" value="java version &quot;${ant.java.version}"/>
   372         <condition property="have-jdk-older-than-1.4">
   373             <or>
   374                 <contains string="${version-output}" substring="java version &quot;1.0"/>
   375                 <contains string="${version-output}" substring="java version &quot;1.1"/>
   376                 <contains string="${version-output}" substring="java version &quot;1.2"/>
   377                 <contains string="${version-output}" substring="java version &quot;1.3"/>
   378             </or>
   379         </condition>
   380         <condition else="-Xdebug" property="debug-args-line" value="-Xdebug -Xnoagent -Djava.compiler=none">
   381             <istrue value="${have-jdk-older-than-1.4}"/>
   382         </condition>
   383         <condition else="dt_socket" property="debug-transport-by-os" value="dt_shmem">
   384             <os family="windows"/>
   385         </condition>
   386         <condition else="${debug-transport-by-os}" property="debug-transport" value="${debug.transport}">
   387             <isset property="debug.transport"/>
   388         </condition>
   389     </target>
   390     <target depends="-init-debug-args" name="-init-macrodef-debug">
   391         <macrodef name="debug" uri="http://www.netbeans.org/ns/j2ee-ejbjarproject/1">
   392             <attribute default="${main.class}" name="classname"/>
   393             <attribute default="${debug.classpath}" name="classpath"/>
   394             <attribute default="${application.args}" name="args"/>
   395             <element name="customize" optional="true"/>
   396             <sequential>
   397                 <java classname="@{classname}" fork="true">
   398                     <jvmarg line="${debug-args-line}"/>
   399                     <jvmarg value="-Xrunjdwp:transport=${debug-transport},address=${jpda.address}"/>
   400                     <jvmarg line="${runmain.jvmargs}"/>
   401                     <classpath>
   402                         <path path="@{classpath}"/>
   403                     </classpath>
   404                     <arg line="@{args}"/>
   405                     <customize/>
   406                 </java>
   407             </sequential>
   408         </macrodef>
   409     </target>
   410     <target name="-init-taskdefs">
   411         <fail unless="libs.CopyLibs.classpath">
   412 The libs.CopyLibs.classpath property is not set up.
   413 This property must point to 
   414 org-netbeans-modules-java-j2seproject-copylibstask.jar file which is part
   415 of NetBeans IDE installation and is usually located at 
   416 &lt;netbeans_installation&gt;/java&lt;version&gt;/ant/extra folder.
   417 Either open the project in the IDE and make sure CopyLibs library
   418 exists or setup the property manually. For example like this:
   419  ant -Dlibs.CopyLibs.classpath=a/path/to/org-netbeans-modules-java-j2seproject-copylibstask.jar
   420                 </fail>
   421         <taskdef classpath="${libs.CopyLibs.classpath}" resource="org/netbeans/modules/java/j2seproject/copylibstask/antlib.xml"/>
   422     </target>
   423     <target name="-init-ap-cmdline-properties">
   424         <property name="annotation.processing.enabled" value="true"/>
   425         <property name="annotation.processing.processors.list" value=""/>
   426         <property name="annotation.processing.run.all.processors" value="true"/>
   427         <property name="javac.processorpath" value="${javac.classpath}"/>
   428         <property name="javac.test.processorpath" value="${javac.test.classpath}"/>
   429         <condition property="ap.supported.internal" value="true">
   430             <not>
   431                 <matches pattern="1\.[0-5](\..*)?" string="${javac.source}"/>
   432             </not>
   433         </condition>
   434     </target>
   435     <target depends="-init-ap-cmdline-properties" if="ap.supported.internal" name="-init-ap-cmdline-supported">
   436         <condition else="" property="ap.processors.internal" value="-processor ${annotation.processing.processors.list}">
   437             <isfalse value="${annotation.processing.run.all.processors}"/>
   438         </condition>
   439         <condition else="" property="ap.proc.none.internal" value="-proc:none">
   440             <isfalse value="${annotation.processing.enabled}"/>
   441         </condition>
   442     </target>
   443     <target depends="-init-ap-cmdline-properties,-init-ap-cmdline-supported" name="-init-ap-cmdline">
   444         <property name="ap.cmd.line.internal" value=""/>
   445     </target>
   446     <target depends="-profile-pre-init, init, -profile-post-init, -profile-init-check" name="profile-init"/>
   447     <target name="-profile-pre-init">
   448         <!-- Empty placeholder for easier customization. -->
   449         <!-- You can override this target in the ../build.xml file. -->
   450     </target>
   451     <target name="-profile-post-init">
   452         <!-- Empty placeholder for easier customization. -->
   453         <!-- You can override this target in the ../build.xml file. -->
   454     </target>
   455     <target depends="-profile-pre-init, init, -profile-post-init" name="-profile-init-check">
   456         <fail unless="profiler.info.jvm">Must set JVM to use for profiling in profiler.info.jvm</fail>
   457         <fail unless="profiler.info.jvmargs.agent">Must set profiler agent JVM arguments in profiler.info.jvmargs.agent</fail>
   458     </target>
   459     <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,-init-ap-cmdline" name="init"/>
   460     <!--
   461                 COMPILATION SECTION
   462             -->
   463     <target depends="init" if="no.dist.ear.dir" name="-deps-module-jar" unless="no.deps">
   464         <ant antfile="${project.SuperDAO}/build.xml" inheritall="false" target="jar">
   465             <property name="deploy.on.save" value="false"/>
   466         </ant>
   467         <ant antfile="${project.nekurak_net-lib}/build.xml" inheritall="false" target="jar">
   468             <property name="deploy.on.save" value="false"/>
   469         </ant>
   470     </target>
   471     <target depends="init" if="dist.ear.dir" name="-deps-ear-jar" unless="no.deps">
   472         <ant antfile="${project.SuperDAO}/build.xml" inheritall="false" target="jar">
   473             <property name="deploy.on.save" value="false"/>
   474         </ant>
   475         <ant antfile="${project.nekurak_net-lib}/build.xml" inheritall="false" target="jar">
   476             <property name="deploy.on.save" value="false"/>
   477         </ant>
   478     </target>
   479     <target depends="init, -deps-module-jar, -deps-ear-jar" name="deps-jar"/>
   480     <target depends="init,deps-jar" name="-pre-pre-compile">
   481         <mkdir dir="${build.classes.dir}"/>
   482         <mkdir dir="${build.ear.classes.dir}"/>
   483     </target>
   484     <target name="-pre-compile">
   485         <!-- Empty placeholder for easier customization. -->
   486         <!-- You can override this target in the ../build.xml file. -->
   487     </target>
   488     <target depends="compile" if="is.server.weblogic" name="library-inclusion-in-archive">
   489         <basename file="${reference.nekurak_net-lib.jar}" property="manifest.reference.nekurak_net-lib.jar"/>
   490         <basename file="${reference.SuperDAO.jar}" property="manifest.reference.SuperDAO.jar"/>
   491         <basename file="${libs.Smack-XMPP.classpath}" property="manifest.libs.Smack-XMPP.classpath"/>
   492         <manifest file="${build.ear.classes.dir}/META-INF/MANIFEST.MF" mode="update">
   493             <attribute name="Extension-List" value="jar-1 jar-2 jar-3 "/>
   494             <attribute name="jar-1-Extension-Name" value="${manifest.reference.nekurak_net-lib.jar}"/>
   495             <attribute name="jar-2-Extension-Name" value="${manifest.reference.SuperDAO.jar}"/>
   496             <attribute name="jar-3-Extension-Name" value="${manifest.libs.Smack-XMPP.classpath}"/>
   497         </manifest>
   498     </target>
   499     <target depends="compile" name="library-inclusion-in-manifest">
   500         <copyfiles files="${reference.nekurak_net-lib.jar}" todir="${dist.ear.dir}/lib"/>
   501         <copyfiles files="${reference.SuperDAO.jar}" todir="${dist.ear.dir}/lib"/>
   502         <copyfiles files="${libs.Smack-XMPP.classpath}" todir="${dist.ear.dir}/lib"/>
   503         <manifest file="${build.ear.classes.dir}/META-INF/MANIFEST.MF" mode="update"/>
   504     </target>
   505     <target name="-copy-meta-inf">
   506         <copy todir="${classes.dir}">
   507             <fileset dir="${meta.inf}" includes="**/*.dbschema"/>
   508         </copy>
   509         <copy todir="${classes.dir}/META-INF">
   510             <fileset dir="${meta.inf}" excludes="**/*.dbschema **/xml-resources/** ${meta.inf.excludes}"/>
   511         </copy>
   512     </target>
   513     <target depends="init,deps-jar,-pre-pre-compile,-pre-compile,-copy-meta-inf" if="have.sources" name="-do-compile">
   514         <ejbjarproject2:javac destdir="${classes.dir}" gensrcdir="${build.generated.sources.dir}"/>
   515         <copy todir="${classes.dir}">
   516             <fileset dir="${src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
   517         </copy>
   518     </target>
   519     <target name="-post-compile">
   520         <!-- Empty placeholder for easier customization. -->
   521         <!-- You can override this target in the ../build.xml file. -->
   522     </target>
   523     <target depends="init,deps-jar,-pre-pre-compile,-pre-compile,-do-compile,-post-compile" description="Compile project." name="compile"/>
   524     <target name="-pre-compile-single">
   525         <!-- Empty placeholder for easier customization. -->
   526         <!-- You can override this target in the ../build.xml file. -->
   527     </target>
   528     <target depends="init,deps-jar,-pre-pre-compile" name="-do-compile-single">
   529         <fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail>
   530         <ejbjarproject2:javac excludes="" gensrcdir="${build.generated.sources.dir}" includes="${javac.includes}"/>
   531     </target>
   532     <target name="-post-compile-single">
   533         <!-- Empty placeholder for easier customization. -->
   534         <!-- You can override this target in the ../build.xml file. -->
   535     </target>
   536     <target depends="init,deps-jar,-pre-pre-compile,-pre-compile-single,-do-compile-single,-post-compile-single" name="compile-single"/>
   537     <!--
   538                 DIST BUILDING SECTION
   539             -->
   540     <target name="-pre-dist">
   541         <!-- Empty placeholder for easier customization. -->
   542         <!-- You can override this target in the ../build.xml file. -->
   543     </target>
   544     <target depends="init,compile,-pre-dist,library-inclusion-in-archive" if="has.custom.manifest" name="-do-dist-with-manifest">
   545         <dirname file="${dist.jar}" property="dist.jar.dir"/>
   546         <mkdir dir="${dist.jar.dir}"/>
   547         <jar compress="${jar.compress}" jarfile="${dist.jar}" manifest="${build.classes.dir}/META-INF/MANIFEST.MF">
   548             <fileset dir="${build.classes.dir}"/>
   549         </jar>
   550     </target>
   551     <target depends="init,compile,-pre-dist,library-inclusion-in-archive" name="-do-dist-without-manifest" unless="has.custom.manifest">
   552         <dirname file="${dist.jar}" property="dist.jar.dir"/>
   553         <mkdir dir="${dist.jar.dir}"/>
   554         <jar compress="${jar.compress}" jarfile="${dist.jar}">
   555             <fileset dir="${build.classes.dir}"/>
   556         </jar>
   557     </target>
   558     <!--
   559                 TARGETS NEEDED TO SUPPORT DIRECTORY DEPLOYMENT
   560             -->
   561     <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">
   562         <dirname file="${dist.jar}" property="dist.jar.dir"/>
   563         <mkdir dir="${dist.jar.dir}"/>
   564         <jar compress="${jar.compress}" jarfile="${dist.jar}" manifest="${build.classes.dir}/META-INF/MANIFEST.MF">
   565             <fileset dir="${build.classes.dir}"/>
   566         </jar>
   567     </target>
   568     <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">
   569         <dirname file="${dist.jar}" property="dist.jar.dir"/>
   570         <mkdir dir="${dist.jar.dir}"/>
   571         <jar compress="${jar.compress}" jarfile="${dist.jar}">
   572             <fileset dir="${build.classes.dir}"/>
   573         </jar>
   574     </target>
   575     <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"/>
   576     <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"/>
   577     <!--
   578                 END TARGETS NEEDED TO SUPPORT DIRECTORY DEPLOYMENT
   579             -->
   580     <target depends="init,compile,-pre-dist,library-inclusion-in-archive, -do-dist-without-manifest, -do-dist-with-manifest" name="-do-dist"/>
   581     <target depends="init,compile,-pre-dist,library-inclusion-in-manifest" name="-do-ear-dist">
   582         <dirname file="${dist.ear.jar}" property="dist.jar.dir"/>
   583         <mkdir dir="${dist.jar.dir}"/>
   584         <jar compress="${jar.compress}" jarfile="${dist.ear.jar}" manifest="${build.ear.classes.dir}/META-INF/MANIFEST.MF">
   585             <fileset dir="${build.ear.classes.dir}"/>
   586         </jar>
   587     </target>
   588     <target name="-post-dist">
   589         <!-- Empty placeholder for easier customization. -->
   590         <!-- You can override this target in the ../build.xml file. -->
   591     </target>
   592     <target depends="init,compile,-pre-dist,-do-dist,-post-dist" description="Build distribution (JAR)." name="dist"/>
   593     <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"/>
   594     <!--
   595                 EXECUTION SECTION
   596             -->
   597     <target depends="run-deploy" description="Deploy to server." name="run"/>
   598     <target name="-init-deploy">
   599         <property name="include.jar.manifest" value=""/>
   600     </target>
   601     <target name="pre-run-deploy">
   602         <!-- Empty placeholder for easier customization. -->
   603         <!-- You can override this target in the ../build.xml file. -->
   604     </target>
   605     <target name="post-run-deploy">
   606         <!-- Empty placeholder for easier customization. -->
   607         <!-- You can override this target in the ../build.xml file. -->
   608     </target>
   609     <target name="-pre-nbmodule-run-deploy">
   610         <!-- Empty placeholder for easier customization. -->
   611         <!-- This target can be overriden by NetBeans modules. Don't override it directly, use -pre-run-deploy task instead. -->
   612     </target>
   613     <target name="-post-nbmodule-run-deploy">
   614         <!-- Empty placeholder for easier customization. -->
   615         <!-- This target can be overriden by NetBeans modules. Don't override it directly, use -post-run-deploy task instead. -->
   616     </target>
   617     <target name="-run-deploy-am">
   618         <!-- Task to deploy to the Access Manager runtime. -->
   619     </target>
   620     <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">
   621         <nbjpdaappreloaded/>
   622     </target>
   623     <target if="netbeans.home" name="-run-deploy-nb">
   624         <nbdeploy debugmode="false" forceRedeploy="${forceRedeploy}"/>
   625     </target>
   626     <target name="-init-deploy-ant" unless="netbeans.home">
   627         <property name="deploy.ant.archive" value="${dist.jar}"/>
   628         <property name="deploy.ant.resource.dir" value="${resource.dir}"/>
   629         <property name="deploy.ant.enabled" value="true"/>
   630     </target>
   631     <target depends="dist,-run-undeploy-nb,-init-deploy-ant,-undeploy-ant" name="run-undeploy"/>
   632     <target if="netbeans.home" name="-run-undeploy-nb">
   633         <fail message="Undeploy is not supported from within the IDE"/>
   634     </target>
   635     <target depends="dist" name="verify">
   636         <nbverify file="${dist.jar}"/>
   637     </target>
   638     <target depends="init,compile-single" name="run-main">
   639         <fail unless="run.class">Must select one file in the IDE or set run.class</fail>
   640         <ejbjarproject3:java classname="${run.class}"/>
   641     </target>
   642     <!--
   643                 DEBUGGING SECTION
   644             -->
   645     <target depends="init,compile,dist-directory-deploy" description="Debug project in IDE." if="netbeans.home" name="debug">
   646         <nbdeploy debugmode="true"/>
   647         <antcall target="connect-debugger"/>
   648     </target>
   649     <target name="connect-debugger" unless="is.debugged">
   650         <nbjpdaconnect address="${jpda.address}" host="${jpda.host}" name="${name}" transport="${jpda.transport}">
   651             <classpath>
   652                 <path path="${debug.classpath}"/>
   653             </classpath>
   654             <sourcepath>
   655                 <path path="${web.docbase.dir}"/>
   656             </sourcepath>
   657         </nbjpdaconnect>
   658     </target>
   659     <target depends="init" if="netbeans.home" name="-debug-start-debugger">
   660         <ejbjarproject1:nbjpdastart/>
   661     </target>
   662     <target depends="init,compile-single" if="netbeans.home" name="-debug-start-debuggee-single">
   663         <fail unless="main.class">Must select one file in the IDE or set main.class</fail>
   664         <ejbjarproject1:debug/>
   665     </target>
   666     <target depends="init,compile-single,-debug-start-debugger,-debug-start-debuggee-single" if="netbeans.home" name="debug-single-main"/>
   667     <target depends="init" name="-pre-debug-fix">
   668         <fail unless="fix.includes">Must set fix.includes</fail>
   669         <property name="javac.includes" value="${fix.includes}.java"/>
   670     </target>
   671     <target depends="init,-pre-debug-fix,compile-single" if="netbeans.home" name="-do-debug-fix">
   672         <ejbjarproject1:nbjpdareload/>
   673     </target>
   674     <target depends="init,-pre-debug-fix,-do-debug-fix" if="netbeans.home" name="debug-fix"/>
   675     <!--
   676             =================
   677             PROFILING SECTION
   678             =================
   679             -->
   680     <target description="Profile a J2EE project in the IDE." name="profile">
   681         <condition else="start-profiled-server" property="profiler.startserver.target" value="start-profiled-server-extraargs">
   682             <isset property="profiler.info.jvmargs.extra"/>
   683         </condition>
   684         <antcall target="${profiler.startserver.target}"/>
   685         <antcall target="run"/>
   686         <antcall target="start-loadgen"/>
   687     </target>
   688     <target name="start-profiled-server">
   689         <nbstartprofiledserver forceRestart="${profiler.j2ee.serverForceRestart}" javaPlatform="${profiler.info.javaPlatform}" startupTimeout="${profiler.j2ee.serverStartupTimeout}">
   690             <jvmarg value="${profiler.info.jvmargs.agent}"/>
   691             <jvmarg value="${profiler.j2ee.agentID}"/>
   692         </nbstartprofiledserver>
   693     </target>
   694     <target name="start-profiled-server-extraargs">
   695         <nbstartprofiledserver forceRestart="${profiler.j2ee.serverForceRestart}" javaPlatform="${profiler.info.javaPlatform}" startupTimeout="${profiler.j2ee.serverStartupTimeout}">
   696             <jvmarg value="${profiler.info.jvmargs.extra}"/>
   697             <jvmarg value="${profiler.info.jvmargs.agent}"/>
   698             <jvmarg value="${profiler.j2ee.agentID}"/>
   699         </nbstartprofiledserver>
   700     </target>
   701     <target if="profiler.loadgen.path" name="start-loadgen">
   702         <loadgenstart path="${profiler.loadgen.path}"/>
   703     </target>
   704     <!--
   705                 JAVADOC SECTION
   706             -->
   707     <target depends="init" if="have.sources" name="javadoc-build">
   708         <mkdir dir="${dist.javadoc.dir}"/>
   709         <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}">
   710             <classpath>
   711                 <path path="${javac.classpath}:${j2ee.platform.classpath}"/>
   712             </classpath>
   713             <fileset dir="${src.dir}" excludes="${excludes}" includes="${includes}">
   714                 <filename name="**/*.java"/>
   715             </fileset>
   716             <fileset dir="${build.generated.sources.dir}" erroronmissingdir="false">
   717                 <include name="**/*.java"/>
   718             </fileset>
   719         </javadoc>
   720         <copy todir="${dist.javadoc.dir}">
   721             <fileset dir="${src.dir}" excludes="${excludes}" includes="${includes}">
   722                 <filename name="**/doc-files/**"/>
   723             </fileset>
   724             <fileset dir="${build.generated.sources.dir}" erroronmissingdir="false">
   725                 <include name="**/doc-files/**"/>
   726             </fileset>
   727         </copy>
   728     </target>
   729     <target depends="init,javadoc-build" if="netbeans.home" name="javadoc-browse" unless="no.javadoc.preview">
   730         <nbbrowse file="${dist.javadoc.dir}/index.html"/>
   731     </target>
   732     <target depends="init,javadoc-build,javadoc-browse" description="Build Javadoc." name="javadoc"/>
   733     <!--
   734                 JUNIT COMPILATION SECTION
   735             -->
   736     <target depends="init,compile" if="have.tests" name="-pre-pre-compile-test">
   737         <mkdir dir="${build.test.classes.dir}"/>
   738         <property name="j2ee.platform.embeddableejb.classpath" value=""/>
   739     </target>
   740     <target name="-pre-compile-test">
   741         <!-- Empty placeholder for easier customization. -->
   742         <!-- You can override this target in the ../build.xml file. -->
   743     </target>
   744     <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test" if="have.tests" name="-do-compile-test">
   745         <ejbjarproject2:javac classpath="${javac.test.classpath}:${j2ee.platform.classpath}:${j2ee.platform.embeddableejb.classpath}" debug="true" destdir="${build.test.classes.dir}" srcdir="${test.src.dir}"/>
   746         <copy todir="${build.test.classes.dir}">
   747             <fileset dir="${test.src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
   748         </copy>
   749     </target>
   750     <target name="-post-compile-test">
   751         <!-- Empty placeholder for easier customization. -->
   752         <!-- You can override this target in the ../build.xml file. -->
   753     </target>
   754     <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test,-do-compile-test,-post-compile-test" name="compile-test"/>
   755     <target name="-pre-compile-test-single">
   756         <!-- Empty placeholder for easier customization. -->
   757         <!-- You can override this target in the ../build.xml file. -->
   758     </target>
   759     <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test-single" if="have.tests" name="-do-compile-test-single">
   760         <fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail>
   761         <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}"/>
   762     </target>
   763     <target name="-post-compile-test-single">
   764         <!-- Empty placeholder for easier customization. -->
   765         <!-- You can override this target in the ../build.xml file. -->
   766     </target>
   767     <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test-single,-do-compile-test-single,-post-compile-test-single" name="compile-test-single"/>
   768     <!--
   769                 JUNIT EXECUTION SECTION
   770             -->
   771     <target depends="init" if="have.tests" name="-pre-test-run">
   772         <mkdir dir="${build.test.results.dir}"/>
   773     </target>
   774     <target depends="init,compile-test,-pre-test-run" if="have.tests" name="-do-test-run">
   775         <ejbjarproject2:junit testincludes="**/*Test.java"/>
   776     </target>
   777     <target depends="init,compile-test,-pre-test-run,-do-test-run" if="have.tests" name="-post-test-run">
   778         <fail if="tests.failed" unless="ignore.failing.tests">Some tests failed; see details above.</fail>
   779     </target>
   780     <target depends="init" if="have.tests" name="test-report"/>
   781     <target depends="init" if="netbeans.home+have.tests" name="-test-browse"/>
   782     <target depends="init,compile-test,-pre-test-run,-do-test-run,test-report,-post-test-run,-test-browse" description="Run unit tests." name="test"/>
   783     <target depends="init" if="have.tests" name="-pre-test-run-single">
   784         <mkdir dir="${build.test.results.dir}"/>
   785     </target>
   786     <target depends="init,compile-test-single,-pre-test-run-single" if="have.tests" name="-do-test-run-single">
   787         <fail unless="test.includes">Must select some files in the IDE or set test.includes</fail>
   788         <ejbjarproject2:junit excludes="" includes="${test.includes}"/>
   789     </target>
   790     <target depends="init,compile-test-single,-pre-test-run-single,-do-test-run-single" if="have.tests" name="-post-test-run-single">
   791         <fail if="tests.failed" unless="ignore.failing.tests">Some tests failed; see details above.</fail>
   792     </target>
   793     <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"/>
   794     <!--
   795                 JUNIT DEBUGGING SECTION
   796             -->
   797     <target depends="init,compile-test" if="have.tests" name="-debug-start-debuggee-test">
   798         <fail unless="test.class">Must select one file in the IDE or set test.class</fail>
   799         <property location="${build.test.results.dir}/TEST-${test.class}.xml" name="test.report.file"/>
   800         <delete file="${test.report.file}"/>
   801         <!-- the directory must exist, otherwise the XML formatter would fail -->
   802         <mkdir dir="${build.test.results.dir}"/>
   803         <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}">
   804             <customize>
   805                 <arg value="showoutput=true"/>
   806                 <arg value="formatter=org.apache.tools.ant.taskdefs.optional.junit.BriefJUnitResultFormatter"/>
   807                 <arg value="formatter=org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter,${test.report.file}"/>
   808             </customize>
   809         </ejbjarproject1:debug>
   810     </target>
   811     <target depends="init,compile-test" if="netbeans.home+have.tests" name="-debug-start-debugger-test">
   812         <ejbjarproject1:nbjpdastart classpath="${debug.test.classpath}" name="${test.class}"/>
   813     </target>
   814     <target depends="init,compile-test,-debug-start-debugger-test,-debug-start-debuggee-test" name="debug-test"/>
   815     <target depends="init,-pre-debug-fix,compile-test-single" if="netbeans.home" name="-do-debug-fix-test">
   816         <ejbjarproject1:nbjpdareload dir="${build.test.classes.dir}"/>
   817     </target>
   818     <target depends="init,-pre-debug-fix,-do-debug-fix-test" if="netbeans.home" name="debug-fix-test"/>
   819     <!--
   820         =========================
   821         TESTS PROFILING  SECTION
   822         =========================
   823         -->
   824     <target depends="profile-init,compile-test-single" if="netbeans.home" name="profile-test-single">
   825         <nbprofiledirect>
   826             <classpath>
   827                 <path path="${run.test.classpath}"/>
   828                 <path path="${j2ee.platform.classpath}"/>
   829             </classpath>
   830         </nbprofiledirect>
   831         <junit dir="${profiler.info.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" jvm="${profiler.info.jvm}" showoutput="true">
   832             <env key="${profiler.info.pathvar}" path="${profiler.info.agentpath}:${profiler.current.path}"/>
   833             <jvmarg value="${profiler.info.jvmargs.agent}"/>
   834             <jvmarg line="${profiler.info.jvmargs}"/>
   835             <test name="${profile.class}"/>
   836             <classpath>
   837                 <path path="${run.test.classpath}"/>
   838                 <path path="${j2ee.platform.classpath}"/>
   839             </classpath>
   840             <syspropertyset>
   841                 <propertyref prefix="test-sys-prop."/>
   842                 <mapper from="test-sys-prop.*" to="*" type="glob"/>
   843             </syspropertyset>
   844             <formatter type="brief" usefile="false"/>
   845             <formatter type="xml"/>
   846         </junit>
   847     </target>
   848     <!--
   849                 CLEANUP SECTION
   850             -->
   851     <target depends="init" if="no.dist.ear.dir" name="deps-clean" unless="no.deps">
   852         <ant antfile="${project.SuperDAO}/build.xml" inheritall="false" target="clean"/>
   853         <ant antfile="${project.nekurak_net-lib}/build.xml" inheritall="false" target="clean"/>
   854     </target>
   855     <target depends="init" name="-do-clean">
   856         <delete dir="${build.dir}"/>
   857         <delete dir="${dist.dir}"/>
   858     </target>
   859     <target name="-post-clean">
   860         <!-- Empty placeholder for easier customization. -->
   861         <!-- You can override this target in the ../build.xml file. -->
   862     </target>
   863     <target depends="init" if="netbeans.home" name="undeploy-clean">
   864         <nbundeploy failOnError="false" startServer="false"/>
   865     </target>
   866     <target depends="init,undeploy-clean,deps-clean,-do-clean,-post-clean" description="Clean build products." name="clean"/>
   867     <target depends="clean" name="clean-ear"/>
   868 </project>