java/jdbc-loopback-driver/nbproject/build-impl.xml
branchv_0
changeset 237 7e08730da258
parent 236 a3ec71fa8e17
child 238 4a1864c3e867
     1.1 --- a/java/jdbc-loopback-driver/nbproject/build-impl.xml	Tue Feb 26 18:19:49 2019 +0100
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,1429 +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 -
    1.12 -  - initialization
    1.13 -  - compilation
    1.14 -  - jar
    1.15 -  - execution
    1.16 -  - debugging
    1.17 -  - javadoc
    1.18 -  - test compilation
    1.19 -  - test execution
    1.20 -  - test debugging
    1.21 -  - applet
    1.22 -  - cleanup
    1.23 -
    1.24 -        -->
    1.25 -<project xmlns:j2seproject1="http://www.netbeans.org/ns/j2se-project/1" xmlns:j2seproject3="http://www.netbeans.org/ns/j2se-project/3" xmlns:jaxrpc="http://www.netbeans.org/ns/j2se-project/jax-rpc" basedir=".." default="default" name="jdbc-loopback-driver-impl">
    1.26 -    <fail message="Please build using Ant 1.8.0 or higher.">
    1.27 -        <condition>
    1.28 -            <not>
    1.29 -                <antversion atleast="1.8.0"/>
    1.30 -            </not>
    1.31 -        </condition>
    1.32 -    </fail>
    1.33 -    <target depends="test,jar,javadoc" description="Build and test whole project." name="default"/>
    1.34 -    <!-- 
    1.35 -                ======================
    1.36 -                INITIALIZATION SECTION 
    1.37 -                ======================
    1.38 -            -->
    1.39 -    <target name="-pre-init">
    1.40 -        <!-- Empty placeholder for easier customization. -->
    1.41 -        <!-- You can override this target in the ../build.xml file. -->
    1.42 -    </target>
    1.43 -    <target depends="-pre-init" name="-init-private">
    1.44 -        <property file="nbproject/private/config.properties"/>
    1.45 -        <property file="nbproject/private/configs/${config}.properties"/>
    1.46 -        <property file="nbproject/private/private.properties"/>
    1.47 -    </target>
    1.48 -    <target depends="-pre-init,-init-private" name="-init-user">
    1.49 -        <property file="${user.properties.file}"/>
    1.50 -        <!-- The two properties below are usually overridden -->
    1.51 -        <!-- by the active platform. Just a fallback. -->
    1.52 -        <property name="default.javac.source" value="1.6"/>
    1.53 -        <property name="default.javac.target" value="1.6"/>
    1.54 -    </target>
    1.55 -    <target depends="-pre-init,-init-private,-init-user" name="-init-project">
    1.56 -        <property file="nbproject/configs/${config}.properties"/>
    1.57 -        <property file="nbproject/project.properties"/>
    1.58 -    </target>
    1.59 -    <target depends="-pre-init,-init-private,-init-user,-init-project,-init-macrodef-property" name="-do-init">
    1.60 -        <property name="platform.java" value="${java.home}/bin/java"/>
    1.61 -        <available file="${manifest.file}" property="manifest.available"/>
    1.62 -        <condition property="splashscreen.available">
    1.63 -            <and>
    1.64 -                <not>
    1.65 -                    <equals arg1="${application.splash}" arg2="" trim="true"/>
    1.66 -                </not>
    1.67 -                <available file="${application.splash}"/>
    1.68 -            </and>
    1.69 -        </condition>
    1.70 -        <condition property="main.class.available">
    1.71 -            <and>
    1.72 -                <isset property="main.class"/>
    1.73 -                <not>
    1.74 -                    <equals arg1="${main.class}" arg2="" trim="true"/>
    1.75 -                </not>
    1.76 -            </and>
    1.77 -        </condition>
    1.78 -        <condition property="profile.available">
    1.79 -            <and>
    1.80 -                <isset property="javac.profile"/>
    1.81 -                <length length="0" string="${javac.profile}" when="greater"/>
    1.82 -                <matches pattern="((1\.[89])|9)(\..*)?" string="${javac.source}"/>
    1.83 -            </and>
    1.84 -        </condition>
    1.85 -        <condition property="do.archive">
    1.86 -            <or>
    1.87 -                <not>
    1.88 -                    <istrue value="${jar.archive.disabled}"/>
    1.89 -                </not>
    1.90 -                <istrue value="${not.archive.disabled}"/>
    1.91 -            </or>
    1.92 -        </condition>
    1.93 -        <condition property="do.mkdist">
    1.94 -            <and>
    1.95 -                <isset property="do.archive"/>
    1.96 -                <isset property="libs.CopyLibs.classpath"/>
    1.97 -                <not>
    1.98 -                    <istrue value="${mkdist.disabled}"/>
    1.99 -                </not>
   1.100 -            </and>
   1.101 -        </condition>
   1.102 -        <condition property="do.archive+manifest.available">
   1.103 -            <and>
   1.104 -                <isset property="manifest.available"/>
   1.105 -                <istrue value="${do.archive}"/>
   1.106 -            </and>
   1.107 -        </condition>
   1.108 -        <condition property="do.archive+main.class.available">
   1.109 -            <and>
   1.110 -                <isset property="main.class.available"/>
   1.111 -                <istrue value="${do.archive}"/>
   1.112 -            </and>
   1.113 -        </condition>
   1.114 -        <condition property="do.archive+splashscreen.available">
   1.115 -            <and>
   1.116 -                <isset property="splashscreen.available"/>
   1.117 -                <istrue value="${do.archive}"/>
   1.118 -            </and>
   1.119 -        </condition>
   1.120 -        <condition property="do.archive+profile.available">
   1.121 -            <and>
   1.122 -                <isset property="profile.available"/>
   1.123 -                <istrue value="${do.archive}"/>
   1.124 -            </and>
   1.125 -        </condition>
   1.126 -        <condition property="have.tests">
   1.127 -            <or>
   1.128 -                <available file="${test.src.dir}"/>
   1.129 -            </or>
   1.130 -        </condition>
   1.131 -        <condition property="have.sources">
   1.132 -            <or>
   1.133 -                <available file="${src.conf.dir}"/>
   1.134 -                <available file="${src.dir}"/>
   1.135 -            </or>
   1.136 -        </condition>
   1.137 -        <condition property="netbeans.home+have.tests">
   1.138 -            <and>
   1.139 -                <isset property="netbeans.home"/>
   1.140 -                <isset property="have.tests"/>
   1.141 -            </and>
   1.142 -        </condition>
   1.143 -        <condition property="no.javadoc.preview">
   1.144 -            <and>
   1.145 -                <isset property="javadoc.preview"/>
   1.146 -                <isfalse value="${javadoc.preview}"/>
   1.147 -            </and>
   1.148 -        </condition>
   1.149 -        <property name="run.jvmargs" value=""/>
   1.150 -        <property name="run.jvmargs.ide" value=""/>
   1.151 -        <property name="javac.compilerargs" value=""/>
   1.152 -        <property name="work.dir" value="${basedir}"/>
   1.153 -        <condition property="no.deps">
   1.154 -            <and>
   1.155 -                <istrue value="${no.dependencies}"/>
   1.156 -            </and>
   1.157 -        </condition>
   1.158 -        <property name="javac.debug" value="true"/>
   1.159 -        <property name="javadoc.preview" value="true"/>
   1.160 -        <property name="application.args" value=""/>
   1.161 -        <property name="source.encoding" value="${file.encoding}"/>
   1.162 -        <property name="runtime.encoding" value="${source.encoding}"/>
   1.163 -        <property name="manifest.encoding" value="${source.encoding}"/>
   1.164 -        <condition property="javadoc.encoding.used" value="${javadoc.encoding}">
   1.165 -            <and>
   1.166 -                <isset property="javadoc.encoding"/>
   1.167 -                <not>
   1.168 -                    <equals arg1="${javadoc.encoding}" arg2=""/>
   1.169 -                </not>
   1.170 -            </and>
   1.171 -        </condition>
   1.172 -        <property name="javadoc.encoding.used" value="${source.encoding}"/>
   1.173 -        <property name="includes" value="**"/>
   1.174 -        <property name="excludes" value=""/>
   1.175 -        <property name="do.depend" value="false"/>
   1.176 -        <condition property="do.depend.true">
   1.177 -            <istrue value="${do.depend}"/>
   1.178 -        </condition>
   1.179 -        <path id="endorsed.classpath.path" path="${endorsed.classpath}"/>
   1.180 -        <condition else="" property="endorsed.classpath.cmd.line.arg" value="-Xbootclasspath/p:'${toString:endorsed.classpath.path}'">
   1.181 -            <and>
   1.182 -                <isset property="endorsed.classpath"/>
   1.183 -                <not>
   1.184 -                    <equals arg1="${endorsed.classpath}" arg2="" trim="true"/>
   1.185 -                </not>
   1.186 -            </and>
   1.187 -        </condition>
   1.188 -        <condition else="" property="javac.profile.cmd.line.arg" value="-profile ${javac.profile}">
   1.189 -            <isset property="profile.available"/>
   1.190 -        </condition>
   1.191 -        <condition else="false" property="jdkBug6558476">
   1.192 -            <and>
   1.193 -                <matches pattern="1\.[56]" string="${java.specification.version}"/>
   1.194 -                <not>
   1.195 -                    <os family="unix"/>
   1.196 -                </not>
   1.197 -            </and>
   1.198 -        </condition>
   1.199 -        <condition else="false" property="javac.fork">
   1.200 -            <or>
   1.201 -                <istrue value="${jdkBug6558476}"/>
   1.202 -                <istrue value="${javac.external.vm}"/>
   1.203 -            </or>
   1.204 -        </condition>
   1.205 -        <property name="jar.index" value="false"/>
   1.206 -        <property name="jar.index.metainf" value="${jar.index}"/>
   1.207 -        <property name="copylibs.rebase" value="true"/>
   1.208 -        <available file="${meta.inf.dir}/persistence.xml" property="has.persistence.xml"/>
   1.209 -        <condition property="junit.available">
   1.210 -            <or>
   1.211 -                <available classname="org.junit.Test" classpath="${run.test.classpath}"/>
   1.212 -                <available classname="junit.framework.Test" classpath="${run.test.classpath}"/>
   1.213 -            </or>
   1.214 -        </condition>
   1.215 -        <condition property="testng.available">
   1.216 -            <available classname="org.testng.annotations.Test" classpath="${run.test.classpath}"/>
   1.217 -        </condition>
   1.218 -        <condition property="junit+testng.available">
   1.219 -            <and>
   1.220 -                <istrue value="${junit.available}"/>
   1.221 -                <istrue value="${testng.available}"/>
   1.222 -            </and>
   1.223 -        </condition>
   1.224 -        <condition else="testng" property="testng.mode" value="mixed">
   1.225 -            <istrue value="${junit+testng.available}"/>
   1.226 -        </condition>
   1.227 -        <condition else="" property="testng.debug.mode" value="-mixed">
   1.228 -            <istrue value="${junit+testng.available}"/>
   1.229 -        </condition>
   1.230 -        <property name="java.failonerror" value="true"/>
   1.231 -    </target>
   1.232 -    <target name="-post-init">
   1.233 -        <!-- Empty placeholder for easier customization. -->
   1.234 -        <!-- You can override this target in the ../build.xml file. -->
   1.235 -    </target>
   1.236 -    <target depends="-pre-init,-init-private,-init-user,-init-project,-do-init" name="-init-check">
   1.237 -        <fail unless="src.conf.dir">Must set src.conf.dir</fail>
   1.238 -        <fail unless="src.dir">Must set src.dir</fail>
   1.239 -        <fail unless="test.src.dir">Must set test.src.dir</fail>
   1.240 -        <fail unless="build.dir">Must set build.dir</fail>
   1.241 -        <fail unless="dist.dir">Must set dist.dir</fail>
   1.242 -        <fail unless="build.classes.dir">Must set build.classes.dir</fail>
   1.243 -        <fail unless="dist.javadoc.dir">Must set dist.javadoc.dir</fail>
   1.244 -        <fail unless="build.test.classes.dir">Must set build.test.classes.dir</fail>
   1.245 -        <fail unless="build.test.results.dir">Must set build.test.results.dir</fail>
   1.246 -        <fail unless="build.classes.excludes">Must set build.classes.excludes</fail>
   1.247 -        <fail unless="dist.jar">Must set dist.jar</fail>
   1.248 -    </target>
   1.249 -    <target name="-init-macrodef-property">
   1.250 -        <macrodef name="property" uri="http://www.netbeans.org/ns/j2se-project/1">
   1.251 -            <attribute name="name"/>
   1.252 -            <attribute name="value"/>
   1.253 -            <sequential>
   1.254 -                <property name="@{name}" value="${@{value}}"/>
   1.255 -            </sequential>
   1.256 -        </macrodef>
   1.257 -    </target>
   1.258 -    <target depends="-init-ap-cmdline-properties" if="ap.supported.internal" name="-init-macrodef-javac-with-processors">
   1.259 -        <macrodef name="javac" uri="http://www.netbeans.org/ns/j2se-project/3">
   1.260 -            <attribute default="${src.conf.dir}:${src.dir}" name="srcdir"/>
   1.261 -            <attribute default="${build.classes.dir}" name="destdir"/>
   1.262 -            <attribute default="${javac.classpath}" name="classpath"/>
   1.263 -            <attribute default="${javac.processorpath}" name="processorpath"/>
   1.264 -            <attribute default="${build.generated.sources.dir}/ap-source-output" name="apgeneratedsrcdir"/>
   1.265 -            <attribute default="${includes}" name="includes"/>
   1.266 -            <attribute default="${excludes}" name="excludes"/>
   1.267 -            <attribute default="${javac.debug}" name="debug"/>
   1.268 -            <attribute default="${empty.dir}" name="sourcepath"/>
   1.269 -            <attribute default="${empty.dir}" name="gensrcdir"/>
   1.270 -            <element name="customize" optional="true"/>
   1.271 -            <sequential>
   1.272 -                <property location="${build.dir}/empty" name="empty.dir"/>
   1.273 -                <mkdir dir="${empty.dir}"/>
   1.274 -                <mkdir dir="@{apgeneratedsrcdir}"/>
   1.275 -                <javac debug="@{debug}" deprecation="${javac.deprecation}" destdir="@{destdir}" encoding="${source.encoding}" excludes="@{excludes}" fork="${javac.fork}" includeantruntime="false" includes="@{includes}" source="${javac.source}" sourcepath="@{sourcepath}" srcdir="@{srcdir}" target="${javac.target}" tempdir="${java.io.tmpdir}">
   1.276 -                    <src>
   1.277 -                        <dirset dir="@{gensrcdir}" erroronmissingdir="false">
   1.278 -                            <include name="*"/>
   1.279 -                        </dirset>
   1.280 -                    </src>
   1.281 -                    <classpath>
   1.282 -                        <path path="@{classpath}"/>
   1.283 -                    </classpath>
   1.284 -                    <compilerarg line="${endorsed.classpath.cmd.line.arg}"/>
   1.285 -                    <compilerarg line="${javac.profile.cmd.line.arg}"/>
   1.286 -                    <compilerarg line="${javac.compilerargs}"/>
   1.287 -                    <compilerarg value="-processorpath"/>
   1.288 -                    <compilerarg path="@{processorpath}:${empty.dir}"/>
   1.289 -                    <compilerarg line="${ap.processors.internal}"/>
   1.290 -                    <compilerarg line="${annotation.processing.processor.options}"/>
   1.291 -                    <compilerarg value="-s"/>
   1.292 -                    <compilerarg path="@{apgeneratedsrcdir}"/>
   1.293 -                    <compilerarg line="${ap.proc.none.internal}"/>
   1.294 -                    <customize/>
   1.295 -                </javac>
   1.296 -            </sequential>
   1.297 -        </macrodef>
   1.298 -    </target>
   1.299 -    <target depends="-init-ap-cmdline-properties" name="-init-macrodef-javac-without-processors" unless="ap.supported.internal">
   1.300 -        <macrodef name="javac" uri="http://www.netbeans.org/ns/j2se-project/3">
   1.301 -            <attribute default="${src.conf.dir}:${src.dir}" name="srcdir"/>
   1.302 -            <attribute default="${build.classes.dir}" name="destdir"/>
   1.303 -            <attribute default="${javac.classpath}" name="classpath"/>
   1.304 -            <attribute default="${javac.processorpath}" name="processorpath"/>
   1.305 -            <attribute default="${build.generated.sources.dir}/ap-source-output" name="apgeneratedsrcdir"/>
   1.306 -            <attribute default="${includes}" name="includes"/>
   1.307 -            <attribute default="${excludes}" name="excludes"/>
   1.308 -            <attribute default="${javac.debug}" name="debug"/>
   1.309 -            <attribute default="${empty.dir}" name="sourcepath"/>
   1.310 -            <attribute default="${empty.dir}" name="gensrcdir"/>
   1.311 -            <element name="customize" optional="true"/>
   1.312 -            <sequential>
   1.313 -                <property location="${build.dir}/empty" name="empty.dir"/>
   1.314 -                <mkdir dir="${empty.dir}"/>
   1.315 -                <javac debug="@{debug}" deprecation="${javac.deprecation}" destdir="@{destdir}" encoding="${source.encoding}" excludes="@{excludes}" fork="${javac.fork}" includeantruntime="false" includes="@{includes}" source="${javac.source}" sourcepath="@{sourcepath}" srcdir="@{srcdir}" target="${javac.target}" tempdir="${java.io.tmpdir}">
   1.316 -                    <src>
   1.317 -                        <dirset dir="@{gensrcdir}" erroronmissingdir="false">
   1.318 -                            <include name="*"/>
   1.319 -                        </dirset>
   1.320 -                    </src>
   1.321 -                    <classpath>
   1.322 -                        <path path="@{classpath}"/>
   1.323 -                    </classpath>
   1.324 -                    <compilerarg line="${endorsed.classpath.cmd.line.arg}"/>
   1.325 -                    <compilerarg line="${javac.profile.cmd.line.arg}"/>
   1.326 -                    <compilerarg line="${javac.compilerargs}"/>
   1.327 -                    <customize/>
   1.328 -                </javac>
   1.329 -            </sequential>
   1.330 -        </macrodef>
   1.331 -    </target>
   1.332 -    <target depends="-init-macrodef-javac-with-processors,-init-macrodef-javac-without-processors" name="-init-macrodef-javac">
   1.333 -        <macrodef name="depend" uri="http://www.netbeans.org/ns/j2se-project/3">
   1.334 -            <attribute default="${src.conf.dir}:${src.dir}" name="srcdir"/>
   1.335 -            <attribute default="${build.classes.dir}" name="destdir"/>
   1.336 -            <attribute default="${javac.classpath}" name="classpath"/>
   1.337 -            <sequential>
   1.338 -                <depend cache="${build.dir}/depcache" destdir="@{destdir}" excludes="${excludes}" includes="${includes}" srcdir="@{srcdir}">
   1.339 -                    <classpath>
   1.340 -                        <path path="@{classpath}"/>
   1.341 -                    </classpath>
   1.342 -                </depend>
   1.343 -            </sequential>
   1.344 -        </macrodef>
   1.345 -        <macrodef name="force-recompile" uri="http://www.netbeans.org/ns/j2se-project/3">
   1.346 -            <attribute default="${build.classes.dir}" name="destdir"/>
   1.347 -            <sequential>
   1.348 -                <fail unless="javac.includes">Must set javac.includes</fail>
   1.349 -                <pathconvert pathsep="${line.separator}" property="javac.includes.binary">
   1.350 -                    <path>
   1.351 -                        <filelist dir="@{destdir}" files="${javac.includes}"/>
   1.352 -                    </path>
   1.353 -                    <globmapper from="*.java" to="*.class"/>
   1.354 -                </pathconvert>
   1.355 -                <tempfile deleteonexit="true" property="javac.includesfile.binary"/>
   1.356 -                <echo file="${javac.includesfile.binary}" message="${javac.includes.binary}"/>
   1.357 -                <delete>
   1.358 -                    <files includesfile="${javac.includesfile.binary}"/>
   1.359 -                </delete>
   1.360 -                <delete>
   1.361 -                    <fileset file="${javac.includesfile.binary}"/>
   1.362 -                </delete>
   1.363 -            </sequential>
   1.364 -        </macrodef>
   1.365 -    </target>
   1.366 -    <target if="${junit.available}" name="-init-macrodef-junit-init">
   1.367 -        <condition else="false" property="nb.junit.batch" value="true">
   1.368 -            <and>
   1.369 -                <istrue value="${junit.available}"/>
   1.370 -                <not>
   1.371 -                    <isset property="test.method"/>
   1.372 -                </not>
   1.373 -            </and>
   1.374 -        </condition>
   1.375 -        <condition else="false" property="nb.junit.single" value="true">
   1.376 -            <and>
   1.377 -                <istrue value="${junit.available}"/>
   1.378 -                <isset property="test.method"/>
   1.379 -            </and>
   1.380 -        </condition>
   1.381 -    </target>
   1.382 -    <target name="-init-test-properties">
   1.383 -        <property name="test.binaryincludes" value="&lt;nothing&gt;"/>
   1.384 -        <property name="test.binarytestincludes" value=""/>
   1.385 -        <property name="test.binaryexcludes" value=""/>
   1.386 -    </target>
   1.387 -    <target if="${nb.junit.single}" name="-init-macrodef-junit-single" unless="${nb.junit.batch}">
   1.388 -        <macrodef name="junit" uri="http://www.netbeans.org/ns/j2se-project/3">
   1.389 -            <attribute default="${includes}" name="includes"/>
   1.390 -            <attribute default="${excludes}" name="excludes"/>
   1.391 -            <attribute default="**" name="testincludes"/>
   1.392 -            <attribute default="" name="testmethods"/>
   1.393 -            <element name="customize" optional="true"/>
   1.394 -            <sequential>
   1.395 -                <property name="junit.forkmode" value="perTest"/>
   1.396 -                <junit dir="${work.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" forkmode="${junit.forkmode}" showoutput="true" tempdir="${build.dir}">
   1.397 -                    <test methods="@{testmethods}" name="@{testincludes}" todir="${build.test.results.dir}"/>
   1.398 -                    <syspropertyset>
   1.399 -                        <propertyref prefix="test-sys-prop."/>
   1.400 -                        <mapper from="test-sys-prop.*" to="*" type="glob"/>
   1.401 -                    </syspropertyset>
   1.402 -                    <formatter type="brief" usefile="false"/>
   1.403 -                    <formatter type="xml"/>
   1.404 -                    <jvmarg value="-ea"/>
   1.405 -                    <customize/>
   1.406 -                </junit>
   1.407 -            </sequential>
   1.408 -        </macrodef>
   1.409 -    </target>
   1.410 -    <target depends="-init-test-properties" if="${nb.junit.batch}" name="-init-macrodef-junit-batch" unless="${nb.junit.single}">
   1.411 -        <macrodef name="junit" uri="http://www.netbeans.org/ns/j2se-project/3">
   1.412 -            <attribute default="${includes}" name="includes"/>
   1.413 -            <attribute default="${excludes}" name="excludes"/>
   1.414 -            <attribute default="**" name="testincludes"/>
   1.415 -            <attribute default="" name="testmethods"/>
   1.416 -            <element name="customize" optional="true"/>
   1.417 -            <sequential>
   1.418 -                <property name="junit.forkmode" value="perTest"/>
   1.419 -                <junit dir="${work.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" forkmode="${junit.forkmode}" showoutput="true" tempdir="${build.dir}">
   1.420 -                    <batchtest todir="${build.test.results.dir}">
   1.421 -                        <fileset dir="${test.src.dir}" excludes="@{excludes},${excludes}" includes="@{includes}">
   1.422 -                            <filename name="@{testincludes}"/>
   1.423 -                        </fileset>
   1.424 -                        <fileset dir="${build.test.classes.dir}" excludes="@{excludes},${excludes},${test.binaryexcludes}" includes="${test.binaryincludes}">
   1.425 -                            <filename name="${test.binarytestincludes}"/>
   1.426 -                        </fileset>
   1.427 -                    </batchtest>
   1.428 -                    <syspropertyset>
   1.429 -                        <propertyref prefix="test-sys-prop."/>
   1.430 -                        <mapper from="test-sys-prop.*" to="*" type="glob"/>
   1.431 -                    </syspropertyset>
   1.432 -                    <formatter type="brief" usefile="false"/>
   1.433 -                    <formatter type="xml"/>
   1.434 -                    <jvmarg value="-ea"/>
   1.435 -                    <customize/>
   1.436 -                </junit>
   1.437 -            </sequential>
   1.438 -        </macrodef>
   1.439 -    </target>
   1.440 -    <target depends="-init-macrodef-junit-init,-init-macrodef-junit-single, -init-macrodef-junit-batch" if="${junit.available}" name="-init-macrodef-junit"/>
   1.441 -    <target if="${testng.available}" name="-init-macrodef-testng">
   1.442 -        <macrodef name="testng" uri="http://www.netbeans.org/ns/j2se-project/3">
   1.443 -            <attribute default="${includes}" name="includes"/>
   1.444 -            <attribute default="${excludes}" name="excludes"/>
   1.445 -            <attribute default="**" name="testincludes"/>
   1.446 -            <attribute default="" name="testmethods"/>
   1.447 -            <element name="customize" optional="true"/>
   1.448 -            <sequential>
   1.449 -                <condition else="" property="testng.methods.arg" value="@{testincludes}.@{testmethods}">
   1.450 -                    <isset property="test.method"/>
   1.451 -                </condition>
   1.452 -                <union id="test.set">
   1.453 -                    <fileset dir="${test.src.dir}" excludes="@{excludes},**/*.xml,${excludes}" includes="@{includes}">
   1.454 -                        <filename name="@{testincludes}"/>
   1.455 -                    </fileset>
   1.456 -                </union>
   1.457 -                <taskdef classname="org.testng.TestNGAntTask" classpath="${run.test.classpath}" name="testng"/>
   1.458 -                <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="jdbc-loopback-driver" testname="TestNG tests" workingDir="${work.dir}">
   1.459 -                    <xmlfileset dir="${build.test.classes.dir}" includes="@{testincludes}"/>
   1.460 -                    <propertyset>
   1.461 -                        <propertyref prefix="test-sys-prop."/>
   1.462 -                        <mapper from="test-sys-prop.*" to="*" type="glob"/>
   1.463 -                    </propertyset>
   1.464 -                    <customize/>
   1.465 -                </testng>
   1.466 -            </sequential>
   1.467 -        </macrodef>
   1.468 -    </target>
   1.469 -    <target name="-init-macrodef-test-impl">
   1.470 -        <macrodef name="test-impl" uri="http://www.netbeans.org/ns/j2se-project/3">
   1.471 -            <attribute default="${includes}" name="includes"/>
   1.472 -            <attribute default="${excludes}" name="excludes"/>
   1.473 -            <attribute default="**" name="testincludes"/>
   1.474 -            <attribute default="" name="testmethods"/>
   1.475 -            <element implicit="true" name="customize" optional="true"/>
   1.476 -            <sequential>
   1.477 -                <echo>No tests executed.</echo>
   1.478 -            </sequential>
   1.479 -        </macrodef>
   1.480 -    </target>
   1.481 -    <target depends="-init-macrodef-junit" if="${junit.available}" name="-init-macrodef-junit-impl">
   1.482 -        <macrodef name="test-impl" uri="http://www.netbeans.org/ns/j2se-project/3">
   1.483 -            <attribute default="${includes}" name="includes"/>
   1.484 -            <attribute default="${excludes}" name="excludes"/>
   1.485 -            <attribute default="**" name="testincludes"/>
   1.486 -            <attribute default="" name="testmethods"/>
   1.487 -            <element implicit="true" name="customize" optional="true"/>
   1.488 -            <sequential>
   1.489 -                <j2seproject3:junit excludes="@{excludes}" includes="@{includes}" testincludes="@{testincludes}" testmethods="@{testmethods}">
   1.490 -                    <customize/>
   1.491 -                </j2seproject3:junit>
   1.492 -            </sequential>
   1.493 -        </macrodef>
   1.494 -    </target>
   1.495 -    <target depends="-init-macrodef-testng" if="${testng.available}" name="-init-macrodef-testng-impl">
   1.496 -        <macrodef name="test-impl" uri="http://www.netbeans.org/ns/j2se-project/3">
   1.497 -            <attribute default="${includes}" name="includes"/>
   1.498 -            <attribute default="${excludes}" name="excludes"/>
   1.499 -            <attribute default="**" name="testincludes"/>
   1.500 -            <attribute default="" name="testmethods"/>
   1.501 -            <element implicit="true" name="customize" optional="true"/>
   1.502 -            <sequential>
   1.503 -                <j2seproject3:testng excludes="@{excludes}" includes="@{includes}" testincludes="@{testincludes}" testmethods="@{testmethods}">
   1.504 -                    <customize/>
   1.505 -                </j2seproject3:testng>
   1.506 -            </sequential>
   1.507 -        </macrodef>
   1.508 -    </target>
   1.509 -    <target depends="-init-macrodef-test-impl,-init-macrodef-junit-impl,-init-macrodef-testng-impl" name="-init-macrodef-test">
   1.510 -        <macrodef name="test" uri="http://www.netbeans.org/ns/j2se-project/3">
   1.511 -            <attribute default="${includes}" name="includes"/>
   1.512 -            <attribute default="${excludes}" name="excludes"/>
   1.513 -            <attribute default="**" name="testincludes"/>
   1.514 -            <attribute default="" name="testmethods"/>
   1.515 -            <sequential>
   1.516 -                <j2seproject3:test-impl excludes="@{excludes}" includes="@{includes}" testincludes="@{testincludes}" testmethods="@{testmethods}">
   1.517 -                    <customize>
   1.518 -                        <classpath>
   1.519 -                            <path path="${run.test.classpath}"/>
   1.520 -                        </classpath>
   1.521 -                        <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
   1.522 -                        <jvmarg line="${run.jvmargs}"/>
   1.523 -                        <jvmarg line="${run.jvmargs.ide}"/>
   1.524 -                    </customize>
   1.525 -                </j2seproject3:test-impl>
   1.526 -            </sequential>
   1.527 -        </macrodef>
   1.528 -    </target>
   1.529 -    <target if="${junit.available}" name="-init-macrodef-junit-debug" unless="${nb.junit.batch}">
   1.530 -        <macrodef name="junit-debug" uri="http://www.netbeans.org/ns/j2se-project/3">
   1.531 -            <attribute default="${includes}" name="includes"/>
   1.532 -            <attribute default="${excludes}" name="excludes"/>
   1.533 -            <attribute default="**" name="testincludes"/>
   1.534 -            <attribute default="" name="testmethods"/>
   1.535 -            <element name="customize" optional="true"/>
   1.536 -            <sequential>
   1.537 -                <property name="junit.forkmode" value="perTest"/>
   1.538 -                <junit dir="${work.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" forkmode="${junit.forkmode}" showoutput="true" tempdir="${build.dir}">
   1.539 -                    <test methods="@{testmethods}" name="@{testincludes}" todir="${build.test.results.dir}"/>
   1.540 -                    <syspropertyset>
   1.541 -                        <propertyref prefix="test-sys-prop."/>
   1.542 -                        <mapper from="test-sys-prop.*" to="*" type="glob"/>
   1.543 -                    </syspropertyset>
   1.544 -                    <formatter type="brief" usefile="false"/>
   1.545 -                    <formatter type="xml"/>
   1.546 -                    <jvmarg value="-ea"/>
   1.547 -                    <jvmarg line="${debug-args-line}"/>
   1.548 -                    <jvmarg value="-Xrunjdwp:transport=${debug-transport},address=${jpda.address}"/>
   1.549 -                    <customize/>
   1.550 -                </junit>
   1.551 -            </sequential>
   1.552 -        </macrodef>
   1.553 -    </target>
   1.554 -    <target depends="-init-test-properties" if="${nb.junit.batch}" name="-init-macrodef-junit-debug-batch">
   1.555 -        <macrodef name="junit-debug" uri="http://www.netbeans.org/ns/j2se-project/3">
   1.556 -            <attribute default="${includes}" name="includes"/>
   1.557 -            <attribute default="${excludes}" name="excludes"/>
   1.558 -            <attribute default="**" name="testincludes"/>
   1.559 -            <attribute default="" name="testmethods"/>
   1.560 -            <element name="customize" optional="true"/>
   1.561 -            <sequential>
   1.562 -                <property name="junit.forkmode" value="perTest"/>
   1.563 -                <junit dir="${work.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" forkmode="${junit.forkmode}" showoutput="true" tempdir="${build.dir}">
   1.564 -                    <batchtest todir="${build.test.results.dir}">
   1.565 -                        <fileset dir="${test.src.dir}" excludes="@{excludes},${excludes}" includes="@{includes}">
   1.566 -                            <filename name="@{testincludes}"/>
   1.567 -                        </fileset>
   1.568 -                        <fileset dir="${build.test.classes.dir}" excludes="@{excludes},${excludes},${test.binaryexcludes}" includes="${test.binaryincludes}">
   1.569 -                            <filename name="${test.binarytestincludes}"/>
   1.570 -                        </fileset>
   1.571 -                    </batchtest>
   1.572 -                    <syspropertyset>
   1.573 -                        <propertyref prefix="test-sys-prop."/>
   1.574 -                        <mapper from="test-sys-prop.*" to="*" type="glob"/>
   1.575 -                    </syspropertyset>
   1.576 -                    <formatter type="brief" usefile="false"/>
   1.577 -                    <formatter type="xml"/>
   1.578 -                    <jvmarg value="-ea"/>
   1.579 -                    <jvmarg line="${debug-args-line}"/>
   1.580 -                    <jvmarg value="-Xrunjdwp:transport=${debug-transport},address=${jpda.address}"/>
   1.581 -                    <customize/>
   1.582 -                </junit>
   1.583 -            </sequential>
   1.584 -        </macrodef>
   1.585 -    </target>
   1.586 -    <target depends="-init-macrodef-junit-debug,-init-macrodef-junit-debug-batch" if="${junit.available}" name="-init-macrodef-junit-debug-impl">
   1.587 -        <macrodef name="test-debug-impl" uri="http://www.netbeans.org/ns/j2se-project/3">
   1.588 -            <attribute default="${includes}" name="includes"/>
   1.589 -            <attribute default="${excludes}" name="excludes"/>
   1.590 -            <attribute default="**" name="testincludes"/>
   1.591 -            <attribute default="" name="testmethods"/>
   1.592 -            <element implicit="true" name="customize" optional="true"/>
   1.593 -            <sequential>
   1.594 -                <j2seproject3:junit-debug excludes="@{excludes}" includes="@{includes}" testincludes="@{testincludes}" testmethods="@{testmethods}">
   1.595 -                    <customize/>
   1.596 -                </j2seproject3:junit-debug>
   1.597 -            </sequential>
   1.598 -        </macrodef>
   1.599 -    </target>
   1.600 -    <target if="${testng.available}" name="-init-macrodef-testng-debug">
   1.601 -        <macrodef name="testng-debug" uri="http://www.netbeans.org/ns/j2se-project/3">
   1.602 -            <attribute default="${main.class}" name="testClass"/>
   1.603 -            <attribute default="" name="testMethod"/>
   1.604 -            <element name="customize2" optional="true"/>
   1.605 -            <sequential>
   1.606 -                <condition else="-testclass @{testClass}" property="test.class.or.method" value="-methods @{testClass}.@{testMethod}">
   1.607 -                    <isset property="test.method"/>
   1.608 -                </condition>
   1.609 -                <condition else="-suitename jdbc-loopback-driver -testname @{testClass} ${test.class.or.method}" property="testng.cmd.args" value="@{testClass}">
   1.610 -                    <matches pattern=".*\.xml" string="@{testClass}"/>
   1.611 -                </condition>
   1.612 -                <delete dir="${build.test.results.dir}" quiet="true"/>
   1.613 -                <mkdir dir="${build.test.results.dir}"/>
   1.614 -                <j2seproject3:debug classname="org.testng.TestNG" classpath="${debug.test.classpath}">
   1.615 -                    <customize>
   1.616 -                        <customize2/>
   1.617 -                        <jvmarg value="-ea"/>
   1.618 -                        <arg line="${testng.debug.mode}"/>
   1.619 -                        <arg line="-d ${build.test.results.dir}"/>
   1.620 -                        <arg line="-listener org.testng.reporters.VerboseReporter"/>
   1.621 -                        <arg line="${testng.cmd.args}"/>
   1.622 -                    </customize>
   1.623 -                </j2seproject3:debug>
   1.624 -            </sequential>
   1.625 -        </macrodef>
   1.626 -    </target>
   1.627 -    <target depends="-init-macrodef-testng-debug" if="${testng.available}" name="-init-macrodef-testng-debug-impl">
   1.628 -        <macrodef name="testng-debug-impl" uri="http://www.netbeans.org/ns/j2se-project/3">
   1.629 -            <attribute default="${main.class}" name="testClass"/>
   1.630 -            <attribute default="" name="testMethod"/>
   1.631 -            <element implicit="true" name="customize2" optional="true"/>
   1.632 -            <sequential>
   1.633 -                <j2seproject3:testng-debug testClass="@{testClass}" testMethod="@{testMethod}">
   1.634 -                    <customize2/>
   1.635 -                </j2seproject3:testng-debug>
   1.636 -            </sequential>
   1.637 -        </macrodef>
   1.638 -    </target>
   1.639 -    <target depends="-init-macrodef-junit-debug-impl" if="${junit.available}" name="-init-macrodef-test-debug-junit">
   1.640 -        <macrodef name="test-debug" uri="http://www.netbeans.org/ns/j2se-project/3">
   1.641 -            <attribute default="${includes}" name="includes"/>
   1.642 -            <attribute default="${excludes}" name="excludes"/>
   1.643 -            <attribute default="**" name="testincludes"/>
   1.644 -            <attribute default="" name="testmethods"/>
   1.645 -            <attribute default="${main.class}" name="testClass"/>
   1.646 -            <attribute default="" name="testMethod"/>
   1.647 -            <sequential>
   1.648 -                <j2seproject3:test-debug-impl excludes="@{excludes}" includes="@{includes}" testincludes="@{testincludes}" testmethods="@{testmethods}">
   1.649 -                    <customize>
   1.650 -                        <classpath>
   1.651 -                            <path path="${run.test.classpath}"/>
   1.652 -                        </classpath>
   1.653 -                        <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
   1.654 -                        <jvmarg line="${run.jvmargs}"/>
   1.655 -                        <jvmarg line="${run.jvmargs.ide}"/>
   1.656 -                    </customize>
   1.657 -                </j2seproject3:test-debug-impl>
   1.658 -            </sequential>
   1.659 -        </macrodef>
   1.660 -    </target>
   1.661 -    <target depends="-init-macrodef-testng-debug-impl" if="${testng.available}" name="-init-macrodef-test-debug-testng">
   1.662 -        <macrodef name="test-debug" uri="http://www.netbeans.org/ns/j2se-project/3">
   1.663 -            <attribute default="${includes}" name="includes"/>
   1.664 -            <attribute default="${excludes}" name="excludes"/>
   1.665 -            <attribute default="**" name="testincludes"/>
   1.666 -            <attribute default="" name="testmethods"/>
   1.667 -            <attribute default="${main.class}" name="testClass"/>
   1.668 -            <attribute default="" name="testMethod"/>
   1.669 -            <sequential>
   1.670 -                <j2seproject3:testng-debug-impl testClass="@{testClass}" testMethod="@{testMethod}">
   1.671 -                    <customize2>
   1.672 -                        <syspropertyset>
   1.673 -                            <propertyref prefix="test-sys-prop."/>
   1.674 -                            <mapper from="test-sys-prop.*" to="*" type="glob"/>
   1.675 -                        </syspropertyset>
   1.676 -                    </customize2>
   1.677 -                </j2seproject3:testng-debug-impl>
   1.678 -            </sequential>
   1.679 -        </macrodef>
   1.680 -    </target>
   1.681 -    <target depends="-init-macrodef-test-debug-junit,-init-macrodef-test-debug-testng" name="-init-macrodef-test-debug"/>
   1.682 -    <!--
   1.683 -                pre NB7.2 profiling section; consider it deprecated
   1.684 -            -->
   1.685 -    <target depends="-profile-pre-init, init, -profile-post-init, -profile-init-macrodef-profile, -profile-init-check" if="profiler.info.jvmargs.agent" name="profile-init"/>
   1.686 -    <target if="profiler.info.jvmargs.agent" name="-profile-pre-init">
   1.687 -        <!-- Empty placeholder for easier customization. -->
   1.688 -        <!-- You can override this target in the ../build.xml file. -->
   1.689 -    </target>
   1.690 -    <target if="profiler.info.jvmargs.agent" name="-profile-post-init">
   1.691 -        <!-- Empty placeholder for easier customization. -->
   1.692 -        <!-- You can override this target in the ../build.xml file. -->
   1.693 -    </target>
   1.694 -    <target if="profiler.info.jvmargs.agent" name="-profile-init-macrodef-profile">
   1.695 -        <macrodef name="resolve">
   1.696 -            <attribute name="name"/>
   1.697 -            <attribute name="value"/>
   1.698 -            <sequential>
   1.699 -                <property name="@{name}" value="${env.@{value}}"/>
   1.700 -            </sequential>
   1.701 -        </macrodef>
   1.702 -        <macrodef name="profile">
   1.703 -            <attribute default="${main.class}" name="classname"/>
   1.704 -            <element name="customize" optional="true"/>
   1.705 -            <sequential>
   1.706 -                <property environment="env"/>
   1.707 -                <resolve name="profiler.current.path" value="${profiler.info.pathvar}"/>
   1.708 -                <java classname="@{classname}" dir="${profiler.info.dir}" failonerror="${java.failonerror}" fork="true" jvm="${profiler.info.jvm}">
   1.709 -                    <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
   1.710 -                    <jvmarg value="${profiler.info.jvmargs.agent}"/>
   1.711 -                    <jvmarg line="${profiler.info.jvmargs}"/>
   1.712 -                    <env key="${profiler.info.pathvar}" path="${profiler.info.agentpath}:${profiler.current.path}"/>
   1.713 -                    <arg line="${application.args}"/>
   1.714 -                    <classpath>
   1.715 -                        <path path="${run.classpath}"/>
   1.716 -                    </classpath>
   1.717 -                    <syspropertyset>
   1.718 -                        <propertyref prefix="run-sys-prop."/>
   1.719 -                        <mapper from="run-sys-prop.*" to="*" type="glob"/>
   1.720 -                    </syspropertyset>
   1.721 -                    <customize/>
   1.722 -                </java>
   1.723 -            </sequential>
   1.724 -        </macrodef>
   1.725 -    </target>
   1.726 -    <target depends="-profile-pre-init, init, -profile-post-init, -profile-init-macrodef-profile" if="profiler.info.jvmargs.agent" name="-profile-init-check">
   1.727 -        <fail unless="profiler.info.jvm">Must set JVM to use for profiling in profiler.info.jvm</fail>
   1.728 -        <fail unless="profiler.info.jvmargs.agent">Must set profiler agent JVM arguments in profiler.info.jvmargs.agent</fail>
   1.729 -    </target>
   1.730 -    <!--
   1.731 -                end of pre NB7.2 profiling section
   1.732 -            -->
   1.733 -    <target depends="-init-debug-args" name="-init-macrodef-nbjpda">
   1.734 -        <macrodef name="nbjpdastart" uri="http://www.netbeans.org/ns/j2se-project/1">
   1.735 -            <attribute default="${main.class}" name="name"/>
   1.736 -            <attribute default="${debug.classpath}" name="classpath"/>
   1.737 -            <attribute default="" name="stopclassname"/>
   1.738 -            <sequential>
   1.739 -                <nbjpdastart addressproperty="jpda.address" name="@{name}" stopclassname="@{stopclassname}" transport="${debug-transport}">
   1.740 -                    <classpath>
   1.741 -                        <path path="@{classpath}"/>
   1.742 -                    </classpath>
   1.743 -                </nbjpdastart>
   1.744 -            </sequential>
   1.745 -        </macrodef>
   1.746 -        <macrodef name="nbjpdareload" uri="http://www.netbeans.org/ns/j2se-project/1">
   1.747 -            <attribute default="${build.classes.dir}" name="dir"/>
   1.748 -            <sequential>
   1.749 -                <nbjpdareload>
   1.750 -                    <fileset dir="@{dir}" includes="${fix.classes}">
   1.751 -                        <include name="${fix.includes}*.class"/>
   1.752 -                    </fileset>
   1.753 -                </nbjpdareload>
   1.754 -            </sequential>
   1.755 -        </macrodef>
   1.756 -    </target>
   1.757 -    <target name="-init-debug-args">
   1.758 -        <property name="version-output" value="java version &quot;${ant.java.version}"/>
   1.759 -        <condition property="have-jdk-older-than-1.4">
   1.760 -            <or>
   1.761 -                <contains string="${version-output}" substring="java version &quot;1.0"/>
   1.762 -                <contains string="${version-output}" substring="java version &quot;1.1"/>
   1.763 -                <contains string="${version-output}" substring="java version &quot;1.2"/>
   1.764 -                <contains string="${version-output}" substring="java version &quot;1.3"/>
   1.765 -            </or>
   1.766 -        </condition>
   1.767 -        <condition else="-Xdebug" property="debug-args-line" value="-Xdebug -Xnoagent -Djava.compiler=none">
   1.768 -            <istrue value="${have-jdk-older-than-1.4}"/>
   1.769 -        </condition>
   1.770 -        <condition else="dt_socket" property="debug-transport-by-os" value="dt_shmem">
   1.771 -            <os family="windows"/>
   1.772 -        </condition>
   1.773 -        <condition else="${debug-transport-by-os}" property="debug-transport" value="${debug.transport}">
   1.774 -            <isset property="debug.transport"/>
   1.775 -        </condition>
   1.776 -    </target>
   1.777 -    <target depends="-init-debug-args" name="-init-macrodef-debug">
   1.778 -        <macrodef name="debug" uri="http://www.netbeans.org/ns/j2se-project/3">
   1.779 -            <attribute default="${main.class}" name="classname"/>
   1.780 -            <attribute default="${debug.classpath}" name="classpath"/>
   1.781 -            <element name="customize" optional="true"/>
   1.782 -            <sequential>
   1.783 -                <java classname="@{classname}" dir="${work.dir}" failonerror="${java.failonerror}" fork="true">
   1.784 -                    <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
   1.785 -                    <jvmarg line="${debug-args-line}"/>
   1.786 -                    <jvmarg value="-Xrunjdwp:transport=${debug-transport},address=${jpda.address}"/>
   1.787 -                    <jvmarg value="-Dfile.encoding=${runtime.encoding}"/>
   1.788 -                    <redirector errorencoding="${runtime.encoding}" inputencoding="${runtime.encoding}" outputencoding="${runtime.encoding}"/>
   1.789 -                    <jvmarg line="${run.jvmargs}"/>
   1.790 -                    <jvmarg line="${run.jvmargs.ide}"/>
   1.791 -                    <classpath>
   1.792 -                        <path path="@{classpath}"/>
   1.793 -                    </classpath>
   1.794 -                    <syspropertyset>
   1.795 -                        <propertyref prefix="run-sys-prop."/>
   1.796 -                        <mapper from="run-sys-prop.*" to="*" type="glob"/>
   1.797 -                    </syspropertyset>
   1.798 -                    <customize/>
   1.799 -                </java>
   1.800 -            </sequential>
   1.801 -        </macrodef>
   1.802 -    </target>
   1.803 -    <target name="-init-macrodef-java">
   1.804 -        <macrodef name="java" uri="http://www.netbeans.org/ns/j2se-project/1">
   1.805 -            <attribute default="${main.class}" name="classname"/>
   1.806 -            <attribute default="${run.classpath}" name="classpath"/>
   1.807 -            <attribute default="jvm" name="jvm"/>
   1.808 -            <element name="customize" optional="true"/>
   1.809 -            <sequential>
   1.810 -                <java classname="@{classname}" dir="${work.dir}" failonerror="${java.failonerror}" fork="true">
   1.811 -                    <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
   1.812 -                    <jvmarg value="-Dfile.encoding=${runtime.encoding}"/>
   1.813 -                    <redirector errorencoding="${runtime.encoding}" inputencoding="${runtime.encoding}" outputencoding="${runtime.encoding}"/>
   1.814 -                    <jvmarg line="${run.jvmargs}"/>
   1.815 -                    <jvmarg line="${run.jvmargs.ide}"/>
   1.816 -                    <classpath>
   1.817 -                        <path path="@{classpath}"/>
   1.818 -                    </classpath>
   1.819 -                    <syspropertyset>
   1.820 -                        <propertyref prefix="run-sys-prop."/>
   1.821 -                        <mapper from="run-sys-prop.*" to="*" type="glob"/>
   1.822 -                    </syspropertyset>
   1.823 -                    <customize/>
   1.824 -                </java>
   1.825 -            </sequential>
   1.826 -        </macrodef>
   1.827 -    </target>
   1.828 -    <target name="-init-macrodef-copylibs">
   1.829 -        <macrodef name="copylibs" uri="http://www.netbeans.org/ns/j2se-project/3">
   1.830 -            <attribute default="${manifest.file}" name="manifest"/>
   1.831 -            <element name="customize" optional="true"/>
   1.832 -            <sequential>
   1.833 -                <property location="${build.classes.dir}" name="build.classes.dir.resolved"/>
   1.834 -                <pathconvert property="run.classpath.without.build.classes.dir">
   1.835 -                    <path path="${run.classpath}"/>
   1.836 -                    <map from="${build.classes.dir.resolved}" to=""/>
   1.837 -                </pathconvert>
   1.838 -                <pathconvert pathsep=" " property="jar.classpath">
   1.839 -                    <path path="${run.classpath.without.build.classes.dir}"/>
   1.840 -                    <chainedmapper>
   1.841 -                        <flattenmapper/>
   1.842 -                        <filtermapper>
   1.843 -                            <replacestring from=" " to="%20"/>
   1.844 -                        </filtermapper>
   1.845 -                        <globmapper from="*" to="lib/*"/>
   1.846 -                    </chainedmapper>
   1.847 -                </pathconvert>
   1.848 -                <taskdef classname="org.netbeans.modules.java.j2seproject.copylibstask.CopyLibs" classpath="${libs.CopyLibs.classpath}" name="copylibs"/>
   1.849 -                <copylibs compress="${jar.compress}" excludeFromCopy="${copylibs.excludes}" index="${jar.index}" indexMetaInf="${jar.index.metainf}" jarfile="${dist.jar}" manifest="@{manifest}" manifestencoding="UTF-8" rebase="${copylibs.rebase}" runtimeclasspath="${run.classpath.without.build.classes.dir}">
   1.850 -                    <fileset dir="${build.classes.dir}" excludes="${dist.archive.excludes}"/>
   1.851 -                    <manifest>
   1.852 -                        <attribute name="Class-Path" value="${jar.classpath}"/>
   1.853 -                        <customize/>
   1.854 -                    </manifest>
   1.855 -                </copylibs>
   1.856 -            </sequential>
   1.857 -        </macrodef>
   1.858 -    </target>
   1.859 -    <target name="-init-presetdef-jar">
   1.860 -        <presetdef name="jar" uri="http://www.netbeans.org/ns/j2se-project/1">
   1.861 -            <jar compress="${jar.compress}" index="${jar.index}" jarfile="${dist.jar}" manifestencoding="UTF-8">
   1.862 -                <j2seproject1:fileset dir="${build.classes.dir}" excludes="${dist.archive.excludes}"/>
   1.863 -            </jar>
   1.864 -        </presetdef>
   1.865 -    </target>
   1.866 -    <target name="-init-ap-cmdline-properties">
   1.867 -        <property name="annotation.processing.enabled" value="true"/>
   1.868 -        <property name="annotation.processing.processors.list" value=""/>
   1.869 -        <property name="annotation.processing.processor.options" value=""/>
   1.870 -        <property name="annotation.processing.run.all.processors" value="true"/>
   1.871 -        <property name="javac.processorpath" value="${javac.classpath}"/>
   1.872 -        <property name="javac.test.processorpath" value="${javac.test.classpath}"/>
   1.873 -        <condition property="ap.supported.internal" value="true">
   1.874 -            <not>
   1.875 -                <matches pattern="1\.[0-5](\..*)?" string="${javac.source}"/>
   1.876 -            </not>
   1.877 -        </condition>
   1.878 -    </target>
   1.879 -    <target depends="-init-ap-cmdline-properties" if="ap.supported.internal" name="-init-ap-cmdline-supported">
   1.880 -        <condition else="" property="ap.processors.internal" value="-processor ${annotation.processing.processors.list}">
   1.881 -            <isfalse value="${annotation.processing.run.all.processors}"/>
   1.882 -        </condition>
   1.883 -        <condition else="" property="ap.proc.none.internal" value="-proc:none">
   1.884 -            <isfalse value="${annotation.processing.enabled}"/>
   1.885 -        </condition>
   1.886 -    </target>
   1.887 -    <target depends="-init-ap-cmdline-properties,-init-ap-cmdline-supported" name="-init-ap-cmdline">
   1.888 -        <property name="ap.cmd.line.internal" value=""/>
   1.889 -    </target>
   1.890 -    <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-nbjpda,-init-macrodef-debug,-init-macrodef-java,-init-presetdef-jar,-init-ap-cmdline" name="init"/>
   1.891 -    <!--
   1.892 -                ===================
   1.893 -                COMPILATION SECTION
   1.894 -                ===================
   1.895 -            -->
   1.896 -    <target name="-deps-jar-init" unless="built-jar.properties">
   1.897 -        <property location="${build.dir}/built-jar.properties" name="built-jar.properties"/>
   1.898 -        <delete file="${built-jar.properties}" quiet="true"/>
   1.899 -    </target>
   1.900 -    <target if="already.built.jar.${basedir}" name="-warn-already-built-jar">
   1.901 -        <echo level="warn" message="Cycle detected: jdbc-loopback-driver was already built"/>
   1.902 -    </target>
   1.903 -    <target depends="init,-deps-jar-init" name="deps-jar" unless="no.deps">
   1.904 -        <mkdir dir="${build.dir}"/>
   1.905 -        <touch file="${built-jar.properties}" verbose="false"/>
   1.906 -        <property file="${built-jar.properties}" prefix="already.built.jar."/>
   1.907 -        <antcall target="-warn-already-built-jar"/>
   1.908 -        <propertyfile file="${built-jar.properties}">
   1.909 -            <entry key="${basedir}" value=""/>
   1.910 -        </propertyfile>
   1.911 -    </target>
   1.912 -    <target depends="init,-check-automatic-build,-clean-after-automatic-build" name="-verify-automatic-build"/>
   1.913 -    <target depends="init" name="-check-automatic-build">
   1.914 -        <available file="${build.classes.dir}/.netbeans_automatic_build" property="netbeans.automatic.build"/>
   1.915 -    </target>
   1.916 -    <target depends="init" if="netbeans.automatic.build" name="-clean-after-automatic-build">
   1.917 -        <antcall target="clean"/>
   1.918 -    </target>
   1.919 -    <target depends="init,deps-jar" name="-pre-pre-compile">
   1.920 -        <mkdir dir="${build.classes.dir}"/>
   1.921 -    </target>
   1.922 -    <target name="-pre-compile">
   1.923 -        <!-- Empty placeholder for easier customization. -->
   1.924 -        <!-- You can override this target in the ../build.xml file. -->
   1.925 -    </target>
   1.926 -    <target if="do.depend.true" name="-compile-depend">
   1.927 -        <pathconvert property="build.generated.subdirs">
   1.928 -            <dirset dir="${build.generated.sources.dir}" erroronmissingdir="false">
   1.929 -                <include name="*"/>
   1.930 -            </dirset>
   1.931 -        </pathconvert>
   1.932 -        <j2seproject3:depend srcdir="${src.conf.dir}:${src.dir}:${build.generated.subdirs}"/>
   1.933 -    </target>
   1.934 -    <target depends="init,deps-jar,-pre-pre-compile,-pre-compile, -copy-persistence-xml,-compile-depend" if="have.sources" name="-do-compile">
   1.935 -        <j2seproject3:javac gensrcdir="${build.generated.sources.dir}"/>
   1.936 -        <copy todir="${build.classes.dir}">
   1.937 -            <fileset dir="${src.conf.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
   1.938 -            <fileset dir="${src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
   1.939 -        </copy>
   1.940 -    </target>
   1.941 -    <target if="has.persistence.xml" name="-copy-persistence-xml">
   1.942 -        <mkdir dir="${build.classes.dir}/META-INF"/>
   1.943 -        <copy todir="${build.classes.dir}/META-INF">
   1.944 -            <fileset dir="${meta.inf.dir}" includes="persistence.xml orm.xml"/>
   1.945 -        </copy>
   1.946 -    </target>
   1.947 -    <target name="-post-compile">
   1.948 -        <!-- Empty placeholder for easier customization. -->
   1.949 -        <!-- You can override this target in the ../build.xml file. -->
   1.950 -    </target>
   1.951 -    <target depends="init,deps-jar,-verify-automatic-build,-pre-pre-compile,-pre-compile,-do-compile,-post-compile" description="Compile project." name="compile"/>
   1.952 -    <target name="-pre-compile-single">
   1.953 -        <!-- Empty placeholder for easier customization. -->
   1.954 -        <!-- You can override this target in the ../build.xml file. -->
   1.955 -    </target>
   1.956 -    <target depends="init,deps-jar,-pre-pre-compile" name="-do-compile-single">
   1.957 -        <fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail>
   1.958 -        <j2seproject3:force-recompile/>
   1.959 -        <j2seproject3:javac excludes="" gensrcdir="${build.generated.sources.dir}" includes="${javac.includes}" sourcepath="${src.conf.dir}:${src.dir}"/>
   1.960 -    </target>
   1.961 -    <target name="-post-compile-single">
   1.962 -        <!-- Empty placeholder for easier customization. -->
   1.963 -        <!-- You can override this target in the ../build.xml file. -->
   1.964 -    </target>
   1.965 -    <target depends="init,deps-jar,-verify-automatic-build,-pre-pre-compile,-pre-compile-single,-do-compile-single,-post-compile-single" name="compile-single"/>
   1.966 -    <!--
   1.967 -                ====================
   1.968 -                JAR BUILDING SECTION
   1.969 -                ====================
   1.970 -            -->
   1.971 -    <target depends="init" name="-pre-pre-jar">
   1.972 -        <dirname file="${dist.jar}" property="dist.jar.dir"/>
   1.973 -        <mkdir dir="${dist.jar.dir}"/>
   1.974 -    </target>
   1.975 -    <target name="-pre-jar">
   1.976 -        <!-- Empty placeholder for easier customization. -->
   1.977 -        <!-- You can override this target in the ../build.xml file. -->
   1.978 -    </target>
   1.979 -    <target depends="init" if="do.archive" name="-do-jar-create-manifest" unless="manifest.available">
   1.980 -        <tempfile deleteonexit="true" destdir="${build.dir}" property="tmp.manifest.file"/>
   1.981 -        <touch file="${tmp.manifest.file}" verbose="false"/>
   1.982 -    </target>
   1.983 -    <target depends="init" if="do.archive+manifest.available" name="-do-jar-copy-manifest">
   1.984 -        <tempfile deleteonexit="true" destdir="${build.dir}" property="tmp.manifest.file"/>
   1.985 -        <copy encoding="${manifest.encoding}" file="${manifest.file}" outputencoding="UTF-8" tofile="${tmp.manifest.file}"/>
   1.986 -    </target>
   1.987 -    <target depends="init,-do-jar-create-manifest,-do-jar-copy-manifest" if="do.archive+main.class.available" name="-do-jar-set-mainclass">
   1.988 -        <manifest encoding="UTF-8" file="${tmp.manifest.file}" mode="update">
   1.989 -            <attribute name="Main-Class" value="${main.class}"/>
   1.990 -        </manifest>
   1.991 -    </target>
   1.992 -    <target depends="init,-do-jar-create-manifest,-do-jar-copy-manifest" if="do.archive+profile.available" name="-do-jar-set-profile">
   1.993 -        <manifest encoding="UTF-8" file="${tmp.manifest.file}" mode="update">
   1.994 -            <attribute name="Profile" value="${javac.profile}"/>
   1.995 -        </manifest>
   1.996 -    </target>
   1.997 -    <target depends="init,-do-jar-create-manifest,-do-jar-copy-manifest" if="do.archive+splashscreen.available" name="-do-jar-set-splashscreen">
   1.998 -        <basename file="${application.splash}" property="splashscreen.basename"/>
   1.999 -        <mkdir dir="${build.classes.dir}/META-INF"/>
  1.1000 -        <copy failonerror="false" file="${application.splash}" todir="${build.classes.dir}/META-INF"/>
  1.1001 -        <manifest encoding="UTF-8" file="${tmp.manifest.file}" mode="update">
  1.1002 -            <attribute name="SplashScreen-Image" value="META-INF/${splashscreen.basename}"/>
  1.1003 -        </manifest>
  1.1004 -    </target>
  1.1005 -    <target depends="init,-init-macrodef-copylibs,compile,-pre-pre-jar,-pre-jar,-do-jar-create-manifest,-do-jar-copy-manifest,-do-jar-set-mainclass,-do-jar-set-profile,-do-jar-set-splashscreen" if="do.mkdist" name="-do-jar-copylibs">
  1.1006 -        <j2seproject3:copylibs manifest="${tmp.manifest.file}"/>
  1.1007 -        <echo level="info">To run this application from the command line without Ant, try:</echo>
  1.1008 -        <property location="${dist.jar}" name="dist.jar.resolved"/>
  1.1009 -        <echo level="info">java -jar "${dist.jar.resolved}"</echo>
  1.1010 -    </target>
  1.1011 -    <target depends="init,compile,-pre-pre-jar,-pre-jar,-do-jar-create-manifest,-do-jar-copy-manifest,-do-jar-set-mainclass,-do-jar-set-profile,-do-jar-set-splashscreen" if="do.archive" name="-do-jar-jar" unless="do.mkdist">
  1.1012 -        <j2seproject1:jar manifest="${tmp.manifest.file}"/>
  1.1013 -        <property location="${build.classes.dir}" name="build.classes.dir.resolved"/>
  1.1014 -        <property location="${dist.jar}" name="dist.jar.resolved"/>
  1.1015 -        <pathconvert property="run.classpath.with.dist.jar">
  1.1016 -            <path path="${run.classpath}"/>
  1.1017 -            <map from="${build.classes.dir.resolved}" to="${dist.jar.resolved}"/>
  1.1018 -        </pathconvert>
  1.1019 -        <condition else="" property="jar.usage.message" value="To run this application from the command line without Ant, try:${line.separator}${platform.java} -cp ${run.classpath.with.dist.jar} ${main.class}">
  1.1020 -            <isset property="main.class.available"/>
  1.1021 -        </condition>
  1.1022 -        <condition else="debug" property="jar.usage.level" value="info">
  1.1023 -            <isset property="main.class.available"/>
  1.1024 -        </condition>
  1.1025 -        <echo level="${jar.usage.level}" message="${jar.usage.message}"/>
  1.1026 -    </target>
  1.1027 -    <target depends="-do-jar-copylibs" if="do.archive" name="-do-jar-delete-manifest">
  1.1028 -        <delete>
  1.1029 -            <fileset file="${tmp.manifest.file}"/>
  1.1030 -        </delete>
  1.1031 -    </target>
  1.1032 -    <target depends="init,compile,-pre-pre-jar,-pre-jar,-do-jar-create-manifest,-do-jar-copy-manifest,-do-jar-set-mainclass,-do-jar-set-profile,-do-jar-set-splashscreen,-do-jar-jar,-do-jar-delete-manifest" name="-do-jar-without-libraries"/>
  1.1033 -    <target depends="init,compile,-pre-pre-jar,-pre-jar,-do-jar-create-manifest,-do-jar-copy-manifest,-do-jar-set-mainclass,-do-jar-set-profile,-do-jar-set-splashscreen,-do-jar-copylibs,-do-jar-delete-manifest" name="-do-jar-with-libraries"/>
  1.1034 -    <target name="-post-jar">
  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 depends="init,compile,-pre-jar,-do-jar-without-libraries,-do-jar-with-libraries,-post-jar" name="-do-jar"/>
  1.1039 -    <target depends="init,compile,-pre-jar,-do-jar,-post-jar" description="Build JAR." name="jar"/>
  1.1040 -    <!--
  1.1041 -                =================
  1.1042 -                EXECUTION SECTION
  1.1043 -                =================
  1.1044 -            -->
  1.1045 -    <target depends="init,compile" description="Run a main class." name="run">
  1.1046 -        <j2seproject1:java>
  1.1047 -            <customize>
  1.1048 -                <arg line="${application.args}"/>
  1.1049 -            </customize>
  1.1050 -        </j2seproject1:java>
  1.1051 -    </target>
  1.1052 -    <target name="-do-not-recompile">
  1.1053 -        <property name="javac.includes.binary" value=""/>
  1.1054 -    </target>
  1.1055 -    <target depends="init,compile-single" name="run-single">
  1.1056 -        <fail unless="run.class">Must select one file in the IDE or set run.class</fail>
  1.1057 -        <j2seproject1:java classname="${run.class}"/>
  1.1058 -    </target>
  1.1059 -    <target depends="init,compile-test-single" name="run-test-with-main">
  1.1060 -        <fail unless="run.class">Must select one file in the IDE or set run.class</fail>
  1.1061 -        <j2seproject1:java classname="${run.class}" classpath="${run.test.classpath}"/>
  1.1062 -    </target>
  1.1063 -    <!--
  1.1064 -                =================
  1.1065 -                DEBUGGING SECTION
  1.1066 -                =================
  1.1067 -            -->
  1.1068 -    <target depends="init" if="netbeans.home" name="-debug-start-debugger">
  1.1069 -        <j2seproject1:nbjpdastart name="${debug.class}"/>
  1.1070 -    </target>
  1.1071 -    <target depends="init" if="netbeans.home" name="-debug-start-debugger-main-test">
  1.1072 -        <j2seproject1:nbjpdastart classpath="${debug.test.classpath}" name="${debug.class}"/>
  1.1073 -    </target>
  1.1074 -    <target depends="init,compile" name="-debug-start-debuggee">
  1.1075 -        <j2seproject3:debug>
  1.1076 -            <customize>
  1.1077 -                <arg line="${application.args}"/>
  1.1078 -            </customize>
  1.1079 -        </j2seproject3:debug>
  1.1080 -    </target>
  1.1081 -    <target depends="init,compile,-debug-start-debugger,-debug-start-debuggee" description="Debug project in IDE." if="netbeans.home" name="debug"/>
  1.1082 -    <target depends="init" if="netbeans.home" name="-debug-start-debugger-stepinto">
  1.1083 -        <j2seproject1:nbjpdastart stopclassname="${main.class}"/>
  1.1084 -    </target>
  1.1085 -    <target depends="init,compile,-debug-start-debugger-stepinto,-debug-start-debuggee" if="netbeans.home" name="debug-stepinto"/>
  1.1086 -    <target depends="init,compile-single" if="netbeans.home" name="-debug-start-debuggee-single">
  1.1087 -        <fail unless="debug.class">Must select one file in the IDE or set debug.class</fail>
  1.1088 -        <j2seproject3:debug classname="${debug.class}"/>
  1.1089 -    </target>
  1.1090 -    <target depends="init,compile-single,-debug-start-debugger,-debug-start-debuggee-single" if="netbeans.home" name="debug-single"/>
  1.1091 -    <target depends="init,compile-test-single" if="netbeans.home" name="-debug-start-debuggee-main-test">
  1.1092 -        <fail unless="debug.class">Must select one file in the IDE or set debug.class</fail>
  1.1093 -        <j2seproject3:debug classname="${debug.class}" classpath="${debug.test.classpath}"/>
  1.1094 -    </target>
  1.1095 -    <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.1096 -    <target depends="init" name="-pre-debug-fix">
  1.1097 -        <fail unless="fix.includes">Must set fix.includes</fail>
  1.1098 -        <property name="javac.includes" value="${fix.includes}.java"/>
  1.1099 -    </target>
  1.1100 -    <target depends="init,-pre-debug-fix,compile-single" if="netbeans.home" name="-do-debug-fix">
  1.1101 -        <j2seproject1:nbjpdareload/>
  1.1102 -    </target>
  1.1103 -    <target depends="init,-pre-debug-fix,-do-debug-fix" if="netbeans.home" name="debug-fix"/>
  1.1104 -    <!--
  1.1105 -                =================
  1.1106 -                PROFILING SECTION
  1.1107 -                =================
  1.1108 -            -->
  1.1109 -    <!--
  1.1110 -                pre NB7.2 profiler integration
  1.1111 -            -->
  1.1112 -    <target depends="profile-init,compile" description="Profile a project in the IDE." if="profiler.info.jvmargs.agent" name="-profile-pre72">
  1.1113 -        <fail unless="netbeans.home">This target only works when run from inside the NetBeans IDE.</fail>
  1.1114 -        <nbprofiledirect>
  1.1115 -            <classpath>
  1.1116 -                <path path="${run.classpath}"/>
  1.1117 -            </classpath>
  1.1118 -        </nbprofiledirect>
  1.1119 -        <profile/>
  1.1120 -    </target>
  1.1121 -    <target depends="profile-init,compile-single" description="Profile a selected class in the IDE." if="profiler.info.jvmargs.agent" name="-profile-single-pre72">
  1.1122 -        <fail unless="profile.class">Must select one file in the IDE or set profile.class</fail>
  1.1123 -        <fail unless="netbeans.home">This target only works when run from inside the NetBeans IDE.</fail>
  1.1124 -        <nbprofiledirect>
  1.1125 -            <classpath>
  1.1126 -                <path path="${run.classpath}"/>
  1.1127 -            </classpath>
  1.1128 -        </nbprofiledirect>
  1.1129 -        <profile classname="${profile.class}"/>
  1.1130 -    </target>
  1.1131 -    <target depends="profile-init,compile-single" if="profiler.info.jvmargs.agent" name="-profile-applet-pre72">
  1.1132 -        <fail unless="netbeans.home">This target only works when run from inside the NetBeans IDE.</fail>
  1.1133 -        <nbprofiledirect>
  1.1134 -            <classpath>
  1.1135 -                <path path="${run.classpath}"/>
  1.1136 -            </classpath>
  1.1137 -        </nbprofiledirect>
  1.1138 -        <profile classname="sun.applet.AppletViewer">
  1.1139 -            <customize>
  1.1140 -                <arg value="${applet.url}"/>
  1.1141 -            </customize>
  1.1142 -        </profile>
  1.1143 -    </target>
  1.1144 -    <target depends="profile-init,compile-test-single" if="profiler.info.jvmargs.agent" name="-profile-test-single-pre72">
  1.1145 -        <fail unless="netbeans.home">This target only works when run from inside the NetBeans IDE.</fail>
  1.1146 -        <nbprofiledirect>
  1.1147 -            <classpath>
  1.1148 -                <path path="${run.test.classpath}"/>
  1.1149 -            </classpath>
  1.1150 -        </nbprofiledirect>
  1.1151 -        <junit dir="${profiler.info.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" jvm="${profiler.info.jvm}" showoutput="true">
  1.1152 -            <env key="${profiler.info.pathvar}" path="${profiler.info.agentpath}:${profiler.current.path}"/>
  1.1153 -            <jvmarg value="${profiler.info.jvmargs.agent}"/>
  1.1154 -            <jvmarg line="${profiler.info.jvmargs}"/>
  1.1155 -            <test name="${profile.class}"/>
  1.1156 -            <classpath>
  1.1157 -                <path path="${run.test.classpath}"/>
  1.1158 -            </classpath>
  1.1159 -            <syspropertyset>
  1.1160 -                <propertyref prefix="test-sys-prop."/>
  1.1161 -                <mapper from="test-sys-prop.*" to="*" type="glob"/>
  1.1162 -            </syspropertyset>
  1.1163 -            <formatter type="brief" usefile="false"/>
  1.1164 -            <formatter type="xml"/>
  1.1165 -        </junit>
  1.1166 -    </target>
  1.1167 -    <!--
  1.1168 -                end of pre NB72 profiling section
  1.1169 -            -->
  1.1170 -    <target if="netbeans.home" name="-profile-check">
  1.1171 -        <condition property="profiler.configured">
  1.1172 -            <or>
  1.1173 -                <contains casesensitive="true" string="${run.jvmargs.ide}" substring="-agentpath:"/>
  1.1174 -                <contains casesensitive="true" string="${run.jvmargs.ide}" substring="-javaagent:"/>
  1.1175 -            </or>
  1.1176 -        </condition>
  1.1177 -    </target>
  1.1178 -    <target depends="-profile-check,-profile-pre72" description="Profile a project in the IDE." if="profiler.configured" name="profile" unless="profiler.info.jvmargs.agent">
  1.1179 -        <startprofiler/>
  1.1180 -        <antcall target="run"/>
  1.1181 -    </target>
  1.1182 -    <target depends="-profile-check,-profile-single-pre72" description="Profile a selected class in the IDE." if="profiler.configured" name="profile-single" unless="profiler.info.jvmargs.agent">
  1.1183 -        <fail unless="run.class">Must select one file in the IDE or set run.class</fail>
  1.1184 -        <startprofiler/>
  1.1185 -        <antcall target="run-single"/>
  1.1186 -    </target>
  1.1187 -    <target depends="-profile-test-single-pre72" description="Profile a selected test in the IDE." name="profile-test-single"/>
  1.1188 -    <target depends="-profile-check" description="Profile a selected test in the IDE." if="profiler.configured" name="profile-test" unless="profiler.info.jvmargs">
  1.1189 -        <fail unless="test.includes">Must select some files in the IDE or set test.includes</fail>
  1.1190 -        <startprofiler/>
  1.1191 -        <antcall target="test-single"/>
  1.1192 -    </target>
  1.1193 -    <target depends="-profile-check" description="Profile a selected class in the IDE." if="profiler.configured" name="profile-test-with-main">
  1.1194 -        <fail unless="run.class">Must select one file in the IDE or set run.class</fail>
  1.1195 -        <startprofiler/>
  1.1196 -        <antcall target="run-test-with-main"/>
  1.1197 -    </target>
  1.1198 -    <target depends="-profile-check,-profile-applet-pre72" if="profiler.configured" name="profile-applet" unless="profiler.info.jvmargs.agent">
  1.1199 -        <fail unless="applet.url">Must select one file in the IDE or set applet.url</fail>
  1.1200 -        <startprofiler/>
  1.1201 -        <antcall target="run-applet"/>
  1.1202 -    </target>
  1.1203 -    <!--
  1.1204 -                ===============
  1.1205 -                JAVADOC SECTION
  1.1206 -                ===============
  1.1207 -            -->
  1.1208 -    <target depends="init" if="have.sources" name="-javadoc-build">
  1.1209 -        <mkdir dir="${dist.javadoc.dir}"/>
  1.1210 -        <condition else="" property="javadoc.endorsed.classpath.cmd.line.arg" value="-J${endorsed.classpath.cmd.line.arg}">
  1.1211 -            <and>
  1.1212 -                <isset property="endorsed.classpath.cmd.line.arg"/>
  1.1213 -                <not>
  1.1214 -                    <equals arg1="${endorsed.classpath.cmd.line.arg}" arg2=""/>
  1.1215 -                </not>
  1.1216 -            </and>
  1.1217 -        </condition>
  1.1218 -        <condition else="" property="bug5101868workaround" value="*.java">
  1.1219 -            <matches pattern="1\.[56](\..*)?" string="${java.version}"/>
  1.1220 -        </condition>
  1.1221 -        <javadoc additionalparam="-J-Dfile.encoding=${file.encoding} ${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.1222 -            <classpath>
  1.1223 -                <path path="${javac.classpath}"/>
  1.1224 -            </classpath>
  1.1225 -            <fileset dir="${src.conf.dir}" excludes="${bug5101868workaround},${excludes}" includes="${includes}">
  1.1226 -                <filename name="**/*.java"/>
  1.1227 -            </fileset>
  1.1228 -            <fileset dir="${src.dir}" excludes="${bug5101868workaround},${excludes}" includes="${includes}">
  1.1229 -                <filename name="**/*.java"/>
  1.1230 -            </fileset>
  1.1231 -            <fileset dir="${build.generated.sources.dir}" erroronmissingdir="false">
  1.1232 -                <include name="**/*.java"/>
  1.1233 -                <exclude name="*.java"/>
  1.1234 -            </fileset>
  1.1235 -            <arg line="${javadoc.endorsed.classpath.cmd.line.arg}"/>
  1.1236 -        </javadoc>
  1.1237 -        <copy todir="${dist.javadoc.dir}">
  1.1238 -            <fileset dir="${src.conf.dir}" excludes="${excludes}" includes="${includes}">
  1.1239 -                <filename name="**/doc-files/**"/>
  1.1240 -            </fileset>
  1.1241 -            <fileset dir="${src.dir}" excludes="${excludes}" includes="${includes}">
  1.1242 -                <filename name="**/doc-files/**"/>
  1.1243 -            </fileset>
  1.1244 -            <fileset dir="${build.generated.sources.dir}" erroronmissingdir="false">
  1.1245 -                <include name="**/doc-files/**"/>
  1.1246 -            </fileset>
  1.1247 -        </copy>
  1.1248 -    </target>
  1.1249 -    <target depends="init,-javadoc-build" if="netbeans.home" name="-javadoc-browse" unless="no.javadoc.preview">
  1.1250 -        <nbbrowse file="${dist.javadoc.dir}/index.html"/>
  1.1251 -    </target>
  1.1252 -    <target depends="init,-javadoc-build,-javadoc-browse" description="Build Javadoc." name="javadoc"/>
  1.1253 -    <!--
  1.1254 -                =========================
  1.1255 -                TEST COMPILATION SECTION
  1.1256 -                =========================
  1.1257 -            -->
  1.1258 -    <target depends="init,compile" if="have.tests" name="-pre-pre-compile-test">
  1.1259 -        <mkdir dir="${build.test.classes.dir}"/>
  1.1260 -    </target>
  1.1261 -    <target name="-pre-compile-test">
  1.1262 -        <!-- Empty placeholder for easier customization. -->
  1.1263 -        <!-- You can override this target in the ../build.xml file. -->
  1.1264 -    </target>
  1.1265 -    <target if="do.depend.true" name="-compile-test-depend">
  1.1266 -        <j2seproject3:depend classpath="${javac.test.classpath}" destdir="${build.test.classes.dir}" srcdir="${test.src.dir}"/>
  1.1267 -    </target>
  1.1268 -    <target depends="init,deps-jar,compile,-pre-pre-compile-test,-pre-compile-test,-compile-test-depend" if="have.tests" name="-do-compile-test">
  1.1269 -        <j2seproject3:javac apgeneratedsrcdir="${build.test.classes.dir}" classpath="${javac.test.classpath}" debug="true" destdir="${build.test.classes.dir}" processorpath="${javac.test.processorpath}" srcdir="${test.src.dir}"/>
  1.1270 -        <copy todir="${build.test.classes.dir}">
  1.1271 -            <fileset dir="${test.src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
  1.1272 -        </copy>
  1.1273 -    </target>
  1.1274 -    <target name="-post-compile-test">
  1.1275 -        <!-- Empty placeholder for easier customization. -->
  1.1276 -        <!-- You can override this target in the ../build.xml file. -->
  1.1277 -    </target>
  1.1278 -    <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test,-do-compile-test,-post-compile-test" name="compile-test"/>
  1.1279 -    <target name="-pre-compile-test-single">
  1.1280 -        <!-- Empty placeholder for easier customization. -->
  1.1281 -        <!-- You can override this target in the ../build.xml file. -->
  1.1282 -    </target>
  1.1283 -    <target depends="init,deps-jar,compile,-pre-pre-compile-test,-pre-compile-test-single" if="have.tests" name="-do-compile-test-single">
  1.1284 -        <fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail>
  1.1285 -        <j2seproject3:force-recompile destdir="${build.test.classes.dir}"/>
  1.1286 -        <j2seproject3:javac apgeneratedsrcdir="${build.test.classes.dir}" classpath="${javac.test.classpath}" debug="true" destdir="${build.test.classes.dir}" excludes="" includes="${javac.includes}" processorpath="${javac.test.processorpath}" sourcepath="${test.src.dir}" srcdir="${test.src.dir}"/>
  1.1287 -        <copy todir="${build.test.classes.dir}">
  1.1288 -            <fileset dir="${test.src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
  1.1289 -        </copy>
  1.1290 -    </target>
  1.1291 -    <target name="-post-compile-test-single">
  1.1292 -        <!-- Empty placeholder for easier customization. -->
  1.1293 -        <!-- You can override this target in the ../build.xml file. -->
  1.1294 -    </target>
  1.1295 -    <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.1296 -    <!--
  1.1297 -                =======================
  1.1298 -                TEST EXECUTION SECTION
  1.1299 -                =======================
  1.1300 -            -->
  1.1301 -    <target depends="init" if="have.tests" name="-pre-test-run">
  1.1302 -        <mkdir dir="${build.test.results.dir}"/>
  1.1303 -    </target>
  1.1304 -    <target depends="init,compile-test,-pre-test-run" if="have.tests" name="-do-test-run">
  1.1305 -        <j2seproject3:test includes="${includes}" testincludes="**/*Test.java"/>
  1.1306 -    </target>
  1.1307 -    <target depends="init,compile-test,-pre-test-run,-do-test-run" if="have.tests" name="-post-test-run">
  1.1308 -        <fail if="tests.failed" unless="ignore.failing.tests">Some tests failed; see details above.</fail>
  1.1309 -    </target>
  1.1310 -    <target depends="init" if="have.tests" name="test-report"/>
  1.1311 -    <target depends="init" if="netbeans.home+have.tests" name="-test-browse"/>
  1.1312 -    <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.1313 -    <target depends="init" if="have.tests" name="-pre-test-run-single">
  1.1314 -        <mkdir dir="${build.test.results.dir}"/>
  1.1315 -    </target>
  1.1316 -    <target depends="init,compile-test-single,-pre-test-run-single" if="have.tests" name="-do-test-run-single">
  1.1317 -        <fail unless="test.includes">Must select some files in the IDE or set test.includes</fail>
  1.1318 -        <j2seproject3:test excludes="" includes="${test.includes}" testincludes="${test.includes}"/>
  1.1319 -    </target>
  1.1320 -    <target depends="init,compile-test-single,-pre-test-run-single,-do-test-run-single" if="have.tests" name="-post-test-run-single">
  1.1321 -        <fail if="tests.failed" unless="ignore.failing.tests">Some tests failed; see details above.</fail>
  1.1322 -    </target>
  1.1323 -    <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.1324 -    <target depends="init,compile-test-single,-pre-test-run-single" if="have.tests" name="-do-test-run-single-method">
  1.1325 -        <fail unless="test.class">Must select some files in the IDE or set test.class</fail>
  1.1326 -        <fail unless="test.method">Must select some method in the IDE or set test.method</fail>
  1.1327 -        <j2seproject3:test excludes="" includes="${javac.includes}" testincludes="${test.class}" testmethods="${test.method}"/>
  1.1328 -    </target>
  1.1329 -    <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.1330 -        <fail if="tests.failed" unless="ignore.failing.tests">Some tests failed; see details above.</fail>
  1.1331 -    </target>
  1.1332 -    <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.1333 -    <!--
  1.1334 -                =======================
  1.1335 -                TEST DEBUGGING SECTION
  1.1336 -                =======================
  1.1337 -            -->
  1.1338 -    <target depends="init,compile-test-single,-pre-test-run-single" if="have.tests" name="-debug-start-debuggee-test">
  1.1339 -        <fail unless="test.class">Must select one file in the IDE or set test.class</fail>
  1.1340 -        <j2seproject3:test-debug excludes="" includes="${javac.includes}" testClass="${test.class}" testincludes="${javac.includes}"/>
  1.1341 -    </target>
  1.1342 -    <target depends="init,compile-test-single,-pre-test-run-single" if="have.tests" name="-debug-start-debuggee-test-method">
  1.1343 -        <fail unless="test.class">Must select one file in the IDE or set test.class</fail>
  1.1344 -        <fail unless="test.method">Must select some method in the IDE or set test.method</fail>
  1.1345 -        <j2seproject3:test-debug excludes="" includes="${javac.includes}" testClass="${test.class}" testMethod="${test.method}" testincludes="${test.class}" testmethods="${test.method}"/>
  1.1346 -    </target>
  1.1347 -    <target depends="init,compile-test" if="netbeans.home+have.tests" name="-debug-start-debugger-test">
  1.1348 -        <j2seproject1:nbjpdastart classpath="${debug.test.classpath}" name="${test.class}"/>
  1.1349 -    </target>
  1.1350 -    <target depends="init,compile-test-single,-debug-start-debugger-test,-debug-start-debuggee-test" name="debug-test"/>
  1.1351 -    <target depends="init,compile-test-single,-debug-start-debugger-test,-debug-start-debuggee-test-method" name="debug-test-method"/>
  1.1352 -    <target depends="init,-pre-debug-fix,compile-test-single" if="netbeans.home" name="-do-debug-fix-test">
  1.1353 -        <j2seproject1:nbjpdareload dir="${build.test.classes.dir}"/>
  1.1354 -    </target>
  1.1355 -    <target depends="init,-pre-debug-fix,-do-debug-fix-test" if="netbeans.home" name="debug-fix-test"/>
  1.1356 -    <!--
  1.1357 -                =========================
  1.1358 -                APPLET EXECUTION SECTION
  1.1359 -                =========================
  1.1360 -            -->
  1.1361 -    <target depends="init,compile-single" name="run-applet">
  1.1362 -        <fail unless="applet.url">Must select one file in the IDE or set applet.url</fail>
  1.1363 -        <j2seproject1:java classname="sun.applet.AppletViewer">
  1.1364 -            <customize>
  1.1365 -                <arg value="${applet.url}"/>
  1.1366 -            </customize>
  1.1367 -        </j2seproject1:java>
  1.1368 -    </target>
  1.1369 -    <!--
  1.1370 -                =========================
  1.1371 -                APPLET DEBUGGING  SECTION
  1.1372 -                =========================
  1.1373 -            -->
  1.1374 -    <target depends="init,compile-single" if="netbeans.home" name="-debug-start-debuggee-applet">
  1.1375 -        <fail unless="applet.url">Must select one file in the IDE or set applet.url</fail>
  1.1376 -        <j2seproject3:debug classname="sun.applet.AppletViewer">
  1.1377 -            <customize>
  1.1378 -                <arg value="${applet.url}"/>
  1.1379 -            </customize>
  1.1380 -        </j2seproject3:debug>
  1.1381 -    </target>
  1.1382 -    <target depends="init,compile-single,-debug-start-debugger,-debug-start-debuggee-applet" if="netbeans.home" name="debug-applet"/>
  1.1383 -    <!--
  1.1384 -                ===============
  1.1385 -                CLEANUP SECTION
  1.1386 -                ===============
  1.1387 -            -->
  1.1388 -    <target name="-deps-clean-init" unless="built-clean.properties">
  1.1389 -        <property location="${build.dir}/built-clean.properties" name="built-clean.properties"/>
  1.1390 -        <delete file="${built-clean.properties}" quiet="true"/>
  1.1391 -    </target>
  1.1392 -    <target if="already.built.clean.${basedir}" name="-warn-already-built-clean">
  1.1393 -        <echo level="warn" message="Cycle detected: jdbc-loopback-driver was already built"/>
  1.1394 -    </target>
  1.1395 -    <target depends="init,-deps-clean-init" name="deps-clean" unless="no.deps">
  1.1396 -        <mkdir dir="${build.dir}"/>
  1.1397 -        <touch file="${built-clean.properties}" verbose="false"/>
  1.1398 -        <property file="${built-clean.properties}" prefix="already.built.clean."/>
  1.1399 -        <antcall target="-warn-already-built-clean"/>
  1.1400 -        <propertyfile file="${built-clean.properties}">
  1.1401 -            <entry key="${basedir}" value=""/>
  1.1402 -        </propertyfile>
  1.1403 -    </target>
  1.1404 -    <target depends="init" name="-do-clean">
  1.1405 -        <delete dir="${build.dir}"/>
  1.1406 -        <delete dir="${dist.dir}" followsymlinks="false" includeemptydirs="true"/>
  1.1407 -    </target>
  1.1408 -    <target name="-post-clean">
  1.1409 -        <!-- Empty placeholder for easier customization. -->
  1.1410 -        <!-- You can override this target in the ../build.xml file. -->
  1.1411 -    </target>
  1.1412 -    <target depends="init,deps-clean,-do-clean,-post-clean" description="Clean build products." name="clean"/>
  1.1413 -    <target name="-check-call-dep">
  1.1414 -        <property file="${call.built.properties}" prefix="already.built."/>
  1.1415 -        <condition property="should.call.dep">
  1.1416 -            <and>
  1.1417 -                <not>
  1.1418 -                    <isset property="already.built.${call.subproject}"/>
  1.1419 -                </not>
  1.1420 -                <available file="${call.script}"/>
  1.1421 -            </and>
  1.1422 -        </condition>
  1.1423 -    </target>
  1.1424 -    <target depends="-check-call-dep" if="should.call.dep" name="-maybe-call-dep">
  1.1425 -        <ant antfile="${call.script}" inheritall="false" target="${call.target}">
  1.1426 -            <propertyset>
  1.1427 -                <propertyref prefix="transfer."/>
  1.1428 -                <mapper from="transfer.*" to="*" type="glob"/>
  1.1429 -            </propertyset>
  1.1430 -        </ant>
  1.1431 -    </target>
  1.1432 -</project>