1.1 --- a/java/nekurak.net-rest/nbproject/build-impl.xml Tue Mar 23 01:12:16 2010 +0100
1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
1.3 @@ -1,868 +0,0 @@
1.4 -<?xml version="1.0" encoding="UTF-8"?>
1.5 -<!--
1.6 - *** GENERATED FROM project.xml - DO NOT EDIT ***
1.7 - *** EDIT ../build.xml INSTEAD ***
1.8 -
1.9 - For the purpose of easier reading the script
1.10 - is divided into following sections:
1.11 - - initialization
1.12 - - compilation
1.13 - - dist
1.14 - - execution
1.15 - - debugging
1.16 - - javadoc
1.17 - - junit compilation
1.18 - - junit execution
1.19 - - junit debugging
1.20 - - cleanup
1.21 -
1.22 - -->
1.23 -<project xmlns:webproject1="http://www.netbeans.org/ns/web-project/1" xmlns:webproject2="http://www.netbeans.org/ns/web-project/2" xmlns:webproject3="http://www.netbeans.org/ns/web-project/3" basedir=".." default="default" name="nekurak.net-rest-impl">
1.24 - <import file="ant-deploy.xml"/>
1.25 - <fail message="Please build using Ant 1.7.1 or higher.">
1.26 - <condition>
1.27 - <not>
1.28 - <antversion atleast="1.7.1"/>
1.29 - </not>
1.30 - </condition>
1.31 - </fail>
1.32 - <target depends="dist,javadoc" description="Build whole project." name="default"/>
1.33 - <!--
1.34 - INITIALIZATION SECTION
1.35 - -->
1.36 - <target name="-pre-init">
1.37 - <!-- Empty placeholder for easier customization. -->
1.38 - <!-- You can override this target in the ../build.xml file. -->
1.39 - </target>
1.40 - <target depends="-pre-init" name="-init-private">
1.41 - <property file="nbproject/private/private.properties"/>
1.42 - </target>
1.43 - <target depends="-pre-init,-init-private" name="-init-user">
1.44 - <property file="${user.properties.file}"/>
1.45 - <!-- The two properties below are usually overridden -->
1.46 - <!-- by the active platform. Just a fallback. -->
1.47 - <property name="default.javac.source" value="1.4"/>
1.48 - <property name="default.javac.target" value="1.4"/>
1.49 - </target>
1.50 - <target depends="-pre-init,-init-private,-init-user" name="-init-project">
1.51 - <property file="nbproject/project.properties"/>
1.52 - </target>
1.53 - <target depends="-pre-init,-init-private,-init-user,-init-project,-init-macrodef-property" if="dist.ear.dir" name="-do-ear-init"/>
1.54 - <target depends="-pre-init,-init-private,-init-user,-init-project,-init-macrodef-property" name="-do-init">
1.55 - <condition property="have.tests">
1.56 - <or>
1.57 - <available file="${test.src.dir}"/>
1.58 - </or>
1.59 - </condition>
1.60 - <condition property="have.sources">
1.61 - <or>
1.62 - <available file="${src.dir}"/>
1.63 - </or>
1.64 - </condition>
1.65 - <condition property="netbeans.home+have.tests">
1.66 - <and>
1.67 - <isset property="netbeans.home"/>
1.68 - <isset property="have.tests"/>
1.69 - </and>
1.70 - </condition>
1.71 - <condition property="no.javadoc.preview">
1.72 - <isfalse value="${javadoc.preview}"/>
1.73 - </condition>
1.74 - <property name="javac.compilerargs" value=""/>
1.75 - <condition property="no.deps">
1.76 - <and>
1.77 - <istrue value="${no.dependencies}"/>
1.78 - </and>
1.79 - </condition>
1.80 - <condition property="no.dist.ear.dir">
1.81 - <not>
1.82 - <isset property="dist.ear.dir"/>
1.83 - </not>
1.84 - </condition>
1.85 - <property name="build.web.excludes" value="${build.classes.excludes}"/>
1.86 - <condition property="do.compile.jsps">
1.87 - <istrue value="${compile.jsps}"/>
1.88 - </condition>
1.89 - <condition property="do.debug.server">
1.90 - <or>
1.91 - <not>
1.92 - <isset property="debug.server"/>
1.93 - </not>
1.94 - <istrue value="${debug.server}"/>
1.95 - <and>
1.96 - <not>
1.97 - <istrue value="${debug.server}"/>
1.98 - </not>
1.99 - <not>
1.100 - <istrue value="${debug.client}"/>
1.101 - </not>
1.102 - </and>
1.103 - </or>
1.104 - </condition>
1.105 - <condition property="do.debug.client">
1.106 - <istrue value="${debug.client}"/>
1.107 - </condition>
1.108 - <condition property="do.display.browser">
1.109 - <istrue value="${display.browser}"/>
1.110 - </condition>
1.111 - <condition property="do.display.browser.debug">
1.112 - <and>
1.113 - <isset property="do.display.browser"/>
1.114 - <not>
1.115 - <isset property="do.debug.client"/>
1.116 - </not>
1.117 - </and>
1.118 - </condition>
1.119 - <available file="${conf.dir}/MANIFEST.MF" property="has.custom.manifest"/>
1.120 - <available file="${persistence.xml.dir}/persistence.xml" property="has.persistence.xml"/>
1.121 - <condition property="do.war.package.with.custom.manifest">
1.122 - <isset property="has.custom.manifest"/>
1.123 - </condition>
1.124 - <condition property="do.war.package.without.custom.manifest">
1.125 - <not>
1.126 - <isset property="has.custom.manifest"/>
1.127 - </not>
1.128 - </condition>
1.129 - <condition property="do.tmp.war.package.with.custom.manifest">
1.130 - <and>
1.131 - <isset property="has.custom.manifest"/>
1.132 - <or>
1.133 - <isfalse value="${directory.deployment.supported}"/>
1.134 - <isset property="dist.ear.dir"/>
1.135 - </or>
1.136 - </and>
1.137 - </condition>
1.138 - <condition property="do.tmp.war.package.without.custom.manifest">
1.139 - <and>
1.140 - <not>
1.141 - <isset property="has.custom.manifest"/>
1.142 - </not>
1.143 - <or>
1.144 - <isfalse value="${directory.deployment.supported}"/>
1.145 - <isset property="dist.ear.dir"/>
1.146 - </or>
1.147 - </and>
1.148 - </condition>
1.149 - <condition property="do.tmp.war.package">
1.150 - <or>
1.151 - <isfalse value="${directory.deployment.supported}"/>
1.152 - <isset property="dist.ear.dir"/>
1.153 - </or>
1.154 - </condition>
1.155 - <property name="build.meta.inf.dir" value="${build.web.dir}/META-INF"/>
1.156 - <condition else="" property="application.args.param" value="${application.args}">
1.157 - <and>
1.158 - <isset property="application.args"/>
1.159 - <not>
1.160 - <equals arg1="${application.args}" arg2="" trim="true"/>
1.161 - </not>
1.162 - </and>
1.163 - </condition>
1.164 - <property name="source.encoding" value="${file.encoding}"/>
1.165 - <condition property="javadoc.encoding.used" value="${javadoc.encoding}">
1.166 - <and>
1.167 - <isset property="javadoc.encoding"/>
1.168 - <not>
1.169 - <equals arg1="${javadoc.encoding}" arg2=""/>
1.170 - </not>
1.171 - </and>
1.172 - </condition>
1.173 - <property name="javadoc.encoding.used" value="${source.encoding}"/>
1.174 - <property name="includes" value="**"/>
1.175 - <property name="excludes" value=""/>
1.176 - <property name="runmain.jvmargs" value=""/>
1.177 - <path id="endorsed.classpath.path" path="${endorsed.classpath}"/>
1.178 - <condition else="" property="endorsed.classpath.cmd.line.arg" value="-Xbootclasspath/p:'${toString:endorsed.classpath.path}'">
1.179 - <length length="0" string="${endorsed.classpath}" when="greater"/>
1.180 - </condition>
1.181 - </target>
1.182 - <target depends="init" name="-init-cos" unless="deploy.on.save">
1.183 - <condition property="deploy.on.save" value="true">
1.184 - <istrue value="${j2ee.deploy.on.save}"/>
1.185 - </condition>
1.186 - </target>
1.187 - <target name="-post-init">
1.188 - <!-- Empty placeholder for easier customization. -->
1.189 - <!-- You can override this target in the ../build.xml file. -->
1.190 - </target>
1.191 - <target depends="-pre-init,-init-private,-init-user,-init-project,-do-init" name="-init-check">
1.192 - <fail unless="src.dir">Must set src.dir</fail>
1.193 - <fail unless="test.src.dir">Must set test.src.dir</fail>
1.194 - <fail unless="build.dir">Must set build.dir</fail>
1.195 - <fail unless="build.web.dir">Must set build.web.dir</fail>
1.196 - <fail unless="build.generated.dir">Must set build.generated.dir</fail>
1.197 - <fail unless="dist.dir">Must set dist.dir</fail>
1.198 - <fail unless="build.classes.dir">Must set build.classes.dir</fail>
1.199 - <fail unless="dist.javadoc.dir">Must set dist.javadoc.dir</fail>
1.200 - <fail unless="build.test.classes.dir">Must set build.test.classes.dir</fail>
1.201 - <fail unless="build.test.results.dir">Must set build.test.results.dir</fail>
1.202 - <fail unless="build.classes.excludes">Must set build.classes.excludes</fail>
1.203 - <fail unless="dist.war">Must set dist.war</fail>
1.204 - <fail unless="j2ee.platform.classpath">
1.205 -The Java EE server classpath is not correctly set up. Your active server type is ${j2ee.server.type}.
1.206 -Either open the project in the IDE and assign the server or setup the server classpath manually.
1.207 -For example like this:
1.208 - ant -Duser.properties.file=<path_to_property_file> (where you put the property "j2ee.platform.classpath" in a .properties file)
1.209 -or ant -Dj2ee.platform.classpath=<server_classpath> (where no properties file is used)
1.210 - </fail>
1.211 - </target>
1.212 - <target name="-init-macrodef-property">
1.213 - <macrodef name="property" uri="http://www.netbeans.org/ns/web-project/1">
1.214 - <attribute name="name"/>
1.215 - <attribute name="value"/>
1.216 - <sequential>
1.217 - <property name="@{name}" value="${@{value}}"/>
1.218 - </sequential>
1.219 - </macrodef>
1.220 - </target>
1.221 - <target name="-init-macrodef-javac">
1.222 - <macrodef name="javac" uri="http://www.netbeans.org/ns/web-project/2">
1.223 - <attribute default="${src.dir}" name="srcdir"/>
1.224 - <attribute default="${build.classes.dir}" name="destdir"/>
1.225 - <attribute default="${javac.classpath}:${j2ee.platform.classpath}" name="classpath"/>
1.226 - <attribute default="${includes}" name="includes"/>
1.227 - <attribute default="${excludes}" name="excludes"/>
1.228 - <attribute default="${javac.debug}" name="debug"/>
1.229 - <attribute default="${empty.dir}" name="gensrcdir"/>
1.230 - <element name="customize" optional="true"/>
1.231 - <sequential>
1.232 - <property location="${build.dir}/empty" name="empty.dir"/>
1.233 - <mkdir dir="${empty.dir}"/>
1.234 - <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}">
1.235 - <src>
1.236 - <dirset dir="@{gensrcdir}" erroronmissingdir="false">
1.237 - <include name="*"/>
1.238 - </dirset>
1.239 - </src>
1.240 - <classpath>
1.241 - <path path="@{classpath}"/>
1.242 - </classpath>
1.243 - <compilerarg line="${endorsed.classpath.cmd.line.arg}"/>
1.244 - <compilerarg line="${javac.compilerargs}"/>
1.245 - <customize/>
1.246 - </javac>
1.247 - </sequential>
1.248 - </macrodef>
1.249 - </target>
1.250 - <target name="-init-macrodef-junit">
1.251 - <macrodef name="junit" uri="http://www.netbeans.org/ns/web-project/2">
1.252 - <attribute default="${includes}" name="includes"/>
1.253 - <attribute default="${excludes}" name="excludes"/>
1.254 - <attribute default="**" name="testincludes"/>
1.255 - <sequential>
1.256 - <junit dir="${basedir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" showoutput="true" tempdir="${java.io.tmpdir}">
1.257 - <batchtest todir="${build.test.results.dir}">
1.258 - <fileset dir="${test.src.dir}" excludes="@{excludes},${excludes}" includes="@{includes}">
1.259 - <filename name="@{testincludes}"/>
1.260 - </fileset>
1.261 - </batchtest>
1.262 - <classpath>
1.263 - <path path="${run.test.classpath}:${j2ee.platform.classpath}:${j2ee.platform.embeddableejb.classpath}"/>
1.264 - </classpath>
1.265 - <syspropertyset>
1.266 - <propertyref prefix="test-sys-prop."/>
1.267 - <mapper from="test-sys-prop.*" to="*" type="glob"/>
1.268 - </syspropertyset>
1.269 - <formatter type="brief" usefile="false"/>
1.270 - <formatter type="xml"/>
1.271 - <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
1.272 - <jvmarg line="${runmain.jvmargs}"/>
1.273 - </junit>
1.274 - </sequential>
1.275 - </macrodef>
1.276 - </target>
1.277 - <target name="-init-macrodef-java">
1.278 - <macrodef name="java" uri="http://www.netbeans.org/ns/web-project/1">
1.279 - <attribute default="${main.class}" name="classname"/>
1.280 - <attribute default="${debug.classpath}" name="classpath"/>
1.281 - <element name="customize" optional="true"/>
1.282 - <sequential>
1.283 - <java classname="@{classname}" fork="true">
1.284 - <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
1.285 - <jvmarg line="${runmain.jvmargs}"/>
1.286 - <classpath>
1.287 - <path path="@{classpath}:${j2ee.platform.classpath}"/>
1.288 - </classpath>
1.289 - <syspropertyset>
1.290 - <propertyref prefix="run-sys-prop."/>
1.291 - <mapper from="run-sys-prop.*" to="*" type="glob"/>
1.292 - </syspropertyset>
1.293 - <customize/>
1.294 - </java>
1.295 - </sequential>
1.296 - </macrodef>
1.297 - </target>
1.298 - <target name="-init-macrodef-nbjsdebug">
1.299 - <macrodef name="nbjsdebugstart" uri="http://www.netbeans.org/ns/web-project/1">
1.300 - <attribute default="${client.url}" name="webUrl"/>
1.301 - <sequential>
1.302 - <nbjsdebugstart urlPart="${client.urlPart}" webUrl="@{webUrl}"/>
1.303 - </sequential>
1.304 - </macrodef>
1.305 - </target>
1.306 - <target depends="-init-debug-args" name="-init-macrodef-nbjpda">
1.307 - <macrodef name="nbjpdastart" uri="http://www.netbeans.org/ns/web-project/1">
1.308 - <attribute default="${main.class}" name="name"/>
1.309 - <attribute default="${debug.classpath}:${j2ee.platform.classpath}" name="classpath"/>
1.310 - <sequential>
1.311 - <nbjpdastart addressproperty="jpda.address" name="@{name}" transport="${debug-transport}">
1.312 - <classpath>
1.313 - <path path="@{classpath}"/>
1.314 - </classpath>
1.315 - </nbjpdastart>
1.316 - </sequential>
1.317 - </macrodef>
1.318 - <macrodef name="nbjpdareload" uri="http://www.netbeans.org/ns/web-project/1">
1.319 - <attribute default="${build.classes.dir}" name="dir"/>
1.320 - <sequential>
1.321 - <nbjpdareload>
1.322 - <fileset dir="@{dir}" includes="${fix.classes}">
1.323 - <include name="${fix.includes}*.class"/>
1.324 - </fileset>
1.325 - </nbjpdareload>
1.326 - </sequential>
1.327 - </macrodef>
1.328 - <macrodef name="nbjpdaappreloaded" uri="http://www.netbeans.org/ns/web-project/1">
1.329 - <sequential>
1.330 - <nbjpdaappreloaded/>
1.331 - </sequential>
1.332 - </macrodef>
1.333 - </target>
1.334 - <target name="-init-debug-args">
1.335 - <property name="version-output" value="java version "${ant.java.version}"/>
1.336 - <condition property="have-jdk-older-than-1.4">
1.337 - <or>
1.338 - <contains string="${version-output}" substring="java version "1.0"/>
1.339 - <contains string="${version-output}" substring="java version "1.1"/>
1.340 - <contains string="${version-output}" substring="java version "1.2"/>
1.341 - <contains string="${version-output}" substring="java version "1.3"/>
1.342 - </or>
1.343 - </condition>
1.344 - <condition else="-Xdebug" property="debug-args-line" value="-Xdebug -Xnoagent -Djava.compiler=none">
1.345 - <istrue value="${have-jdk-older-than-1.4}"/>
1.346 - </condition>
1.347 - <condition else="dt_socket" property="debug-transport-by-os" value="dt_shmem">
1.348 - <os family="windows"/>
1.349 - </condition>
1.350 - <condition else="${debug-transport-by-os}" property="debug-transport" value="${debug.transport}">
1.351 - <isset property="debug.transport"/>
1.352 - </condition>
1.353 - </target>
1.354 - <target depends="-init-debug-args" name="-init-macrodef-debug">
1.355 - <macrodef name="debug" uri="http://www.netbeans.org/ns/web-project/1">
1.356 - <attribute default="${main.class}" name="classname"/>
1.357 - <attribute default="${debug.classpath}:${j2ee.platform.classpath}" name="classpath"/>
1.358 - <attribute default="${application.args.param}" name="args"/>
1.359 - <element name="customize" optional="true"/>
1.360 - <sequential>
1.361 - <java classname="@{classname}" fork="true">
1.362 - <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
1.363 - <jvmarg line="${debug-args-line}"/>
1.364 - <jvmarg value="-Xrunjdwp:transport=${debug-transport},address=${jpda.address}"/>
1.365 - <jvmarg line="${runmain.jvmargs}"/>
1.366 - <classpath>
1.367 - <path path="@{classpath}"/>
1.368 - </classpath>
1.369 - <syspropertyset>
1.370 - <propertyref prefix="run-sys-prop."/>
1.371 - <mapper from="run-sys-prop.*" to="*" type="glob"/>
1.372 - </syspropertyset>
1.373 - <arg line="@{args}"/>
1.374 - <customize/>
1.375 - </java>
1.376 - </sequential>
1.377 - </macrodef>
1.378 - </target>
1.379 - <target name="-init-taskdefs">
1.380 - <fail unless="libs.CopyLibs.classpath">
1.381 -The libs.CopyLibs.classpath property is not set up.
1.382 -This property must point to
1.383 -org-netbeans-modules-java-j2seproject-copylibstask.jar file which is part
1.384 -of NetBeans IDE installation and is usually located at
1.385 -<netbeans_installation>/java<version>/ant/extra folder.
1.386 -Either open the project in the IDE and make sure CopyLibs library
1.387 -exists or setup the property manually. For example like this:
1.388 - ant -Dlibs.CopyLibs.classpath=a/path/to/org-netbeans-modules-java-j2seproject-copylibstask.jar
1.389 - </fail>
1.390 - <taskdef classpath="${libs.CopyLibs.classpath}" resource="org/netbeans/modules/java/j2seproject/copylibstask/antlib.xml"/>
1.391 - </target>
1.392 - <target depends="-pre-init,-init-private,-init-user,-init-project,-do-init,-post-init,-init-check,-init-macrodef-property,-init-macrodef-javac,-init-macrodef-junit,-init-macrodef-java,-init-macrodef-nbjpda,-init-macrodef-nbjsdebug,-init-macrodef-debug,-init-taskdefs" name="init"/>
1.393 - <!--
1.394 - COMPILATION SECTION
1.395 - -->
1.396 - <target depends="init" if="no.dist.ear.dir" name="deps-module-jar" unless="no.deps">
1.397 - <ant antfile="${project.nekurak_net-lib}/build.xml" inheritall="false" target="jar">
1.398 - <property name="deploy.on.save" value="false"/>
1.399 - </ant>
1.400 - </target>
1.401 - <target depends="init" if="dist.ear.dir" name="deps-ear-jar" unless="no.deps">
1.402 - <ant antfile="${project.nekurak_net-lib}/build.xml" inheritall="false" target="jar">
1.403 - <property name="deploy.on.save" value="false"/>
1.404 - </ant>
1.405 - </target>
1.406 - <target depends="init, deps-module-jar, deps-ear-jar" name="deps-jar" unless="no.deps"/>
1.407 - <target depends="init,deps-jar" name="-pre-pre-compile">
1.408 - <mkdir dir="${build.classes.dir}"/>
1.409 - </target>
1.410 - <target name="-pre-compile">
1.411 - <!-- Empty placeholder for easier customization. -->
1.412 - <!-- You can override this target in the ../build.xml file. -->
1.413 - </target>
1.414 - <target name="-copy-webdir">
1.415 - <copy todir="${build.web.dir}">
1.416 - <fileset dir="${web.docbase.dir}" excludes="${build.web.excludes},${excludes}" includes="${includes}"/>
1.417 - </copy>
1.418 - <copy todir="${build.web.dir}/WEB-INF">
1.419 - <fileset dir="${webinf.dir}" excludes="${build.web.excludes}"/>
1.420 - </copy>
1.421 - </target>
1.422 - <target depends="init, deps-jar, -pre-pre-compile, -pre-compile, -copy-manifest, -copy-persistence-xml, -copy-webdir, library-inclusion-in-archive,library-inclusion-in-manifest" if="have.sources" name="-do-compile">
1.423 - <webproject2:javac destdir="${build.classes.dir}" gensrcdir="${build.generated.sources.dir}"/>
1.424 - <copy todir="${build.classes.dir}">
1.425 - <fileset dir="${src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
1.426 - </copy>
1.427 - </target>
1.428 - <target if="has.custom.manifest" name="-copy-manifest">
1.429 - <mkdir dir="${build.meta.inf.dir}"/>
1.430 - <copy todir="${build.meta.inf.dir}">
1.431 - <fileset dir="${conf.dir}" includes="MANIFEST.MF"/>
1.432 - </copy>
1.433 - </target>
1.434 - <target if="has.persistence.xml" name="-copy-persistence-xml">
1.435 - <mkdir dir="${build.web.dir}/WEB-INF/classes/META-INF"/>
1.436 - <copy todir="${build.web.dir}/WEB-INF/classes/META-INF">
1.437 - <fileset dir="${persistence.xml.dir}" includes="persistence.xml"/>
1.438 - </copy>
1.439 - </target>
1.440 - <target name="-post-compile">
1.441 - <!-- Empty placeholder for easier customization. -->
1.442 - <!-- You can override this target in the ../build.xml file. -->
1.443 - </target>
1.444 - <target depends="init,deps-jar,-pre-pre-compile,-pre-compile,-do-compile,-post-compile" description="Compile project." name="compile"/>
1.445 - <target name="-pre-compile-single">
1.446 - <!-- Empty placeholder for easier customization. -->
1.447 - <!-- You can override this target in the ../build.xml file. -->
1.448 - </target>
1.449 - <target depends="init,deps-jar,-pre-pre-compile" name="-do-compile-single">
1.450 - <fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail>
1.451 - <webproject2:javac excludes="" gensrcdir="${build.generated.sources.dir}" includes="${javac.includes}"/>
1.452 - <copy todir="${build.classes.dir}">
1.453 - <fileset dir="${src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
1.454 - </copy>
1.455 - </target>
1.456 - <target name="-post-compile-single">
1.457 - <!-- Empty placeholder for easier customization. -->
1.458 - <!-- You can override this target in the ../build.xml file. -->
1.459 - </target>
1.460 - <target depends="init,deps-jar,-pre-pre-compile,-pre-compile-single,-do-compile-single,-post-compile-single" name="compile-single"/>
1.461 - <target depends="compile" description="Test compile JSP pages to expose compilation errors." if="do.compile.jsps" name="compile-jsps">
1.462 - <mkdir dir="${build.generated.dir}/src"/>
1.463 - <java classname="org.netbeans.modules.web.project.ant.JspC" failonerror="true" fork="true">
1.464 - <arg value="-uriroot"/>
1.465 - <arg file="${basedir}/${build.web.dir}"/>
1.466 - <arg value="-d"/>
1.467 - <arg file="${basedir}/${build.generated.dir}/src"/>
1.468 - <arg value="-die1"/>
1.469 - <arg value="-compilerSourceVM ${javac.source}"/>
1.470 - <arg value="-compilerTargetVM ${javac.target}"/>
1.471 - <arg value="-javaEncoding ${source.encoding}"/>
1.472 - <classpath path="${java.home}/../lib/tools.jar:${jspctask.classpath}:${jspcompilation.classpath}"/>
1.473 - </java>
1.474 - <mkdir dir="${build.generated.dir}/classes"/>
1.475 - <webproject2:javac classpath="${j2ee.platform.classpath}:${build.classes.dir}:${jspcompilation.classpath}" destdir="${build.generated.dir}/classes" srcdir="${build.generated.dir}/src"/>
1.476 - </target>
1.477 - <target depends="compile" if="jsp.includes" name="-do-compile-single-jsp">
1.478 - <fail unless="javac.jsp.includes">Must select some files in the IDE or set javac.jsp.includes</fail>
1.479 - <mkdir dir="${build.generated.dir}/src"/>
1.480 - <java classname="org.netbeans.modules.web.project.ant.JspCSingle" failonerror="true" fork="true">
1.481 - <arg value="-uriroot"/>
1.482 - <arg file="${basedir}/${build.web.dir}"/>
1.483 - <arg value="-d"/>
1.484 - <arg file="${basedir}/${build.generated.dir}/src"/>
1.485 - <arg value="-die1"/>
1.486 - <arg value="-jspc.files"/>
1.487 - <arg path="${jsp.includes}"/>
1.488 - <arg value="-compilerSourceVM ${javac.source}"/>
1.489 - <arg value="-compilerTargetVM ${javac.target}"/>
1.490 - <arg value="-javaEncoding ${source.encoding}"/>
1.491 - <classpath path="${java.home}/../lib/tools.jar:${jspctask.classpath}:${jspcompilation.classpath}"/>
1.492 - </java>
1.493 - <mkdir dir="${build.generated.dir}/classes"/>
1.494 - <webproject2:javac classpath="${j2ee.platform.classpath}:${build.classes.dir}:${jspcompilation.classpath}" destdir="${build.generated.dir}/classes" srcdir="${build.generated.dir}/src">
1.495 - <customize>
1.496 - <patternset includes="${javac.jsp.includes}"/>
1.497 - </customize>
1.498 - </webproject2:javac>
1.499 - </target>
1.500 - <target name="compile-single-jsp">
1.501 - <fail unless="jsp.includes">Must select a file in the IDE or set jsp.includes</fail>
1.502 - <antcall target="-do-compile-single-jsp"/>
1.503 - </target>
1.504 - <!--
1.505 - DIST BUILDING SECTION
1.506 - -->
1.507 - <target name="-pre-dist">
1.508 - <!-- Empty placeholder for easier customization. -->
1.509 - <!-- You can override this target in the ../build.xml file. -->
1.510 - </target>
1.511 - <target depends="init,compile,compile-jsps,-pre-dist" if="do.war.package.without.custom.manifest" name="-do-dist-without-manifest">
1.512 - <dirname file="${dist.war}" property="dist.jar.dir"/>
1.513 - <mkdir dir="${dist.jar.dir}"/>
1.514 - <jar compress="${jar.compress}" jarfile="${dist.war}">
1.515 - <fileset dir="${build.web.dir}"/>
1.516 - </jar>
1.517 - </target>
1.518 - <target depends="init,compile,compile-jsps,-pre-dist" if="do.war.package.with.custom.manifest" name="-do-dist-with-manifest">
1.519 - <dirname file="${dist.war}" property="dist.jar.dir"/>
1.520 - <mkdir dir="${dist.jar.dir}"/>
1.521 - <jar compress="${jar.compress}" jarfile="${dist.war}" manifest="${build.meta.inf.dir}/MANIFEST.MF">
1.522 - <fileset dir="${build.web.dir}"/>
1.523 - </jar>
1.524 - </target>
1.525 - <target depends="init,compile,compile-jsps,-pre-dist" if="do.tmp.war.package.without.custom.manifest" name="-do-tmp-dist-without-manifest">
1.526 - <dirname file="${dist.war}" property="dist.jar.dir"/>
1.527 - <mkdir dir="${dist.jar.dir}"/>
1.528 - <jar compress="${jar.compress}" jarfile="${dist.war}">
1.529 - <fileset dir="${build.web.dir}"/>
1.530 - </jar>
1.531 - </target>
1.532 - <target depends="init,compile,compile-jsps,-pre-dist" if="do.tmp.war.package.with.custom.manifest" name="-do-tmp-dist-with-manifest">
1.533 - <dirname file="${dist.war}" property="dist.jar.dir"/>
1.534 - <mkdir dir="${dist.jar.dir}"/>
1.535 - <jar compress="${jar.compress}" jarfile="${dist.war}" manifest="${build.meta.inf.dir}/MANIFEST.MF">
1.536 - <fileset dir="${build.web.dir}"/>
1.537 - </jar>
1.538 - </target>
1.539 - <target depends="init,compile,compile-jsps,-pre-dist,-do-dist-with-manifest,-do-dist-without-manifest" name="do-dist"/>
1.540 - <target depends="init" if="dist.ear.dir" name="library-inclusion-in-manifest">
1.541 - <copyfiles files="${reference.nekurak_net-lib.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
1.542 - <mkdir dir="${build.web.dir}/META-INF"/>
1.543 - <manifest file="${build.web.dir}/META-INF/MANIFEST.MF" mode="update"/>
1.544 - </target>
1.545 - <target depends="init" name="library-inclusion-in-archive" unless="dist.ear.dir">
1.546 - <copyfiles files="${reference.nekurak_net-lib.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
1.547 - </target>
1.548 - <target depends="init" if="dist.ear.dir" name="-clean-webinf-lib">
1.549 - <delete dir="${build.web.dir}/WEB-INF/lib"/>
1.550 - </target>
1.551 - <target depends="init,-clean-webinf-lib,compile,compile-jsps,-pre-dist,library-inclusion-in-manifest" if="do.tmp.war.package" name="do-ear-dist">
1.552 - <dirname file="${dist.ear.war}" property="dist.jar.dir"/>
1.553 - <mkdir dir="${dist.jar.dir}"/>
1.554 - <jar compress="${jar.compress}" jarfile="${dist.ear.war}" manifest="${build.web.dir}/META-INF/MANIFEST.MF">
1.555 - <fileset dir="${build.web.dir}"/>
1.556 - </jar>
1.557 - </target>
1.558 - <target name="-post-dist">
1.559 - <!-- Empty placeholder for easier customization. -->
1.560 - <!-- You can override this target in the ../build.xml file. -->
1.561 - </target>
1.562 - <target depends="init,compile,-pre-dist,do-dist,-post-dist" description="Build distribution (WAR)." name="dist"/>
1.563 - <target depends="init,-clean-webinf-lib,-init-cos,compile,-pre-dist,do-ear-dist,-post-dist" description="Build distribution (WAR) to be packaged into an EAR." name="dist-ear"/>
1.564 - <!--
1.565 - EXECUTION SECTION
1.566 - -->
1.567 - <target depends="run-deploy,run-display-browser" description="Deploy to server and show in browser." name="run"/>
1.568 - <target name="-pre-run-deploy">
1.569 - <!-- Empty placeholder for easier customization. -->
1.570 - <!-- You can override this target in the ../build.xml file. -->
1.571 - </target>
1.572 - <target name="-post-run-deploy">
1.573 - <!-- Empty placeholder for easier customization. -->
1.574 - <!-- You can override this target in the ../build.xml file. -->
1.575 - </target>
1.576 - <target name="-pre-nbmodule-run-deploy">
1.577 - <!-- Empty placeholder for easier customization. -->
1.578 - <!-- This target can be overriden by NetBeans modules. Don't override it directly, use -pre-run-deploy task instead. -->
1.579 - </target>
1.580 - <target name="-post-nbmodule-run-deploy">
1.581 - <!-- Empty placeholder for easier customization. -->
1.582 - <!-- This target can be overriden by NetBeans modules. Don't override it directly, use -post-run-deploy task instead. -->
1.583 - </target>
1.584 - <target name="-run-deploy-am">
1.585 - <!-- Task to deploy to the Access Manager runtime. -->
1.586 - </target>
1.587 - <target depends="init,-init-cos,compile,compile-jsps,-do-compile-single-jsp,-pre-dist,-do-tmp-dist-with-manifest,-do-tmp-dist-without-manifest,-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">
1.588 - <nbjpdaappreloaded/>
1.589 - </target>
1.590 - <target if="netbeans.home" name="-run-deploy-nb">
1.591 - <nbdeploy clientUrlPart="${client.urlPart}" debugmode="false" forceRedeploy="${forceRedeploy}"/>
1.592 - </target>
1.593 - <target name="-init-deploy-ant" unless="netbeans.home">
1.594 - <property name="deploy.ant.archive" value="${dist.war}"/>
1.595 - <property name="deploy.ant.docbase.dir" value="${web.docbase.dir}"/>
1.596 - <property name="deploy.ant.resource.dir" value="${resource.dir}"/>
1.597 - <property name="deploy.ant.enabled" value="true"/>
1.598 - </target>
1.599 - <target depends="dist,-run-undeploy-nb,-init-deploy-ant,-undeploy-ant" name="run-undeploy"/>
1.600 - <target if="netbeans.home" name="-run-undeploy-nb">
1.601 - <fail message="Undeploy is not supported from within the IDE"/>
1.602 - </target>
1.603 - <target depends="init,-pre-dist,dist,-post-dist" name="verify">
1.604 - <nbverify file="${dist.war}"/>
1.605 - </target>
1.606 - <target depends="run-deploy,-init-display-browser,-display-browser-nb,-display-browser-cl" name="run-display-browser"/>
1.607 - <target if="do.display.browser" name="-init-display-browser">
1.608 - <condition property="do.display.browser.nb">
1.609 - <isset property="netbeans.home"/>
1.610 - </condition>
1.611 - <condition property="do.display.browser.cl">
1.612 - <isset property="deploy.ant.enabled"/>
1.613 - </condition>
1.614 - </target>
1.615 - <target if="do.display.browser.nb" name="-display-browser-nb">
1.616 - <nbbrowse url="${client.url}"/>
1.617 - </target>
1.618 - <target if="do.display.browser.cl" name="-get-browser" unless="browser">
1.619 - <condition property="browser" value="rundll32">
1.620 - <os family="windows"/>
1.621 - </condition>
1.622 - <condition else="" property="browser.args" value="url.dll,FileProtocolHandler">
1.623 - <os family="windows"/>
1.624 - </condition>
1.625 - <condition property="browser" value="/usr/bin/open">
1.626 - <os family="mac"/>
1.627 - </condition>
1.628 - <property environment="env"/>
1.629 - <condition property="browser" value="${env.BROWSER}">
1.630 - <isset property="env.BROWSER"/>
1.631 - </condition>
1.632 - <condition property="browser" value="/usr/bin/firefox">
1.633 - <available file="/usr/bin/firefox"/>
1.634 - </condition>
1.635 - <condition property="browser" value="/usr/local/firefox/firefox">
1.636 - <available file="/usr/local/firefox/firefox"/>
1.637 - </condition>
1.638 - <condition property="browser" value="/usr/bin/mozilla">
1.639 - <available file="/usr/bin/mozilla"/>
1.640 - </condition>
1.641 - <condition property="browser" value="/usr/local/mozilla/mozilla">
1.642 - <available file="/usr/local/mozilla/mozilla"/>
1.643 - </condition>
1.644 - <condition property="browser" value="/usr/sfw/lib/firefox/firefox">
1.645 - <available file="/usr/sfw/lib/firefox/firefox"/>
1.646 - </condition>
1.647 - <condition property="browser" value="/opt/csw/bin/firefox">
1.648 - <available file="/opt/csw/bin/firefox"/>
1.649 - </condition>
1.650 - <condition property="browser" value="/usr/sfw/lib/mozilla/mozilla">
1.651 - <available file="/usr/sfw/lib/mozilla/mozilla"/>
1.652 - </condition>
1.653 - <condition property="browser" value="/opt/csw/bin/mozilla">
1.654 - <available file="/opt/csw/bin/mozilla"/>
1.655 - </condition>
1.656 - </target>
1.657 - <target depends="-get-browser" if="do.display.browser.cl" name="-display-browser-cl">
1.658 - <fail unless="browser">
1.659 - Browser not found, cannot launch the deployed application. Try to set the BROWSER environment variable.
1.660 - </fail>
1.661 - <property name="browse.url" value="${deploy.ant.client.url}${client.urlPart}"/>
1.662 - <echo>Launching ${browse.url}</echo>
1.663 - <exec executable="${browser}" spawn="true">
1.664 - <arg line="${browser.args} ${browse.url}"/>
1.665 - </exec>
1.666 - </target>
1.667 - <target depends="init,-init-cos,compile-single" name="run-main">
1.668 - <fail unless="run.class">Must select one file in the IDE or set run.class</fail>
1.669 - <webproject1:java classname="${run.class}"/>
1.670 - </target>
1.671 - <target depends="init,compile-test-single,-pre-test-run-single" name="run-test-with-main">
1.672 - <fail unless="run.class">Must select one file in the IDE or set run.class</fail>
1.673 - <webproject1:java classname="${run.class}" classpath="${run.test.classpath}"/>
1.674 - </target>
1.675 - <!--
1.676 - DEBUGGING SECTION
1.677 - -->
1.678 - <target depends="init,-init-cos,compile,compile-jsps,-do-compile-single-jsp,-pre-dist,-do-tmp-dist-with-manifest,-do-tmp-dist-without-manifest" description="Debug project in IDE." if="netbeans.home" name="debug">
1.679 - <nbstartserver debugmode="true"/>
1.680 - <antcall target="connect-debugger"/>
1.681 - <nbdeploy clientUrlPart="${client.urlPart}" debugmode="true" forceRedeploy="true"/>
1.682 - <antcall target="debug-display-browser"/>
1.683 - <antcall target="connect-client-debugger"/>
1.684 - </target>
1.685 - <target if="do.debug.server" name="connect-debugger" unless="is.debugged">
1.686 - <nbjpdaconnect address="${jpda.address}" host="${jpda.host}" name="${name}" transport="${jpda.transport}">
1.687 - <classpath>
1.688 - <path path="${debug.classpath}:${j2ee.platform.classpath}"/>
1.689 - </classpath>
1.690 - <sourcepath>
1.691 - <path path="${web.docbase.dir}"/>
1.692 - </sourcepath>
1.693 - </nbjpdaconnect>
1.694 - </target>
1.695 - <target if="do.display.browser.debug" name="debug-display-browser">
1.696 - <nbbrowse url="${client.url}"/>
1.697 - </target>
1.698 - <target if="do.debug.client" name="connect-client-debugger">
1.699 - <webproject1:nbjsdebugstart webUrl="${client.url}"/>
1.700 - </target>
1.701 - <target depends="init,compile-test-single" if="netbeans.home" name="-debug-start-debuggee-main-test">
1.702 - <fail unless="debug.class">Must select one file in the IDE or set debug.class</fail>
1.703 - <webproject1:debug classname="${debug.class}" classpath="${debug.test.classpath}"/>
1.704 - </target>
1.705 - <target depends="init,compile-test-single,-debug-start-debugger-main-test,-debug-start-debuggee-main-test" if="netbeans.home" name="debug-test-with-main"/>
1.706 - <target depends="init,compile,compile-jsps,-do-compile-single-jsp,debug" if="netbeans.home" name="debug-single"/>
1.707 - <target depends="init" if="netbeans.home" name="-debug-start-debugger-main-test">
1.708 - <webproject1:nbjpdastart classpath="${debug.test.classpath}" name="${debug.class}"/>
1.709 - </target>
1.710 - <target depends="init" if="netbeans.home" name="-debug-start-debugger">
1.711 - <webproject1:nbjpdastart name="${debug.class}"/>
1.712 - </target>
1.713 - <target depends="init,compile-single" if="netbeans.home" name="-debug-start-debuggee-single">
1.714 - <fail unless="debug.class">Must select one file in the IDE or set debug.class</fail>
1.715 - <webproject1:debug classname="${debug.class}"/>
1.716 - </target>
1.717 - <target depends="init,compile-single,-debug-start-debugger,-debug-start-debuggee-single" if="netbeans.home" name="debug-single-main"/>
1.718 - <target depends="init" name="-pre-debug-fix">
1.719 - <fail unless="fix.includes">Must set fix.includes</fail>
1.720 - <property name="javac.includes" value="${fix.includes}.java"/>
1.721 - </target>
1.722 - <target depends="init,-pre-debug-fix,compile-single" if="netbeans.home" name="-do-debug-fix">
1.723 - <webproject1:nbjpdareload/>
1.724 - </target>
1.725 - <target depends="init,-pre-debug-fix,-do-debug-fix" if="netbeans.home" name="debug-fix"/>
1.726 - <!--
1.727 - JAVADOC SECTION
1.728 - -->
1.729 - <target depends="init" name="javadoc-build">
1.730 - <mkdir dir="${dist.javadoc.dir}"/>
1.731 - <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}">
1.732 - <classpath>
1.733 - <path path="${javac.classpath}:${j2ee.platform.classpath}"/>
1.734 - </classpath>
1.735 - <fileset dir="${src.dir}" excludes="${excludes}" includes="${includes}">
1.736 - <filename name="**/*.java"/>
1.737 - </fileset>
1.738 - <fileset dir="${build.generated.sources.dir}" erroronmissingdir="false">
1.739 - <include name="**/*.java"/>
1.740 - </fileset>
1.741 - </javadoc>
1.742 - </target>
1.743 - <target depends="init,javadoc-build" if="netbeans.home" name="javadoc-browse" unless="no.javadoc.preview">
1.744 - <nbbrowse file="${dist.javadoc.dir}/index.html"/>
1.745 - </target>
1.746 - <target depends="init,javadoc-build,javadoc-browse" description="Build Javadoc." name="javadoc"/>
1.747 - <!--
1.748 -
1.749 - JUNIT COMPILATION SECTION
1.750 - -->
1.751 - <target depends="init,compile" if="have.tests" name="-pre-pre-compile-test">
1.752 - <mkdir dir="${build.test.classes.dir}"/>
1.753 - <property name="j2ee.platform.embeddableejb.classpath" value=""/>
1.754 - </target>
1.755 - <target name="-pre-compile-test">
1.756 - <!-- Empty placeholder for easier customization. -->
1.757 - <!-- You can override this target in the ../build.xml file. -->
1.758 - </target>
1.759 - <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test" if="have.tests" name="-do-compile-test">
1.760 - <webproject2:javac classpath="${javac.test.classpath}:${j2ee.platform.classpath}:${j2ee.platform.embeddableejb.classpath}" debug="true" destdir="${build.test.classes.dir}" srcdir="${test.src.dir}"/>
1.761 - <copy todir="${build.test.classes.dir}">
1.762 - <fileset dir="${test.src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
1.763 - </copy>
1.764 - </target>
1.765 - <target name="-post-compile-test">
1.766 - <!-- Empty placeholder for easier customization. -->
1.767 - <!-- You can override this target in the ../build.xml file. -->
1.768 - </target>
1.769 - <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test,-do-compile-test,-post-compile-test" name="compile-test"/>
1.770 - <target name="-pre-compile-test-single">
1.771 - <!-- Empty placeholder for easier customization. -->
1.772 - <!-- You can override this target in the ../build.xml file. -->
1.773 - </target>
1.774 - <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test-single" if="have.tests" name="-do-compile-test-single">
1.775 - <fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail>
1.776 - <webproject2: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}"/>
1.777 - <copy todir="${build.test.classes.dir}">
1.778 - <fileset dir="${test.src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
1.779 - </copy>
1.780 - </target>
1.781 - <target name="-post-compile-test-single">
1.782 - <!-- Empty placeholder for easier customization. -->
1.783 - <!-- You can override this target in the ../build.xml file. -->
1.784 - </target>
1.785 - <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test-single,-do-compile-test-single,-post-compile-test-single" name="compile-test-single"/>
1.786 - <!--
1.787 -
1.788 - JUNIT EXECUTION SECTION
1.789 - -->
1.790 - <target depends="init" if="have.tests" name="-pre-test-run">
1.791 - <mkdir dir="${build.test.results.dir}"/>
1.792 - </target>
1.793 - <target depends="init,compile-test,-pre-test-run" if="have.tests" name="-do-test-run">
1.794 - <webproject2:junit testincludes="**/*Test.java"/>
1.795 - </target>
1.796 - <target depends="init,compile-test,-pre-test-run,-do-test-run" if="have.tests" name="-post-test-run">
1.797 - <fail if="tests.failed" unless="ignore.failing.tests">Some tests failed; see details above.</fail>
1.798 - </target>
1.799 - <target depends="init" if="have.tests" name="test-report"/>
1.800 - <target depends="init" if="netbeans.home+have.tests" name="-test-browse"/>
1.801 - <target depends="init,compile-test,-pre-test-run,-do-test-run,test-report,-post-test-run,-test-browse" description="Run unit tests." name="test"/>
1.802 - <target depends="init" if="have.tests" name="-pre-test-run-single">
1.803 - <mkdir dir="${build.test.results.dir}"/>
1.804 - </target>
1.805 - <target depends="init,compile-test-single,-pre-test-run-single" if="have.tests" name="-do-test-run-single">
1.806 - <fail unless="test.includes">Must select some files in the IDE or set test.includes</fail>
1.807 - <webproject2:junit excludes="" includes="${test.includes}"/>
1.808 - </target>
1.809 - <target depends="init,compile-test-single,-pre-test-run-single,-do-test-run-single" if="have.tests" name="-post-test-run-single">
1.810 - <fail if="tests.failed" unless="ignore.failing.tests">Some tests failed; see details above.</fail>
1.811 - </target>
1.812 - <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"/>
1.813 - <!--
1.814 -
1.815 - JUNIT DEBUGGING SECTION
1.816 - -->
1.817 - <target depends="init,compile-test" if="have.tests" name="-debug-start-debuggee-test">
1.818 - <fail unless="test.class">Must select one file in the IDE or set test.class</fail>
1.819 - <property location="${build.test.results.dir}/TEST-${test.class}.xml" name="test.report.file"/>
1.820 - <delete file="${test.report.file}"/>
1.821 - <!-- must exist, otherwise the XML formatter would fail -->
1.822 - <mkdir dir="${build.test.results.dir}"/>
1.823 - <webproject1: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}">
1.824 - <customize>
1.825 - <arg value="showoutput=true"/>
1.826 - <arg value="formatter=org.apache.tools.ant.taskdefs.optional.junit.BriefJUnitResultFormatter"/>
1.827 - <arg value="formatter=org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter,${test.report.file}"/>
1.828 - </customize>
1.829 - </webproject1:debug>
1.830 - </target>
1.831 - <target depends="init,compile-test" if="netbeans.home+have.tests" name="-debug-start-debugger-test">
1.832 - <webproject1:nbjpdastart classpath="${debug.test.classpath}" name="${test.class}"/>
1.833 - </target>
1.834 - <target depends="init,compile-test,-debug-start-debugger-test,-debug-start-debuggee-test" name="debug-test"/>
1.835 - <target depends="init,-pre-debug-fix,compile-test-single" if="netbeans.home" name="-do-debug-fix-test">
1.836 - <webproject1:nbjpdareload dir="${build.test.classes.dir}"/>
1.837 - </target>
1.838 - <target depends="init,-pre-debug-fix,-do-debug-fix-test" if="netbeans.home" name="debug-fix-test"/>
1.839 - <!--
1.840 -
1.841 - CLEANUP SECTION
1.842 - -->
1.843 - <target depends="init" if="no.dist.ear.dir" name="deps-clean" unless="no.deps">
1.844 - <ant antfile="${project.nekurak_net-lib}/build.xml" inheritall="false" target="clean"/>
1.845 - </target>
1.846 - <target depends="init" name="do-clean">
1.847 - <condition property="build.dir.to.clean" value="${build.web.dir}">
1.848 - <isset property="dist.ear.dir"/>
1.849 - </condition>
1.850 - <property name="build.dir.to.clean" value="${build.web.dir}"/>
1.851 - <delete includeEmptyDirs="true" quiet="true">
1.852 - <fileset dir="${build.dir.to.clean}/WEB-INF/lib"/>
1.853 - </delete>
1.854 - <delete dir="${build.dir}"/>
1.855 - <available file="${build.dir.to.clean}/WEB-INF/lib" property="status.clean-failed" type="dir"/>
1.856 - <delete dir="${dist.dir}"/>
1.857 - </target>
1.858 - <target depends="do-clean" if="status.clean-failed" name="check-clean">
1.859 - <echo message="Warning: unable to delete some files in ${build.web.dir}/WEB-INF/lib - they are probably locked by the J2EE server. "/>
1.860 - <echo level="info" message="To delete all files undeploy the module from Server Registry in Runtime tab and then use Clean again."/>
1.861 - </target>
1.862 - <target depends="init" if="netbeans.home" name="undeploy-clean">
1.863 - <nbundeploy failOnError="false" startServer="false"/>
1.864 - </target>
1.865 - <target name="-post-clean">
1.866 - <!-- Empty placeholder for easier customization. -->
1.867 - <!-- You can override this target in the ../build.xml file. -->
1.868 - </target>
1.869 - <target depends="init,undeploy-clean,deps-clean,do-clean,check-clean,-post-clean" description="Clean build products." name="clean"/>
1.870 - <target depends="clean" description="Clean build products." name="clean-ear"/>
1.871 -</project>