nbproject/build-impl.xml

changeset 29
27a0fdd7bca7
parent 28
cfc3d11884ad
child 30
fb30f7b78f9b
     1.1 --- a/nbproject/build-impl.xml	Sun Apr 08 16:51:15 2018 +0200
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,1448 +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 -        - test compilation
    1.18 -        - test execution
    1.19 -        - test 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="LightPIT-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.old">
   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 -                <not>
   1.118 -                    <isset property="browser.context"/>
   1.119 -                </not>
   1.120 -            </and>
   1.121 -        </condition>
   1.122 -        <condition property="do.display.browser.debug">
   1.123 -            <and>
   1.124 -                <isset property="do.display.browser"/>
   1.125 -                <not>
   1.126 -                    <isset property="do.debug.client"/>
   1.127 -                </not>
   1.128 -                <isset property="browser.context"/>
   1.129 -            </and>
   1.130 -        </condition>
   1.131 -        <available file="${conf.dir}/MANIFEST.MF" property="has.custom.manifest"/>
   1.132 -        <available file="${persistence.xml.dir}/persistence.xml" property="has.persistence.xml"/>
   1.133 -        <condition property="do.war.package.with.custom.manifest">
   1.134 -            <isset property="has.custom.manifest"/>
   1.135 -        </condition>
   1.136 -        <condition property="do.war.package.without.custom.manifest">
   1.137 -            <not>
   1.138 -                <isset property="has.custom.manifest"/>
   1.139 -            </not>
   1.140 -        </condition>
   1.141 -        <condition property="do.tmp.war.package.with.custom.manifest">
   1.142 -            <and>
   1.143 -                <isset property="has.custom.manifest"/>
   1.144 -                <or>
   1.145 -                    <isfalse value="${directory.deployment.supported}"/>
   1.146 -                    <isset property="dist.ear.dir"/>
   1.147 -                </or>
   1.148 -            </and>
   1.149 -        </condition>
   1.150 -        <condition property="do.tmp.war.package.without.custom.manifest">
   1.151 -            <and>
   1.152 -                <not>
   1.153 -                    <isset property="has.custom.manifest"/>
   1.154 -                </not>
   1.155 -                <or>
   1.156 -                    <isfalse value="${directory.deployment.supported}"/>
   1.157 -                    <isset property="dist.ear.dir"/>
   1.158 -                </or>
   1.159 -            </and>
   1.160 -        </condition>
   1.161 -        <condition property="do.tmp.war.package">
   1.162 -            <or>
   1.163 -                <isfalse value="${directory.deployment.supported}"/>
   1.164 -                <isset property="dist.ear.dir"/>
   1.165 -            </or>
   1.166 -        </condition>
   1.167 -        <property name="build.meta.inf.dir" value="${build.web.dir}/META-INF"/>
   1.168 -        <condition else="" property="application.args.param" value="${application.args}">
   1.169 -            <and>
   1.170 -                <isset property="application.args"/>
   1.171 -                <not>
   1.172 -                    <equals arg1="${application.args}" arg2="" trim="true"/>
   1.173 -                </not>
   1.174 -            </and>
   1.175 -        </condition>
   1.176 -        <property name="source.encoding" value="${file.encoding}"/>
   1.177 -        <condition property="javadoc.encoding.used" value="${javadoc.encoding}">
   1.178 -            <and>
   1.179 -                <isset property="javadoc.encoding"/>
   1.180 -                <not>
   1.181 -                    <equals arg1="${javadoc.encoding}" arg2=""/>
   1.182 -                </not>
   1.183 -            </and>
   1.184 -        </condition>
   1.185 -        <property name="javadoc.encoding.used" value="${source.encoding}"/>
   1.186 -        <property name="includes" value="**"/>
   1.187 -        <property name="excludes" value=""/>
   1.188 -        <property name="runmain.jvmargs" value=""/>
   1.189 -        <path id="endorsed.classpath.path" path="${endorsed.classpath}"/>
   1.190 -        <condition else="" property="endorsed.classpath.cmd.line.arg" value="-Xbootclasspath/p:'${toString:endorsed.classpath.path}'">
   1.191 -            <and>
   1.192 -                <isset property="endorsed.classpath"/>
   1.193 -                <length length="0" string="${endorsed.classpath}" when="greater"/>
   1.194 -            </and>
   1.195 -        </condition>
   1.196 -        <condition else="false" property="jdkBug6558476">
   1.197 -            <and>
   1.198 -                <matches pattern="1\.[56]" string="${java.specification.version}"/>
   1.199 -                <not>
   1.200 -                    <os family="unix"/>
   1.201 -                </not>
   1.202 -            </and>
   1.203 -        </condition>
   1.204 -        <property name="javac.fork" value="${jdkBug6558476}"/>
   1.205 -        <condition property="junit.available">
   1.206 -            <or>
   1.207 -                <available classname="org.junit.Test" classpath="${run.test.classpath}"/>
   1.208 -                <available classname="junit.framework.Test" classpath="${run.test.classpath}"/>
   1.209 -            </or>
   1.210 -        </condition>
   1.211 -        <condition property="testng.available">
   1.212 -            <available classname="org.testng.annotations.Test" classpath="${run.test.classpath}"/>
   1.213 -        </condition>
   1.214 -        <condition property="junit+testng.available">
   1.215 -            <and>
   1.216 -                <istrue value="${junit.available}"/>
   1.217 -                <istrue value="${testng.available}"/>
   1.218 -            </and>
   1.219 -        </condition>
   1.220 -        <condition else="testng" property="testng.mode" value="mixed">
   1.221 -            <istrue value="${junit+testng.available}"/>
   1.222 -        </condition>
   1.223 -        <condition else="" property="testng.debug.mode" value="-mixed">
   1.224 -            <istrue value="${junit+testng.available}"/>
   1.225 -        </condition>
   1.226 -    </target>
   1.227 -    <target depends="init" name="-init-cos" unless="deploy.on.save">
   1.228 -        <condition property="deploy.on.save" value="true">
   1.229 -            <or>
   1.230 -                <istrue value="${j2ee.deploy.on.save}"/>
   1.231 -                <istrue value="${j2ee.compile.on.save}"/>
   1.232 -            </or>
   1.233 -        </condition>
   1.234 -    </target>
   1.235 -    <target name="-post-init">
   1.236 -        <!-- Empty placeholder for easier customization. -->
   1.237 -        <!-- You can override this target in the ../build.xml file. -->
   1.238 -    </target>
   1.239 -    <target depends="-pre-init,-init-private,-init-user,-init-project,-do-init" name="-init-check">
   1.240 -        <fail unless="src.dir">Must set src.dir</fail>
   1.241 -        <fail unless="test.src.dir">Must set test.src.dir</fail>
   1.242 -        <fail unless="build.dir">Must set build.dir</fail>
   1.243 -        <fail unless="build.web.dir">Must set build.web.dir</fail>
   1.244 -        <fail unless="build.generated.dir">Must set build.generated.dir</fail>
   1.245 -        <fail unless="dist.dir">Must set dist.dir</fail>
   1.246 -        <fail unless="build.classes.dir">Must set build.classes.dir</fail>
   1.247 -        <fail unless="dist.javadoc.dir">Must set dist.javadoc.dir</fail>
   1.248 -        <fail unless="build.test.classes.dir">Must set build.test.classes.dir</fail>
   1.249 -        <fail unless="build.test.results.dir">Must set build.test.results.dir</fail>
   1.250 -        <fail unless="build.classes.excludes">Must set build.classes.excludes</fail>
   1.251 -        <fail unless="dist.war">Must set dist.war</fail>
   1.252 -        <condition property="missing.j2ee.server.home">
   1.253 -            <and>
   1.254 -                <matches pattern="j2ee.server.home" string="${j2ee.platform.classpath}"/>
   1.255 -                <not>
   1.256 -                    <isset property="j2ee.server.home"/>
   1.257 -                </not>
   1.258 -            </and>
   1.259 -        </condition>
   1.260 -        <fail if="missing.j2ee.server.home">
   1.261 -The Java EE server classpath is not correctly set up - server home directory is missing.
   1.262 -Either open the project in the IDE and assign the server or setup the server classpath manually.
   1.263 -For example like this:
   1.264 -   ant -Dj2ee.server.home=&lt;app_server_installation_directory&gt;
   1.265 -                </fail>
   1.266 -        <fail unless="j2ee.platform.classpath">
   1.267 -The Java EE server classpath is not correctly set up. Your active server type is ${j2ee.server.type}.
   1.268 -Either open the project in the IDE and assign the server or setup the server classpath manually.
   1.269 -For example like this:
   1.270 -   ant -Duser.properties.file=&lt;path_to_property_file&gt; (where you put the property "j2ee.platform.classpath" in a .properties file)
   1.271 -or ant -Dj2ee.platform.classpath=&lt;server_classpath&gt; (where no properties file is used)
   1.272 -                </fail>
   1.273 -    </target>
   1.274 -    <target name="-init-macrodef-property">
   1.275 -        <macrodef name="property" uri="http://www.netbeans.org/ns/web-project/1">
   1.276 -            <attribute name="name"/>
   1.277 -            <attribute name="value"/>
   1.278 -            <sequential>
   1.279 -                <property name="@{name}" value="${@{value}}"/>
   1.280 -            </sequential>
   1.281 -        </macrodef>
   1.282 -    </target>
   1.283 -    <target depends="-init-ap-cmdline-properties" if="ap.supported.internal" name="-init-macrodef-javac-with-processors">
   1.284 -        <macrodef name="javac" uri="http://www.netbeans.org/ns/web-project/2">
   1.285 -            <attribute default="${src.dir}" name="srcdir"/>
   1.286 -            <attribute default="${build.classes.dir}" name="destdir"/>
   1.287 -            <attribute default="${javac.classpath}:${j2ee.platform.classpath}" name="classpath"/>
   1.288 -            <attribute default="${javac.processorpath}" name="processorpath"/>
   1.289 -            <attribute default="${build.generated.sources.dir}/ap-source-output" name="apgeneratedsrcdir"/>
   1.290 -            <attribute default="${includes}" name="includes"/>
   1.291 -            <attribute default="${excludes}" name="excludes"/>
   1.292 -            <attribute default="${javac.debug}" name="debug"/>
   1.293 -            <attribute default="${empty.dir}" name="gensrcdir"/>
   1.294 -            <element name="customize" optional="true"/>
   1.295 -            <sequential>
   1.296 -                <property location="${build.dir}/empty" name="empty.dir"/>
   1.297 -                <mkdir dir="${empty.dir}"/>
   1.298 -                <mkdir dir="@{apgeneratedsrcdir}"/>
   1.299 -                <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}">
   1.300 -                    <src>
   1.301 -                        <dirset dir="@{gensrcdir}" erroronmissingdir="false">
   1.302 -                            <include name="*"/>
   1.303 -                        </dirset>
   1.304 -                    </src>
   1.305 -                    <classpath>
   1.306 -                        <path path="@{classpath}"/>
   1.307 -                    </classpath>
   1.308 -                    <compilerarg line="${endorsed.classpath.cmd.line.arg}"/>
   1.309 -                    <compilerarg line="${javac.compilerargs}"/>
   1.310 -                    <compilerarg value="-processorpath"/>
   1.311 -                    <compilerarg path="@{processorpath}:${empty.dir}"/>
   1.312 -                    <compilerarg line="${ap.processors.internal}"/>
   1.313 -                    <compilerarg value="-s"/>
   1.314 -                    <compilerarg path="@{apgeneratedsrcdir}"/>
   1.315 -                    <compilerarg line="${ap.proc.none.internal}"/>
   1.316 -                    <customize/>
   1.317 -                </javac>
   1.318 -            </sequential>
   1.319 -        </macrodef>
   1.320 -    </target>
   1.321 -    <target depends="-init-ap-cmdline-properties" name="-init-macrodef-javac-without-processors" unless="ap.supported.internal">
   1.322 -        <macrodef name="javac" uri="http://www.netbeans.org/ns/web-project/2">
   1.323 -            <attribute default="${src.dir}" name="srcdir"/>
   1.324 -            <attribute default="${build.classes.dir}" name="destdir"/>
   1.325 -            <attribute default="${javac.classpath}:${j2ee.platform.classpath}" name="classpath"/>
   1.326 -            <attribute default="${javac.processorpath}" name="processorpath"/>
   1.327 -            <attribute default="${build.generated.sources.dir}/ap-source-output" name="apgeneratedsrcdir"/>
   1.328 -            <attribute default="${includes}" name="includes"/>
   1.329 -            <attribute default="${excludes}" name="excludes"/>
   1.330 -            <attribute default="${javac.debug}" name="debug"/>
   1.331 -            <attribute default="${empty.dir}" name="gensrcdir"/>
   1.332 -            <element name="customize" optional="true"/>
   1.333 -            <sequential>
   1.334 -                <property location="${build.dir}/empty" name="empty.dir"/>
   1.335 -                <mkdir dir="${empty.dir}"/>
   1.336 -                <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.337 -                    <src>
   1.338 -                        <dirset dir="@{gensrcdir}" erroronmissingdir="false">
   1.339 -                            <include name="*"/>
   1.340 -                        </dirset>
   1.341 -                    </src>
   1.342 -                    <classpath>
   1.343 -                        <path path="@{classpath}"/>
   1.344 -                    </classpath>
   1.345 -                    <compilerarg line="${endorsed.classpath.cmd.line.arg}"/>
   1.346 -                    <compilerarg line="${javac.compilerargs}"/>
   1.347 -                    <customize/>
   1.348 -                </javac>
   1.349 -            </sequential>
   1.350 -        </macrodef>
   1.351 -    </target>
   1.352 -    <target depends="-init-macrodef-javac-with-processors,-init-macrodef-javac-without-processors" name="-init-macrodef-javac">
   1.353 -        <macrodef name="depend" uri="http://www.netbeans.org/ns/web-project/2">
   1.354 -            <attribute default="${src.dir}" name="srcdir"/>
   1.355 -            <attribute default="${build.classes.dir}" name="destdir"/>
   1.356 -            <attribute default="${javac.classpath}:${j2ee.platform.classpath}" name="classpath"/>
   1.357 -            <sequential>
   1.358 -                <depend cache="${build.dir}/depcache" destdir="@{destdir}" excludes="${excludes}" includes="${includes}" srcdir="@{srcdir}">
   1.359 -                    <classpath>
   1.360 -                        <path path="@{classpath}"/>
   1.361 -                    </classpath>
   1.362 -                </depend>
   1.363 -            </sequential>
   1.364 -        </macrodef>
   1.365 -        <macrodef name="force-recompile" uri="http://www.netbeans.org/ns/web-project/2">
   1.366 -            <attribute default="${build.classes.dir}" name="destdir"/>
   1.367 -            <sequential>
   1.368 -                <fail unless="javac.includes">Must set javac.includes</fail>
   1.369 -                <pathconvert pathsep="${line.separator}" property="javac.includes.binary">
   1.370 -                    <path>
   1.371 -                        <filelist dir="@{destdir}" files="${javac.includes}"/>
   1.372 -                    </path>
   1.373 -                    <globmapper from="*.java" to="*.class"/>
   1.374 -                </pathconvert>
   1.375 -                <tempfile deleteonexit="true" property="javac.includesfile.binary"/>
   1.376 -                <echo file="${javac.includesfile.binary}" message="${javac.includes.binary}"/>
   1.377 -                <delete>
   1.378 -                    <files includesfile="${javac.includesfile.binary}"/>
   1.379 -                </delete>
   1.380 -                <delete file="${javac.includesfile.binary}"/>
   1.381 -            </sequential>
   1.382 -        </macrodef>
   1.383 -    </target>
   1.384 -    <target if="${junit.available}" name="-init-macrodef-junit-init">
   1.385 -        <condition else="false" property="nb.junit.batch" value="true">
   1.386 -            <and>
   1.387 -                <istrue value="${junit.available}"/>
   1.388 -                <not>
   1.389 -                    <isset property="test.method"/>
   1.390 -                </not>
   1.391 -            </and>
   1.392 -        </condition>
   1.393 -        <condition else="false" property="nb.junit.single" value="true">
   1.394 -            <and>
   1.395 -                <istrue value="${junit.available}"/>
   1.396 -                <isset property="test.method"/>
   1.397 -            </and>
   1.398 -        </condition>
   1.399 -    </target>
   1.400 -    <target name="-init-test-properties">
   1.401 -        <property name="test.binaryincludes" value="&lt;nothing&gt;"/>
   1.402 -        <property name="test.binarytestincludes" value=""/>
   1.403 -        <property name="test.binaryexcludes" value=""/>
   1.404 -    </target>
   1.405 -    <target if="${nb.junit.single}" name="-init-macrodef-junit-single" unless="${nb.junit.batch}">
   1.406 -        <macrodef name="junit" uri="http://www.netbeans.org/ns/web-project/2">
   1.407 -            <attribute default="${includes}" name="includes"/>
   1.408 -            <attribute default="${excludes}" name="excludes"/>
   1.409 -            <attribute default="**" name="testincludes"/>
   1.410 -            <attribute default="" name="testmethods"/>
   1.411 -            <element name="customize" optional="true"/>
   1.412 -            <sequential>
   1.413 -                <junit dir="${basedir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" showoutput="true" tempdir="${java.io.tmpdir}">
   1.414 -                    <test methods="@{testmethods}" name="@{testincludes}" todir="${build.test.results.dir}"/>
   1.415 -                    <syspropertyset>
   1.416 -                        <propertyref prefix="test-sys-prop."/>
   1.417 -                        <mapper from="test-sys-prop.*" to="*" type="glob"/>
   1.418 -                    </syspropertyset>
   1.419 -                    <formatter type="brief" usefile="false"/>
   1.420 -                    <formatter type="xml"/>
   1.421 -                    <jvmarg value="-ea"/>
   1.422 -                    <customize/>
   1.423 -                </junit>
   1.424 -            </sequential>
   1.425 -        </macrodef>
   1.426 -    </target>
   1.427 -    <target depends="-init-test-properties" if="${nb.junit.batch}" name="-init-macrodef-junit-batch" unless="${nb.junit.single}">
   1.428 -        <macrodef name="junit" uri="http://www.netbeans.org/ns/web-project/2">
   1.429 -            <attribute default="${includes}" name="includes"/>
   1.430 -            <attribute default="${excludes}" name="excludes"/>
   1.431 -            <attribute default="**" name="testincludes"/>
   1.432 -            <attribute default="" name="testmethods"/>
   1.433 -            <element name="customize" optional="true"/>
   1.434 -            <sequential>
   1.435 -                <property name="run.jvmargs.ide" value=""/>
   1.436 -                <junit dir="${basedir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" showoutput="true" tempdir="${build.dir}">
   1.437 -                    <batchtest todir="${build.test.results.dir}">
   1.438 -                        <fileset dir="${test.src.dir}" excludes="@{excludes},${excludes}" includes="@{includes}">
   1.439 -                            <filename name="@{testincludes}"/>
   1.440 -                        </fileset>
   1.441 -                        <fileset dir="${build.test.classes.dir}" excludes="@{excludes},${excludes},${test.binaryexcludes}" includes="${test.binaryincludes}">
   1.442 -                            <filename name="${test.binarytestincludes}"/>
   1.443 -                        </fileset>
   1.444 -                    </batchtest>
   1.445 -                    <syspropertyset>
   1.446 -                        <propertyref prefix="test-sys-prop."/>
   1.447 -                        <mapper from="test-sys-prop.*" to="*" type="glob"/>
   1.448 -                    </syspropertyset>
   1.449 -                    <formatter type="brief" usefile="false"/>
   1.450 -                    <formatter type="xml"/>
   1.451 -                    <jvmarg value="-ea"/>
   1.452 -                    <jvmarg line="${run.jvmargs.ide}"/>
   1.453 -                    <customize/>
   1.454 -                </junit>
   1.455 -            </sequential>
   1.456 -        </macrodef>
   1.457 -    </target>
   1.458 -    <target depends="-init-macrodef-junit-init,-init-macrodef-junit-single, -init-macrodef-junit-batch" if="${junit.available}" name="-init-macrodef-junit"/>
   1.459 -    <target if="${testng.available}" name="-init-macrodef-testng">
   1.460 -        <macrodef name="testng" uri="http://www.netbeans.org/ns/web-project/2">
   1.461 -            <attribute default="${includes}" name="includes"/>
   1.462 -            <attribute default="${excludes}" name="excludes"/>
   1.463 -            <attribute default="**" name="testincludes"/>
   1.464 -            <attribute default="" name="testmethods"/>
   1.465 -            <element name="customize" optional="true"/>
   1.466 -            <sequential>
   1.467 -                <condition else="" property="testng.methods.arg" value="@{testincludes}.@{testmethods}">
   1.468 -                    <isset property="test.method"/>
   1.469 -                </condition>
   1.470 -                <union id="test.set">
   1.471 -                    <fileset dir="${test.src.dir}" excludes="@{excludes},**/*.xml,${excludes}" includes="@{includes}">
   1.472 -                        <filename name="@{testincludes}"/>
   1.473 -                    </fileset>
   1.474 -                </union>
   1.475 -                <taskdef classname="org.testng.TestNGAntTask" classpath="${run.test.classpath}" name="testng"/>
   1.476 -                <testng classfilesetref="test.set" failureProperty="tests.failed" listeners="org.testng.reporters.VerboseReporter" methods="${testng.methods.arg}" mode="${testng.mode}" outputdir="${build.test.results.dir}" suitename="LightPIT" testname="TestNG tests" workingDir="${basedir}">
   1.477 -                    <xmlfileset dir="${build.test.classes.dir}" includes="@{testincludes}"/>
   1.478 -                    <propertyset>
   1.479 -                        <propertyref prefix="test-sys-prop."/>
   1.480 -                        <mapper from="test-sys-prop.*" to="*" type="glob"/>
   1.481 -                    </propertyset>
   1.482 -                    <customize/>
   1.483 -                </testng>
   1.484 -            </sequential>
   1.485 -        </macrodef>
   1.486 -    </target>
   1.487 -    <target name="-init-macrodef-test-impl">
   1.488 -        <macrodef name="test-impl" uri="http://www.netbeans.org/ns/web-project/2">
   1.489 -            <attribute default="${includes}" name="includes"/>
   1.490 -            <attribute default="${excludes}" name="excludes"/>
   1.491 -            <attribute default="**" name="testincludes"/>
   1.492 -            <attribute default="" name="testmethods"/>
   1.493 -            <element implicit="true" name="customize" optional="true"/>
   1.494 -            <sequential>
   1.495 -                <echo>No tests executed.</echo>
   1.496 -            </sequential>
   1.497 -        </macrodef>
   1.498 -    </target>
   1.499 -    <target depends="-init-macrodef-junit" if="${junit.available}" name="-init-macrodef-junit-impl">
   1.500 -        <macrodef name="test-impl" uri="http://www.netbeans.org/ns/web-project/2">
   1.501 -            <attribute default="${includes}" name="includes"/>
   1.502 -            <attribute default="${excludes}" name="excludes"/>
   1.503 -            <attribute default="**" name="testincludes"/>
   1.504 -            <attribute default="" name="testmethods"/>
   1.505 -            <element implicit="true" name="customize" optional="true"/>
   1.506 -            <sequential>
   1.507 -                <webproject2:junit excludes="@{excludes}" includes="@{includes}" testincludes="@{testincludes}" testmethods="@{testmethods}">
   1.508 -                    <customize/>
   1.509 -                </webproject2:junit>
   1.510 -            </sequential>
   1.511 -        </macrodef>
   1.512 -    </target>
   1.513 -    <target depends="-init-macrodef-testng" if="${testng.available}" name="-init-macrodef-testng-impl">
   1.514 -        <macrodef name="test-impl" uri="http://www.netbeans.org/ns/web-project/2">
   1.515 -            <attribute default="${includes}" name="includes"/>
   1.516 -            <attribute default="${excludes}" name="excludes"/>
   1.517 -            <attribute default="**" name="testincludes"/>
   1.518 -            <attribute default="" name="testmethods"/>
   1.519 -            <element implicit="true" name="customize" optional="true"/>
   1.520 -            <sequential>
   1.521 -                <webproject2:testng excludes="@{excludes}" includes="@{includes}" testincludes="@{testincludes}" testmethods="@{testmethods}">
   1.522 -                    <customize/>
   1.523 -                </webproject2:testng>
   1.524 -            </sequential>
   1.525 -        </macrodef>
   1.526 -    </target>
   1.527 -    <target depends="-init-macrodef-test-impl,-init-macrodef-junit-impl,-init-macrodef-testng-impl" name="-init-macrodef-test">
   1.528 -        <macrodef name="test" uri="http://www.netbeans.org/ns/web-project/2">
   1.529 -            <attribute default="${includes}" name="includes"/>
   1.530 -            <attribute default="${excludes}" name="excludes"/>
   1.531 -            <attribute default="**" name="testincludes"/>
   1.532 -            <attribute default="" name="testmethods"/>
   1.533 -            <sequential>
   1.534 -                <webproject2:test-impl excludes="@{excludes}" includes="@{includes}" testincludes="@{testincludes}" testmethods="@{testmethods}">
   1.535 -                    <customize>
   1.536 -                        <classpath>
   1.537 -                            <path path="${run.test.classpath}:${j2ee.platform.classpath}:${j2ee.platform.embeddableejb.classpath}"/>
   1.538 -                        </classpath>
   1.539 -                        <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
   1.540 -                        <jvmarg line="${runmain.jvmargs}"/>
   1.541 -                    </customize>
   1.542 -                </webproject2:test-impl>
   1.543 -            </sequential>
   1.544 -        </macrodef>
   1.545 -    </target>
   1.546 -    <target if="${junit.available}" name="-init-macrodef-junit-debug" unless="${nb.junit.batch}">
   1.547 -        <macrodef name="junit-debug" uri="http://www.netbeans.org/ns/web-project/2">
   1.548 -            <attribute default="${includes}" name="includes"/>
   1.549 -            <attribute default="${excludes}" name="excludes"/>
   1.550 -            <attribute default="**" name="testincludes"/>
   1.551 -            <attribute default="" name="testmethods"/>
   1.552 -            <element name="customize" optional="true"/>
   1.553 -            <sequential>
   1.554 -                <junit dir="${basedir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" showoutput="true" tempdir="${java.io.tmpdir}">
   1.555 -                    <test methods="@{testmethods}" name="@{testincludes}" todir="${build.test.results.dir}"/>
   1.556 -                    <syspropertyset>
   1.557 -                        <propertyref prefix="test-sys-prop."/>
   1.558 -                        <mapper from="test-sys-prop.*" to="*" type="glob"/>
   1.559 -                    </syspropertyset>
   1.560 -                    <formatter type="brief" usefile="false"/>
   1.561 -                    <formatter type="xml"/>
   1.562 -                    <jvmarg value="-ea"/>
   1.563 -                    <jvmarg line="${debug-args-line}"/>
   1.564 -                    <jvmarg value="-Xrunjdwp:transport=${debug-transport},address=${jpda.address}"/>
   1.565 -                    <customize/>
   1.566 -                </junit>
   1.567 -            </sequential>
   1.568 -        </macrodef>
   1.569 -    </target>
   1.570 -    <target depends="-init-test-properties" if="${nb.junit.batch}" name="-init-macrodef-junit-debug-batch">
   1.571 -        <macrodef name="junit-debug" uri="http://www.netbeans.org/ns/web-project/2">
   1.572 -            <attribute default="${includes}" name="includes"/>
   1.573 -            <attribute default="${excludes}" name="excludes"/>
   1.574 -            <attribute default="**" name="testincludes"/>
   1.575 -            <attribute default="" name="testmethods"/>
   1.576 -            <element name="customize" optional="true"/>
   1.577 -            <sequential>
   1.578 -                <property name="run.jvmargs.ide" value=""/>
   1.579 -                <junit dir="${basedir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" showoutput="true" tempdir="${build.dir}">
   1.580 -                    <batchtest todir="${build.test.results.dir}">
   1.581 -                        <fileset dir="${test.src.dir}" excludes="@{excludes},${excludes}" includes="@{includes}">
   1.582 -                            <filename name="@{testincludes}"/>
   1.583 -                        </fileset>
   1.584 -                        <fileset dir="${build.test.classes.dir}" excludes="@{excludes},${excludes},${test.binaryexcludes}" includes="${test.binaryincludes}">
   1.585 -                            <filename name="${test.binarytestincludes}"/>
   1.586 -                        </fileset>
   1.587 -                    </batchtest>
   1.588 -                    <syspropertyset>
   1.589 -                        <propertyref prefix="test-sys-prop."/>
   1.590 -                        <mapper from="test-sys-prop.*" to="*" type="glob"/>
   1.591 -                    </syspropertyset>
   1.592 -                    <formatter type="brief" usefile="false"/>
   1.593 -                    <formatter type="xml"/>
   1.594 -                    <jvmarg value="-ea"/>
   1.595 -                    <jvmarg line="${run.jvmargs.ide}"/>
   1.596 -                    <jvmarg line="${debug-args-line}"/>
   1.597 -                    <jvmarg value="-Xrunjdwp:transport=${debug-transport},address=${jpda.address}"/>
   1.598 -                    <customize/>
   1.599 -                </junit>
   1.600 -            </sequential>
   1.601 -        </macrodef>
   1.602 -    </target>
   1.603 -    <target depends="-init-macrodef-junit-debug,-init-macrodef-junit-debug-batch" if="${junit.available}" name="-init-macrodef-junit-debug-impl">
   1.604 -        <macrodef name="test-debug-impl" uri="http://www.netbeans.org/ns/web-project/2">
   1.605 -            <attribute default="${includes}" name="includes"/>
   1.606 -            <attribute default="${excludes}" name="excludes"/>
   1.607 -            <attribute default="**" name="testincludes"/>
   1.608 -            <attribute default="" name="testmethods"/>
   1.609 -            <element implicit="true" name="customize" optional="true"/>
   1.610 -            <sequential>
   1.611 -                <webproject2:junit-debug excludes="@{excludes}" includes="@{includes}" testincludes="@{testincludes}" testmethods="@{testmethods}">
   1.612 -                    <customize/>
   1.613 -                </webproject2:junit-debug>
   1.614 -            </sequential>
   1.615 -        </macrodef>
   1.616 -    </target>
   1.617 -    <target if="${testng.available}" name="-init-macrodef-testng-debug">
   1.618 -        <macrodef name="testng-debug" uri="http://www.netbeans.org/ns/web-project/2">
   1.619 -            <attribute default="${main.class}" name="testClass"/>
   1.620 -            <attribute default="" name="testMethod"/>
   1.621 -            <element name="customize2" optional="true"/>
   1.622 -            <sequential>
   1.623 -                <condition else="-testclass @{testClass}" property="test.class.or.method" value="-methods @{testClass}.@{testMethod}">
   1.624 -                    <isset property="test.method"/>
   1.625 -                </condition>
   1.626 -                <condition else="-suitename LightPIT -testname @{testClass} ${test.class.or.method}" property="testng.cmd.args" value="@{testClass}">
   1.627 -                    <matches pattern=".*\.xml" string="@{testClass}"/>
   1.628 -                </condition>
   1.629 -                <delete dir="${build.test.results.dir}" quiet="true"/>
   1.630 -                <mkdir dir="${build.test.results.dir}"/>
   1.631 -                <webproject1:debug args="${testng.cmd.args}" classname="org.testng.TestNG" classpath="${debug.test.classpath}:${j2ee.platform.embeddableejb.classpath}">
   1.632 -                    <customize>
   1.633 -                        <customize2/>
   1.634 -                        <jvmarg value="-ea"/>
   1.635 -                        <arg line="${testng.debug.mode}"/>
   1.636 -                        <arg line="-d ${build.test.results.dir}"/>
   1.637 -                        <arg line="-listener org.testng.reporters.VerboseReporter"/>
   1.638 -                    </customize>
   1.639 -                </webproject1:debug>
   1.640 -            </sequential>
   1.641 -        </macrodef>
   1.642 -    </target>
   1.643 -    <target depends="-init-macrodef-testng-debug" if="${testng.available}" name="-init-macrodef-testng-debug-impl">
   1.644 -        <macrodef name="testng-debug-impl" uri="http://www.netbeans.org/ns/web-project/2">
   1.645 -            <attribute default="${main.class}" name="testClass"/>
   1.646 -            <attribute default="" name="testMethod"/>
   1.647 -            <element implicit="true" name="customize2" optional="true"/>
   1.648 -            <sequential>
   1.649 -                <webproject2:testng-debug testClass="@{testClass}" testMethod="@{testMethod}">
   1.650 -                    <customize2/>
   1.651 -                </webproject2:testng-debug>
   1.652 -            </sequential>
   1.653 -        </macrodef>
   1.654 -    </target>
   1.655 -    <target depends="-init-macrodef-junit-debug-impl" if="${junit.available}" name="-init-macrodef-test-debug-junit">
   1.656 -        <macrodef name="test-debug" uri="http://www.netbeans.org/ns/web-project/2">
   1.657 -            <attribute default="${includes}" name="includes"/>
   1.658 -            <attribute default="${excludes}" name="excludes"/>
   1.659 -            <attribute default="**" name="testincludes"/>
   1.660 -            <attribute default="" name="testmethods"/>
   1.661 -            <attribute default="${main.class}" name="testClass"/>
   1.662 -            <attribute default="" name="testMethod"/>
   1.663 -            <sequential>
   1.664 -                <webproject2:test-debug-impl excludes="@{excludes}" includes="@{includes}" testincludes="@{testincludes}" testmethods="@{testmethods}">
   1.665 -                    <customize>
   1.666 -                        <classpath>
   1.667 -                            <path path="${run.test.classpath}:${j2ee.platform.classpath}:${j2ee.platform.embeddableejb.classpath}"/>
   1.668 -                        </classpath>
   1.669 -                        <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
   1.670 -                        <jvmarg line="${runmain.jvmargs}"/>
   1.671 -                    </customize>
   1.672 -                </webproject2:test-debug-impl>
   1.673 -            </sequential>
   1.674 -        </macrodef>
   1.675 -    </target>
   1.676 -    <target depends="-init-macrodef-testng-debug-impl" if="${testng.available}" name="-init-macrodef-test-debug-testng">
   1.677 -        <macrodef name="test-debug" uri="http://www.netbeans.org/ns/web-project/2">
   1.678 -            <attribute default="${includes}" name="includes"/>
   1.679 -            <attribute default="${excludes}" name="excludes"/>
   1.680 -            <attribute default="**" name="testincludes"/>
   1.681 -            <attribute default="" name="testmethods"/>
   1.682 -            <attribute default="${main.class}" name="testClass"/>
   1.683 -            <attribute default="" name="testMethod"/>
   1.684 -            <sequential>
   1.685 -                <webproject2:testng-debug-impl testClass="@{testClass}" testMethod="@{testMethod}">
   1.686 -                    <customize2>
   1.687 -                        <syspropertyset>
   1.688 -                            <propertyref prefix="test-sys-prop."/>
   1.689 -                            <mapper from="test-sys-prop.*" to="*" type="glob"/>
   1.690 -                        </syspropertyset>
   1.691 -                    </customize2>
   1.692 -                </webproject2:testng-debug-impl>
   1.693 -            </sequential>
   1.694 -        </macrodef>
   1.695 -    </target>
   1.696 -    <target depends="-init-macrodef-test-debug-junit,-init-macrodef-test-debug-testng" name="-init-macrodef-test-debug"/>
   1.697 -    <target name="-init-macrodef-java">
   1.698 -        <macrodef name="java" uri="http://www.netbeans.org/ns/web-project/1">
   1.699 -            <attribute default="${main.class}" name="classname"/>
   1.700 -            <attribute default="${debug.classpath}" name="classpath"/>
   1.701 -            <element name="customize" optional="true"/>
   1.702 -            <sequential>
   1.703 -                <java classname="@{classname}" fork="true">
   1.704 -                    <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
   1.705 -                    <jvmarg line="${runmain.jvmargs}"/>
   1.706 -                    <classpath>
   1.707 -                        <path path="@{classpath}:${j2ee.platform.classpath}"/>
   1.708 -                    </classpath>
   1.709 -                    <syspropertyset>
   1.710 -                        <propertyref prefix="run-sys-prop."/>
   1.711 -                        <mapper from="run-sys-prop.*" to="*" type="glob"/>
   1.712 -                    </syspropertyset>
   1.713 -                    <customize/>
   1.714 -                </java>
   1.715 -            </sequential>
   1.716 -        </macrodef>
   1.717 -    </target>
   1.718 -    <target name="-init-macrodef-nbjsdebug">
   1.719 -        <macrodef name="nbjsdebugstart" uri="http://www.netbeans.org/ns/web-project/1">
   1.720 -            <attribute default="${client.url}" name="webUrl"/>
   1.721 -            <sequential>
   1.722 -                <nbjsdebugstart urlPart="${client.urlPart}" webUrl="@{webUrl}"/>
   1.723 -            </sequential>
   1.724 -        </macrodef>
   1.725 -    </target>
   1.726 -    <target depends="-init-debug-args" name="-init-macrodef-nbjpda">
   1.727 -        <macrodef name="nbjpdastart" uri="http://www.netbeans.org/ns/web-project/1">
   1.728 -            <attribute default="${main.class}" name="name"/>
   1.729 -            <attribute default="${debug.classpath}:${j2ee.platform.classpath}" name="classpath"/>
   1.730 -            <sequential>
   1.731 -                <nbjpdastart addressproperty="jpda.address" name="@{name}" transport="${debug-transport}">
   1.732 -                    <classpath>
   1.733 -                        <path path="@{classpath}"/>
   1.734 -                    </classpath>
   1.735 -                </nbjpdastart>
   1.736 -            </sequential>
   1.737 -        </macrodef>
   1.738 -        <macrodef name="nbjpdareload" uri="http://www.netbeans.org/ns/web-project/1">
   1.739 -            <attribute default="${build.classes.dir}" name="dir"/>
   1.740 -            <sequential>
   1.741 -                <nbjpdareload>
   1.742 -                    <fileset dir="@{dir}" includes="${fix.classes}">
   1.743 -                        <include name="${fix.includes}*.class"/>
   1.744 -                    </fileset>
   1.745 -                </nbjpdareload>
   1.746 -            </sequential>
   1.747 -        </macrodef>
   1.748 -        <macrodef name="nbjpdaappreloaded" uri="http://www.netbeans.org/ns/web-project/1">
   1.749 -            <sequential>
   1.750 -                <nbjpdaappreloaded/>
   1.751 -            </sequential>
   1.752 -        </macrodef>
   1.753 -    </target>
   1.754 -    <target name="-init-debug-args">
   1.755 -        <property name="version-output" value="java version &quot;${ant.java.version}"/>
   1.756 -        <condition property="have-jdk-older-than-1.4">
   1.757 -            <or>
   1.758 -                <contains string="${version-output}" substring="java version &quot;1.0"/>
   1.759 -                <contains string="${version-output}" substring="java version &quot;1.1"/>
   1.760 -                <contains string="${version-output}" substring="java version &quot;1.2"/>
   1.761 -                <contains string="${version-output}" substring="java version &quot;1.3"/>
   1.762 -            </or>
   1.763 -        </condition>
   1.764 -        <condition else="-Xdebug" property="debug-args-line" value="-Xdebug -Xnoagent -Djava.compiler=none">
   1.765 -            <istrue value="${have-jdk-older-than-1.4}"/>
   1.766 -        </condition>
   1.767 -        <condition else="dt_socket" property="debug-transport-by-os" value="dt_shmem">
   1.768 -            <os family="windows"/>
   1.769 -        </condition>
   1.770 -        <condition else="${debug-transport-by-os}" property="debug-transport" value="${debug.transport}">
   1.771 -            <isset property="debug.transport"/>
   1.772 -        </condition>
   1.773 -    </target>
   1.774 -    <target depends="-init-debug-args" name="-init-macrodef-debug">
   1.775 -        <macrodef name="debug" uri="http://www.netbeans.org/ns/web-project/1">
   1.776 -            <attribute default="${main.class}" name="classname"/>
   1.777 -            <attribute default="${debug.classpath}:${j2ee.platform.classpath}" name="classpath"/>
   1.778 -            <attribute default="${application.args.param}" name="args"/>
   1.779 -            <element name="customize" optional="true"/>
   1.780 -            <sequential>
   1.781 -                <java classname="@{classname}" fork="true">
   1.782 -                    <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
   1.783 -                    <jvmarg line="${debug-args-line}"/>
   1.784 -                    <jvmarg value="-Xrunjdwp:transport=${debug-transport},address=${jpda.address}"/>
   1.785 -                    <jvmarg line="${runmain.jvmargs}"/>
   1.786 -                    <classpath>
   1.787 -                        <path path="@{classpath}"/>
   1.788 -                    </classpath>
   1.789 -                    <syspropertyset>
   1.790 -                        <propertyref prefix="run-sys-prop."/>
   1.791 -                        <mapper from="run-sys-prop.*" to="*" type="glob"/>
   1.792 -                    </syspropertyset>
   1.793 -                    <arg line="@{args}"/>
   1.794 -                    <customize/>
   1.795 -                </java>
   1.796 -            </sequential>
   1.797 -        </macrodef>
   1.798 -    </target>
   1.799 -    <target name="-init-taskdefs">
   1.800 -        <fail unless="libs.CopyLibs.classpath">
   1.801 -The libs.CopyLibs.classpath property is not set up.
   1.802 -This property must point to 
   1.803 -org-netbeans-modules-java-j2seproject-copylibstask.jar file which is part
   1.804 -of NetBeans IDE installation and is usually located at 
   1.805 -&lt;netbeans_installation&gt;/java&lt;version&gt;/ant/extra folder.
   1.806 -Either open the project in the IDE and make sure CopyLibs library
   1.807 -exists or setup the property manually. For example like this:
   1.808 - ant -Dlibs.CopyLibs.classpath=a/path/to/org-netbeans-modules-java-j2seproject-copylibstask.jar
   1.809 -                </fail>
   1.810 -        <taskdef classpath="${libs.CopyLibs.classpath}" resource="org/netbeans/modules/java/j2seproject/copylibstask/antlib.xml"/>
   1.811 -    </target>
   1.812 -    <target name="-init-ap-cmdline-properties">
   1.813 -        <property name="annotation.processing.enabled" value="true"/>
   1.814 -        <property name="annotation.processing.processors.list" value=""/>
   1.815 -        <property name="annotation.processing.run.all.processors" value="true"/>
   1.816 -        <property name="javac.processorpath" value="${javac.classpath}"/>
   1.817 -        <property name="javac.test.processorpath" value="${javac.test.classpath}"/>
   1.818 -        <condition property="ap.supported.internal" value="true">
   1.819 -            <not>
   1.820 -                <matches pattern="1\.[0-5](\..*)?" string="${javac.source}"/>
   1.821 -            </not>
   1.822 -        </condition>
   1.823 -    </target>
   1.824 -    <target depends="-init-ap-cmdline-properties" if="ap.supported.internal" name="-init-ap-cmdline-supported">
   1.825 -        <condition else="" property="ap.processors.internal" value="-processor ${annotation.processing.processors.list}">
   1.826 -            <isfalse value="${annotation.processing.run.all.processors}"/>
   1.827 -        </condition>
   1.828 -        <condition else="" property="ap.proc.none.internal" value="-proc:none">
   1.829 -            <isfalse value="${annotation.processing.enabled}"/>
   1.830 -        </condition>
   1.831 -    </target>
   1.832 -    <target depends="-init-ap-cmdline-properties,-init-ap-cmdline-supported" name="-init-ap-cmdline">
   1.833 -        <property name="ap.cmd.line.internal" value=""/>
   1.834 -    </target>
   1.835 -    <!--
   1.836 -                pre NB7.2 profiling section; consider it deprecated
   1.837 -            -->
   1.838 -    <target depends="-profile-pre-init, init, -profile-post-init, -profile-init-check" if="profiler.info.jvmargs.agent" name="profile-init"/>
   1.839 -    <target if="profiler.info.jvmargs.agent" name="-profile-pre-init">
   1.840 -        <!-- Empty placeholder for easier customization. -->
   1.841 -        <!-- You can override this target in the ../build.xml file. -->
   1.842 -    </target>
   1.843 -    <target if="profiler.info.jvmargs.agent" name="-profile-post-init">
   1.844 -        <!-- Empty placeholder for easier customization. -->
   1.845 -        <!-- You can override this target in the ../build.xml file. -->
   1.846 -    </target>
   1.847 -    <target depends="-profile-pre-init, init, -profile-post-init" if="profiler.info.jvmargs.agent" name="-profile-init-check">
   1.848 -        <fail unless="profiler.info.jvm">Must set JVM to use for profiling in profiler.info.jvm</fail>
   1.849 -        <fail unless="profiler.info.jvmargs.agent">Must set profiler agent JVM arguments in profiler.info.jvmargs.agent</fail>
   1.850 -    </target>
   1.851 -    <!--
   1.852 -                end of pre NB7.2 profiling section
   1.853 -            -->
   1.854 -    <target depends="-pre-init,-init-private,-init-user,-init-project,-do-init,-post-init,-init-check,-init-macrodef-property,-init-macrodef-javac,-init-macrodef-test,-init-macrodef-test-debug,-init-macrodef-java,-init-macrodef-nbjpda,-init-macrodef-nbjsdebug,-init-macrodef-debug,-init-taskdefs,-init-ap-cmdline" name="init"/>
   1.855 -    <!--
   1.856 -                COMPILATION SECTION
   1.857 -            -->
   1.858 -    <target depends="init" if="no.dist.ear.dir" name="deps-module-jar" unless="no.deps"/>
   1.859 -    <target depends="init" if="dist.ear.dir" name="deps-ear-jar" unless="no.deps"/>
   1.860 -    <target depends="init, deps-module-jar, deps-ear-jar" name="deps-jar" unless="no.deps"/>
   1.861 -    <target depends="init,deps-jar" name="-pre-pre-compile">
   1.862 -        <mkdir dir="${build.classes.dir}"/>
   1.863 -    </target>
   1.864 -    <target name="-pre-compile">
   1.865 -        <!-- Empty placeholder for easier customization. -->
   1.866 -        <!-- You can override this target in the ../build.xml file. -->
   1.867 -    </target>
   1.868 -    <target name="-copy-webdir">
   1.869 -        <copy todir="${build.web.dir}">
   1.870 -            <fileset dir="${web.docbase.dir}" excludes="${build.web.excludes},${excludes}" includes="${includes}"/>
   1.871 -        </copy>
   1.872 -        <copy todir="${build.web.dir}/WEB-INF">
   1.873 -            <fileset dir="${webinf.dir}" excludes="${build.web.excludes}"/>
   1.874 -        </copy>
   1.875 -    </target>
   1.876 -    <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.877 -        <webproject2:javac destdir="${build.classes.dir}" gensrcdir="${build.generated.sources.dir}"/>
   1.878 -        <copy todir="${build.classes.dir}">
   1.879 -            <fileset dir="${src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
   1.880 -        </copy>
   1.881 -    </target>
   1.882 -    <target if="has.custom.manifest" name="-copy-manifest">
   1.883 -        <mkdir dir="${build.meta.inf.dir}"/>
   1.884 -        <copy todir="${build.meta.inf.dir}">
   1.885 -            <fileset dir="${conf.dir}" includes="MANIFEST.MF"/>
   1.886 -        </copy>
   1.887 -    </target>
   1.888 -    <target if="has.persistence.xml" name="-copy-persistence-xml">
   1.889 -        <mkdir dir="${build.web.dir}/WEB-INF/classes/META-INF"/>
   1.890 -        <copy todir="${build.web.dir}/WEB-INF/classes/META-INF">
   1.891 -            <fileset dir="${persistence.xml.dir}" includes="persistence.xml orm.xml"/>
   1.892 -        </copy>
   1.893 -    </target>
   1.894 -    <target name="-post-compile">
   1.895 -        <!-- Empty placeholder for easier customization. -->
   1.896 -        <!-- You can override this target in the ../build.xml file. -->
   1.897 -    </target>
   1.898 -    <target depends="init,deps-jar,-pre-pre-compile,-pre-compile,-do-compile,-post-compile" description="Compile project." name="compile"/>
   1.899 -    <target name="-pre-compile-single">
   1.900 -        <!-- Empty placeholder for easier customization. -->
   1.901 -        <!-- You can override this target in the ../build.xml file. -->
   1.902 -    </target>
   1.903 -    <target depends="init,deps-jar,-pre-pre-compile" name="-do-compile-single">
   1.904 -        <fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail>
   1.905 -        <webproject2:javac excludes="" gensrcdir="${build.generated.sources.dir}" includes="${javac.includes}"/>
   1.906 -        <copy todir="${build.classes.dir}">
   1.907 -            <fileset dir="${src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
   1.908 -        </copy>
   1.909 -    </target>
   1.910 -    <target name="-post-compile-single">
   1.911 -        <!-- Empty placeholder for easier customization. -->
   1.912 -        <!-- You can override this target in the ../build.xml file. -->
   1.913 -    </target>
   1.914 -    <target depends="init,deps-jar,-pre-pre-compile,-pre-compile-single,-do-compile-single,-post-compile-single" name="compile-single"/>
   1.915 -    <property name="jspc.schemas" value="/resources/schemas/"/>
   1.916 -    <property name="jspc.dtds" value="/resources/dtds/"/>
   1.917 -    <target depends="compile" description="Test compile JSP pages to expose compilation errors." if="do.compile.jsps" name="compile-jsps">
   1.918 -        <mkdir dir="${build.generated.dir}/src"/>
   1.919 -        <java classname="org.netbeans.modules.web.project.ant.JspC" failonerror="true" fork="true">
   1.920 -            <arg value="-uriroot"/>
   1.921 -            <arg file="${basedir}/${build.web.dir}"/>
   1.922 -            <arg value="-d"/>
   1.923 -            <arg file="${basedir}/${build.generated.dir}/src"/>
   1.924 -            <arg value="-die1"/>
   1.925 -            <arg value="-schemas ${jspc.schemas}"/>
   1.926 -            <arg value="-dtds ${jspc.dtds}"/>
   1.927 -            <arg value="-compilerSourceVM ${javac.source}"/>
   1.928 -            <arg value="-compilerTargetVM ${javac.target}"/>
   1.929 -            <arg value="-javaEncoding ${source.encoding}"/>
   1.930 -            <arg value="-sysClasspath ${libs.jsp-compilation-syscp.classpath}"/>
   1.931 -            <classpath path="${java.home}/../lib/tools.jar:${libs.jsp-compiler.classpath}:${libs.jsp-compilation.classpath}"/>
   1.932 -        </java>
   1.933 -        <mkdir dir="${build.generated.dir}/classes"/>
   1.934 -        <webproject2:javac classpath="${build.classes.dir}:${libs.jsp-compilation.classpath}:${javac.classpath}:${j2ee.platform.classpath}" destdir="${build.generated.dir}/classes" srcdir="${build.generated.dir}/src"/>
   1.935 -    </target>
   1.936 -    <target depends="compile" if="jsp.includes" name="-do-compile-single-jsp">
   1.937 -        <fail unless="javac.jsp.includes">Must select some files in the IDE or set javac.jsp.includes</fail>
   1.938 -        <mkdir dir="${build.generated.dir}/src"/>
   1.939 -        <java classname="org.netbeans.modules.web.project.ant.JspCSingle" failonerror="true" fork="true">
   1.940 -            <arg value="-uriroot"/>
   1.941 -            <arg file="${basedir}/${build.web.dir}"/>
   1.942 -            <arg value="-d"/>
   1.943 -            <arg file="${basedir}/${build.generated.dir}/src"/>
   1.944 -            <arg value="-die1"/>
   1.945 -            <arg value="-schemas ${jspc.schemas}"/>
   1.946 -            <arg value="-dtds ${jspc.dtds}"/>
   1.947 -            <arg value="-sysClasspath ${libs.jsp-compilation-syscp.classpath}"/>
   1.948 -            <arg value="-jspc.files"/>
   1.949 -            <arg path="${jsp.includes}"/>
   1.950 -            <arg value="-compilerSourceVM ${javac.source}"/>
   1.951 -            <arg value="-compilerTargetVM ${javac.target}"/>
   1.952 -            <arg value="-javaEncoding ${source.encoding}"/>
   1.953 -            <classpath path="${java.home}/../lib/tools.jar:${libs.jsp-compiler.classpath}:${libs.jsp-compilation.classpath}"/>
   1.954 -        </java>
   1.955 -        <mkdir dir="${build.generated.dir}/classes"/>
   1.956 -        <webproject2:javac classpath="${build.classes.dir}:${libs.jsp-compilation.classpath}:${javac.classpath}:${j2ee.platform.classpath}" destdir="${build.generated.dir}/classes" srcdir="${build.generated.dir}/src">
   1.957 -            <customize>
   1.958 -                <patternset includes="${javac.jsp.includes}"/>
   1.959 -            </customize>
   1.960 -        </webproject2:javac>
   1.961 -    </target>
   1.962 -    <target name="compile-single-jsp">
   1.963 -        <fail unless="jsp.includes">Must select a file in the IDE or set jsp.includes</fail>
   1.964 -        <antcall target="-do-compile-single-jsp"/>
   1.965 -    </target>
   1.966 -    <!--
   1.967 -                DIST BUILDING SECTION
   1.968 -            -->
   1.969 -    <target name="-pre-dist">
   1.970 -        <!-- Empty placeholder for easier customization. -->
   1.971 -        <!-- You can override this target in the ../build.xml file. -->
   1.972 -    </target>
   1.973 -    <target depends="init,compile,compile-jsps,-pre-dist" if="do.war.package.without.custom.manifest" name="-do-dist-without-manifest">
   1.974 -        <dirname file="${dist.war}" property="dist.jar.dir"/>
   1.975 -        <mkdir dir="${dist.jar.dir}"/>
   1.976 -        <jar compress="${jar.compress}" jarfile="${dist.war}">
   1.977 -            <fileset dir="${build.web.dir}" excludes="WEB-INF/classes/.netbeans_*,${dist.archive.excludes}"/>
   1.978 -        </jar>
   1.979 -    </target>
   1.980 -    <target depends="init,compile,compile-jsps,-pre-dist" if="do.war.package.with.custom.manifest" name="-do-dist-with-manifest">
   1.981 -        <dirname file="${dist.war}" property="dist.jar.dir"/>
   1.982 -        <mkdir dir="${dist.jar.dir}"/>
   1.983 -        <jar compress="${jar.compress}" jarfile="${dist.war}" manifest="${build.meta.inf.dir}/MANIFEST.MF">
   1.984 -            <fileset dir="${build.web.dir}" excludes="WEB-INF/classes/.netbeans_*,${dist.archive.excludes}"/>
   1.985 -        </jar>
   1.986 -    </target>
   1.987 -    <target depends="init,compile,compile-jsps,-pre-dist" if="do.tmp.war.package.without.custom.manifest" name="-do-tmp-dist-without-manifest">
   1.988 -        <dirname file="${dist.war}" property="dist.jar.dir"/>
   1.989 -        <mkdir dir="${dist.jar.dir}"/>
   1.990 -        <jar compress="${jar.compress}" jarfile="${dist.war}">
   1.991 -            <fileset dir="${build.web.dir}" excludes="WEB-INF/classes/.netbeans_*,${dist.archive.excludes}"/>
   1.992 -        </jar>
   1.993 -    </target>
   1.994 -    <target depends="init,compile,compile-jsps,-pre-dist" if="do.tmp.war.package.with.custom.manifest" name="-do-tmp-dist-with-manifest">
   1.995 -        <dirname file="${dist.war}" property="dist.jar.dir"/>
   1.996 -        <mkdir dir="${dist.jar.dir}"/>
   1.997 -        <jar compress="${jar.compress}" jarfile="${dist.war}" manifest="${build.meta.inf.dir}/MANIFEST.MF">
   1.998 -            <fileset dir="${build.web.dir}" excludes="WEB-INF/classes/.netbeans_*,${dist.archive.excludes}"/>
   1.999 -        </jar>
  1.1000 -    </target>
  1.1001 -    <target depends="init,compile,compile-jsps,-pre-dist,-do-dist-with-manifest,-do-dist-without-manifest" name="do-dist"/>
  1.1002 -    <target depends="init" if="dist.ear.dir" name="library-inclusion-in-manifest">
  1.1003 -        <copyfiles files="${libs.jstl.classpath}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
  1.1004 -        <copyfiles files="${libs.SLF4J-LOG4J2.classpath}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
  1.1005 -        <copyfiles files="${libs.LOG4J2-WEB.classpath}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
  1.1006 -        <mkdir dir="${build.web.dir}/META-INF"/>
  1.1007 -        <manifest file="${build.web.dir}/META-INF/MANIFEST.MF" mode="update"/>
  1.1008 -    </target>
  1.1009 -    <target depends="init" name="library-inclusion-in-archive" unless="dist.ear.dir">
  1.1010 -        <copyfiles files="${libs.jstl.classpath}" todir="${build.web.dir}/WEB-INF/lib"/>
  1.1011 -        <copyfiles files="${libs.SLF4J-LOG4J2.classpath}" todir="${build.web.dir}/WEB-INF/lib"/>
  1.1012 -        <copyfiles files="${libs.LOG4J2-WEB.classpath}" todir="${build.web.dir}/WEB-INF/lib"/>
  1.1013 -    </target>
  1.1014 -    <target depends="init" if="dist.ear.dir" name="-clean-webinf-lib">
  1.1015 -        <delete dir="${build.web.dir}/WEB-INF/lib"/>
  1.1016 -    </target>
  1.1017 -    <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.1018 -        <dirname file="${dist.ear.war}" property="dist.jar.dir"/>
  1.1019 -        <mkdir dir="${dist.jar.dir}"/>
  1.1020 -        <jar compress="${jar.compress}" jarfile="${dist.ear.war}" manifest="${build.web.dir}/META-INF/MANIFEST.MF">
  1.1021 -            <fileset dir="${build.web.dir}" excludes="WEB-INF/classes/.netbeans_*,${dist.archive.excludes}"/>
  1.1022 -        </jar>
  1.1023 -    </target>
  1.1024 -    <target name="-post-dist">
  1.1025 -        <!-- Empty placeholder for easier customization. -->
  1.1026 -        <!-- You can override this target in the ../build.xml file. -->
  1.1027 -    </target>
  1.1028 -    <target depends="init,compile,-pre-dist,do-dist,-post-dist" description="Build distribution (WAR)." name="dist"/>
  1.1029 -    <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.1030 -    <!--
  1.1031 -                EXECUTION SECTION
  1.1032 -            -->
  1.1033 -    <target depends="run-deploy,run-display-browser" description="Deploy to server and show in browser." name="run"/>
  1.1034 -    <target name="-pre-run-deploy">
  1.1035 -        <!-- Empty placeholder for easier customization. -->
  1.1036 -        <!-- You can override this target in the ../build.xml file. -->
  1.1037 -    </target>
  1.1038 -    <target name="-post-run-deploy">
  1.1039 -        <!-- Empty placeholder for easier customization. -->
  1.1040 -        <!-- You can override this target in the ../build.xml file. -->
  1.1041 -    </target>
  1.1042 -    <target name="-pre-nbmodule-run-deploy">
  1.1043 -        <!-- Empty placeholder for easier customization. -->
  1.1044 -        <!-- This target can be overriden by NetBeans modules. Don't override it directly, use -pre-run-deploy task instead. -->
  1.1045 -    </target>
  1.1046 -    <target name="-post-nbmodule-run-deploy">
  1.1047 -        <!-- Empty placeholder for easier customization. -->
  1.1048 -        <!-- This target can be overriden by NetBeans modules. Don't override it directly, use -post-run-deploy task instead. -->
  1.1049 -    </target>
  1.1050 -    <target name="-run-deploy-am">
  1.1051 -        <!-- Task to deploy to the Access Manager runtime. -->
  1.1052 -    </target>
  1.1053 -    <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,-do-update-breakpoints" name="run-deploy"/>
  1.1054 -    <target if="netbeans.home" name="-run-deploy-nb">
  1.1055 -        <nbdeploy clientUrlPart="${client.urlPart}" debugmode="false" forceRedeploy="${forceRedeploy}"/>
  1.1056 -    </target>
  1.1057 -    <target name="-init-deploy-ant" unless="netbeans.home">
  1.1058 -        <property name="deploy.ant.archive" value="${dist.war}"/>
  1.1059 -        <property name="deploy.ant.docbase.dir" value="${web.docbase.dir}"/>
  1.1060 -        <property name="deploy.ant.resource.dir" value="${resource.dir}"/>
  1.1061 -        <property name="deploy.ant.enabled" value="true"/>
  1.1062 -    </target>
  1.1063 -    <target depends="dist,-run-undeploy-nb,-init-deploy-ant,-undeploy-ant" name="run-undeploy"/>
  1.1064 -    <target if="netbeans.home" name="-run-undeploy-nb">
  1.1065 -        <fail message="Undeploy is not supported from within the IDE"/>
  1.1066 -    </target>
  1.1067 -    <target depends="init,-pre-dist,dist,-post-dist" name="verify">
  1.1068 -        <nbverify file="${dist.war}"/>
  1.1069 -    </target>
  1.1070 -    <target depends="run-deploy,-init-display-browser,-display-browser-nb-old,-display-browser-nb,-display-browser-cl" name="run-display-browser"/>
  1.1071 -    <target if="do.display.browser" name="-init-display-browser">
  1.1072 -        <condition property="do.display.browser.nb.old">
  1.1073 -            <and>
  1.1074 -                <isset property="netbeans.home"/>
  1.1075 -                <not>
  1.1076 -                    <isset property="browser.context"/>
  1.1077 -                </not>
  1.1078 -            </and>
  1.1079 -        </condition>
  1.1080 -        <condition property="do.display.browser.nb">
  1.1081 -            <and>
  1.1082 -                <isset property="netbeans.home"/>
  1.1083 -                <isset property="browser.context"/>
  1.1084 -            </and>
  1.1085 -        </condition>
  1.1086 -        <condition property="do.display.browser.cl">
  1.1087 -            <isset property="deploy.ant.enabled"/>
  1.1088 -        </condition>
  1.1089 -    </target>
  1.1090 -    <target if="do.display.browser.nb.old" name="-display-browser-nb-old">
  1.1091 -        <nbbrowse url="${client.url}"/>
  1.1092 -    </target>
  1.1093 -    <target if="do.display.browser.nb" name="-display-browser-nb">
  1.1094 -        <nbbrowse context="${browser.context}" url="${client.url}" urlPath="${client.urlPart}"/>
  1.1095 -    </target>
  1.1096 -    <target if="do.display.browser.cl" name="-get-browser" unless="browser">
  1.1097 -        <condition property="browser" value="rundll32">
  1.1098 -            <os family="windows"/>
  1.1099 -        </condition>
  1.1100 -        <condition else="" property="browser.args" value="url.dll,FileProtocolHandler">
  1.1101 -            <os family="windows"/>
  1.1102 -        </condition>
  1.1103 -        <condition property="browser" value="/usr/bin/open">
  1.1104 -            <os family="mac"/>
  1.1105 -        </condition>
  1.1106 -        <property environment="env"/>
  1.1107 -        <condition property="browser" value="${env.BROWSER}">
  1.1108 -            <isset property="env.BROWSER"/>
  1.1109 -        </condition>
  1.1110 -        <condition property="browser" value="/usr/bin/firefox">
  1.1111 -            <available file="/usr/bin/firefox"/>
  1.1112 -        </condition>
  1.1113 -        <condition property="browser" value="/usr/local/firefox/firefox">
  1.1114 -            <available file="/usr/local/firefox/firefox"/>
  1.1115 -        </condition>
  1.1116 -        <condition property="browser" value="/usr/bin/mozilla">
  1.1117 -            <available file="/usr/bin/mozilla"/>
  1.1118 -        </condition>
  1.1119 -        <condition property="browser" value="/usr/local/mozilla/mozilla">
  1.1120 -            <available file="/usr/local/mozilla/mozilla"/>
  1.1121 -        </condition>
  1.1122 -        <condition property="browser" value="/usr/sfw/lib/firefox/firefox">
  1.1123 -            <available file="/usr/sfw/lib/firefox/firefox"/>
  1.1124 -        </condition>
  1.1125 -        <condition property="browser" value="/opt/csw/bin/firefox">
  1.1126 -            <available file="/opt/csw/bin/firefox"/>
  1.1127 -        </condition>
  1.1128 -        <condition property="browser" value="/usr/sfw/lib/mozilla/mozilla">
  1.1129 -            <available file="/usr/sfw/lib/mozilla/mozilla"/>
  1.1130 -        </condition>
  1.1131 -        <condition property="browser" value="/opt/csw/bin/mozilla">
  1.1132 -            <available file="/opt/csw/bin/mozilla"/>
  1.1133 -        </condition>
  1.1134 -    </target>
  1.1135 -    <target depends="-get-browser" if="do.display.browser.cl" name="-display-browser-cl">
  1.1136 -        <fail unless="browser">
  1.1137 -                    Browser not found, cannot launch the deployed application. Try to set the BROWSER environment variable.
  1.1138 -                </fail>
  1.1139 -        <property name="browse.url" value="${deploy.ant.client.url}${client.urlPart}"/>
  1.1140 -        <echo>Launching ${browse.url}</echo>
  1.1141 -        <exec executable="${browser}" spawn="true">
  1.1142 -            <arg line="${browser.args} ${browse.url}"/>
  1.1143 -        </exec>
  1.1144 -    </target>
  1.1145 -    <target depends="init,-init-cos,compile-single" name="run-main">
  1.1146 -        <fail unless="run.class">Must select one file in the IDE or set run.class</fail>
  1.1147 -        <webproject1:java classname="${run.class}"/>
  1.1148 -    </target>
  1.1149 -    <target depends="init,compile-test-single,-pre-test-run-single" name="run-test-with-main">
  1.1150 -        <fail unless="run.class">Must select one file in the IDE or set run.class</fail>
  1.1151 -        <webproject1:java classname="${run.class}" classpath="${run.test.classpath}"/>
  1.1152 -    </target>
  1.1153 -    <target depends="init" if="netbeans.home" name="-do-update-breakpoints">
  1.1154 -        <webproject1:nbjpdaappreloaded/>
  1.1155 -    </target>
  1.1156 -    <!--
  1.1157 -                DEBUGGING SECTION
  1.1158 -            -->
  1.1159 -    <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.1160 -        <nbstartserver debugmode="true"/>
  1.1161 -        <antcall target="connect-debugger"/>
  1.1162 -        <nbdeploy clientUrlPart="${client.urlPart}" debugmode="true" forceRedeploy="true"/>
  1.1163 -        <antcall target="debug-display-browser-old"/>
  1.1164 -        <antcall target="debug-display-browser"/>
  1.1165 -        <antcall target="connect-client-debugger"/>
  1.1166 -    </target>
  1.1167 -    <target if="do.debug.server" name="connect-debugger" unless="is.debugged">
  1.1168 -        <condition property="listeningcp" value="sourcepath">
  1.1169 -            <istrue value="${j2ee.compile.on.save}"/>
  1.1170 -        </condition>
  1.1171 -        <nbjpdaconnect address="${jpda.address}" host="${jpda.host}" listeningcp="${listeningcp}" name="${name}" transport="${jpda.transport}">
  1.1172 -            <classpath>
  1.1173 -                <path path="${debug.classpath}:${j2ee.platform.classpath}"/>
  1.1174 -            </classpath>
  1.1175 -            <sourcepath>
  1.1176 -                <path path="${web.docbase.dir}"/>
  1.1177 -            </sourcepath>
  1.1178 -        </nbjpdaconnect>
  1.1179 -    </target>
  1.1180 -    <target if="do.display.browser.debug.old" name="debug-display-browser-old">
  1.1181 -        <nbbrowse url="${client.url}"/>
  1.1182 -    </target>
  1.1183 -    <target if="do.display.browser.debug" name="debug-display-browser">
  1.1184 -        <nbbrowse context="${browser.context}" url="${client.url}" urlPath="${client.urlPart}"/>
  1.1185 -    </target>
  1.1186 -    <target if="do.debug.client" name="connect-client-debugger">
  1.1187 -        <webproject1:nbjsdebugstart webUrl="${client.url}"/>
  1.1188 -    </target>
  1.1189 -    <target depends="init,compile-test-single" if="netbeans.home" name="-debug-start-debuggee-main-test">
  1.1190 -        <fail unless="debug.class">Must select one file in the IDE or set debug.class</fail>
  1.1191 -        <webproject1:debug classname="${debug.class}" classpath="${debug.test.classpath}"/>
  1.1192 -    </target>
  1.1193 -    <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.1194 -    <target depends="init,compile,compile-jsps,-do-compile-single-jsp,debug" if="netbeans.home" name="debug-single"/>
  1.1195 -    <target depends="init" if="netbeans.home" name="-debug-start-debugger-main-test">
  1.1196 -        <webproject1:nbjpdastart classpath="${debug.test.classpath}" name="${debug.class}"/>
  1.1197 -    </target>
  1.1198 -    <target depends="init" if="netbeans.home" name="-debug-start-debugger">
  1.1199 -        <webproject1:nbjpdastart name="${debug.class}"/>
  1.1200 -    </target>
  1.1201 -    <target depends="init,compile-single" if="netbeans.home" name="-debug-start-debuggee-single">
  1.1202 -        <fail unless="debug.class">Must select one file in the IDE or set debug.class</fail>
  1.1203 -        <webproject1:debug classname="${debug.class}"/>
  1.1204 -    </target>
  1.1205 -    <target depends="init,compile-single,-debug-start-debugger,-debug-start-debuggee-single" if="netbeans.home" name="debug-single-main"/>
  1.1206 -    <target depends="init" name="-pre-debug-fix">
  1.1207 -        <fail unless="fix.includes">Must set fix.includes</fail>
  1.1208 -        <property name="javac.includes" value="${fix.includes}.java"/>
  1.1209 -    </target>
  1.1210 -    <target depends="init,-pre-debug-fix,compile-single" if="netbeans.home" name="-do-debug-fix">
  1.1211 -        <webproject1:nbjpdareload/>
  1.1212 -    </target>
  1.1213 -    <target depends="init,-pre-debug-fix,-do-debug-fix" if="netbeans.home" name="debug-fix"/>
  1.1214 -    <!--
  1.1215 -            =================
  1.1216 -            PROFILING SECTION
  1.1217 -            =================
  1.1218 -            -->
  1.1219 -    <!--
  1.1220 -                pre NB7.2 profiling section; consider it deprecated
  1.1221 -            -->
  1.1222 -    <target description="Profile a J2EE project in the IDE." if="profiler.info.jvmargs.agent" name="-profile-pre72">
  1.1223 -        <condition else="start-profiled-server" property="profiler.startserver.target" value="start-profiled-server-extraargs">
  1.1224 -            <isset property="profiler.info.jvmargs.extra"/>
  1.1225 -        </condition>
  1.1226 -        <antcall target="${profiler.startserver.target}"/>
  1.1227 -        <antcall target="run"/>
  1.1228 -        <antcall target="-profile-start-loadgen"/>
  1.1229 -    </target>
  1.1230 -    <target if="profiler.info.jvmargs.agent" name="start-profiled-server">
  1.1231 -        <nbstartprofiledserver forceRestart="${profiler.j2ee.serverForceRestart}" javaPlatform="${profiler.info.javaPlatform}" startupTimeout="${profiler.j2ee.serverStartupTimeout}">
  1.1232 -            <jvmarg value="${profiler.info.jvmargs.agent}"/>
  1.1233 -            <jvmarg value="${profiler.j2ee.agentID}"/>
  1.1234 -        </nbstartprofiledserver>
  1.1235 -    </target>
  1.1236 -    <target if="profiler.info.jvmargs.agent" name="start-profiled-server-extraargs">
  1.1237 -        <nbstartprofiledserver forceRestart="${profiler.j2ee.serverForceRestart}" javaPlatform="${profiler.info.javaPlatform}" startupTimeout="${profiler.j2ee.serverStartupTimeout}">
  1.1238 -            <jvmarg value="${profiler.info.jvmargs.extra}"/>
  1.1239 -            <jvmarg value="${profiler.info.jvmargs.agent}"/>
  1.1240 -            <jvmarg value="${profiler.j2ee.agentID}"/>
  1.1241 -        </nbstartprofiledserver>
  1.1242 -    </target>
  1.1243 -    <target depends="profile-init,compile-test-single" if="profiler.info.jvmargs.agent" name="-profile-test-single-pre72">
  1.1244 -        <fail unless="netbeans.home">This target only works when run from inside the NetBeans IDE.</fail>
  1.1245 -        <nbprofiledirect>
  1.1246 -            <classpath>
  1.1247 -                <path path="${run.test.classpath}"/>
  1.1248 -                <path path="${j2ee.platform.classpath}"/>
  1.1249 -            </classpath>
  1.1250 -        </nbprofiledirect>
  1.1251 -        <junit dir="${profiler.info.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" jvm="${profiler.info.jvm}" showoutput="true">
  1.1252 -            <env key="${profiler.info.pathvar}" path="${profiler.info.agentpath}:${profiler.current.path}"/>
  1.1253 -            <jvmarg value="${profiler.info.jvmargs.agent}"/>
  1.1254 -            <jvmarg line="${profiler.info.jvmargs}"/>
  1.1255 -            <test name="${profile.class}"/>
  1.1256 -            <classpath>
  1.1257 -                <path path="${run.test.classpath}"/>
  1.1258 -                <path path="${j2ee.platform.classpath}"/>
  1.1259 -            </classpath>
  1.1260 -            <syspropertyset>
  1.1261 -                <propertyref prefix="test-sys-prop."/>
  1.1262 -                <mapper from="test-sys-prop.*" to="*" type="glob"/>
  1.1263 -            </syspropertyset>
  1.1264 -            <formatter type="brief" usefile="false"/>
  1.1265 -            <formatter type="xml"/>
  1.1266 -        </junit>
  1.1267 -    </target>
  1.1268 -    <target if="netbeans.home" name="-profile-check">
  1.1269 -        <condition property="profiler.configured">
  1.1270 -            <or>
  1.1271 -                <contains casesensitive="true" string="${run.jvmargs.ide}" substring="-agentpath:"/>
  1.1272 -                <contains casesensitive="true" string="${run.jvmargs.ide}" substring="-javaagent:"/>
  1.1273 -            </or>
  1.1274 -        </condition>
  1.1275 -    </target>
  1.1276 -    <target depends="init,-init-cos,compile,compile-jsps,-do-compile-single-jsp,-pre-dist,-do-tmp-dist-with-manifest,-do-tmp-dist-without-manifest" name="-do-profile">
  1.1277 -        <startprofiler/>
  1.1278 -        <nbstartserver profilemode="true"/>
  1.1279 -        <nbdeploy clientUrlPart="${client.urlPart}" forceRedeploy="true" profilemode="true"/>
  1.1280 -        <antcall target="debug-display-browser-old"/>
  1.1281 -        <antcall target="debug-display-browser"/>
  1.1282 -        <antcall target="-profile-start-loadgen"/>
  1.1283 -    </target>
  1.1284 -    <target depends="-profile-check,-profile-pre72" description="Profile a J2EE project in the IDE." if="profiler.configured" name="profile" unless="profiler.info.jvmargs.agent">
  1.1285 -        <antcall target="-do-profile"/>
  1.1286 -    </target>
  1.1287 -    <target depends="-profile-test-single-pre72" name="profile-test-single"/>
  1.1288 -    <target depends="-profile-check" if="profiler.configured" name="profile-test" unless="profiler.info.jvmargs.agent">
  1.1289 -        <startprofiler/>
  1.1290 -        <antcall target="test-single"/>
  1.1291 -    </target>
  1.1292 -    <target if="profiler.loadgen.path" name="-profile-start-loadgen">
  1.1293 -        <loadgenstart path="${profiler.loadgen.path}"/>
  1.1294 -    </target>
  1.1295 -    <!--
  1.1296 -                JAVADOC SECTION
  1.1297 -            -->
  1.1298 -    <target depends="init" if="have.sources" name="javadoc-build">
  1.1299 -        <mkdir dir="${dist.javadoc.dir}"/>
  1.1300 -        <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.1301 -            <classpath>
  1.1302 -                <path path="${javac.classpath}:${j2ee.platform.classpath}"/>
  1.1303 -            </classpath>
  1.1304 -            <fileset dir="${src.dir}" excludes="${excludes}" includes="${includes}">
  1.1305 -                <filename name="**/*.java"/>
  1.1306 -            </fileset>
  1.1307 -            <fileset dir="${build.generated.sources.dir}" erroronmissingdir="false">
  1.1308 -                <include name="**/*.java"/>
  1.1309 -            </fileset>
  1.1310 -        </javadoc>
  1.1311 -        <copy todir="${dist.javadoc.dir}">
  1.1312 -            <fileset dir="${src.dir}" excludes="${excludes}" includes="${includes}">
  1.1313 -                <filename name="**/doc-files/**"/>
  1.1314 -            </fileset>
  1.1315 -            <fileset dir="${build.generated.sources.dir}" erroronmissingdir="false">
  1.1316 -                <include name="**/doc-files/**"/>
  1.1317 -            </fileset>
  1.1318 -        </copy>
  1.1319 -    </target>
  1.1320 -    <target depends="init,javadoc-build" if="netbeans.home" name="javadoc-browse" unless="no.javadoc.preview">
  1.1321 -        <nbbrowse file="${dist.javadoc.dir}/index.html"/>
  1.1322 -    </target>
  1.1323 -    <target depends="init,javadoc-build,javadoc-browse" description="Build Javadoc." name="javadoc"/>
  1.1324 -    <!--
  1.1325 -                
  1.1326 -                TEST COMPILATION SECTION
  1.1327 -            -->
  1.1328 -    <target depends="init,compile" if="have.tests" name="-pre-pre-compile-test">
  1.1329 -        <mkdir dir="${build.test.classes.dir}"/>
  1.1330 -        <property name="j2ee.platform.embeddableejb.classpath" value=""/>
  1.1331 -    </target>
  1.1332 -    <target name="-pre-compile-test">
  1.1333 -        <!-- Empty placeholder for easier customization. -->
  1.1334 -        <!-- You can override this target in the ../build.xml file. -->
  1.1335 -    </target>
  1.1336 -    <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test" if="have.tests" name="-do-compile-test">
  1.1337 -        <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.1338 -        <copy todir="${build.test.classes.dir}">
  1.1339 -            <fileset dir="${test.src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
  1.1340 -        </copy>
  1.1341 -    </target>
  1.1342 -    <target name="-post-compile-test">
  1.1343 -        <!-- Empty placeholder for easier customization. -->
  1.1344 -        <!-- You can override this target in the ../build.xml file. -->
  1.1345 -    </target>
  1.1346 -    <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test,-do-compile-test,-post-compile-test" name="compile-test"/>
  1.1347 -    <target name="-pre-compile-test-single">
  1.1348 -        <!-- Empty placeholder for easier customization. -->
  1.1349 -        <!-- You can override this target in the ../build.xml file. -->
  1.1350 -    </target>
  1.1351 -    <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test-single" if="have.tests" name="-do-compile-test-single">
  1.1352 -        <fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail>
  1.1353 -        <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.1354 -        <copy todir="${build.test.classes.dir}">
  1.1355 -            <fileset dir="${test.src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
  1.1356 -        </copy>
  1.1357 -    </target>
  1.1358 -    <target name="-post-compile-test-single">
  1.1359 -        <!-- Empty placeholder for easier customization. -->
  1.1360 -        <!-- You can override this target in the ../build.xml file. -->
  1.1361 -    </target>
  1.1362 -    <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.1363 -    <!--
  1.1364 -                
  1.1365 -                TEST EXECUTION SECTION
  1.1366 -            -->
  1.1367 -    <target depends="init" if="have.tests" name="-pre-test-run">
  1.1368 -        <mkdir dir="${build.test.results.dir}"/>
  1.1369 -    </target>
  1.1370 -    <target depends="init,compile-test,-pre-test-run" if="have.tests" name="-do-test-run">
  1.1371 -        <webproject2:test includes="${includes}" testincludes="**/*Test.java"/>
  1.1372 -    </target>
  1.1373 -    <target depends="init,compile-test,-pre-test-run,-do-test-run" if="have.tests" name="-post-test-run">
  1.1374 -        <fail if="tests.failed" unless="ignore.failing.tests">Some tests failed; see details above.</fail>
  1.1375 -    </target>
  1.1376 -    <target depends="init" if="have.tests" name="test-report"/>
  1.1377 -    <target depends="init" if="netbeans.home+have.tests" name="-test-browse"/>
  1.1378 -    <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.1379 -    <target depends="init" if="have.tests" name="-pre-test-run-single">
  1.1380 -        <mkdir dir="${build.test.results.dir}"/>
  1.1381 -    </target>
  1.1382 -    <target depends="init,compile-test-single,-pre-test-run-single" if="have.tests" name="-do-test-run-single">
  1.1383 -        <fail unless="test.includes">Must select some files in the IDE or set test.includes</fail>
  1.1384 -        <webproject2:test excludes="" includes="${test.includes}" testincludes="${test.includes}"/>
  1.1385 -    </target>
  1.1386 -    <target depends="init,compile-test-single,-pre-test-run-single,-do-test-run-single" if="have.tests" name="-post-test-run-single">
  1.1387 -        <fail if="tests.failed" unless="ignore.failing.tests">Some tests failed; see details above.</fail>
  1.1388 -    </target>
  1.1389 -    <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.1390 -    <target depends="init,compile-test-single,-pre-test-run-single" if="have.tests" name="-do-test-run-single-method">
  1.1391 -        <fail unless="test.class">Must select some files in the IDE or set test.class</fail>
  1.1392 -        <fail unless="test.method">Must select some method in the IDE or set test.method</fail>
  1.1393 -        <webproject2:test excludes="" includes="${javac.includes}" testincludes="${test.class}" testmethods="${test.method}"/>
  1.1394 -    </target>
  1.1395 -    <target depends="init,compile-test-single,-pre-test-run-single,-do-test-run-single-method" if="have.tests" name="-post-test-run-single-method">
  1.1396 -        <fail if="tests.failed" unless="ignore.failing.tests">Some tests failed; see details above.</fail>
  1.1397 -    </target>
  1.1398 -    <target depends="init,compile-test-single,-pre-test-run-single,-do-test-run-single-method,-post-test-run-single-method" description="Run single unit test." name="test-single-method"/>
  1.1399 -    <!--
  1.1400 -                
  1.1401 -                TEST DEBUGGING SECTION
  1.1402 -            -->
  1.1403 -    <target depends="init,compile-test-single,-pre-test-run-single" if="have.tests" name="-debug-start-debuggee-test">
  1.1404 -        <fail unless="test.class">Must select one file in the IDE or set test.class</fail>
  1.1405 -        <webproject2:test-debug excludes="" includes="${javac.includes}" testClass="${test.class}" testincludes="${javac.includes}"/>
  1.1406 -    </target>
  1.1407 -    <target depends="init,compile-test-single,-pre-test-run-single" if="have.tests" name="-debug-start-debuggee-test-method">
  1.1408 -        <fail unless="test.class">Must select one file in the IDE or set test.class</fail>
  1.1409 -        <fail unless="test.method">Must select some method in the IDE or set test.method</fail>
  1.1410 -        <webproject2:test-debug excludes="" includes="${javac.includes}" testClass="${test.class}" testMethod="${test.method}" testincludes="${test.class}" testmethods="${test.method}"/>
  1.1411 -    </target>
  1.1412 -    <target depends="init,compile-test" if="netbeans.home+have.tests" name="-debug-start-debugger-test">
  1.1413 -        <webproject1:nbjpdastart classpath="${debug.test.classpath}" name="${test.class}"/>
  1.1414 -    </target>
  1.1415 -    <target depends="init,compile-test,-debug-start-debugger-test,-debug-start-debuggee-test" name="debug-test"/>
  1.1416 -    <target depends="init,compile-test-single,-debug-start-debugger-test,-debug-start-debuggee-test-method" name="debug-test-method"/>
  1.1417 -    <target depends="init,-pre-debug-fix,compile-test-single" if="netbeans.home" name="-do-debug-fix-test">
  1.1418 -        <webproject1:nbjpdareload dir="${build.test.classes.dir}"/>
  1.1419 -    </target>
  1.1420 -    <target depends="init,-pre-debug-fix,-do-debug-fix-test" if="netbeans.home" name="debug-fix-test"/>
  1.1421 -    <!--
  1.1422 -                
  1.1423 -                CLEANUP SECTION
  1.1424 -            -->
  1.1425 -    <target depends="init" name="deps-clean" unless="no.deps"/>
  1.1426 -    <target depends="init" name="do-clean">
  1.1427 -        <condition property="build.dir.to.clean" value="${build.web.dir}">
  1.1428 -            <isset property="dist.ear.dir"/>
  1.1429 -        </condition>
  1.1430 -        <property name="build.dir.to.clean" value="${build.web.dir}"/>
  1.1431 -        <delete includeEmptyDirs="true" quiet="true">
  1.1432 -            <fileset dir="${build.dir.to.clean}/WEB-INF/lib"/>
  1.1433 -        </delete>
  1.1434 -        <delete dir="${build.dir}"/>
  1.1435 -        <available file="${build.dir.to.clean}/WEB-INF/lib" property="status.clean-failed" type="dir"/>
  1.1436 -        <delete dir="${dist.dir}"/>
  1.1437 -    </target>
  1.1438 -    <target depends="do-clean" if="status.clean-failed" name="check-clean">
  1.1439 -        <echo message="Warning: unable to delete some files in ${build.web.dir}/WEB-INF/lib - they are probably locked by the J2EE server. "/>
  1.1440 -        <echo level="info" message="To delete all files undeploy the module from Server Registry in Runtime tab and then use Clean again."/>
  1.1441 -    </target>
  1.1442 -    <target depends="init" if="netbeans.home" name="undeploy-clean">
  1.1443 -        <nbundeploy failOnError="false" startServer="false"/>
  1.1444 -    </target>
  1.1445 -    <target name="-post-clean">
  1.1446 -        <!-- Empty placeholder for easier customization. -->
  1.1447 -        <!-- You can override this target in the ../build.xml file. -->
  1.1448 -    </target>
  1.1449 -    <target depends="init,undeploy-clean,deps-clean,do-clean,check-clean,-post-clean" description="Clean build products." name="clean"/>
  1.1450 -    <target depends="clean" description="Clean build products." name="clean-ear"/>
  1.1451 -</project>

mercurial