rozdělení na více projektů: projekty
authorFrantišek Kučera <franta-hg@frantovo.cz>
Thu, 05 Jun 2014 10:21:45 +0200
changeset 865f3e483a997
parent 7 9107f7df660c
child 9 f40af5368823
rozdělení na více projektů: projekty
java/alt2xml-bin/nbproject/build-impl.xml.orig
java/alt2xml-bin/nbproject/genfiles.properties
java/alt2xml-bin/nbproject/groovy-build.xml
java/alt2xml-bin/nbproject/project.properties
java/alt2xml-bin/nbproject/project.xml
java/alt2xml-in-json/build.xml
java/alt2xml-in-json/nbproject/build-impl.xml
java/alt2xml-in-json/nbproject/genfiles.properties
java/alt2xml-in-json/nbproject/project.properties
java/alt2xml-in-json/nbproject/project.xml
java/alt2xml-lib/build.xml
java/alt2xml-lib/nbproject/build-impl.xml
java/alt2xml-lib/nbproject/genfiles.properties
java/alt2xml-lib/nbproject/project.properties
java/alt2xml-lib/nbproject/project.xml
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/java/alt2xml-bin/nbproject/build-impl.xml.orig	Thu Jun 05 10:21:45 2014 +0200
     1.3 @@ -0,0 +1,1411 @@
     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 +  - junit compilation
    1.19 +  - junit execution
    1.20 +  - junit 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="alt2xml-impl">
    1.26 +    <fail message="Please build using Ant 1.7.1 or higher.">
    1.27 +        <condition>
    1.28 +            <not>
    1.29 +                <antversion atleast="1.7.1"/>
    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.4"/>
    1.53 +        <property name="default.javac.target" value="1.4"/>
    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 +        <available file="${manifest.file}" property="manifest.available"/>
    1.61 +        <condition property="splashscreen.available">
    1.62 +            <and>
    1.63 +                <not>
    1.64 +                    <equals arg1="${application.splash}" arg2="" trim="true"/>
    1.65 +                </not>
    1.66 +                <available file="${application.splash}"/>
    1.67 +            </and>
    1.68 +        </condition>
    1.69 +        <condition property="main.class.available">
    1.70 +            <and>
    1.71 +                <isset property="main.class"/>
    1.72 +                <not>
    1.73 +                    <equals arg1="${main.class}" arg2="" trim="true"/>
    1.74 +                </not>
    1.75 +            </and>
    1.76 +        </condition>
    1.77 +        <condition property="manifest.available+main.class">
    1.78 +            <and>
    1.79 +                <isset property="manifest.available"/>
    1.80 +                <isset property="main.class.available"/>
    1.81 +            </and>
    1.82 +        </condition>
    1.83 +        <condition property="do.archive">
    1.84 +            <not>
    1.85 +                <istrue value="${jar.archive.disabled}"/>
    1.86 +            </not>
    1.87 +        </condition>
    1.88 +        <condition property="do.mkdist">
    1.89 +            <and>
    1.90 +                <isset property="do.archive"/>
    1.91 +                <isset property="libs.CopyLibs.classpath"/>
    1.92 +                <not>
    1.93 +                    <istrue value="${mkdist.disabled}"/>
    1.94 +                </not>
    1.95 +            </and>
    1.96 +        </condition>
    1.97 +        <condition property="manifest.available+main.class+mkdist.available">
    1.98 +            <and>
    1.99 +                <istrue value="${manifest.available+main.class}"/>
   1.100 +                <isset property="do.mkdist"/>
   1.101 +            </and>
   1.102 +        </condition>
   1.103 +        <condition property="do.archive+manifest.available">
   1.104 +            <and>
   1.105 +                <isset property="manifest.available"/>
   1.106 +                <istrue value="${do.archive}"/>
   1.107 +            </and>
   1.108 +        </condition>
   1.109 +        <condition property="do.archive+main.class.available">
   1.110 +            <and>
   1.111 +                <isset property="main.class.available"/>
   1.112 +                <istrue value="${do.archive}"/>
   1.113 +            </and>
   1.114 +        </condition>
   1.115 +        <condition property="do.archive+splashscreen.available">
   1.116 +            <and>
   1.117 +                <isset property="splashscreen.available"/>
   1.118 +                <istrue value="${do.archive}"/>
   1.119 +            </and>
   1.120 +        </condition>
   1.121 +        <condition property="do.archive+manifest.available+main.class">
   1.122 +            <and>
   1.123 +                <istrue value="${manifest.available+main.class}"/>
   1.124 +                <istrue value="${do.archive}"/>
   1.125 +            </and>
   1.126 +        </condition>
   1.127 +        <condition property="manifest.available-mkdist.available">
   1.128 +            <or>
   1.129 +                <istrue value="${manifest.available}"/>
   1.130 +                <isset property="do.mkdist"/>
   1.131 +            </or>
   1.132 +        </condition>
   1.133 +        <condition property="manifest.available+main.class-mkdist.available">
   1.134 +            <or>
   1.135 +                <istrue value="${manifest.available+main.class}"/>
   1.136 +                <isset property="do.mkdist"/>
   1.137 +            </or>
   1.138 +        </condition>
   1.139 +        <condition property="have.tests">
   1.140 +            <or>
   1.141 +                <available file="${test.src.dir}"/>
   1.142 +            </or>
   1.143 +        </condition>
   1.144 +        <condition property="have.sources">
   1.145 +            <or>
   1.146 +                <available file="${src.dir}"/>
   1.147 +            </or>
   1.148 +        </condition>
   1.149 +        <condition property="netbeans.home+have.tests">
   1.150 +            <and>
   1.151 +                <isset property="netbeans.home"/>
   1.152 +                <isset property="have.tests"/>
   1.153 +            </and>
   1.154 +        </condition>
   1.155 +        <condition property="no.javadoc.preview">
   1.156 +            <and>
   1.157 +                <isset property="javadoc.preview"/>
   1.158 +                <isfalse value="${javadoc.preview}"/>
   1.159 +            </and>
   1.160 +        </condition>
   1.161 +        <property name="run.jvmargs" value=""/>
   1.162 +        <property name="run.jvmargs.ide" value=""/>
   1.163 +        <property name="javac.compilerargs" value=""/>
   1.164 +        <property name="work.dir" value="${basedir}"/>
   1.165 +        <condition property="no.deps">
   1.166 +            <and>
   1.167 +                <istrue value="${no.dependencies}"/>
   1.168 +            </and>
   1.169 +        </condition>
   1.170 +        <property name="javac.debug" value="true"/>
   1.171 +        <property name="javadoc.preview" value="true"/>
   1.172 +        <property name="application.args" value=""/>
   1.173 +        <property name="source.encoding" value="${file.encoding}"/>
   1.174 +        <property name="runtime.encoding" value="${source.encoding}"/>
   1.175 +        <condition property="javadoc.encoding.used" value="${javadoc.encoding}">
   1.176 +            <and>
   1.177 +                <isset property="javadoc.encoding"/>
   1.178 +                <not>
   1.179 +                    <equals arg1="${javadoc.encoding}" arg2=""/>
   1.180 +                </not>
   1.181 +            </and>
   1.182 +        </condition>
   1.183 +        <property name="javadoc.encoding.used" value="${source.encoding}"/>
   1.184 +        <property name="includes" value="**"/>
   1.185 +        <property name="excludes" value=""/>
   1.186 +        <property name="do.depend" value="false"/>
   1.187 +        <condition property="do.depend.true">
   1.188 +            <istrue value="${do.depend}"/>
   1.189 +        </condition>
   1.190 +        <path id="endorsed.classpath.path" path="${endorsed.classpath}"/>
   1.191 +        <condition else="" property="endorsed.classpath.cmd.line.arg" value="-Xbootclasspath/p:'${toString:endorsed.classpath.path}'">
   1.192 +            <length length="0" string="${endorsed.classpath}" when="greater"/>
   1.193 +        </condition>
   1.194 +        <condition else="false" property="jdkBug6558476">
   1.195 +            <and>
   1.196 +                <matches pattern="1\.[56]" string="${java.specification.version}"/>
   1.197 +                <not>
   1.198 +                    <os family="unix"/>
   1.199 +                </not>
   1.200 +            </and>
   1.201 +        </condition>
   1.202 +        <property name="javac.fork" value="${jdkBug6558476}"/>
   1.203 +        <property name="jar.index" value="false"/>
   1.204 +        <property name="jar.index.metainf" value="${jar.index}"/>
   1.205 +        <property name="copylibs.rebase" value="true"/>
   1.206 +        <available file="${meta.inf.dir}/persistence.xml" property="has.persistence.xml"/>
   1.207 +        <condition property="junit.available">
   1.208 +            <or>
   1.209 +                <available classname="org.junit.Test" classpath="${run.test.classpath}"/>
   1.210 +                <available classname="junit.framework.Test" classpath="${run.test.classpath}"/>
   1.211 +            </or>
   1.212 +        </condition>
   1.213 +        <condition property="testng.available">
   1.214 +            <available classname="org.testng.annotations.Test" classpath="${run.test.classpath}"/>
   1.215 +        </condition>
   1.216 +        <condition property="junit+testng.available">
   1.217 +            <and>
   1.218 +                <istrue value="${junit.available}"/>
   1.219 +                <istrue value="${testng.available}"/>
   1.220 +            </and>
   1.221 +        </condition>
   1.222 +        <condition else="testng" property="testng.mode" value="mixed">
   1.223 +            <istrue value="${junit+testng.available}"/>
   1.224 +        </condition>
   1.225 +        <condition else="" property="testng.debug.mode" value="-mixed">
   1.226 +            <istrue value="${junit+testng.available}"/>
   1.227 +        </condition>
   1.228 +    </target>
   1.229 +    <target name="-post-init">
   1.230 +        <!-- Empty placeholder for easier customization. -->
   1.231 +        <!-- You can override this target in the ../build.xml file. -->
   1.232 +    </target>
   1.233 +    <target depends="-pre-init,-init-private,-init-user,-init-project,-do-init" name="-init-check">
   1.234 +        <fail unless="src.dir">Must set src.dir</fail>
   1.235 +        <fail unless="test.src.dir">Must set test.src.dir</fail>
   1.236 +        <fail unless="build.dir">Must set build.dir</fail>
   1.237 +        <fail unless="dist.dir">Must set dist.dir</fail>
   1.238 +        <fail unless="build.classes.dir">Must set build.classes.dir</fail>
   1.239 +        <fail unless="dist.javadoc.dir">Must set dist.javadoc.dir</fail>
   1.240 +        <fail unless="build.test.classes.dir">Must set build.test.classes.dir</fail>
   1.241 +        <fail unless="build.test.results.dir">Must set build.test.results.dir</fail>
   1.242 +        <fail unless="build.classes.excludes">Must set build.classes.excludes</fail>
   1.243 +        <fail unless="dist.jar">Must set dist.jar</fail>
   1.244 +    </target>
   1.245 +    <target name="-init-macrodef-property">
   1.246 +        <macrodef name="property" uri="http://www.netbeans.org/ns/j2se-project/1">
   1.247 +            <attribute name="name"/>
   1.248 +            <attribute name="value"/>
   1.249 +            <sequential>
   1.250 +                <property name="@{name}" value="${@{value}}"/>
   1.251 +            </sequential>
   1.252 +        </macrodef>
   1.253 +    </target>
   1.254 +    <target depends="-init-ap-cmdline-properties" if="ap.supported.internal" name="-init-macrodef-javac-with-processors">
   1.255 +        <macrodef name="javac" uri="http://www.netbeans.org/ns/j2se-project/3">
   1.256 +            <attribute default="${src.dir}" name="srcdir"/>
   1.257 +            <attribute default="${build.classes.dir}" name="destdir"/>
   1.258 +            <attribute default="${javac.classpath}" name="classpath"/>
   1.259 +            <attribute default="${javac.processorpath}" name="processorpath"/>
   1.260 +            <attribute default="${build.generated.sources.dir}/ap-source-output" name="apgeneratedsrcdir"/>
   1.261 +            <attribute default="${includes}" name="includes"/>
   1.262 +            <attribute default="${excludes}" name="excludes"/>
   1.263 +            <attribute default="${javac.debug}" name="debug"/>
   1.264 +            <attribute default="${empty.dir}" name="sourcepath"/>
   1.265 +            <attribute default="${empty.dir}" name="gensrcdir"/>
   1.266 +            <element name="customize" optional="true"/>
   1.267 +            <sequential>
   1.268 +                <property location="${build.dir}/empty" name="empty.dir"/>
   1.269 +                <mkdir dir="${empty.dir}"/>
   1.270 +                <mkdir dir="@{apgeneratedsrcdir}"/>
   1.271 +                <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.272 +                    <src>
   1.273 +                        <dirset dir="@{gensrcdir}" erroronmissingdir="false">
   1.274 +                            <include name="*"/>
   1.275 +                        </dirset>
   1.276 +                    </src>
   1.277 +                    <classpath>
   1.278 +                        <path path="@{classpath}"/>
   1.279 +                    </classpath>
   1.280 +                    <compilerarg line="${endorsed.classpath.cmd.line.arg}"/>
   1.281 +                    <compilerarg line="${javac.compilerargs}"/>
   1.282 +                    <compilerarg value="-processorpath"/>
   1.283 +                    <compilerarg path="@{processorpath}:${empty.dir}"/>
   1.284 +                    <compilerarg line="${ap.processors.internal}"/>
   1.285 +                    <compilerarg line="${annotation.processing.processor.options}"/>
   1.286 +                    <compilerarg value="-s"/>
   1.287 +                    <compilerarg path="@{apgeneratedsrcdir}"/>
   1.288 +                    <compilerarg line="${ap.proc.none.internal}"/>
   1.289 +                    <customize/>
   1.290 +                </javac>
   1.291 +            </sequential>
   1.292 +        </macrodef>
   1.293 +    </target>
   1.294 +    <target depends="-init-ap-cmdline-properties" name="-init-macrodef-javac-without-processors" unless="ap.supported.internal">
   1.295 +        <macrodef name="javac" uri="http://www.netbeans.org/ns/j2se-project/3">
   1.296 +            <attribute default="${src.dir}" name="srcdir"/>
   1.297 +            <attribute default="${build.classes.dir}" name="destdir"/>
   1.298 +            <attribute default="${javac.classpath}" name="classpath"/>
   1.299 +            <attribute default="${javac.processorpath}" name="processorpath"/>
   1.300 +            <attribute default="${build.generated.sources.dir}/ap-source-output" name="apgeneratedsrcdir"/>
   1.301 +            <attribute default="${includes}" name="includes"/>
   1.302 +            <attribute default="${excludes}" name="excludes"/>
   1.303 +            <attribute default="${javac.debug}" name="debug"/>
   1.304 +            <attribute default="${empty.dir}" name="sourcepath"/>
   1.305 +            <attribute default="${empty.dir}" name="gensrcdir"/>
   1.306 +            <element name="customize" optional="true"/>
   1.307 +            <sequential>
   1.308 +                <property location="${build.dir}/empty" name="empty.dir"/>
   1.309 +                <mkdir dir="${empty.dir}"/>
   1.310 +                <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.311 +                    <src>
   1.312 +                        <dirset dir="@{gensrcdir}" erroronmissingdir="false">
   1.313 +                            <include name="*"/>
   1.314 +                        </dirset>
   1.315 +                    </src>
   1.316 +                    <classpath>
   1.317 +                        <path path="@{classpath}"/>
   1.318 +                    </classpath>
   1.319 +                    <compilerarg line="${endorsed.classpath.cmd.line.arg}"/>
   1.320 +                    <compilerarg line="${javac.compilerargs}"/>
   1.321 +                    <customize/>
   1.322 +                </javac>
   1.323 +            </sequential>
   1.324 +        </macrodef>
   1.325 +    </target>
   1.326 +    <target depends="-init-macrodef-javac-with-processors,-init-macrodef-javac-without-processors" name="-init-macrodef-javac">
   1.327 +        <macrodef name="depend" uri="http://www.netbeans.org/ns/j2se-project/3">
   1.328 +            <attribute default="${src.dir}" name="srcdir"/>
   1.329 +            <attribute default="${build.classes.dir}" name="destdir"/>
   1.330 +            <attribute default="${javac.classpath}" name="classpath"/>
   1.331 +            <sequential>
   1.332 +                <depend cache="${build.dir}/depcache" destdir="@{destdir}" excludes="${excludes}" includes="${includes}" srcdir="@{srcdir}">
   1.333 +                    <classpath>
   1.334 +                        <path path="@{classpath}"/>
   1.335 +                    </classpath>
   1.336 +                </depend>
   1.337 +            </sequential>
   1.338 +        </macrodef>
   1.339 +        <macrodef name="force-recompile" uri="http://www.netbeans.org/ns/j2se-project/3">
   1.340 +            <attribute default="${build.classes.dir}" name="destdir"/>
   1.341 +            <sequential>
   1.342 +                <fail unless="javac.includes">Must set javac.includes</fail>
   1.343 +                <pathconvert pathsep="${line.separator}" property="javac.includes.binary">
   1.344 +                    <path>
   1.345 +                        <filelist dir="@{destdir}" files="${javac.includes}"/>
   1.346 +                    </path>
   1.347 +                    <globmapper from="*.java" to="*.class"/>
   1.348 +                </pathconvert>
   1.349 +                <tempfile deleteonexit="true" property="javac.includesfile.binary"/>
   1.350 +                <echo file="${javac.includesfile.binary}" message="${javac.includes.binary}"/>
   1.351 +                <delete>
   1.352 +                    <files includesfile="${javac.includesfile.binary}"/>
   1.353 +                </delete>
   1.354 +                <delete>
   1.355 +                    <fileset file="${javac.includesfile.binary}"/>
   1.356 +                </delete>
   1.357 +            </sequential>
   1.358 +        </macrodef>
   1.359 +    </target>
   1.360 +    <target if="${junit.available}" name="-init-macrodef-junit-init">
   1.361 +        <condition else="false" property="nb.junit.batch" value="true">
   1.362 +            <and>
   1.363 +                <istrue value="${junit.available}"/>
   1.364 +                <not>
   1.365 +                    <isset property="test.method"/>
   1.366 +                </not>
   1.367 +            </and>
   1.368 +        </condition>
   1.369 +        <condition else="false" property="nb.junit.single" value="true">
   1.370 +            <and>
   1.371 +                <istrue value="${junit.available}"/>
   1.372 +                <isset property="test.method"/>
   1.373 +            </and>
   1.374 +        </condition>
   1.375 +    </target>
   1.376 +    <target name="-init-test-properties">
   1.377 +        <property name="test.binaryincludes" value="&lt;nothing&gt;"/>
   1.378 +        <property name="test.binarytestincludes" value=""/>
   1.379 +        <property name="test.binaryexcludes" value=""/>
   1.380 +    </target>
   1.381 +    <target if="${nb.junit.single}" name="-init-macrodef-junit-single" unless="${nb.junit.batch}">
   1.382 +        <macrodef name="junit" uri="http://www.netbeans.org/ns/j2se-project/3">
   1.383 +            <attribute default="${includes}" name="includes"/>
   1.384 +            <attribute default="${excludes}" name="excludes"/>
   1.385 +            <attribute default="**" name="testincludes"/>
   1.386 +            <attribute default="" name="testmethods"/>
   1.387 +            <element name="customize" optional="true"/>
   1.388 +            <sequential>
   1.389 +                <property name="junit.forkmode" value="perTest"/>
   1.390 +                <junit dir="${work.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" forkmode="${junit.forkmode}" showoutput="true" tempdir="${build.dir}">
   1.391 +                    <test methods="@{testmethods}" name="@{testincludes}" todir="${build.test.results.dir}"/>
   1.392 +                    <syspropertyset>
   1.393 +                        <propertyref prefix="test-sys-prop."/>
   1.394 +                        <mapper from="test-sys-prop.*" to="*" type="glob"/>
   1.395 +                    </syspropertyset>
   1.396 +                    <formatter type="brief" usefile="false"/>
   1.397 +                    <formatter type="xml"/>
   1.398 +                    <jvmarg value="-ea"/>
   1.399 +                    <customize/>
   1.400 +                </junit>
   1.401 +            </sequential>
   1.402 +        </macrodef>
   1.403 +    </target>
   1.404 +    <target depends="-init-test-properties" if="${nb.junit.batch}" name="-init-macrodef-junit-batch" unless="${nb.junit.single}">
   1.405 +        <macrodef name="junit" uri="http://www.netbeans.org/ns/j2se-project/3">
   1.406 +            <attribute default="${includes}" name="includes"/>
   1.407 +            <attribute default="${excludes}" name="excludes"/>
   1.408 +            <attribute default="**" name="testincludes"/>
   1.409 +            <attribute default="" name="testmethods"/>
   1.410 +            <element name="customize" optional="true"/>
   1.411 +            <sequential>
   1.412 +                <property name="junit.forkmode" value="perTest"/>
   1.413 +                <junit dir="${work.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" forkmode="${junit.forkmode}" showoutput="true" tempdir="${build.dir}">
   1.414 +                    <batchtest todir="${build.test.results.dir}">
   1.415 +                        <fileset dir="${test.src.dir}" excludes="@{excludes},${excludes}" includes="@{includes}">
   1.416 +                            <filename name="@{testincludes}"/>
   1.417 +                        </fileset>
   1.418 +                        <fileset dir="${build.test.classes.dir}" excludes="@{excludes},${excludes},${test.binaryexcludes}" includes="${test.binaryincludes}">
   1.419 +                            <filename name="${test.binarytestincludes}"/>
   1.420 +                        </fileset>
   1.421 +                    </batchtest>
   1.422 +                    <syspropertyset>
   1.423 +                        <propertyref prefix="test-sys-prop."/>
   1.424 +                        <mapper from="test-sys-prop.*" to="*" type="glob"/>
   1.425 +                    </syspropertyset>
   1.426 +                    <formatter type="brief" usefile="false"/>
   1.427 +                    <formatter type="xml"/>
   1.428 +                    <jvmarg value="-ea"/>
   1.429 +                    <customize/>
   1.430 +                </junit>
   1.431 +            </sequential>
   1.432 +        </macrodef>
   1.433 +    </target>
   1.434 +    <target depends="-init-macrodef-junit-init,-init-macrodef-junit-single, -init-macrodef-junit-batch" if="${junit.available}" name="-init-macrodef-junit"/>
   1.435 +    <target if="${testng.available}" name="-init-macrodef-testng">
   1.436 +        <macrodef name="testng" uri="http://www.netbeans.org/ns/j2se-project/3">
   1.437 +            <attribute default="${includes}" name="includes"/>
   1.438 +            <attribute default="${excludes}" name="excludes"/>
   1.439 +            <attribute default="**" name="testincludes"/>
   1.440 +            <attribute default="" name="testmethods"/>
   1.441 +            <element name="customize" optional="true"/>
   1.442 +            <sequential>
   1.443 +                <condition else="" property="testng.methods.arg" value="@{testincludes}.@{testmethods}">
   1.444 +                    <isset property="test.method"/>
   1.445 +                </condition>
   1.446 +                <union id="test.set">
   1.447 +                    <fileset dir="${test.src.dir}" excludes="@{excludes},**/*.xml,${excludes}" includes="@{includes}">
   1.448 +                        <filename name="@{testincludes}"/>
   1.449 +                    </fileset>
   1.450 +                </union>
   1.451 +                <taskdef classname="org.testng.TestNGAntTask" classpath="${run.test.classpath}" name="testng"/>
   1.452 +                <testng classfilesetref="test.set" failureProperty="tests.failed" methods="${testng.methods.arg}" mode="${testng.mode}" outputdir="${build.test.results.dir}" suitename="alt2xml" testname="TestNG tests" workingDir="${work.dir}">
   1.453 +                    <xmlfileset dir="${build.test.classes.dir}" includes="@{testincludes}"/>
   1.454 +                    <propertyset>
   1.455 +                        <propertyref prefix="test-sys-prop."/>
   1.456 +                        <mapper from="test-sys-prop.*" to="*" type="glob"/>
   1.457 +                    </propertyset>
   1.458 +                    <customize/>
   1.459 +                </testng>
   1.460 +            </sequential>
   1.461 +        </macrodef>
   1.462 +    </target>
   1.463 +    <target name="-init-macrodef-test-impl">
   1.464 +        <macrodef name="test-impl" uri="http://www.netbeans.org/ns/j2se-project/3">
   1.465 +            <attribute default="${includes}" name="includes"/>
   1.466 +            <attribute default="${excludes}" name="excludes"/>
   1.467 +            <attribute default="**" name="testincludes"/>
   1.468 +            <attribute default="" name="testmethods"/>
   1.469 +            <element implicit="true" name="customize" optional="true"/>
   1.470 +            <sequential>
   1.471 +                <echo>No tests executed.</echo>
   1.472 +            </sequential>
   1.473 +        </macrodef>
   1.474 +    </target>
   1.475 +    <target depends="-init-macrodef-junit" if="${junit.available}" name="-init-macrodef-junit-impl">
   1.476 +        <macrodef name="test-impl" uri="http://www.netbeans.org/ns/j2se-project/3">
   1.477 +            <attribute default="${includes}" name="includes"/>
   1.478 +            <attribute default="${excludes}" name="excludes"/>
   1.479 +            <attribute default="**" name="testincludes"/>
   1.480 +            <attribute default="" name="testmethods"/>
   1.481 +            <element implicit="true" name="customize" optional="true"/>
   1.482 +            <sequential>
   1.483 +                <j2seproject3:junit excludes="@{excludes}" includes="@{includes}" testincludes="@{testincludes}" testmethods="@{testmethods}">
   1.484 +                    <customize/>
   1.485 +                </j2seproject3:junit>
   1.486 +            </sequential>
   1.487 +        </macrodef>
   1.488 +    </target>
   1.489 +    <target depends="-init-macrodef-testng" if="${testng.available}" name="-init-macrodef-testng-impl">
   1.490 +        <macrodef name="test-impl" uri="http://www.netbeans.org/ns/j2se-project/3">
   1.491 +            <attribute default="${includes}" name="includes"/>
   1.492 +            <attribute default="${excludes}" name="excludes"/>
   1.493 +            <attribute default="**" name="testincludes"/>
   1.494 +            <attribute default="" name="testmethods"/>
   1.495 +            <element implicit="true" name="customize" optional="true"/>
   1.496 +            <sequential>
   1.497 +                <j2seproject3:testng excludes="@{excludes}" includes="@{includes}" testincludes="@{testincludes}" testmethods="@{testmethods}">
   1.498 +                    <customize/>
   1.499 +                </j2seproject3:testng>
   1.500 +            </sequential>
   1.501 +        </macrodef>
   1.502 +    </target>
   1.503 +    <target depends="-init-macrodef-test-impl,-init-macrodef-junit-impl,-init-macrodef-testng-impl" name="-init-macrodef-test">
   1.504 +        <macrodef name="test" uri="http://www.netbeans.org/ns/j2se-project/3">
   1.505 +            <attribute default="${includes}" name="includes"/>
   1.506 +            <attribute default="${excludes}" name="excludes"/>
   1.507 +            <attribute default="**" name="testincludes"/>
   1.508 +            <attribute default="" name="testmethods"/>
   1.509 +            <sequential>
   1.510 +                <j2seproject3:test-impl excludes="@{excludes}" includes="@{includes}" testincludes="@{testincludes}" testmethods="@{testmethods}">
   1.511 +                    <customize>
   1.512 +                        <classpath>
   1.513 +                            <path path="${run.test.classpath}"/>
   1.514 +                        </classpath>
   1.515 +                        <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
   1.516 +                        <jvmarg line="${run.jvmargs}"/>
   1.517 +                        <jvmarg line="${run.jvmargs.ide}"/>
   1.518 +                    </customize>
   1.519 +                </j2seproject3:test-impl>
   1.520 +            </sequential>
   1.521 +        </macrodef>
   1.522 +    </target>
   1.523 +    <target if="${junit.available}" name="-init-macrodef-junit-debug" unless="${nb.junit.batch}">
   1.524 +        <macrodef name="junit-debug" uri="http://www.netbeans.org/ns/j2se-project/3">
   1.525 +            <attribute default="${includes}" name="includes"/>
   1.526 +            <attribute default="${excludes}" name="excludes"/>
   1.527 +            <attribute default="**" name="testincludes"/>
   1.528 +            <attribute default="" name="testmethods"/>
   1.529 +            <element name="customize" optional="true"/>
   1.530 +            <sequential>
   1.531 +                <property name="junit.forkmode" value="perTest"/>
   1.532 +                <junit dir="${work.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" forkmode="${junit.forkmode}" showoutput="true" tempdir="${build.dir}">
   1.533 +                    <test methods="@{testmethods}" name="@{testincludes}" todir="${build.test.results.dir}"/>
   1.534 +                    <syspropertyset>
   1.535 +                        <propertyref prefix="test-sys-prop."/>
   1.536 +                        <mapper from="test-sys-prop.*" to="*" type="glob"/>
   1.537 +                    </syspropertyset>
   1.538 +                    <formatter type="brief" usefile="false"/>
   1.539 +                    <formatter type="xml"/>
   1.540 +                    <jvmarg value="-ea"/>
   1.541 +                    <jvmarg line="${debug-args-line}"/>
   1.542 +                    <jvmarg value="-Xrunjdwp:transport=${debug-transport},address=${jpda.address}"/>
   1.543 +                    <customize/>
   1.544 +                </junit>
   1.545 +            </sequential>
   1.546 +        </macrodef>
   1.547 +    </target>
   1.548 +    <target depends="-init-test-properties" if="${nb.junit.batch}" name="-init-macrodef-junit-debug-batch">
   1.549 +        <macrodef name="junit-debug" uri="http://www.netbeans.org/ns/j2se-project/3">
   1.550 +            <attribute default="${includes}" name="includes"/>
   1.551 +            <attribute default="${excludes}" name="excludes"/>
   1.552 +            <attribute default="**" name="testincludes"/>
   1.553 +            <attribute default="" name="testmethods"/>
   1.554 +            <element name="customize" optional="true"/>
   1.555 +            <sequential>
   1.556 +                <property name="junit.forkmode" value="perTest"/>
   1.557 +                <junit dir="${work.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" forkmode="${junit.forkmode}" showoutput="true" tempdir="${build.dir}">
   1.558 +                    <batchtest todir="${build.test.results.dir}">
   1.559 +                        <fileset dir="${test.src.dir}" excludes="@{excludes},${excludes}" includes="@{includes}">
   1.560 +                            <filename name="@{testincludes}"/>
   1.561 +                        </fileset>
   1.562 +                        <fileset dir="${build.test.classes.dir}" excludes="@{excludes},${excludes},${test.binaryexcludes}" includes="${test.binaryincludes}">
   1.563 +                            <filename name="${test.binarytestincludes}"/>
   1.564 +                        </fileset>
   1.565 +                    </batchtest>
   1.566 +                    <syspropertyset>
   1.567 +                        <propertyref prefix="test-sys-prop."/>
   1.568 +                        <mapper from="test-sys-prop.*" to="*" type="glob"/>
   1.569 +                    </syspropertyset>
   1.570 +                    <formatter type="brief" usefile="false"/>
   1.571 +                    <formatter type="xml"/>
   1.572 +                    <jvmarg value="-ea"/>
   1.573 +                    <jvmarg line="${debug-args-line}"/>
   1.574 +                    <jvmarg value="-Xrunjdwp:transport=${debug-transport},address=${jpda.address}"/>
   1.575 +                    <customize/>
   1.576 +                </junit>
   1.577 +            </sequential>
   1.578 +        </macrodef>
   1.579 +    </target>
   1.580 +    <target depends="-init-macrodef-junit-debug,-init-macrodef-junit-debug-batch" if="${junit.available}" name="-init-macrodef-junit-debug-impl">
   1.581 +        <macrodef name="test-debug-impl" uri="http://www.netbeans.org/ns/j2se-project/3">
   1.582 +            <attribute default="${includes}" name="includes"/>
   1.583 +            <attribute default="${excludes}" name="excludes"/>
   1.584 +            <attribute default="**" name="testincludes"/>
   1.585 +            <attribute default="" name="testmethods"/>
   1.586 +            <element implicit="true" name="customize" optional="true"/>
   1.587 +            <sequential>
   1.588 +                <j2seproject3:junit-debug excludes="@{excludes}" includes="@{includes}" testincludes="@{testincludes}" testmethods="@{testmethods}">
   1.589 +                    <customize/>
   1.590 +                </j2seproject3:junit-debug>
   1.591 +            </sequential>
   1.592 +        </macrodef>
   1.593 +    </target>
   1.594 +    <target if="${testng.available}" name="-init-macrodef-testng-debug">
   1.595 +        <macrodef name="testng-debug" uri="http://www.netbeans.org/ns/j2se-project/3">
   1.596 +            <attribute default="${main.class}" name="testClass"/>
   1.597 +            <attribute default="" name="testMethod"/>
   1.598 +            <element name="customize2" optional="true"/>
   1.599 +            <sequential>
   1.600 +                <condition else="-testclass @{testClass}" property="test.class.or.method" value="-methods @{testClass}.@{testMethod}">
   1.601 +                    <isset property="test.method"/>
   1.602 +                </condition>
   1.603 +                <condition else="-suitename alt2xml -testname @{testClass} ${test.class.or.method}" property="testng.cmd.args" value="@{testClass}">
   1.604 +                    <matches pattern=".*\.xml" string="@{testClass}"/>
   1.605 +                </condition>
   1.606 +                <delete dir="${build.test.results.dir}" quiet="true"/>
   1.607 +                <mkdir dir="${build.test.results.dir}"/>
   1.608 +                <j2seproject3:debug classname="org.testng.TestNG" classpath="${debug.test.classpath}">
   1.609 +                    <customize>
   1.610 +                        <customize2/>
   1.611 +                        <jvmarg value="-ea"/>
   1.612 +                        <arg line="${testng.debug.mode}"/>
   1.613 +                        <arg line="-d ${build.test.results.dir}"/>
   1.614 +                        <arg line="-listener org.testng.reporters.VerboseReporter"/>
   1.615 +                        <arg line="${testng.cmd.args}"/>
   1.616 +                    </customize>
   1.617 +                </j2seproject3:debug>
   1.618 +            </sequential>
   1.619 +        </macrodef>
   1.620 +    </target>
   1.621 +    <target depends="-init-macrodef-testng-debug" if="${testng.available}" name="-init-macrodef-testng-debug-impl">
   1.622 +        <macrodef name="testng-debug-impl" uri="http://www.netbeans.org/ns/j2se-project/3">
   1.623 +            <attribute default="${main.class}" name="testClass"/>
   1.624 +            <attribute default="" name="testMethod"/>
   1.625 +            <element implicit="true" name="customize2" optional="true"/>
   1.626 +            <sequential>
   1.627 +                <j2seproject3:testng-debug testClass="@{testClass}" testMethod="@{testMethod}">
   1.628 +                    <customize2/>
   1.629 +                </j2seproject3:testng-debug>
   1.630 +            </sequential>
   1.631 +        </macrodef>
   1.632 +    </target>
   1.633 +    <target depends="-init-macrodef-junit-debug-impl" if="${junit.available}" name="-init-macrodef-test-debug-junit">
   1.634 +        <macrodef name="test-debug" uri="http://www.netbeans.org/ns/j2se-project/3">
   1.635 +            <attribute default="${includes}" name="includes"/>
   1.636 +            <attribute default="${excludes}" name="excludes"/>
   1.637 +            <attribute default="**" name="testincludes"/>
   1.638 +            <attribute default="" name="testmethods"/>
   1.639 +            <attribute default="${main.class}" name="testClass"/>
   1.640 +            <attribute default="" name="testMethod"/>
   1.641 +            <sequential>
   1.642 +                <j2seproject3:test-debug-impl excludes="@{excludes}" includes="@{includes}" testincludes="@{testincludes}" testmethods="@{testmethods}">
   1.643 +                    <customize>
   1.644 +                        <classpath>
   1.645 +                            <path path="${run.test.classpath}"/>
   1.646 +                        </classpath>
   1.647 +                        <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
   1.648 +                        <jvmarg line="${run.jvmargs}"/>
   1.649 +                        <jvmarg line="${run.jvmargs.ide}"/>
   1.650 +                    </customize>
   1.651 +                </j2seproject3:test-debug-impl>
   1.652 +            </sequential>
   1.653 +        </macrodef>
   1.654 +    </target>
   1.655 +    <target depends="-init-macrodef-testng-debug-impl" if="${testng.available}" name="-init-macrodef-test-debug-testng">
   1.656 +        <macrodef name="test-debug" uri="http://www.netbeans.org/ns/j2se-project/3">
   1.657 +            <attribute default="${includes}" name="includes"/>
   1.658 +            <attribute default="${excludes}" name="excludes"/>
   1.659 +            <attribute default="**" name="testincludes"/>
   1.660 +            <attribute default="" name="testmethods"/>
   1.661 +            <attribute default="${main.class}" name="testClass"/>
   1.662 +            <attribute default="" name="testMethod"/>
   1.663 +            <sequential>
   1.664 +                <j2seproject3:testng-debug-impl testClass="@{testClass}" testMethod="@{testMethod}">
   1.665 +                    <customize2>
   1.666 +                        <syspropertyset>
   1.667 +                            <propertyref prefix="test-sys-prop."/>
   1.668 +                            <mapper from="test-sys-prop.*" to="*" type="glob"/>
   1.669 +                        </syspropertyset>
   1.670 +                    </customize2>
   1.671 +                </j2seproject3:testng-debug-impl>
   1.672 +            </sequential>
   1.673 +        </macrodef>
   1.674 +    </target>
   1.675 +    <target depends="-init-macrodef-test-debug-junit,-init-macrodef-test-debug-testng" name="-init-macrodef-test-debug"/>
   1.676 +    <!--
   1.677 +                pre NB7.2 profiling section; consider it deprecated
   1.678 +            -->
   1.679 +    <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.680 +    <target if="profiler.info.jvmargs.agent" name="-profile-pre-init">
   1.681 +        <!-- Empty placeholder for easier customization. -->
   1.682 +        <!-- You can override this target in the ../build.xml file. -->
   1.683 +    </target>
   1.684 +    <target if="profiler.info.jvmargs.agent" name="-profile-post-init">
   1.685 +        <!-- Empty placeholder for easier customization. -->
   1.686 +        <!-- You can override this target in the ../build.xml file. -->
   1.687 +    </target>
   1.688 +    <target if="profiler.info.jvmargs.agent" name="-profile-init-macrodef-profile">
   1.689 +        <macrodef name="resolve">
   1.690 +            <attribute name="name"/>
   1.691 +            <attribute name="value"/>
   1.692 +            <sequential>
   1.693 +                <property name="@{name}" value="${env.@{value}}"/>
   1.694 +            </sequential>
   1.695 +        </macrodef>
   1.696 +        <macrodef name="profile">
   1.697 +            <attribute default="${main.class}" name="classname"/>
   1.698 +            <element name="customize" optional="true"/>
   1.699 +            <sequential>
   1.700 +                <property environment="env"/>
   1.701 +                <resolve name="profiler.current.path" value="${profiler.info.pathvar}"/>
   1.702 +                <java classname="@{classname}" dir="${profiler.info.dir}" fork="true" jvm="${profiler.info.jvm}">
   1.703 +                    <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
   1.704 +                    <jvmarg value="${profiler.info.jvmargs.agent}"/>
   1.705 +                    <jvmarg line="${profiler.info.jvmargs}"/>
   1.706 +                    <env key="${profiler.info.pathvar}" path="${profiler.info.agentpath}:${profiler.current.path}"/>
   1.707 +                    <arg line="${application.args}"/>
   1.708 +                    <classpath>
   1.709 +                        <path path="${run.classpath}"/>
   1.710 +                    </classpath>
   1.711 +                    <syspropertyset>
   1.712 +                        <propertyref prefix="run-sys-prop."/>
   1.713 +                        <mapper from="run-sys-prop.*" to="*" type="glob"/>
   1.714 +                    </syspropertyset>
   1.715 +                    <customize/>
   1.716 +                </java>
   1.717 +            </sequential>
   1.718 +        </macrodef>
   1.719 +    </target>
   1.720 +    <target depends="-profile-pre-init, init, -profile-post-init, -profile-init-macrodef-profile" if="profiler.info.jvmargs.agent" name="-profile-init-check">
   1.721 +        <fail unless="profiler.info.jvm">Must set JVM to use for profiling in profiler.info.jvm</fail>
   1.722 +        <fail unless="profiler.info.jvmargs.agent">Must set profiler agent JVM arguments in profiler.info.jvmargs.agent</fail>
   1.723 +    </target>
   1.724 +    <!--
   1.725 +                end of pre NB7.2 profiling section
   1.726 +            -->
   1.727 +    <target depends="-init-debug-args" name="-init-macrodef-nbjpda">
   1.728 +        <macrodef name="nbjpdastart" uri="http://www.netbeans.org/ns/j2se-project/1">
   1.729 +            <attribute default="${main.class}" name="name"/>
   1.730 +            <attribute default="${debug.classpath}" name="classpath"/>
   1.731 +            <attribute default="" name="stopclassname"/>
   1.732 +            <sequential>
   1.733 +                <nbjpdastart addressproperty="jpda.address" name="@{name}" stopclassname="@{stopclassname}" transport="${debug-transport}">
   1.734 +                    <classpath>
   1.735 +                        <path path="@{classpath}"/>
   1.736 +                    </classpath>
   1.737 +                </nbjpdastart>
   1.738 +            </sequential>
   1.739 +        </macrodef>
   1.740 +        <macrodef name="nbjpdareload" uri="http://www.netbeans.org/ns/j2se-project/1">
   1.741 +            <attribute default="${build.classes.dir}" name="dir"/>
   1.742 +            <sequential>
   1.743 +                <nbjpdareload>
   1.744 +                    <fileset dir="@{dir}" includes="${fix.classes}">
   1.745 +                        <include name="${fix.includes}*.class"/>
   1.746 +                    </fileset>
   1.747 +                </nbjpdareload>
   1.748 +            </sequential>
   1.749 +        </macrodef>
   1.750 +    </target>
   1.751 +    <target name="-init-debug-args">
   1.752 +        <property name="version-output" value="java version &quot;${ant.java.version}"/>
   1.753 +        <condition property="have-jdk-older-than-1.4">
   1.754 +            <or>
   1.755 +                <contains string="${version-output}" substring="java version &quot;1.0"/>
   1.756 +                <contains string="${version-output}" substring="java version &quot;1.1"/>
   1.757 +                <contains string="${version-output}" substring="java version &quot;1.2"/>
   1.758 +                <contains string="${version-output}" substring="java version &quot;1.3"/>
   1.759 +            </or>
   1.760 +        </condition>
   1.761 +        <condition else="-Xdebug" property="debug-args-line" value="-Xdebug -Xnoagent -Djava.compiler=none">
   1.762 +            <istrue value="${have-jdk-older-than-1.4}"/>
   1.763 +        </condition>
   1.764 +        <condition else="dt_socket" property="debug-transport-by-os" value="dt_shmem">
   1.765 +            <os family="windows"/>
   1.766 +        </condition>
   1.767 +        <condition else="${debug-transport-by-os}" property="debug-transport" value="${debug.transport}">
   1.768 +            <isset property="debug.transport"/>
   1.769 +        </condition>
   1.770 +    </target>
   1.771 +    <target depends="-init-debug-args" name="-init-macrodef-debug">
   1.772 +        <macrodef name="debug" uri="http://www.netbeans.org/ns/j2se-project/3">
   1.773 +            <attribute default="${main.class}" name="classname"/>
   1.774 +            <attribute default="${debug.classpath}" name="classpath"/>
   1.775 +            <element name="customize" optional="true"/>
   1.776 +            <sequential>
   1.777 +                <java classname="@{classname}" dir="${work.dir}" fork="true">
   1.778 +                    <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
   1.779 +                    <jvmarg line="${debug-args-line}"/>
   1.780 +                    <jvmarg value="-Xrunjdwp:transport=${debug-transport},address=${jpda.address}"/>
   1.781 +                    <jvmarg value="-Dfile.encoding=${runtime.encoding}"/>
   1.782 +                    <redirector errorencoding="${runtime.encoding}" inputencoding="${runtime.encoding}" outputencoding="${runtime.encoding}"/>
   1.783 +                    <jvmarg line="${run.jvmargs}"/>
   1.784 +                    <jvmarg line="${run.jvmargs.ide}"/>
   1.785 +                    <classpath>
   1.786 +                        <path path="@{classpath}"/>
   1.787 +                    </classpath>
   1.788 +                    <syspropertyset>
   1.789 +                        <propertyref prefix="run-sys-prop."/>
   1.790 +                        <mapper from="run-sys-prop.*" to="*" type="glob"/>
   1.791 +                    </syspropertyset>
   1.792 +                    <customize/>
   1.793 +                </java>
   1.794 +            </sequential>
   1.795 +        </macrodef>
   1.796 +    </target>
   1.797 +    <target name="-init-macrodef-java">
   1.798 +        <macrodef name="java" uri="http://www.netbeans.org/ns/j2se-project/1">
   1.799 +            <attribute default="${main.class}" name="classname"/>
   1.800 +            <attribute default="${run.classpath}" name="classpath"/>
   1.801 +            <attribute default="jvm" name="jvm"/>
   1.802 +            <element name="customize" optional="true"/>
   1.803 +            <sequential>
   1.804 +                <java classname="@{classname}" dir="${work.dir}" fork="true">
   1.805 +                    <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
   1.806 +                    <jvmarg value="-Dfile.encoding=${runtime.encoding}"/>
   1.807 +                    <redirector errorencoding="${runtime.encoding}" inputencoding="${runtime.encoding}" outputencoding="${runtime.encoding}"/>
   1.808 +                    <jvmarg line="${run.jvmargs}"/>
   1.809 +                    <jvmarg line="${run.jvmargs.ide}"/>
   1.810 +                    <classpath>
   1.811 +                        <path path="@{classpath}"/>
   1.812 +                    </classpath>
   1.813 +                    <syspropertyset>
   1.814 +                        <propertyref prefix="run-sys-prop."/>
   1.815 +                        <mapper from="run-sys-prop.*" to="*" type="glob"/>
   1.816 +                    </syspropertyset>
   1.817 +                    <customize/>
   1.818 +                </java>
   1.819 +            </sequential>
   1.820 +        </macrodef>
   1.821 +    </target>
   1.822 +    <target name="-init-macrodef-copylibs">
   1.823 +        <macrodef name="copylibs" uri="http://www.netbeans.org/ns/j2se-project/3">
   1.824 +            <attribute default="${manifest.file}" name="manifest"/>
   1.825 +            <element name="customize" optional="true"/>
   1.826 +            <sequential>
   1.827 +                <property location="${build.classes.dir}" name="build.classes.dir.resolved"/>
   1.828 +                <pathconvert property="run.classpath.without.build.classes.dir">
   1.829 +                    <path path="${run.classpath}"/>
   1.830 +                    <map from="${build.classes.dir.resolved}" to=""/>
   1.831 +                </pathconvert>
   1.832 +                <pathconvert pathsep=" " property="jar.classpath">
   1.833 +                    <path path="${run.classpath.without.build.classes.dir}"/>
   1.834 +                    <chainedmapper>
   1.835 +                        <flattenmapper/>
   1.836 +                        <filtermapper>
   1.837 +                            <replacestring from=" " to="%20"/>
   1.838 +                        </filtermapper>
   1.839 +                        <globmapper from="*" to="lib/*"/>
   1.840 +                    </chainedmapper>
   1.841 +                </pathconvert>
   1.842 +                <taskdef classname="org.netbeans.modules.java.j2seproject.copylibstask.CopyLibs" classpath="${libs.CopyLibs.classpath}" name="copylibs"/>
   1.843 +                <copylibs compress="${jar.compress}" index="${jar.index}" indexMetaInf="${jar.index.metainf}" jarfile="${dist.jar}" manifest="@{manifest}" rebase="${copylibs.rebase}" runtimeclasspath="${run.classpath.without.build.classes.dir}">
   1.844 +                    <fileset dir="${build.classes.dir}"/>
   1.845 +                    <manifest>
   1.846 +                        <attribute name="Class-Path" value="${jar.classpath}"/>
   1.847 +                        <customize/>
   1.848 +                    </manifest>
   1.849 +                </copylibs>
   1.850 +            </sequential>
   1.851 +        </macrodef>
   1.852 +    </target>
   1.853 +    <target name="-init-presetdef-jar">
   1.854 +        <presetdef name="jar" uri="http://www.netbeans.org/ns/j2se-project/1">
   1.855 +            <jar compress="${jar.compress}" index="${jar.index}" jarfile="${dist.jar}">
   1.856 +                <j2seproject1:fileset dir="${build.classes.dir}"/>
   1.857 +            </jar>
   1.858 +        </presetdef>
   1.859 +    </target>
   1.860 +    <target name="-init-ap-cmdline-properties">
   1.861 +        <property name="annotation.processing.enabled" value="true"/>
   1.862 +        <property name="annotation.processing.processors.list" value=""/>
   1.863 +        <property name="annotation.processing.processor.options" value=""/>
   1.864 +        <property name="annotation.processing.run.all.processors" value="true"/>
   1.865 +        <property name="javac.processorpath" value="${javac.classpath}"/>
   1.866 +        <property name="javac.test.processorpath" value="${javac.test.classpath}"/>
   1.867 +        <condition property="ap.supported.internal" value="true">
   1.868 +            <not>
   1.869 +                <matches pattern="1\.[0-5](\..*)?" string="${javac.source}"/>
   1.870 +            </not>
   1.871 +        </condition>
   1.872 +    </target>
   1.873 +    <target depends="-init-ap-cmdline-properties" if="ap.supported.internal" name="-init-ap-cmdline-supported">
   1.874 +        <condition else="" property="ap.processors.internal" value="-processor ${annotation.processing.processors.list}">
   1.875 +            <isfalse value="${annotation.processing.run.all.processors}"/>
   1.876 +        </condition>
   1.877 +        <condition else="" property="ap.proc.none.internal" value="-proc:none">
   1.878 +            <isfalse value="${annotation.processing.enabled}"/>
   1.879 +        </condition>
   1.880 +    </target>
   1.881 +    <target depends="-init-ap-cmdline-properties,-init-ap-cmdline-supported" name="-init-ap-cmdline">
   1.882 +        <property name="ap.cmd.line.internal" value=""/>
   1.883 +    </target>
   1.884 +    <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.885 +    <!--
   1.886 +                ===================
   1.887 +                COMPILATION SECTION
   1.888 +                ===================
   1.889 +            -->
   1.890 +    <target name="-deps-jar-init" unless="built-jar.properties">
   1.891 +        <property location="${build.dir}/built-jar.properties" name="built-jar.properties"/>
   1.892 +        <delete file="${built-jar.properties}" quiet="true"/>
   1.893 +    </target>
   1.894 +    <target if="already.built.jar.${basedir}" name="-warn-already-built-jar">
   1.895 +        <echo level="warn" message="Cycle detected: alt2xml was already built"/>
   1.896 +    </target>
   1.897 +    <target depends="init,-deps-jar-init" name="deps-jar" unless="no.deps">
   1.898 +        <mkdir dir="${build.dir}"/>
   1.899 +        <touch file="${built-jar.properties}" verbose="false"/>
   1.900 +        <property file="${built-jar.properties}" prefix="already.built.jar."/>
   1.901 +        <antcall target="-warn-already-built-jar"/>
   1.902 +        <propertyfile file="${built-jar.properties}">
   1.903 +            <entry key="${basedir}" value=""/>
   1.904 +        </propertyfile>
   1.905 +    </target>
   1.906 +    <target depends="init,-check-automatic-build,-clean-after-automatic-build" name="-verify-automatic-build"/>
   1.907 +    <target depends="init" name="-check-automatic-build">
   1.908 +        <available file="${build.classes.dir}/.netbeans_automatic_build" property="netbeans.automatic.build"/>
   1.909 +    </target>
   1.910 +    <target depends="init" if="netbeans.automatic.build" name="-clean-after-automatic-build">
   1.911 +        <antcall target="clean"/>
   1.912 +    </target>
   1.913 +    <target depends="init,deps-jar,-groovy-init-macrodef-javac" name="-pre-pre-compile">
   1.914 +        <mkdir dir="${build.classes.dir}"/>
   1.915 +    </target>
   1.916 +    <target name="-pre-compile">
   1.917 +        <!-- Empty placeholder for easier customization. -->
   1.918 +        <!-- You can override this target in the ../build.xml file. -->
   1.919 +    </target>
   1.920 +    <target if="do.depend.true" name="-compile-depend">
   1.921 +        <pathconvert property="build.generated.subdirs">
   1.922 +            <dirset dir="${build.generated.sources.dir}" erroronmissingdir="false">
   1.923 +                <include name="*"/>
   1.924 +            </dirset>
   1.925 +        </pathconvert>
   1.926 +        <j2seproject3:depend srcdir="${src.dir}:${build.generated.subdirs}"/>
   1.927 +    </target>
   1.928 +    <target depends="init,deps-jar,-pre-pre-compile,-pre-compile, -copy-persistence-xml,-compile-depend" if="have.sources" name="-do-compile">
   1.929 +        <j2seproject3:javac gensrcdir="${build.generated.sources.dir}"/>
   1.930 +        <copy todir="${build.classes.dir}">
   1.931 +            <fileset dir="${src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
   1.932 +        </copy>
   1.933 +    </target>
   1.934 +    <target if="has.persistence.xml" name="-copy-persistence-xml">
   1.935 +        <mkdir dir="${build.classes.dir}/META-INF"/>
   1.936 +        <copy todir="${build.classes.dir}/META-INF">
   1.937 +            <fileset dir="${meta.inf.dir}" includes="persistence.xml orm.xml"/>
   1.938 +        </copy>
   1.939 +    </target>
   1.940 +    <target name="-post-compile">
   1.941 +        <!-- Empty placeholder for easier customization. -->
   1.942 +        <!-- You can override this target in the ../build.xml file. -->
   1.943 +    </target>
   1.944 +    <target depends="init,deps-jar,-verify-automatic-build,-pre-pre-compile,-pre-compile,-do-compile,-post-compile" description="Compile project." name="compile"/>
   1.945 +    <target name="-pre-compile-single">
   1.946 +        <!-- Empty placeholder for easier customization. -->
   1.947 +        <!-- You can override this target in the ../build.xml file. -->
   1.948 +    </target>
   1.949 +    <target depends="init,deps-jar,-pre-pre-compile" name="-do-compile-single">
   1.950 +        <fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail>
   1.951 +        <j2seproject3:force-recompile/>
   1.952 +        <j2seproject3:javac excludes="" gensrcdir="${build.generated.sources.dir}" includes="${javac.includes}" sourcepath="${src.dir}"/>
   1.953 +    </target>
   1.954 +    <target name="-post-compile-single">
   1.955 +        <!-- Empty placeholder for easier customization. -->
   1.956 +        <!-- You can override this target in the ../build.xml file. -->
   1.957 +    </target>
   1.958 +    <target depends="init,deps-jar,-verify-automatic-build,-pre-pre-compile,-pre-compile-single,-do-compile-single,-post-compile-single" name="compile-single"/>
   1.959 +    <!--
   1.960 +                ====================
   1.961 +                JAR BUILDING SECTION
   1.962 +                ====================
   1.963 +            -->
   1.964 +    <target depends="init" name="-pre-pre-jar">
   1.965 +        <dirname file="${dist.jar}" property="dist.jar.dir"/>
   1.966 +        <mkdir dir="${dist.jar.dir}"/>
   1.967 +    </target>
   1.968 +    <target name="-pre-jar">
   1.969 +        <!-- Empty placeholder for easier customization. -->
   1.970 +        <!-- You can override this target in the ../build.xml file. -->
   1.971 +    </target>
   1.972 +    <target depends="init,compile,-pre-pre-jar,-pre-jar" if="do.archive" name="-do-jar-without-manifest" unless="manifest.available-mkdist.available">
   1.973 +        <j2seproject1:jar/>
   1.974 +    </target>
   1.975 +    <target depends="init,compile,-pre-pre-jar,-pre-jar" if="do.archive+manifest.available" name="-do-jar-with-manifest" unless="manifest.available+main.class-mkdist.available">
   1.976 +        <j2seproject1:jar manifest="${manifest.file}"/>
   1.977 +    </target>
   1.978 +    <target depends="init,compile,-pre-pre-jar,-pre-jar" if="do.archive+manifest.available+main.class" name="-do-jar-with-mainclass" unless="manifest.available+main.class+mkdist.available">
   1.979 +        <j2seproject1:jar manifest="${manifest.file}">
   1.980 +            <j2seproject1:manifest>
   1.981 +                <j2seproject1:attribute name="Main-Class" value="${main.class}"/>
   1.982 +            </j2seproject1:manifest>
   1.983 +        </j2seproject1:jar>
   1.984 +        <echo level="info">To run this application from the command line without Ant, try:</echo>
   1.985 +        <property location="${build.classes.dir}" name="build.classes.dir.resolved"/>
   1.986 +        <property location="${dist.jar}" name="dist.jar.resolved"/>
   1.987 +        <pathconvert property="run.classpath.with.dist.jar">
   1.988 +            <path path="${run.classpath}"/>
   1.989 +            <map from="${build.classes.dir.resolved}" to="${dist.jar.resolved}"/>
   1.990 +        </pathconvert>
   1.991 +        <echo level="info">java -cp "${run.classpath.with.dist.jar}" ${main.class}</echo>
   1.992 +    </target>
   1.993 +    <target depends="init" if="do.archive" name="-do-jar-with-libraries-create-manifest" unless="manifest.available">
   1.994 +        <tempfile deleteonexit="true" destdir="${build.dir}" property="tmp.manifest.file"/>
   1.995 +        <touch file="${tmp.manifest.file}" verbose="false"/>
   1.996 +    </target>
   1.997 +    <target depends="init" if="do.archive+manifest.available" name="-do-jar-with-libraries-copy-manifest">
   1.998 +        <tempfile deleteonexit="true" destdir="${build.dir}" property="tmp.manifest.file"/>
   1.999 +        <copy file="${manifest.file}" tofile="${tmp.manifest.file}"/>
  1.1000 +    </target>
  1.1001 +    <target depends="init,-do-jar-with-libraries-create-manifest,-do-jar-with-libraries-copy-manifest" if="do.archive+main.class.available" name="-do-jar-with-libraries-set-main">
  1.1002 +        <manifest file="${tmp.manifest.file}" mode="update">
  1.1003 +            <attribute name="Main-Class" value="${main.class}"/>
  1.1004 +        </manifest>
  1.1005 +    </target>
  1.1006 +    <target depends="init,-do-jar-with-libraries-create-manifest,-do-jar-with-libraries-copy-manifest" if="do.archive+splashscreen.available" name="-do-jar-with-libraries-set-splashscreen">
  1.1007 +        <basename file="${application.splash}" property="splashscreen.basename"/>
  1.1008 +        <mkdir dir="${build.classes.dir}/META-INF"/>
  1.1009 +        <copy failonerror="false" file="${application.splash}" todir="${build.classes.dir}/META-INF"/>
  1.1010 +        <manifest file="${tmp.manifest.file}" mode="update">
  1.1011 +            <attribute name="SplashScreen-Image" value="META-INF/${splashscreen.basename}"/>
  1.1012 +        </manifest>
  1.1013 +    </target>
  1.1014 +    <target depends="init,-init-macrodef-copylibs,compile,-pre-pre-jar,-pre-jar,-do-jar-with-libraries-create-manifest,-do-jar-with-libraries-copy-manifest,-do-jar-with-libraries-set-main,-do-jar-with-libraries-set-splashscreen" if="do.mkdist" name="-do-jar-with-libraries-pack">
  1.1015 +        <j2seproject3:copylibs manifest="${tmp.manifest.file}"/>
  1.1016 +        <echo level="info">To run this application from the command line without Ant, try:</echo>
  1.1017 +        <property location="${dist.jar}" name="dist.jar.resolved"/>
  1.1018 +        <echo level="info">java -jar "${dist.jar.resolved}"</echo>
  1.1019 +    </target>
  1.1020 +    <target depends="-do-jar-with-libraries-pack" if="do.archive" name="-do-jar-with-libraries-delete-manifest">
  1.1021 +        <delete>
  1.1022 +            <fileset file="${tmp.manifest.file}"/>
  1.1023 +        </delete>
  1.1024 +    </target>
  1.1025 +    <target depends="init,compile,-pre-pre-jar,-pre-jar,-do-jar-with-libraries-create-manifest,-do-jar-with-libraries-copy-manifest,-do-jar-with-libraries-set-main,-do-jar-with-libraries-set-splashscreen,-do-jar-with-libraries-pack,-do-jar-with-libraries-delete-manifest" name="-do-jar-with-libraries"/>
  1.1026 +    <target name="-post-jar">
  1.1027 +        <!-- Empty placeholder for easier customization. -->
  1.1028 +        <!-- You can override this target in the ../build.xml file. -->
  1.1029 +    </target>
  1.1030 +    <target depends="init,compile,-pre-jar,-do-jar-with-manifest,-do-jar-without-manifest,-do-jar-with-mainclass,-do-jar-with-libraries,-post-jar" description="Build JAR." name="jar"/>
  1.1031 +    <!--
  1.1032 +                =================
  1.1033 +                EXECUTION SECTION
  1.1034 +                =================
  1.1035 +            -->
  1.1036 +    <target depends="init,compile" description="Run a main class." name="run">
  1.1037 +        <j2seproject1:java>
  1.1038 +            <customize>
  1.1039 +                <arg line="${application.args}"/>
  1.1040 +            </customize>
  1.1041 +        </j2seproject1:java>
  1.1042 +    </target>
  1.1043 +    <target name="-do-not-recompile">
  1.1044 +        <property name="javac.includes.binary" value=""/>
  1.1045 +    </target>
  1.1046 +    <target depends="init,compile-single" name="run-single">
  1.1047 +        <fail unless="run.class">Must select one file in the IDE or set run.class</fail>
  1.1048 +        <j2seproject1:java classname="${run.class}"/>
  1.1049 +    </target>
  1.1050 +    <target depends="init,compile-test-single" name="run-test-with-main">
  1.1051 +        <fail unless="run.class">Must select one file in the IDE or set run.class</fail>
  1.1052 +        <j2seproject1:java classname="${run.class}" classpath="${run.test.classpath}"/>
  1.1053 +    </target>
  1.1054 +    <!--
  1.1055 +                =================
  1.1056 +                DEBUGGING SECTION
  1.1057 +                =================
  1.1058 +            -->
  1.1059 +    <target depends="init" if="netbeans.home" name="-debug-start-debugger">
  1.1060 +        <j2seproject1:nbjpdastart name="${debug.class}"/>
  1.1061 +    </target>
  1.1062 +    <target depends="init" if="netbeans.home" name="-debug-start-debugger-main-test">
  1.1063 +        <j2seproject1:nbjpdastart classpath="${debug.test.classpath}" name="${debug.class}"/>
  1.1064 +    </target>
  1.1065 +    <target depends="init,compile" name="-debug-start-debuggee">
  1.1066 +        <j2seproject3:debug>
  1.1067 +            <customize>
  1.1068 +                <arg line="${application.args}"/>
  1.1069 +            </customize>
  1.1070 +        </j2seproject3:debug>
  1.1071 +    </target>
  1.1072 +    <target depends="init,compile,-debug-start-debugger,-debug-start-debuggee" description="Debug project in IDE." if="netbeans.home" name="debug"/>
  1.1073 +    <target depends="init" if="netbeans.home" name="-debug-start-debugger-stepinto">
  1.1074 +        <j2seproject1:nbjpdastart stopclassname="${main.class}"/>
  1.1075 +    </target>
  1.1076 +    <target depends="init,compile,-debug-start-debugger-stepinto,-debug-start-debuggee" if="netbeans.home" name="debug-stepinto"/>
  1.1077 +    <target depends="init,compile-single" if="netbeans.home" name="-debug-start-debuggee-single">
  1.1078 +        <fail unless="debug.class">Must select one file in the IDE or set debug.class</fail>
  1.1079 +        <j2seproject3:debug classname="${debug.class}"/>
  1.1080 +    </target>
  1.1081 +    <target depends="init,compile-single,-debug-start-debugger,-debug-start-debuggee-single" if="netbeans.home" name="debug-single"/>
  1.1082 +    <target depends="init,compile-test-single" if="netbeans.home" name="-debug-start-debuggee-main-test">
  1.1083 +        <fail unless="debug.class">Must select one file in the IDE or set debug.class</fail>
  1.1084 +        <j2seproject3:debug classname="${debug.class}" classpath="${debug.test.classpath}"/>
  1.1085 +    </target>
  1.1086 +    <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.1087 +    <target depends="init" name="-pre-debug-fix">
  1.1088 +        <fail unless="fix.includes">Must set fix.includes</fail>
  1.1089 +        <property name="javac.includes" value="${fix.includes}.java"/>
  1.1090 +    </target>
  1.1091 +    <target depends="init,-pre-debug-fix,compile-single" if="netbeans.home" name="-do-debug-fix">
  1.1092 +        <j2seproject1:nbjpdareload/>
  1.1093 +    </target>
  1.1094 +    <target depends="init,-pre-debug-fix,-do-debug-fix" if="netbeans.home" name="debug-fix"/>
  1.1095 +    <!--
  1.1096 +                =================
  1.1097 +                PROFILING SECTION
  1.1098 +                =================
  1.1099 +            -->
  1.1100 +    <!--
  1.1101 +                pre NB7.2 profiler integration
  1.1102 +            -->
  1.1103 +    <target depends="profile-init,compile" description="Profile a project in the IDE." if="profiler.info.jvmargs.agent" name="-profile-pre72">
  1.1104 +        <fail unless="netbeans.home">This target only works when run from inside the NetBeans IDE.</fail>
  1.1105 +        <nbprofiledirect>
  1.1106 +            <classpath>
  1.1107 +                <path path="${run.classpath}"/>
  1.1108 +            </classpath>
  1.1109 +        </nbprofiledirect>
  1.1110 +        <profile/>
  1.1111 +    </target>
  1.1112 +    <target depends="profile-init,compile-single" description="Profile a selected class in the IDE." if="profiler.info.jvmargs.agent" name="-profile-single-pre72">
  1.1113 +        <fail unless="profile.class">Must select one file in the IDE or set profile.class</fail>
  1.1114 +        <fail unless="netbeans.home">This target only works when run from inside the NetBeans IDE.</fail>
  1.1115 +        <nbprofiledirect>
  1.1116 +            <classpath>
  1.1117 +                <path path="${run.classpath}"/>
  1.1118 +            </classpath>
  1.1119 +        </nbprofiledirect>
  1.1120 +        <profile classname="${profile.class}"/>
  1.1121 +    </target>
  1.1122 +    <target depends="profile-init,compile-single" if="profiler.info.jvmargs.agent" name="-profile-applet-pre72">
  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="sun.applet.AppletViewer">
  1.1130 +            <customize>
  1.1131 +                <arg value="${applet.url}"/>
  1.1132 +            </customize>
  1.1133 +        </profile>
  1.1134 +    </target>
  1.1135 +    <target depends="profile-init,compile-test-single" if="profiler.info.jvmargs.agent" name="-profile-test-single-pre72">
  1.1136 +        <fail unless="netbeans.home">This target only works when run from inside the NetBeans IDE.</fail>
  1.1137 +        <nbprofiledirect>
  1.1138 +            <classpath>
  1.1139 +                <path path="${run.test.classpath}"/>
  1.1140 +            </classpath>
  1.1141 +        </nbprofiledirect>
  1.1142 +        <junit dir="${profiler.info.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" jvm="${profiler.info.jvm}" showoutput="true">
  1.1143 +            <env key="${profiler.info.pathvar}" path="${profiler.info.agentpath}:${profiler.current.path}"/>
  1.1144 +            <jvmarg value="${profiler.info.jvmargs.agent}"/>
  1.1145 +            <jvmarg line="${profiler.info.jvmargs}"/>
  1.1146 +            <test name="${profile.class}"/>
  1.1147 +            <classpath>
  1.1148 +                <path path="${run.test.classpath}"/>
  1.1149 +            </classpath>
  1.1150 +            <syspropertyset>
  1.1151 +                <propertyref prefix="test-sys-prop."/>
  1.1152 +                <mapper from="test-sys-prop.*" to="*" type="glob"/>
  1.1153 +            </syspropertyset>
  1.1154 +            <formatter type="brief" usefile="false"/>
  1.1155 +            <formatter type="xml"/>
  1.1156 +        </junit>
  1.1157 +    </target>
  1.1158 +    <!--
  1.1159 +                end of pre NB72 profiling section
  1.1160 +            -->
  1.1161 +    <target if="netbeans.home" name="-profile-check">
  1.1162 +        <condition property="profiler.configured">
  1.1163 +            <or>
  1.1164 +                <contains casesensitive="true" string="${run.jvmargs.ide}" substring="-agentpath:"/>
  1.1165 +                <contains casesensitive="true" string="${run.jvmargs.ide}" substring="-javaagent:"/>
  1.1166 +            </or>
  1.1167 +        </condition>
  1.1168 +    </target>
  1.1169 +    <target depends="-profile-check,-profile-pre72" description="Profile a project in the IDE." if="profiler.configured" name="profile" unless="profiler.info.jvmargs.agent">
  1.1170 +        <startprofiler/>
  1.1171 +        <antcall target="run"/>
  1.1172 +    </target>
  1.1173 +    <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.1174 +        <fail unless="run.class">Must select one file in the IDE or set run.class</fail>
  1.1175 +        <startprofiler/>
  1.1176 +        <antcall target="run-single"/>
  1.1177 +    </target>
  1.1178 +    <target depends="-profile-test-single-pre72" description="Profile a selected test in the IDE." name="profile-test-single"/>
  1.1179 +    <target depends="-profile-check" description="Profile a selected test in the IDE." if="profiler.configured" name="profile-test" unless="profiler.info.jvmargs">
  1.1180 +        <fail unless="test.includes">Must select some files in the IDE or set test.includes</fail>
  1.1181 +        <startprofiler/>
  1.1182 +        <antcall target="test-single"/>
  1.1183 +    </target>
  1.1184 +    <target depends="-profile-check" description="Profile a selected class in the IDE." if="profiler.configured" name="profile-test-with-main">
  1.1185 +        <fail unless="run.class">Must select one file in the IDE or set run.class</fail>
  1.1186 +        <startprofiler/>
  1.1187 +        <antcal target="run-test-with-main"/>
  1.1188 +    </target>
  1.1189 +    <target depends="-profile-check,-profile-applet-pre72" if="profiler.configured" name="profile-applet" unless="profiler.info.jvmargs.agent">
  1.1190 +        <fail unless="applet.url">Must select one file in the IDE or set applet.url</fail>
  1.1191 +        <startprofiler/>
  1.1192 +        <antcall target="run-applet"/>
  1.1193 +    </target>
  1.1194 +    <!--
  1.1195 +                ===============
  1.1196 +                JAVADOC SECTION
  1.1197 +                ===============
  1.1198 +            -->
  1.1199 +    <target depends="init" if="have.sources" name="-javadoc-build">
  1.1200 +        <mkdir dir="${dist.javadoc.dir}"/>
  1.1201 +        <condition else="" property="javadoc.endorsed.classpath.cmd.line.arg" value="-J${endorsed.classpath.cmd.line.arg}">
  1.1202 +            <and>
  1.1203 +                <isset property="endorsed.classpath.cmd.line.arg"/>
  1.1204 +                <not>
  1.1205 +                    <equals arg1="${endorsed.classpath.cmd.line.arg}" arg2=""/>
  1.1206 +                </not>
  1.1207 +            </and>
  1.1208 +        </condition>
  1.1209 +        <javadoc additionalparam="${javadoc.additionalparam}" author="${javadoc.author}" charset="UTF-8" destdir="${dist.javadoc.dir}" docencoding="UTF-8" encoding="${javadoc.encoding.used}" failonerror="true" noindex="${javadoc.noindex}" nonavbar="${javadoc.nonavbar}" notree="${javadoc.notree}" private="${javadoc.private}" source="${javac.source}" splitindex="${javadoc.splitindex}" use="${javadoc.use}" useexternalfile="true" version="${javadoc.version}" windowtitle="${javadoc.windowtitle}">
  1.1210 +            <classpath>
  1.1211 +                <path path="${javac.classpath}"/>
  1.1212 +            </classpath>
  1.1213 +            <fileset dir="${src.dir}" excludes="*.java,${excludes}" includes="${includes}">
  1.1214 +                <filename name="**/*.java"/>
  1.1215 +            </fileset>
  1.1216 +            <fileset dir="${build.generated.sources.dir}" erroronmissingdir="false">
  1.1217 +                <include name="**/*.java"/>
  1.1218 +                <exclude name="*.java"/>
  1.1219 +            </fileset>
  1.1220 +            <arg line="${javadoc.endorsed.classpath.cmd.line.arg}"/>
  1.1221 +        </javadoc>
  1.1222 +        <copy todir="${dist.javadoc.dir}">
  1.1223 +            <fileset dir="${src.dir}" excludes="${excludes}" includes="${includes}">
  1.1224 +                <filename name="**/doc-files/**"/>
  1.1225 +            </fileset>
  1.1226 +            <fileset dir="${build.generated.sources.dir}" erroronmissingdir="false">
  1.1227 +                <include name="**/doc-files/**"/>
  1.1228 +            </fileset>
  1.1229 +        </copy>
  1.1230 +    </target>
  1.1231 +    <target depends="init,-javadoc-build" if="netbeans.home" name="-javadoc-browse" unless="no.javadoc.preview">
  1.1232 +        <nbbrowse file="${dist.javadoc.dir}/index.html"/>
  1.1233 +    </target>
  1.1234 +    <target depends="init,-javadoc-build,-javadoc-browse" description="Build Javadoc." name="javadoc"/>
  1.1235 +    <!--
  1.1236 +                =========================
  1.1237 +                TEST COMPILATION SECTION
  1.1238 +                =========================
  1.1239 +            -->
  1.1240 +    <target depends="init,compile" if="have.tests" name="-pre-pre-compile-test">
  1.1241 +        <mkdir dir="${build.test.classes.dir}"/>
  1.1242 +    </target>
  1.1243 +    <target name="-pre-compile-test">
  1.1244 +        <!-- Empty placeholder for easier customization. -->
  1.1245 +        <!-- You can override this target in the ../build.xml file. -->
  1.1246 +    </target>
  1.1247 +    <target if="do.depend.true" name="-compile-test-depend">
  1.1248 +        <j2seproject3:depend classpath="${javac.test.classpath}" destdir="${build.test.classes.dir}" srcdir="${test.src.dir}"/>
  1.1249 +    </target>
  1.1250 +    <target depends="init,deps-jar,compile,-pre-pre-compile-test,-pre-compile-test,-compile-test-depend" if="have.tests" name="-do-compile-test">
  1.1251 +        <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.1252 +        <copy todir="${build.test.classes.dir}">
  1.1253 +            <fileset dir="${test.src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
  1.1254 +        </copy>
  1.1255 +    </target>
  1.1256 +    <target name="-post-compile-test">
  1.1257 +        <!-- Empty placeholder for easier customization. -->
  1.1258 +        <!-- You can override this target in the ../build.xml file. -->
  1.1259 +    </target>
  1.1260 +    <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test,-do-compile-test,-post-compile-test" name="compile-test"/>
  1.1261 +    <target name="-pre-compile-test-single">
  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 depends="init,deps-jar,compile,-pre-pre-compile-test,-pre-compile-test-single" if="have.tests" name="-do-compile-test-single">
  1.1266 +        <fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail>
  1.1267 +        <j2seproject3:force-recompile destdir="${build.test.classes.dir}"/>
  1.1268 +        <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.1269 +        <copy todir="${build.test.classes.dir}">
  1.1270 +            <fileset dir="${test.src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
  1.1271 +        </copy>
  1.1272 +    </target>
  1.1273 +    <target name="-post-compile-test-single">
  1.1274 +        <!-- Empty placeholder for easier customization. -->
  1.1275 +        <!-- You can override this target in the ../build.xml file. -->
  1.1276 +    </target>
  1.1277 +    <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.1278 +    <!--
  1.1279 +                =======================
  1.1280 +                TEST EXECUTION SECTION
  1.1281 +                =======================
  1.1282 +            -->
  1.1283 +    <target depends="init" if="have.tests" name="-pre-test-run">
  1.1284 +        <mkdir dir="${build.test.results.dir}"/>
  1.1285 +    </target>
  1.1286 +    <target depends="init,compile-test,-pre-test-run" if="have.tests" name="-do-test-run">
  1.1287 +        <j2seproject3:test testincludes="**/*Test.java"/>
  1.1288 +    </target>
  1.1289 +    <target depends="init,compile-test,-pre-test-run,-do-test-run" if="have.tests" name="-post-test-run">
  1.1290 +        <fail if="tests.failed" unless="ignore.failing.tests">Some tests failed; see details above.</fail>
  1.1291 +    </target>
  1.1292 +    <target depends="init" if="have.tests" name="test-report"/>
  1.1293 +    <target depends="init" if="netbeans.home+have.tests" name="-test-browse"/>
  1.1294 +    <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.1295 +    <target depends="init" if="have.tests" name="-pre-test-run-single">
  1.1296 +        <mkdir dir="${build.test.results.dir}"/>
  1.1297 +    </target>
  1.1298 +    <target depends="init,compile-test-single,-pre-test-run-single" if="have.tests" name="-do-test-run-single">
  1.1299 +        <fail unless="test.includes">Must select some files in the IDE or set test.includes</fail>
  1.1300 +        <j2seproject3:test excludes="" includes="${test.includes}" testincludes="${test.includes}"/>
  1.1301 +    </target>
  1.1302 +    <target depends="init,compile-test-single,-pre-test-run-single,-do-test-run-single" if="have.tests" name="-post-test-run-single">
  1.1303 +        <fail if="tests.failed" unless="ignore.failing.tests">Some tests failed; see details above.</fail>
  1.1304 +    </target>
  1.1305 +    <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.1306 +    <target depends="init,compile-test-single,-pre-test-run-single" if="have.tests" name="-do-test-run-single-method">
  1.1307 +        <fail unless="test.class">Must select some files in the IDE or set test.class</fail>
  1.1308 +        <fail unless="test.method">Must select some method in the IDE or set test.method</fail>
  1.1309 +        <j2seproject3:test excludes="" includes="${javac.includes}" testincludes="${test.class}" testmethods="${test.method}"/>
  1.1310 +    </target>
  1.1311 +    <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.1312 +        <fail if="tests.failed" unless="ignore.failing.tests">Some tests failed; see details above.</fail>
  1.1313 +    </target>
  1.1314 +    <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.1315 +    <!--
  1.1316 +                =======================
  1.1317 +                TEST DEBUGGING SECTION
  1.1318 +                =======================
  1.1319 +            -->
  1.1320 +    <target depends="init,compile-test-single,-pre-test-run-single" if="have.tests" name="-debug-start-debuggee-test">
  1.1321 +        <fail unless="test.class">Must select one file in the IDE or set test.class</fail>
  1.1322 +        <j2seproject3:test-debug excludes="" includes="${javac.includes}" testClass="${test.class}" testincludes="${javac.includes}"/>
  1.1323 +    </target>
  1.1324 +    <target depends="init,compile-test-single,-pre-test-run-single" if="have.tests" name="-debug-start-debuggee-test-method">
  1.1325 +        <fail unless="test.class">Must select one file 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-debug excludes="" includes="${javac.includes}" testClass="${test.class}" testMethod="${test.method}" testincludes="${test.class}" testmethods="${test.method}"/>
  1.1328 +    </target>
  1.1329 +    <target depends="init,compile-test" if="netbeans.home+have.tests" name="-debug-start-debugger-test">
  1.1330 +        <j2seproject1:nbjpdastart classpath="${debug.test.classpath}" name="${test.class}"/>
  1.1331 +    </target>
  1.1332 +    <target depends="init,compile-test-single,-debug-start-debugger-test,-debug-start-debuggee-test" name="debug-test"/>
  1.1333 +    <target depends="init,compile-test-single,-debug-start-debugger-test,-debug-start-debuggee-test-method" name="debug-test-method"/>
  1.1334 +    <target depends="init,-pre-debug-fix,compile-test-single" if="netbeans.home" name="-do-debug-fix-test">
  1.1335 +        <j2seproject1:nbjpdareload dir="${build.test.classes.dir}"/>
  1.1336 +    </target>
  1.1337 +    <target depends="init,-pre-debug-fix,-do-debug-fix-test" if="netbeans.home" name="debug-fix-test"/>
  1.1338 +    <!--
  1.1339 +                =========================
  1.1340 +                APPLET EXECUTION SECTION
  1.1341 +                =========================
  1.1342 +            -->
  1.1343 +    <target depends="init,compile-single" name="run-applet">
  1.1344 +        <fail unless="applet.url">Must select one file in the IDE or set applet.url</fail>
  1.1345 +        <j2seproject1:java classname="sun.applet.AppletViewer">
  1.1346 +            <customize>
  1.1347 +                <arg value="${applet.url}"/>
  1.1348 +            </customize>
  1.1349 +        </j2seproject1:java>
  1.1350 +    </target>
  1.1351 +    <!--
  1.1352 +                =========================
  1.1353 +                APPLET DEBUGGING  SECTION
  1.1354 +                =========================
  1.1355 +            -->
  1.1356 +    <target depends="init,compile-single" if="netbeans.home" name="-debug-start-debuggee-applet">
  1.1357 +        <fail unless="applet.url">Must select one file in the IDE or set applet.url</fail>
  1.1358 +        <j2seproject3:debug classname="sun.applet.AppletViewer">
  1.1359 +            <customize>
  1.1360 +                <arg value="${applet.url}"/>
  1.1361 +            </customize>
  1.1362 +        </j2seproject3:debug>
  1.1363 +    </target>
  1.1364 +    <target depends="init,compile-single,-debug-start-debugger,-debug-start-debuggee-applet" if="netbeans.home" name="debug-applet"/>
  1.1365 +    <!--
  1.1366 +                ===============
  1.1367 +                CLEANUP SECTION
  1.1368 +                ===============
  1.1369 +            -->
  1.1370 +    <target name="-deps-clean-init" unless="built-clean.properties">
  1.1371 +        <property location="${build.dir}/built-clean.properties" name="built-clean.properties"/>
  1.1372 +        <delete file="${built-clean.properties}" quiet="true"/>
  1.1373 +    </target>
  1.1374 +    <target if="already.built.clean.${basedir}" name="-warn-already-built-clean">
  1.1375 +        <echo level="warn" message="Cycle detected: alt2xml was already built"/>
  1.1376 +    </target>
  1.1377 +    <target depends="init,-deps-clean-init" name="deps-clean" unless="no.deps">
  1.1378 +        <mkdir dir="${build.dir}"/>
  1.1379 +        <touch file="${built-clean.properties}" verbose="false"/>
  1.1380 +        <property file="${built-clean.properties}" prefix="already.built.clean."/>
  1.1381 +        <antcall target="-warn-already-built-clean"/>
  1.1382 +        <propertyfile file="${built-clean.properties}">
  1.1383 +            <entry key="${basedir}" value=""/>
  1.1384 +        </propertyfile>
  1.1385 +    </target>
  1.1386 +    <target depends="init" name="-do-clean">
  1.1387 +        <delete dir="${build.dir}"/>
  1.1388 +        <delete dir="${dist.dir}" followsymlinks="false" includeemptydirs="true"/>
  1.1389 +    </target>
  1.1390 +    <target name="-post-clean">
  1.1391 +        <!-- Empty placeholder for easier customization. -->
  1.1392 +        <!-- You can override this target in the ../build.xml file. -->
  1.1393 +    </target>
  1.1394 +    <target depends="init,deps-clean,-do-clean,-post-clean" description="Clean build products." name="clean"/>
  1.1395 +    <target name="-check-call-dep">
  1.1396 +        <property file="${call.built.properties}" prefix="already.built."/>
  1.1397 +        <condition property="should.call.dep">
  1.1398 +            <and>
  1.1399 +                <not>
  1.1400 +                    <isset property="already.built.${call.subproject}"/>
  1.1401 +                </not>
  1.1402 +                <available file="${call.script}"/>
  1.1403 +            </and>
  1.1404 +        </condition>
  1.1405 +    </target>
  1.1406 +    <target depends="-check-call-dep" if="should.call.dep" name="-maybe-call-dep">
  1.1407 +        <ant antfile="${call.script}" inheritall="false" target="${call.target}">
  1.1408 +            <propertyset>
  1.1409 +                <propertyref prefix="transfer."/>
  1.1410 +                <mapper from="transfer.*" to="*" type="glob"/>
  1.1411 +            </propertyset>
  1.1412 +        </ant>
  1.1413 +    </target>
  1.1414 +</project>
     2.1 --- a/java/alt2xml-bin/nbproject/genfiles.properties	Thu Jun 05 10:07:34 2014 +0200
     2.2 +++ b/java/alt2xml-bin/nbproject/genfiles.properties	Thu Jun 05 10:21:45 2014 +0200
     2.3 @@ -1,4 +1,4 @@
     2.4 -build.xml.data.CRC32=e6d87916
     2.5 +build.xml.data.CRC32=00ae4836
     2.6  build.xml.script.CRC32=98793cfd
     2.7  build.xml.stylesheet.CRC32=8064a381@1.74.2.48
     2.8  # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml.
     2.9 @@ -6,6 +6,6 @@
    2.10  nbproject/build-impl.xml.data.CRC32=31175c28
    2.11  nbproject/build-impl.xml.script.CRC32=aa79723f
    2.12  nbproject/build-impl.xml.stylesheet.CRC32=c6d2a60f@1.56.1.46
    2.13 -nbproject/groovy-build.xml.data.CRC32=e6d87916
    2.14 +nbproject/groovy-build.xml.data.CRC32=00ae4836
    2.15  nbproject/groovy-build.xml.script.CRC32=66297360
    2.16  nbproject/groovy-build.xml.stylesheet.CRC32=28d0e1f2@1.7.1
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/java/alt2xml-bin/nbproject/groovy-build.xml	Thu Jun 05 10:21:45 2014 +0200
     3.3 @@ -0,0 +1,93 @@
     3.4 +<?xml version="1.0" encoding="UTF-8"?>
     3.5 +<!--
     3.6 +*** GENERATED FROM project.xml - DO NOT EDIT  ***
     3.7 +***         EDIT ../build.xml INSTEAD         ***
     3.8 +
     3.9 +        
    3.10 +        -->
    3.11 +<project xmlns:j2seproject3="http://www.netbeans.org/ns/j2se-project/3" xmlns:j2seproject1="http://www.netbeans.org/ns/j2se-project/1" xmlns:jaxrpc="http://www.netbeans.org/ns/j2se-project/jax-rpc">
    3.12 +    <target name="-groovy-init-macrodef-javac">
    3.13 +        <macrodef name="javac" uri="http://www.netbeans.org/ns/j2se-project/3">
    3.14 +            <attribute name="srcdir" default="${src.dir}"/>
    3.15 +            <attribute name="destdir" default="${build.classes.dir}"/>
    3.16 +            <attribute name="classpath" default="${javac.classpath}"/>
    3.17 +            <attribute name="includes" default="${includes}"/>
    3.18 +            <attribute name="excludes" default="${excludes}"/>
    3.19 +            <attribute name="debug" default="${javac.debug}"/>
    3.20 +            <attribute name="sourcepath" default="${empty.dir}"/>
    3.21 +            <attribute name="gensrcdir" default="${empty.dir}"/>
    3.22 +            <attribute name="processorpath" default="${javac.processorpath}"/>
    3.23 +            <attribute name="apgeneratedsrcdir" default="${build.generated.sources.dir}/ap-source-output"/>
    3.24 +            <element name="customize" optional="true"/>
    3.25 +            <sequential>
    3.26 +                <taskdef name="groovyc" classpath="${javac.classpath}" classname="org.codehaus.groovy.ant.Groovyc"/>
    3.27 +                <property name="empty.dir" location="${build.dir}/empty"/>
    3.28 +                <mkdir dir="${empty.dir}"/>
    3.29 +                <groovyc srcdir="@{srcdir}" sourcepath="@{sourcepath}" destdir="@{destdir}" encoding="${source.encoding}" excludes="@{excludes}" includeAntRuntime="false" fork="true">
    3.30 +                    <src>
    3.31 +                        <dirset dir="@{gensrcdir}" erroronmissingdir="false">
    3.32 +                            <include name="*"/>
    3.33 +                        </dirset>
    3.34 +                    </src>
    3.35 +                    <classpath>
    3.36 +                        <path path="@{classpath}"/>
    3.37 +                    </classpath>
    3.38 +                    <javac debug="@{debug}" deprecation="${javac.deprecation}" encoding="${source.encoding}" source="${javac.source}" target="${javac.target}">
    3.39 +                        <compilerarg line="${javac.compilerargs} ${javac.compilerargs.jaxws}"/>
    3.40 +                        <customize/>
    3.41 +                    </javac>
    3.42 +                </groovyc>
    3.43 +            </sequential>
    3.44 +        </macrodef>
    3.45 +        <macrodef name="depend" uri="http://www.netbeans.org/ns/j2se-project/3">
    3.46 +            <attribute name="srcdir" default="${src.dir}"/>
    3.47 +            <attribute name="destdir" default="${build.classes.dir}"/>
    3.48 +            <attribute name="classpath" default="${javac.classpath}"/>
    3.49 +            <sequential>
    3.50 +                <depend srcdir="@{srcdir}" destdir="@{destdir}" cache="${build.dir}/depcache" includes="${includes}" excludes="${excludes}">
    3.51 +                    <classpath>
    3.52 +                        <path path="@{classpath}"/>
    3.53 +                    </classpath>
    3.54 +                </depend>
    3.55 +            </sequential>
    3.56 +        </macrodef>
    3.57 +        <macrodef name="force-recompile" uri="http://www.netbeans.org/ns/j2se-project/3">
    3.58 +            <attribute name="destdir" default="${build.classes.dir}"/>
    3.59 +            <sequential>
    3.60 +                <fail unless="javac.includes">Must set javac.includes</fail>
    3.61 +                <pathconvert property="javac.includes.binary" pathsep=",">
    3.62 +                    <path>
    3.63 +                        <filelist dir="@{destdir}" files="${javac.includes}"/>
    3.64 +                    </path>
    3.65 +                    <globmapper from="*.java" to="*.class"/>
    3.66 +                </pathconvert>
    3.67 +                <delete>
    3.68 +                    <files includes="${javac.includes.binary}"/>
    3.69 +                </delete>
    3.70 +            </sequential>
    3.71 +        </macrodef>
    3.72 +    </target>
    3.73 +    <target depends="init,compile-test,-pre-test-run" if="have.tests" name="-do-test-run-with-groovy">
    3.74 +        <j2seproject3:test testincludes=""/>
    3.75 +    </target>
    3.76 +    <target depends="init,compile-test,-pre-test-run,-do-test-run-with-groovy" if="have.tests" name="-post-test-run-with-groovy">
    3.77 +        <fail if="tests.failed" unless="ignore.failing.tests">Some tests failed; see details above.</fail>
    3.78 +    </target>
    3.79 +    <target depends="init,compile-test,-pre-test-run,-do-test-run-with-groovy,test-report,-post-test-run-with-groovy,-test-browse" description="Run unit tests." name="test-with-groovy"/>
    3.80 +    <target depends="init,compile-test-single,-pre-test-run-single" if="have.tests" name="-do-test-run-single-groovy">
    3.81 +        <fail unless="test.binarytestincludes">Must select some files in the IDE or set test.includes</fail>
    3.82 +        <j2seproject3:test testincludes=""/>
    3.83 +    </target>
    3.84 +    <target depends="init,compile-test-single,-pre-test-run-single,-do-test-run-single-groovy" if="have.tests" name="-post-test-run-single-groovy">
    3.85 +        <fail if="tests.failed" unless="ignore.failing.tests">Some tests failed; see details above.</fail>
    3.86 +    </target>
    3.87 +    <target depends="init,compile-test-single,-pre-test-run-single,-do-test-run-single-groovy,-post-test-run-single-groovy" description="Run single unit test." name="test-single-groovy"/>
    3.88 +    <target depends="init,compile-test-single,-pre-test-run-single,-debug-start-debugger-test" name="-do-test-debug-single-groovy">
    3.89 +        <fail unless="test.binarytestincludes">Must select some files in the IDE or set test.binarytestincludes</fail>
    3.90 +        <j2seproject3:test-debug testincludes=""/>
    3.91 +    </target>
    3.92 +    <target depends="init,compile-test-single,-pre-test-run-single,-do-test-debug-single-groovy" if="have.tests" name="-post-test-debug-single-groovy">
    3.93 +        <fail if="tests.failed" unless="ignore.failing.tests">Some tests failed; see details above.</fail>
    3.94 +    </target>
    3.95 +    <target depends="init,compile-test-single,-pre-test-run-single,-debug-start-debugger-test,-do-test-debug-single-groovy,-post-test-debug-single-groovy" name="debug-test-with-groovy"/>
    3.96 +</project>
     4.1 --- a/java/alt2xml-bin/nbproject/project.properties	Thu Jun 05 10:07:34 2014 +0200
     4.2 +++ b/java/alt2xml-bin/nbproject/project.properties	Thu Jun 05 10:21:45 2014 +0200
     4.3 @@ -30,7 +30,8 @@
     4.4  includes=**
     4.5  jar.compress=false
     4.6  javac.classpath=\
     4.7 -    ${libs.json-simple.classpath}
     4.8 +    ${libs.json-simple.classpath}:\
     4.9 +    ${reference.alt2xml-lib.jar}
    4.10  # Space-separated list of extra javac options
    4.11  javac.compilerargs=
    4.12  javac.deprecation=false
    4.13 @@ -59,6 +60,8 @@
    4.14  meta.inf.dir=${src.dir}/META-INF
    4.15  mkdist.disabled=false
    4.16  platform.active=default_platform
    4.17 +project.alt2xml-lib=../alt2xml-lib
    4.18 +reference.alt2xml-lib.jar=${project.alt2xml-lib}/dist/alt2xml-lib.jar
    4.19  run.classpath=\
    4.20      ${javac.classpath}:\
    4.21      ${build.classes.dir}
     5.1 --- a/java/alt2xml-bin/nbproject/project.xml	Thu Jun 05 10:07:34 2014 +0200
     5.2 +++ b/java/alt2xml-bin/nbproject/project.xml	Thu Jun 05 10:21:45 2014 +0200
     5.3 @@ -16,6 +16,15 @@
     5.4                  <root id="test.src.dir"/>
     5.5              </test-roots>
     5.6          </data>
     5.7 -        <references xmlns="http://www.netbeans.org/ns/ant-project-references/1"/>
     5.8 +        <references xmlns="http://www.netbeans.org/ns/ant-project-references/1">
     5.9 +            <reference>
    5.10 +                <foreign-project>alt2xml-lib</foreign-project>
    5.11 +                <artifact-type>jar</artifact-type>
    5.12 +                <script>build.xml</script>
    5.13 +                <target>jar</target>
    5.14 +                <clean-target>clean</clean-target>
    5.15 +                <id>jar</id>
    5.16 +            </reference>
    5.17 +        </references>
    5.18      </configuration>
    5.19  </project>
     6.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.2 +++ b/java/alt2xml-in-json/build.xml	Thu Jun 05 10:21:45 2014 +0200
     6.3 @@ -0,0 +1,73 @@
     6.4 +<?xml version="1.0" encoding="UTF-8"?>
     6.5 +<!-- You may freely edit this file. See commented blocks below for -->
     6.6 +<!-- some examples of how to customize the build. -->
     6.7 +<!-- (If you delete it and reopen the project it will be recreated.) -->
     6.8 +<!-- By default, only the Clean and Build commands use this build script. -->
     6.9 +<!-- Commands such as Run, Debug, and Test only use this build script if -->
    6.10 +<!-- the Compile on Save feature is turned off for the project. -->
    6.11 +<!-- You can turn off the Compile on Save (or Deploy on Save) setting -->
    6.12 +<!-- in the project's Project Properties dialog box.-->
    6.13 +<project name="alt2xml-in-json" default="default" basedir=".">
    6.14 +    <description>Builds, tests, and runs the project alt2xml-in-json.</description>
    6.15 +    <import file="nbproject/build-impl.xml"/>
    6.16 +    <!--
    6.17 +
    6.18 +    There exist several targets which are by default empty and which can be 
    6.19 +    used for execution of your tasks. These targets are usually executed 
    6.20 +    before and after some main targets. They are: 
    6.21 +
    6.22 +      -pre-init:                 called before initialization of project properties
    6.23 +      -post-init:                called after initialization of project properties
    6.24 +      -pre-compile:              called before javac compilation
    6.25 +      -post-compile:             called after javac compilation
    6.26 +      -pre-compile-single:       called before javac compilation of single file
    6.27 +      -post-compile-single:      called after javac compilation of single file
    6.28 +      -pre-compile-test:         called before javac compilation of JUnit tests
    6.29 +      -post-compile-test:        called after javac compilation of JUnit tests
    6.30 +      -pre-compile-test-single:  called before javac compilation of single JUnit test
    6.31 +      -post-compile-test-single: called after javac compilation of single JUunit test
    6.32 +      -pre-jar:                  called before JAR building
    6.33 +      -post-jar:                 called after JAR building
    6.34 +      -post-clean:               called after cleaning build products
    6.35 +
    6.36 +    (Targets beginning with '-' are not intended to be called on their own.)
    6.37 +
    6.38 +    Example of inserting an obfuscator after compilation could look like this:
    6.39 +
    6.40 +        <target name="-post-compile">
    6.41 +            <obfuscate>
    6.42 +                <fileset dir="${build.classes.dir}"/>
    6.43 +            </obfuscate>
    6.44 +        </target>
    6.45 +
    6.46 +    For list of available properties check the imported 
    6.47 +    nbproject/build-impl.xml file. 
    6.48 +
    6.49 +
    6.50 +    Another way to customize the build is by overriding existing main targets.
    6.51 +    The targets of interest are: 
    6.52 +
    6.53 +      -init-macrodef-javac:     defines macro for javac compilation
    6.54 +      -init-macrodef-junit:     defines macro for junit execution
    6.55 +      -init-macrodef-debug:     defines macro for class debugging
    6.56 +      -init-macrodef-java:      defines macro for class execution
    6.57 +      -do-jar:                  JAR building
    6.58 +      run:                      execution of project 
    6.59 +      -javadoc-build:           Javadoc generation
    6.60 +      test-report:              JUnit report generation
    6.61 +
    6.62 +    An example of overriding the target for project execution could look like this:
    6.63 +
    6.64 +        <target name="run" depends="alt2xml-in-json-impl.jar">
    6.65 +            <exec dir="bin" executable="launcher.exe">
    6.66 +                <arg file="${dist.jar}"/>
    6.67 +            </exec>
    6.68 +        </target>
    6.69 +
    6.70 +    Notice that the overridden target depends on the jar target and not only on 
    6.71 +    the compile target as the regular run target does. Again, for a list of available 
    6.72 +    properties which you can use, check the target you are overriding in the
    6.73 +    nbproject/build-impl.xml file. 
    6.74 +
    6.75 +    -->
    6.76 +</project>
     7.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     7.2 +++ b/java/alt2xml-in-json/nbproject/build-impl.xml	Thu Jun 05 10:21:45 2014 +0200
     7.3 @@ -0,0 +1,1429 @@
     7.4 +<?xml version="1.0" encoding="UTF-8"?>
     7.5 +<!--
     7.6 +*** GENERATED FROM project.xml - DO NOT EDIT  ***
     7.7 +***         EDIT ../build.xml INSTEAD         ***
     7.8 +
     7.9 +For the purpose of easier reading the script
    7.10 +is divided into following sections:
    7.11 +
    7.12 +  - initialization
    7.13 +  - compilation
    7.14 +  - jar
    7.15 +  - execution
    7.16 +  - debugging
    7.17 +  - javadoc
    7.18 +  - test compilation
    7.19 +  - test execution
    7.20 +  - test debugging
    7.21 +  - applet
    7.22 +  - cleanup
    7.23 +
    7.24 +        -->
    7.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="alt2xml-in-json-impl">
    7.26 +    <fail message="Please build using Ant 1.8.0 or higher.">
    7.27 +        <condition>
    7.28 +            <not>
    7.29 +                <antversion atleast="1.8.0"/>
    7.30 +            </not>
    7.31 +        </condition>
    7.32 +    </fail>
    7.33 +    <target depends="test,jar,javadoc" description="Build and test whole project." name="default"/>
    7.34 +    <!-- 
    7.35 +                ======================
    7.36 +                INITIALIZATION SECTION 
    7.37 +                ======================
    7.38 +            -->
    7.39 +    <target name="-pre-init">
    7.40 +        <!-- Empty placeholder for easier customization. -->
    7.41 +        <!-- You can override this target in the ../build.xml file. -->
    7.42 +    </target>
    7.43 +    <target depends="-pre-init" name="-init-private">
    7.44 +        <property file="nbproject/private/config.properties"/>
    7.45 +        <property file="nbproject/private/configs/${config}.properties"/>
    7.46 +        <property file="nbproject/private/private.properties"/>
    7.47 +    </target>
    7.48 +    <target depends="-pre-init,-init-private" name="-init-user">
    7.49 +        <property file="${user.properties.file}"/>
    7.50 +        <!-- The two properties below are usually overridden -->
    7.51 +        <!-- by the active platform. Just a fallback. -->
    7.52 +        <property name="default.javac.source" value="1.4"/>
    7.53 +        <property name="default.javac.target" value="1.4"/>
    7.54 +    </target>
    7.55 +    <target depends="-pre-init,-init-private,-init-user" name="-init-project">
    7.56 +        <property file="nbproject/configs/${config}.properties"/>
    7.57 +        <property file="nbproject/project.properties"/>
    7.58 +    </target>
    7.59 +    <target depends="-pre-init,-init-private,-init-user,-init-project,-init-macrodef-property" name="-do-init">
    7.60 +        <property name="platform.java" value="${java.home}/bin/java"/>
    7.61 +        <available file="${manifest.file}" property="manifest.available"/>
    7.62 +        <condition property="splashscreen.available">
    7.63 +            <and>
    7.64 +                <not>
    7.65 +                    <equals arg1="${application.splash}" arg2="" trim="true"/>
    7.66 +                </not>
    7.67 +                <available file="${application.splash}"/>
    7.68 +            </and>
    7.69 +        </condition>
    7.70 +        <condition property="main.class.available">
    7.71 +            <and>
    7.72 +                <isset property="main.class"/>
    7.73 +                <not>
    7.74 +                    <equals arg1="${main.class}" arg2="" trim="true"/>
    7.75 +                </not>
    7.76 +            </and>
    7.77 +        </condition>
    7.78 +        <condition property="profile.available">
    7.79 +            <and>
    7.80 +                <isset property="javac.profile"/>
    7.81 +                <length length="0" string="${javac.profile}" when="greater"/>
    7.82 +                <matches pattern="1\.[89](\..*)?" string="${javac.source}"/>
    7.83 +            </and>
    7.84 +        </condition>
    7.85 +        <condition property="do.archive">
    7.86 +            <or>
    7.87 +                <not>
    7.88 +                    <istrue value="${jar.archive.disabled}"/>
    7.89 +                </not>
    7.90 +                <istrue value="${not.archive.disabled}"/>
    7.91 +            </or>
    7.92 +        </condition>
    7.93 +        <condition property="do.mkdist">
    7.94 +            <and>
    7.95 +                <isset property="do.archive"/>
    7.96 +                <isset property="libs.CopyLibs.classpath"/>
    7.97 +                <not>
    7.98 +                    <istrue value="${mkdist.disabled}"/>
    7.99 +                </not>
   7.100 +            </and>
   7.101 +        </condition>
   7.102 +        <condition property="do.archive+manifest.available">
   7.103 +            <and>
   7.104 +                <isset property="manifest.available"/>
   7.105 +                <istrue value="${do.archive}"/>
   7.106 +            </and>
   7.107 +        </condition>
   7.108 +        <condition property="do.archive+main.class.available">
   7.109 +            <and>
   7.110 +                <isset property="main.class.available"/>
   7.111 +                <istrue value="${do.archive}"/>
   7.112 +            </and>
   7.113 +        </condition>
   7.114 +        <condition property="do.archive+splashscreen.available">
   7.115 +            <and>
   7.116 +                <isset property="splashscreen.available"/>
   7.117 +                <istrue value="${do.archive}"/>
   7.118 +            </and>
   7.119 +        </condition>
   7.120 +        <condition property="do.archive+profile.available">
   7.121 +            <and>
   7.122 +                <isset property="profile.available"/>
   7.123 +                <istrue value="${do.archive}"/>
   7.124 +            </and>
   7.125 +        </condition>
   7.126 +        <condition property="have.tests">
   7.127 +            <or>
   7.128 +                <available file="${test.src.dir}"/>
   7.129 +            </or>
   7.130 +        </condition>
   7.131 +        <condition property="have.sources">
   7.132 +            <or>
   7.133 +                <available file="${src.dir}"/>
   7.134 +            </or>
   7.135 +        </condition>
   7.136 +        <condition property="netbeans.home+have.tests">
   7.137 +            <and>
   7.138 +                <isset property="netbeans.home"/>
   7.139 +                <isset property="have.tests"/>
   7.140 +            </and>
   7.141 +        </condition>
   7.142 +        <condition property="no.javadoc.preview">
   7.143 +            <and>
   7.144 +                <isset property="javadoc.preview"/>
   7.145 +                <isfalse value="${javadoc.preview}"/>
   7.146 +            </and>
   7.147 +        </condition>
   7.148 +        <property name="run.jvmargs" value=""/>
   7.149 +        <property name="run.jvmargs.ide" value=""/>
   7.150 +        <property name="javac.compilerargs" value=""/>
   7.151 +        <property name="work.dir" value="${basedir}"/>
   7.152 +        <condition property="no.deps">
   7.153 +            <and>
   7.154 +                <istrue value="${no.dependencies}"/>
   7.155 +            </and>
   7.156 +        </condition>
   7.157 +        <property name="javac.debug" value="true"/>
   7.158 +        <property name="javadoc.preview" value="true"/>
   7.159 +        <property name="application.args" value=""/>
   7.160 +        <property name="source.encoding" value="${file.encoding}"/>
   7.161 +        <property name="runtime.encoding" value="${source.encoding}"/>
   7.162 +        <condition property="javadoc.encoding.used" value="${javadoc.encoding}">
   7.163 +            <and>
   7.164 +                <isset property="javadoc.encoding"/>
   7.165 +                <not>
   7.166 +                    <equals arg1="${javadoc.encoding}" arg2=""/>
   7.167 +                </not>
   7.168 +            </and>
   7.169 +        </condition>
   7.170 +        <property name="javadoc.encoding.used" value="${source.encoding}"/>
   7.171 +        <property name="includes" value="**"/>
   7.172 +        <property name="excludes" value=""/>
   7.173 +        <property name="do.depend" value="false"/>
   7.174 +        <condition property="do.depend.true">
   7.175 +            <istrue value="${do.depend}"/>
   7.176 +        </condition>
   7.177 +        <path id="endorsed.classpath.path" path="${endorsed.classpath}"/>
   7.178 +        <condition else="" property="endorsed.classpath.cmd.line.arg" value="-Xbootclasspath/p:'${toString:endorsed.classpath.path}'">
   7.179 +            <and>
   7.180 +                <isset property="endorsed.classpath"/>
   7.181 +                <not>
   7.182 +                    <equals arg1="${endorsed.classpath}" arg2="" trim="true"/>
   7.183 +                </not>
   7.184 +            </and>
   7.185 +        </condition>
   7.186 +        <condition else="" property="javac.profile.cmd.line.arg" value="-profile ${javac.profile}">
   7.187 +            <isset property="profile.available"/>
   7.188 +        </condition>
   7.189 +        <condition else="false" property="jdkBug6558476">
   7.190 +            <and>
   7.191 +                <matches pattern="1\.[56]" string="${java.specification.version}"/>
   7.192 +                <not>
   7.193 +                    <os family="unix"/>
   7.194 +                </not>
   7.195 +            </and>
   7.196 +        </condition>
   7.197 +        <property name="javac.fork" value="${jdkBug6558476}"/>
   7.198 +        <property name="jar.index" value="false"/>
   7.199 +        <property name="jar.index.metainf" value="${jar.index}"/>
   7.200 +        <property name="copylibs.rebase" value="true"/>
   7.201 +        <available file="${meta.inf.dir}/persistence.xml" property="has.persistence.xml"/>
   7.202 +        <condition property="junit.available">
   7.203 +            <or>
   7.204 +                <available classname="org.junit.Test" classpath="${run.test.classpath}"/>
   7.205 +                <available classname="junit.framework.Test" classpath="${run.test.classpath}"/>
   7.206 +            </or>
   7.207 +        </condition>
   7.208 +        <condition property="testng.available">
   7.209 +            <available classname="org.testng.annotations.Test" classpath="${run.test.classpath}"/>
   7.210 +        </condition>
   7.211 +        <condition property="junit+testng.available">
   7.212 +            <and>
   7.213 +                <istrue value="${junit.available}"/>
   7.214 +                <istrue value="${testng.available}"/>
   7.215 +            </and>
   7.216 +        </condition>
   7.217 +        <condition else="testng" property="testng.mode" value="mixed">
   7.218 +            <istrue value="${junit+testng.available}"/>
   7.219 +        </condition>
   7.220 +        <condition else="" property="testng.debug.mode" value="-mixed">
   7.221 +            <istrue value="${junit+testng.available}"/>
   7.222 +        </condition>
   7.223 +    </target>
   7.224 +    <target name="-post-init">
   7.225 +        <!-- Empty placeholder for easier customization. -->
   7.226 +        <!-- You can override this target in the ../build.xml file. -->
   7.227 +    </target>
   7.228 +    <target depends="-pre-init,-init-private,-init-user,-init-project,-do-init" name="-init-check">
   7.229 +        <fail unless="src.dir">Must set src.dir</fail>
   7.230 +        <fail unless="test.src.dir">Must set test.src.dir</fail>
   7.231 +        <fail unless="build.dir">Must set build.dir</fail>
   7.232 +        <fail unless="dist.dir">Must set dist.dir</fail>
   7.233 +        <fail unless="build.classes.dir">Must set build.classes.dir</fail>
   7.234 +        <fail unless="dist.javadoc.dir">Must set dist.javadoc.dir</fail>
   7.235 +        <fail unless="build.test.classes.dir">Must set build.test.classes.dir</fail>
   7.236 +        <fail unless="build.test.results.dir">Must set build.test.results.dir</fail>
   7.237 +        <fail unless="build.classes.excludes">Must set build.classes.excludes</fail>
   7.238 +        <fail unless="dist.jar">Must set dist.jar</fail>
   7.239 +    </target>
   7.240 +    <target name="-init-macrodef-property">
   7.241 +        <macrodef name="property" uri="http://www.netbeans.org/ns/j2se-project/1">
   7.242 +            <attribute name="name"/>
   7.243 +            <attribute name="value"/>
   7.244 +            <sequential>
   7.245 +                <property name="@{name}" value="${@{value}}"/>
   7.246 +            </sequential>
   7.247 +        </macrodef>
   7.248 +    </target>
   7.249 +    <target depends="-init-ap-cmdline-properties" if="ap.supported.internal" name="-init-macrodef-javac-with-processors">
   7.250 +        <macrodef name="javac" uri="http://www.netbeans.org/ns/j2se-project/3">
   7.251 +            <attribute default="${src.dir}" name="srcdir"/>
   7.252 +            <attribute default="${build.classes.dir}" name="destdir"/>
   7.253 +            <attribute default="${javac.classpath}" name="classpath"/>
   7.254 +            <attribute default="${javac.processorpath}" name="processorpath"/>
   7.255 +            <attribute default="${build.generated.sources.dir}/ap-source-output" name="apgeneratedsrcdir"/>
   7.256 +            <attribute default="${includes}" name="includes"/>
   7.257 +            <attribute default="${excludes}" name="excludes"/>
   7.258 +            <attribute default="${javac.debug}" name="debug"/>
   7.259 +            <attribute default="${empty.dir}" name="sourcepath"/>
   7.260 +            <attribute default="${empty.dir}" name="gensrcdir"/>
   7.261 +            <element name="customize" optional="true"/>
   7.262 +            <sequential>
   7.263 +                <property location="${build.dir}/empty" name="empty.dir"/>
   7.264 +                <mkdir dir="${empty.dir}"/>
   7.265 +                <mkdir dir="@{apgeneratedsrcdir}"/>
   7.266 +                <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}">
   7.267 +                    <src>
   7.268 +                        <dirset dir="@{gensrcdir}" erroronmissingdir="false">
   7.269 +                            <include name="*"/>
   7.270 +                        </dirset>
   7.271 +                    </src>
   7.272 +                    <classpath>
   7.273 +                        <path path="@{classpath}"/>
   7.274 +                    </classpath>
   7.275 +                    <compilerarg line="${endorsed.classpath.cmd.line.arg}"/>
   7.276 +                    <compilerarg line="${javac.profile.cmd.line.arg}"/>
   7.277 +                    <compilerarg line="${javac.compilerargs}"/>
   7.278 +                    <compilerarg value="-processorpath"/>
   7.279 +                    <compilerarg path="@{processorpath}:${empty.dir}"/>
   7.280 +                    <compilerarg line="${ap.processors.internal}"/>
   7.281 +                    <compilerarg line="${annotation.processing.processor.options}"/>
   7.282 +                    <compilerarg value="-s"/>
   7.283 +                    <compilerarg path="@{apgeneratedsrcdir}"/>
   7.284 +                    <compilerarg line="${ap.proc.none.internal}"/>
   7.285 +                    <customize/>
   7.286 +                </javac>
   7.287 +            </sequential>
   7.288 +        </macrodef>
   7.289 +    </target>
   7.290 +    <target depends="-init-ap-cmdline-properties" name="-init-macrodef-javac-without-processors" unless="ap.supported.internal">
   7.291 +        <macrodef name="javac" uri="http://www.netbeans.org/ns/j2se-project/3">
   7.292 +            <attribute default="${src.dir}" name="srcdir"/>
   7.293 +            <attribute default="${build.classes.dir}" name="destdir"/>
   7.294 +            <attribute default="${javac.classpath}" name="classpath"/>
   7.295 +            <attribute default="${javac.processorpath}" name="processorpath"/>
   7.296 +            <attribute default="${build.generated.sources.dir}/ap-source-output" name="apgeneratedsrcdir"/>
   7.297 +            <attribute default="${includes}" name="includes"/>
   7.298 +            <attribute default="${excludes}" name="excludes"/>
   7.299 +            <attribute default="${javac.debug}" name="debug"/>
   7.300 +            <attribute default="${empty.dir}" name="sourcepath"/>
   7.301 +            <attribute default="${empty.dir}" name="gensrcdir"/>
   7.302 +            <element name="customize" optional="true"/>
   7.303 +            <sequential>
   7.304 +                <property location="${build.dir}/empty" name="empty.dir"/>
   7.305 +                <mkdir dir="${empty.dir}"/>
   7.306 +                <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}">
   7.307 +                    <src>
   7.308 +                        <dirset dir="@{gensrcdir}" erroronmissingdir="false">
   7.309 +                            <include name="*"/>
   7.310 +                        </dirset>
   7.311 +                    </src>
   7.312 +                    <classpath>
   7.313 +                        <path path="@{classpath}"/>
   7.314 +                    </classpath>
   7.315 +                    <compilerarg line="${endorsed.classpath.cmd.line.arg}"/>
   7.316 +                    <compilerarg line="${javac.profile.cmd.line.arg}"/>
   7.317 +                    <compilerarg line="${javac.compilerargs}"/>
   7.318 +                    <customize/>
   7.319 +                </javac>
   7.320 +            </sequential>
   7.321 +        </macrodef>
   7.322 +    </target>
   7.323 +    <target depends="-init-macrodef-javac-with-processors,-init-macrodef-javac-without-processors" name="-init-macrodef-javac">
   7.324 +        <macrodef name="depend" uri="http://www.netbeans.org/ns/j2se-project/3">
   7.325 +            <attribute default="${src.dir}" name="srcdir"/>
   7.326 +            <attribute default="${build.classes.dir}" name="destdir"/>
   7.327 +            <attribute default="${javac.classpath}" name="classpath"/>
   7.328 +            <sequential>
   7.329 +                <depend cache="${build.dir}/depcache" destdir="@{destdir}" excludes="${excludes}" includes="${includes}" srcdir="@{srcdir}">
   7.330 +                    <classpath>
   7.331 +                        <path path="@{classpath}"/>
   7.332 +                    </classpath>
   7.333 +                </depend>
   7.334 +            </sequential>
   7.335 +        </macrodef>
   7.336 +        <macrodef name="force-recompile" uri="http://www.netbeans.org/ns/j2se-project/3">
   7.337 +            <attribute default="${build.classes.dir}" name="destdir"/>
   7.338 +            <sequential>
   7.339 +                <fail unless="javac.includes">Must set javac.includes</fail>
   7.340 +                <pathconvert pathsep="${line.separator}" property="javac.includes.binary">
   7.341 +                    <path>
   7.342 +                        <filelist dir="@{destdir}" files="${javac.includes}"/>
   7.343 +                    </path>
   7.344 +                    <globmapper from="*.java" to="*.class"/>
   7.345 +                </pathconvert>
   7.346 +                <tempfile deleteonexit="true" property="javac.includesfile.binary"/>
   7.347 +                <echo file="${javac.includesfile.binary}" message="${javac.includes.binary}"/>
   7.348 +                <delete>
   7.349 +                    <files includesfile="${javac.includesfile.binary}"/>
   7.350 +                </delete>
   7.351 +                <delete>
   7.352 +                    <fileset file="${javac.includesfile.binary}"/>
   7.353 +                </delete>
   7.354 +            </sequential>
   7.355 +        </macrodef>
   7.356 +    </target>
   7.357 +    <target if="${junit.available}" name="-init-macrodef-junit-init">
   7.358 +        <condition else="false" property="nb.junit.batch" value="true">
   7.359 +            <and>
   7.360 +                <istrue value="${junit.available}"/>
   7.361 +                <not>
   7.362 +                    <isset property="test.method"/>
   7.363 +                </not>
   7.364 +            </and>
   7.365 +        </condition>
   7.366 +        <condition else="false" property="nb.junit.single" value="true">
   7.367 +            <and>
   7.368 +                <istrue value="${junit.available}"/>
   7.369 +                <isset property="test.method"/>
   7.370 +            </and>
   7.371 +        </condition>
   7.372 +    </target>
   7.373 +    <target name="-init-test-properties">
   7.374 +        <property name="test.binaryincludes" value="&lt;nothing&gt;"/>
   7.375 +        <property name="test.binarytestincludes" value=""/>
   7.376 +        <property name="test.binaryexcludes" value=""/>
   7.377 +    </target>
   7.378 +    <target if="${nb.junit.single}" name="-init-macrodef-junit-single" unless="${nb.junit.batch}">
   7.379 +        <macrodef name="junit" uri="http://www.netbeans.org/ns/j2se-project/3">
   7.380 +            <attribute default="${includes}" name="includes"/>
   7.381 +            <attribute default="${excludes}" name="excludes"/>
   7.382 +            <attribute default="**" name="testincludes"/>
   7.383 +            <attribute default="" name="testmethods"/>
   7.384 +            <element name="customize" optional="true"/>
   7.385 +            <sequential>
   7.386 +                <property name="junit.forkmode" value="perTest"/>
   7.387 +                <junit dir="${work.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" forkmode="${junit.forkmode}" showoutput="true" tempdir="${build.dir}">
   7.388 +                    <test methods="@{testmethods}" name="@{testincludes}" todir="${build.test.results.dir}"/>
   7.389 +                    <syspropertyset>
   7.390 +                        <propertyref prefix="test-sys-prop."/>
   7.391 +                        <mapper from="test-sys-prop.*" to="*" type="glob"/>
   7.392 +                    </syspropertyset>
   7.393 +                    <formatter type="brief" usefile="false"/>
   7.394 +                    <formatter type="xml"/>
   7.395 +                    <jvmarg value="-ea"/>
   7.396 +                    <customize/>
   7.397 +                </junit>
   7.398 +            </sequential>
   7.399 +        </macrodef>
   7.400 +    </target>
   7.401 +    <target depends="-init-test-properties" if="${nb.junit.batch}" name="-init-macrodef-junit-batch" unless="${nb.junit.single}">
   7.402 +        <macrodef name="junit" uri="http://www.netbeans.org/ns/j2se-project/3">
   7.403 +            <attribute default="${includes}" name="includes"/>
   7.404 +            <attribute default="${excludes}" name="excludes"/>
   7.405 +            <attribute default="**" name="testincludes"/>
   7.406 +            <attribute default="" name="testmethods"/>
   7.407 +            <element name="customize" optional="true"/>
   7.408 +            <sequential>
   7.409 +                <property name="junit.forkmode" value="perTest"/>
   7.410 +                <junit dir="${work.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" forkmode="${junit.forkmode}" showoutput="true" tempdir="${build.dir}">
   7.411 +                    <batchtest todir="${build.test.results.dir}">
   7.412 +                        <fileset dir="${test.src.dir}" excludes="@{excludes},${excludes}" includes="@{includes}">
   7.413 +                            <filename name="@{testincludes}"/>
   7.414 +                        </fileset>
   7.415 +                        <fileset dir="${build.test.classes.dir}" excludes="@{excludes},${excludes},${test.binaryexcludes}" includes="${test.binaryincludes}">
   7.416 +                            <filename name="${test.binarytestincludes}"/>
   7.417 +                        </fileset>
   7.418 +                    </batchtest>
   7.419 +                    <syspropertyset>
   7.420 +                        <propertyref prefix="test-sys-prop."/>
   7.421 +                        <mapper from="test-sys-prop.*" to="*" type="glob"/>
   7.422 +                    </syspropertyset>
   7.423 +                    <formatter type="brief" usefile="false"/>
   7.424 +                    <formatter type="xml"/>
   7.425 +                    <jvmarg value="-ea"/>
   7.426 +                    <customize/>
   7.427 +                </junit>
   7.428 +            </sequential>
   7.429 +        </macrodef>
   7.430 +    </target>
   7.431 +    <target depends="-init-macrodef-junit-init,-init-macrodef-junit-single, -init-macrodef-junit-batch" if="${junit.available}" name="-init-macrodef-junit"/>
   7.432 +    <target if="${testng.available}" name="-init-macrodef-testng">
   7.433 +        <macrodef name="testng" uri="http://www.netbeans.org/ns/j2se-project/3">
   7.434 +            <attribute default="${includes}" name="includes"/>
   7.435 +            <attribute default="${excludes}" name="excludes"/>
   7.436 +            <attribute default="**" name="testincludes"/>
   7.437 +            <attribute default="" name="testmethods"/>
   7.438 +            <element name="customize" optional="true"/>
   7.439 +            <sequential>
   7.440 +                <condition else="" property="testng.methods.arg" value="@{testincludes}.@{testmethods}">
   7.441 +                    <isset property="test.method"/>
   7.442 +                </condition>
   7.443 +                <union id="test.set">
   7.444 +                    <fileset dir="${test.src.dir}" excludes="@{excludes},**/*.xml,${excludes}" includes="@{includes}">
   7.445 +                        <filename name="@{testincludes}"/>
   7.446 +                    </fileset>
   7.447 +                </union>
   7.448 +                <taskdef classname="org.testng.TestNGAntTask" classpath="${run.test.classpath}" name="testng"/>
   7.449 +                <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="alt2xml-in-json" testname="TestNG tests" workingDir="${work.dir}">
   7.450 +                    <xmlfileset dir="${build.test.classes.dir}" includes="@{testincludes}"/>
   7.451 +                    <propertyset>
   7.452 +                        <propertyref prefix="test-sys-prop."/>
   7.453 +                        <mapper from="test-sys-prop.*" to="*" type="glob"/>
   7.454 +                    </propertyset>
   7.455 +                    <customize/>
   7.456 +                </testng>
   7.457 +            </sequential>
   7.458 +        </macrodef>
   7.459 +    </target>
   7.460 +    <target name="-init-macrodef-test-impl">
   7.461 +        <macrodef name="test-impl" uri="http://www.netbeans.org/ns/j2se-project/3">
   7.462 +            <attribute default="${includes}" name="includes"/>
   7.463 +            <attribute default="${excludes}" name="excludes"/>
   7.464 +            <attribute default="**" name="testincludes"/>
   7.465 +            <attribute default="" name="testmethods"/>
   7.466 +            <element implicit="true" name="customize" optional="true"/>
   7.467 +            <sequential>
   7.468 +                <echo>No tests executed.</echo>
   7.469 +            </sequential>
   7.470 +        </macrodef>
   7.471 +    </target>
   7.472 +    <target depends="-init-macrodef-junit" if="${junit.available}" name="-init-macrodef-junit-impl">
   7.473 +        <macrodef name="test-impl" uri="http://www.netbeans.org/ns/j2se-project/3">
   7.474 +            <attribute default="${includes}" name="includes"/>
   7.475 +            <attribute default="${excludes}" name="excludes"/>
   7.476 +            <attribute default="**" name="testincludes"/>
   7.477 +            <attribute default="" name="testmethods"/>
   7.478 +            <element implicit="true" name="customize" optional="true"/>
   7.479 +            <sequential>
   7.480 +                <j2seproject3:junit excludes="@{excludes}" includes="@{includes}" testincludes="@{testincludes}" testmethods="@{testmethods}">
   7.481 +                    <customize/>
   7.482 +                </j2seproject3:junit>
   7.483 +            </sequential>
   7.484 +        </macrodef>
   7.485 +    </target>
   7.486 +    <target depends="-init-macrodef-testng" if="${testng.available}" name="-init-macrodef-testng-impl">
   7.487 +        <macrodef name="test-impl" uri="http://www.netbeans.org/ns/j2se-project/3">
   7.488 +            <attribute default="${includes}" name="includes"/>
   7.489 +            <attribute default="${excludes}" name="excludes"/>
   7.490 +            <attribute default="**" name="testincludes"/>
   7.491 +            <attribute default="" name="testmethods"/>
   7.492 +            <element implicit="true" name="customize" optional="true"/>
   7.493 +            <sequential>
   7.494 +                <j2seproject3:testng excludes="@{excludes}" includes="@{includes}" testincludes="@{testincludes}" testmethods="@{testmethods}">
   7.495 +                    <customize/>
   7.496 +                </j2seproject3:testng>
   7.497 +            </sequential>
   7.498 +        </macrodef>
   7.499 +    </target>
   7.500 +    <target depends="-init-macrodef-test-impl,-init-macrodef-junit-impl,-init-macrodef-testng-impl" name="-init-macrodef-test">
   7.501 +        <macrodef name="test" uri="http://www.netbeans.org/ns/j2se-project/3">
   7.502 +            <attribute default="${includes}" name="includes"/>
   7.503 +            <attribute default="${excludes}" name="excludes"/>
   7.504 +            <attribute default="**" name="testincludes"/>
   7.505 +            <attribute default="" name="testmethods"/>
   7.506 +            <sequential>
   7.507 +                <j2seproject3:test-impl excludes="@{excludes}" includes="@{includes}" testincludes="@{testincludes}" testmethods="@{testmethods}">
   7.508 +                    <customize>
   7.509 +                        <classpath>
   7.510 +                            <path path="${run.test.classpath}"/>
   7.511 +                        </classpath>
   7.512 +                        <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
   7.513 +                        <jvmarg line="${run.jvmargs}"/>
   7.514 +                        <jvmarg line="${run.jvmargs.ide}"/>
   7.515 +                    </customize>
   7.516 +                </j2seproject3:test-impl>
   7.517 +            </sequential>
   7.518 +        </macrodef>
   7.519 +    </target>
   7.520 +    <target if="${junit.available}" name="-init-macrodef-junit-debug" unless="${nb.junit.batch}">
   7.521 +        <macrodef name="junit-debug" uri="http://www.netbeans.org/ns/j2se-project/3">
   7.522 +            <attribute default="${includes}" name="includes"/>
   7.523 +            <attribute default="${excludes}" name="excludes"/>
   7.524 +            <attribute default="**" name="testincludes"/>
   7.525 +            <attribute default="" name="testmethods"/>
   7.526 +            <element name="customize" optional="true"/>
   7.527 +            <sequential>
   7.528 +                <property name="junit.forkmode" value="perTest"/>
   7.529 +                <junit dir="${work.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" forkmode="${junit.forkmode}" showoutput="true" tempdir="${build.dir}">
   7.530 +                    <test methods="@{testmethods}" name="@{testincludes}" todir="${build.test.results.dir}"/>
   7.531 +                    <syspropertyset>
   7.532 +                        <propertyref prefix="test-sys-prop."/>
   7.533 +                        <mapper from="test-sys-prop.*" to="*" type="glob"/>
   7.534 +                    </syspropertyset>
   7.535 +                    <formatter type="brief" usefile="false"/>
   7.536 +                    <formatter type="xml"/>
   7.537 +                    <jvmarg value="-ea"/>
   7.538 +                    <jvmarg line="${debug-args-line}"/>
   7.539 +                    <jvmarg value="-Xrunjdwp:transport=${debug-transport},address=${jpda.address}"/>
   7.540 +                    <customize/>
   7.541 +                </junit>
   7.542 +            </sequential>
   7.543 +        </macrodef>
   7.544 +    </target>
   7.545 +    <target depends="-init-test-properties" if="${nb.junit.batch}" name="-init-macrodef-junit-debug-batch">
   7.546 +        <macrodef name="junit-debug" uri="http://www.netbeans.org/ns/j2se-project/3">
   7.547 +            <attribute default="${includes}" name="includes"/>
   7.548 +            <attribute default="${excludes}" name="excludes"/>
   7.549 +            <attribute default="**" name="testincludes"/>
   7.550 +            <attribute default="" name="testmethods"/>
   7.551 +            <element name="customize" optional="true"/>
   7.552 +            <sequential>
   7.553 +                <property name="junit.forkmode" value="perTest"/>
   7.554 +                <junit dir="${work.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" forkmode="${junit.forkmode}" showoutput="true" tempdir="${build.dir}">
   7.555 +                    <batchtest todir="${build.test.results.dir}">
   7.556 +                        <fileset dir="${test.src.dir}" excludes="@{excludes},${excludes}" includes="@{includes}">
   7.557 +                            <filename name="@{testincludes}"/>
   7.558 +                        </fileset>
   7.559 +                        <fileset dir="${build.test.classes.dir}" excludes="@{excludes},${excludes},${test.binaryexcludes}" includes="${test.binaryincludes}">
   7.560 +                            <filename name="${test.binarytestincludes}"/>
   7.561 +                        </fileset>
   7.562 +                    </batchtest>
   7.563 +                    <syspropertyset>
   7.564 +                        <propertyref prefix="test-sys-prop."/>
   7.565 +                        <mapper from="test-sys-prop.*" to="*" type="glob"/>
   7.566 +                    </syspropertyset>
   7.567 +                    <formatter type="brief" usefile="false"/>
   7.568 +                    <formatter type="xml"/>
   7.569 +                    <jvmarg value="-ea"/>
   7.570 +                    <jvmarg line="${debug-args-line}"/>
   7.571 +                    <jvmarg value="-Xrunjdwp:transport=${debug-transport},address=${jpda.address}"/>
   7.572 +                    <customize/>
   7.573 +                </junit>
   7.574 +            </sequential>
   7.575 +        </macrodef>
   7.576 +    </target>
   7.577 +    <target depends="-init-macrodef-junit-debug,-init-macrodef-junit-debug-batch" if="${junit.available}" name="-init-macrodef-junit-debug-impl">
   7.578 +        <macrodef name="test-debug-impl" uri="http://www.netbeans.org/ns/j2se-project/3">
   7.579 +            <attribute default="${includes}" name="includes"/>
   7.580 +            <attribute default="${excludes}" name="excludes"/>
   7.581 +            <attribute default="**" name="testincludes"/>
   7.582 +            <attribute default="" name="testmethods"/>
   7.583 +            <element implicit="true" name="customize" optional="true"/>
   7.584 +            <sequential>
   7.585 +                <j2seproject3:junit-debug excludes="@{excludes}" includes="@{includes}" testincludes="@{testincludes}" testmethods="@{testmethods}">
   7.586 +                    <customize/>
   7.587 +                </j2seproject3:junit-debug>
   7.588 +            </sequential>
   7.589 +        </macrodef>
   7.590 +    </target>
   7.591 +    <target if="${testng.available}" name="-init-macrodef-testng-debug">
   7.592 +        <macrodef name="testng-debug" uri="http://www.netbeans.org/ns/j2se-project/3">
   7.593 +            <attribute default="${main.class}" name="testClass"/>
   7.594 +            <attribute default="" name="testMethod"/>
   7.595 +            <element name="customize2" optional="true"/>
   7.596 +            <sequential>
   7.597 +                <condition else="-testclass @{testClass}" property="test.class.or.method" value="-methods @{testClass}.@{testMethod}">
   7.598 +                    <isset property="test.method"/>
   7.599 +                </condition>
   7.600 +                <condition else="-suitename alt2xml-in-json -testname @{testClass} ${test.class.or.method}" property="testng.cmd.args" value="@{testClass}">
   7.601 +                    <matches pattern=".*\.xml" string="@{testClass}"/>
   7.602 +                </condition>
   7.603 +                <delete dir="${build.test.results.dir}" quiet="true"/>
   7.604 +                <mkdir dir="${build.test.results.dir}"/>
   7.605 +                <j2seproject3:debug classname="org.testng.TestNG" classpath="${debug.test.classpath}">
   7.606 +                    <customize>
   7.607 +                        <customize2/>
   7.608 +                        <jvmarg value="-ea"/>
   7.609 +                        <arg line="${testng.debug.mode}"/>
   7.610 +                        <arg line="-d ${build.test.results.dir}"/>
   7.611 +                        <arg line="-listener org.testng.reporters.VerboseReporter"/>
   7.612 +                        <arg line="${testng.cmd.args}"/>
   7.613 +                    </customize>
   7.614 +                </j2seproject3:debug>
   7.615 +            </sequential>
   7.616 +        </macrodef>
   7.617 +    </target>
   7.618 +    <target depends="-init-macrodef-testng-debug" if="${testng.available}" name="-init-macrodef-testng-debug-impl">
   7.619 +        <macrodef name="testng-debug-impl" uri="http://www.netbeans.org/ns/j2se-project/3">
   7.620 +            <attribute default="${main.class}" name="testClass"/>
   7.621 +            <attribute default="" name="testMethod"/>
   7.622 +            <element implicit="true" name="customize2" optional="true"/>
   7.623 +            <sequential>
   7.624 +                <j2seproject3:testng-debug testClass="@{testClass}" testMethod="@{testMethod}">
   7.625 +                    <customize2/>
   7.626 +                </j2seproject3:testng-debug>
   7.627 +            </sequential>
   7.628 +        </macrodef>
   7.629 +    </target>
   7.630 +    <target depends="-init-macrodef-junit-debug-impl" if="${junit.available}" name="-init-macrodef-test-debug-junit">
   7.631 +        <macrodef name="test-debug" uri="http://www.netbeans.org/ns/j2se-project/3">
   7.632 +            <attribute default="${includes}" name="includes"/>
   7.633 +            <attribute default="${excludes}" name="excludes"/>
   7.634 +            <attribute default="**" name="testincludes"/>
   7.635 +            <attribute default="" name="testmethods"/>
   7.636 +            <attribute default="${main.class}" name="testClass"/>
   7.637 +            <attribute default="" name="testMethod"/>
   7.638 +            <sequential>
   7.639 +                <j2seproject3:test-debug-impl excludes="@{excludes}" includes="@{includes}" testincludes="@{testincludes}" testmethods="@{testmethods}">
   7.640 +                    <customize>
   7.641 +                        <classpath>
   7.642 +                            <path path="${run.test.classpath}"/>
   7.643 +                        </classpath>
   7.644 +                        <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
   7.645 +                        <jvmarg line="${run.jvmargs}"/>
   7.646 +                        <jvmarg line="${run.jvmargs.ide}"/>
   7.647 +                    </customize>
   7.648 +                </j2seproject3:test-debug-impl>
   7.649 +            </sequential>
   7.650 +        </macrodef>
   7.651 +    </target>
   7.652 +    <target depends="-init-macrodef-testng-debug-impl" if="${testng.available}" name="-init-macrodef-test-debug-testng">
   7.653 +        <macrodef name="test-debug" uri="http://www.netbeans.org/ns/j2se-project/3">
   7.654 +            <attribute default="${includes}" name="includes"/>
   7.655 +            <attribute default="${excludes}" name="excludes"/>
   7.656 +            <attribute default="**" name="testincludes"/>
   7.657 +            <attribute default="" name="testmethods"/>
   7.658 +            <attribute default="${main.class}" name="testClass"/>
   7.659 +            <attribute default="" name="testMethod"/>
   7.660 +            <sequential>
   7.661 +                <j2seproject3:testng-debug-impl testClass="@{testClass}" testMethod="@{testMethod}">
   7.662 +                    <customize2>
   7.663 +                        <syspropertyset>
   7.664 +                            <propertyref prefix="test-sys-prop."/>
   7.665 +                            <mapper from="test-sys-prop.*" to="*" type="glob"/>
   7.666 +                        </syspropertyset>
   7.667 +                    </customize2>
   7.668 +                </j2seproject3:testng-debug-impl>
   7.669 +            </sequential>
   7.670 +        </macrodef>
   7.671 +    </target>
   7.672 +    <target depends="-init-macrodef-test-debug-junit,-init-macrodef-test-debug-testng" name="-init-macrodef-test-debug"/>
   7.673 +    <!--
   7.674 +                pre NB7.2 profiling section; consider it deprecated
   7.675 +            -->
   7.676 +    <target depends="-profile-pre-init, init, -profile-post-init, -profile-init-macrodef-profile, -profile-init-check" if="profiler.info.jvmargs.agent" name="profile-init"/>
   7.677 +    <target if="profiler.info.jvmargs.agent" name="-profile-pre-init">
   7.678 +        <!-- Empty placeholder for easier customization. -->
   7.679 +        <!-- You can override this target in the ../build.xml file. -->
   7.680 +    </target>
   7.681 +    <target if="profiler.info.jvmargs.agent" name="-profile-post-init">
   7.682 +        <!-- Empty placeholder for easier customization. -->
   7.683 +        <!-- You can override this target in the ../build.xml file. -->
   7.684 +    </target>
   7.685 +    <target if="profiler.info.jvmargs.agent" name="-profile-init-macrodef-profile">
   7.686 +        <macrodef name="resolve">
   7.687 +            <attribute name="name"/>
   7.688 +            <attribute name="value"/>
   7.689 +            <sequential>
   7.690 +                <property name="@{name}" value="${env.@{value}}"/>
   7.691 +            </sequential>
   7.692 +        </macrodef>
   7.693 +        <macrodef name="profile">
   7.694 +            <attribute default="${main.class}" name="classname"/>
   7.695 +            <element name="customize" optional="true"/>
   7.696 +            <sequential>
   7.697 +                <property environment="env"/>
   7.698 +                <resolve name="profiler.current.path" value="${profiler.info.pathvar}"/>
   7.699 +                <java classname="@{classname}" dir="${profiler.info.dir}" fork="true" jvm="${profiler.info.jvm}">
   7.700 +                    <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
   7.701 +                    <jvmarg value="${profiler.info.jvmargs.agent}"/>
   7.702 +                    <jvmarg line="${profiler.info.jvmargs}"/>
   7.703 +                    <env key="${profiler.info.pathvar}" path="${profiler.info.agentpath}:${profiler.current.path}"/>
   7.704 +                    <arg line="${application.args}"/>
   7.705 +                    <classpath>
   7.706 +                        <path path="${run.classpath}"/>
   7.707 +                    </classpath>
   7.708 +                    <syspropertyset>
   7.709 +                        <propertyref prefix="run-sys-prop."/>
   7.710 +                        <mapper from="run-sys-prop.*" to="*" type="glob"/>
   7.711 +                    </syspropertyset>
   7.712 +                    <customize/>
   7.713 +                </java>
   7.714 +            </sequential>
   7.715 +        </macrodef>
   7.716 +    </target>
   7.717 +    <target depends="-profile-pre-init, init, -profile-post-init, -profile-init-macrodef-profile" if="profiler.info.jvmargs.agent" name="-profile-init-check">
   7.718 +        <fail unless="profiler.info.jvm">Must set JVM to use for profiling in profiler.info.jvm</fail>
   7.719 +        <fail unless="profiler.info.jvmargs.agent">Must set profiler agent JVM arguments in profiler.info.jvmargs.agent</fail>
   7.720 +    </target>
   7.721 +    <!--
   7.722 +                end of pre NB7.2 profiling section
   7.723 +            -->
   7.724 +    <target depends="-init-debug-args" name="-init-macrodef-nbjpda">
   7.725 +        <macrodef name="nbjpdastart" uri="http://www.netbeans.org/ns/j2se-project/1">
   7.726 +            <attribute default="${main.class}" name="name"/>
   7.727 +            <attribute default="${debug.classpath}" name="classpath"/>
   7.728 +            <attribute default="" name="stopclassname"/>
   7.729 +            <sequential>
   7.730 +                <nbjpdastart addressproperty="jpda.address" name="@{name}" stopclassname="@{stopclassname}" transport="${debug-transport}">
   7.731 +                    <classpath>
   7.732 +                        <path path="@{classpath}"/>
   7.733 +                    </classpath>
   7.734 +                </nbjpdastart>
   7.735 +            </sequential>
   7.736 +        </macrodef>
   7.737 +        <macrodef name="nbjpdareload" uri="http://www.netbeans.org/ns/j2se-project/1">
   7.738 +            <attribute default="${build.classes.dir}" name="dir"/>
   7.739 +            <sequential>
   7.740 +                <nbjpdareload>
   7.741 +                    <fileset dir="@{dir}" includes="${fix.classes}">
   7.742 +                        <include name="${fix.includes}*.class"/>
   7.743 +                    </fileset>
   7.744 +                </nbjpdareload>
   7.745 +            </sequential>
   7.746 +        </macrodef>
   7.747 +    </target>
   7.748 +    <target name="-init-debug-args">
   7.749 +        <property name="version-output" value="java version &quot;${ant.java.version}"/>
   7.750 +        <condition property="have-jdk-older-than-1.4">
   7.751 +            <or>
   7.752 +                <contains string="${version-output}" substring="java version &quot;1.0"/>
   7.753 +                <contains string="${version-output}" substring="java version &quot;1.1"/>
   7.754 +                <contains string="${version-output}" substring="java version &quot;1.2"/>
   7.755 +                <contains string="${version-output}" substring="java version &quot;1.3"/>
   7.756 +            </or>
   7.757 +        </condition>
   7.758 +        <condition else="-Xdebug" property="debug-args-line" value="-Xdebug -Xnoagent -Djava.compiler=none">
   7.759 +            <istrue value="${have-jdk-older-than-1.4}"/>
   7.760 +        </condition>
   7.761 +        <condition else="dt_socket" property="debug-transport-by-os" value="dt_shmem">
   7.762 +            <os family="windows"/>
   7.763 +        </condition>
   7.764 +        <condition else="${debug-transport-by-os}" property="debug-transport" value="${debug.transport}">
   7.765 +            <isset property="debug.transport"/>
   7.766 +        </condition>
   7.767 +    </target>
   7.768 +    <target depends="-init-debug-args" name="-init-macrodef-debug">
   7.769 +        <macrodef name="debug" uri="http://www.netbeans.org/ns/j2se-project/3">
   7.770 +            <attribute default="${main.class}" name="classname"/>
   7.771 +            <attribute default="${debug.classpath}" name="classpath"/>
   7.772 +            <element name="customize" optional="true"/>
   7.773 +            <sequential>
   7.774 +                <java classname="@{classname}" dir="${work.dir}" fork="true">
   7.775 +                    <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
   7.776 +                    <jvmarg line="${debug-args-line}"/>
   7.777 +                    <jvmarg value="-Xrunjdwp:transport=${debug-transport},address=${jpda.address}"/>
   7.778 +                    <jvmarg value="-Dfile.encoding=${runtime.encoding}"/>
   7.779 +                    <redirector errorencoding="${runtime.encoding}" inputencoding="${runtime.encoding}" outputencoding="${runtime.encoding}"/>
   7.780 +                    <jvmarg line="${run.jvmargs}"/>
   7.781 +                    <jvmarg line="${run.jvmargs.ide}"/>
   7.782 +                    <classpath>
   7.783 +                        <path path="@{classpath}"/>
   7.784 +                    </classpath>
   7.785 +                    <syspropertyset>
   7.786 +                        <propertyref prefix="run-sys-prop."/>
   7.787 +                        <mapper from="run-sys-prop.*" to="*" type="glob"/>
   7.788 +                    </syspropertyset>
   7.789 +                    <customize/>
   7.790 +                </java>
   7.791 +            </sequential>
   7.792 +        </macrodef>
   7.793 +    </target>
   7.794 +    <target name="-init-macrodef-java">
   7.795 +        <macrodef name="java" uri="http://www.netbeans.org/ns/j2se-project/1">
   7.796 +            <attribute default="${main.class}" name="classname"/>
   7.797 +            <attribute default="${run.classpath}" name="classpath"/>
   7.798 +            <attribute default="jvm" name="jvm"/>
   7.799 +            <element name="customize" optional="true"/>
   7.800 +            <sequential>
   7.801 +                <java classname="@{classname}" dir="${work.dir}" fork="true">
   7.802 +                    <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
   7.803 +                    <jvmarg value="-Dfile.encoding=${runtime.encoding}"/>
   7.804 +                    <redirector errorencoding="${runtime.encoding}" inputencoding="${runtime.encoding}" outputencoding="${runtime.encoding}"/>
   7.805 +                    <jvmarg line="${run.jvmargs}"/>
   7.806 +                    <jvmarg line="${run.jvmargs.ide}"/>
   7.807 +                    <classpath>
   7.808 +                        <path path="@{classpath}"/>
   7.809 +                    </classpath>
   7.810 +                    <syspropertyset>
   7.811 +                        <propertyref prefix="run-sys-prop."/>
   7.812 +                        <mapper from="run-sys-prop.*" to="*" type="glob"/>
   7.813 +                    </syspropertyset>
   7.814 +                    <customize/>
   7.815 +                </java>
   7.816 +            </sequential>
   7.817 +        </macrodef>
   7.818 +    </target>
   7.819 +    <target name="-init-macrodef-copylibs">
   7.820 +        <macrodef name="copylibs" uri="http://www.netbeans.org/ns/j2se-project/3">
   7.821 +            <attribute default="${manifest.file}" name="manifest"/>
   7.822 +            <element name="customize" optional="true"/>
   7.823 +            <sequential>
   7.824 +                <property location="${build.classes.dir}" name="build.classes.dir.resolved"/>
   7.825 +                <pathconvert property="run.classpath.without.build.classes.dir">
   7.826 +                    <path path="${run.classpath}"/>
   7.827 +                    <map from="${build.classes.dir.resolved}" to=""/>
   7.828 +                </pathconvert>
   7.829 +                <pathconvert pathsep=" " property="jar.classpath">
   7.830 +                    <path path="${run.classpath.without.build.classes.dir}"/>
   7.831 +                    <chainedmapper>
   7.832 +                        <flattenmapper/>
   7.833 +                        <filtermapper>
   7.834 +                            <replacestring from=" " to="%20"/>
   7.835 +                        </filtermapper>
   7.836 +                        <globmapper from="*" to="lib/*"/>
   7.837 +                    </chainedmapper>
   7.838 +                </pathconvert>
   7.839 +                <taskdef classname="org.netbeans.modules.java.j2seproject.copylibstask.CopyLibs" classpath="${libs.CopyLibs.classpath}" name="copylibs"/>
   7.840 +                <copylibs compress="${jar.compress}" excludeFromCopy="${copylibs.excludes}" index="${jar.index}" indexMetaInf="${jar.index.metainf}" jarfile="${dist.jar}" manifest="@{manifest}" rebase="${copylibs.rebase}" runtimeclasspath="${run.classpath.without.build.classes.dir}">
   7.841 +                    <fileset dir="${build.classes.dir}" excludes="${dist.archive.excludes}"/>
   7.842 +                    <manifest>
   7.843 +                        <attribute name="Class-Path" value="${jar.classpath}"/>
   7.844 +                        <customize/>
   7.845 +                    </manifest>
   7.846 +                </copylibs>
   7.847 +            </sequential>
   7.848 +        </macrodef>
   7.849 +    </target>
   7.850 +    <target name="-init-presetdef-jar">
   7.851 +        <presetdef name="jar" uri="http://www.netbeans.org/ns/j2se-project/1">
   7.852 +            <jar compress="${jar.compress}" index="${jar.index}" jarfile="${dist.jar}">
   7.853 +                <j2seproject1:fileset dir="${build.classes.dir}" excludes="${dist.archive.excludes}"/>
   7.854 +            </jar>
   7.855 +        </presetdef>
   7.856 +    </target>
   7.857 +    <target name="-init-ap-cmdline-properties">
   7.858 +        <property name="annotation.processing.enabled" value="true"/>
   7.859 +        <property name="annotation.processing.processors.list" value=""/>
   7.860 +        <property name="annotation.processing.processor.options" value=""/>
   7.861 +        <property name="annotation.processing.run.all.processors" value="true"/>
   7.862 +        <property name="javac.processorpath" value="${javac.classpath}"/>
   7.863 +        <property name="javac.test.processorpath" value="${javac.test.classpath}"/>
   7.864 +        <condition property="ap.supported.internal" value="true">
   7.865 +            <not>
   7.866 +                <matches pattern="1\.[0-5](\..*)?" string="${javac.source}"/>
   7.867 +            </not>
   7.868 +        </condition>
   7.869 +    </target>
   7.870 +    <target depends="-init-ap-cmdline-properties" if="ap.supported.internal" name="-init-ap-cmdline-supported">
   7.871 +        <condition else="" property="ap.processors.internal" value="-processor ${annotation.processing.processors.list}">
   7.872 +            <isfalse value="${annotation.processing.run.all.processors}"/>
   7.873 +        </condition>
   7.874 +        <condition else="" property="ap.proc.none.internal" value="-proc:none">
   7.875 +            <isfalse value="${annotation.processing.enabled}"/>
   7.876 +        </condition>
   7.877 +    </target>
   7.878 +    <target depends="-init-ap-cmdline-properties,-init-ap-cmdline-supported" name="-init-ap-cmdline">
   7.879 +        <property name="ap.cmd.line.internal" value=""/>
   7.880 +    </target>
   7.881 +    <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"/>
   7.882 +    <!--
   7.883 +                ===================
   7.884 +                COMPILATION SECTION
   7.885 +                ===================
   7.886 +            -->
   7.887 +    <target name="-deps-jar-init" unless="built-jar.properties">
   7.888 +        <property location="${build.dir}/built-jar.properties" name="built-jar.properties"/>
   7.889 +        <delete file="${built-jar.properties}" quiet="true"/>
   7.890 +    </target>
   7.891 +    <target if="already.built.jar.${basedir}" name="-warn-already-built-jar">
   7.892 +        <echo level="warn" message="Cycle detected: alt2xml-in-json was already built"/>
   7.893 +    </target>
   7.894 +    <target depends="init,-deps-jar-init" name="deps-jar" unless="no.deps">
   7.895 +        <mkdir dir="${build.dir}"/>
   7.896 +        <touch file="${built-jar.properties}" verbose="false"/>
   7.897 +        <property file="${built-jar.properties}" prefix="already.built.jar."/>
   7.898 +        <antcall target="-warn-already-built-jar"/>
   7.899 +        <propertyfile file="${built-jar.properties}">
   7.900 +            <entry key="${basedir}" value=""/>
   7.901 +        </propertyfile>
   7.902 +        <antcall target="-maybe-call-dep">
   7.903 +            <param name="call.built.properties" value="${built-jar.properties}"/>
   7.904 +            <param location="${project.alt2xml-lib}" name="call.subproject"/>
   7.905 +            <param location="${project.alt2xml-lib}/build.xml" name="call.script"/>
   7.906 +            <param name="call.target" value="jar"/>
   7.907 +            <param name="transfer.built-jar.properties" value="${built-jar.properties}"/>
   7.908 +            <param name="transfer.not.archive.disabled" value="true"/>
   7.909 +        </antcall>
   7.910 +    </target>
   7.911 +    <target depends="init,-check-automatic-build,-clean-after-automatic-build" name="-verify-automatic-build"/>
   7.912 +    <target depends="init" name="-check-automatic-build">
   7.913 +        <available file="${build.classes.dir}/.netbeans_automatic_build" property="netbeans.automatic.build"/>
   7.914 +    </target>
   7.915 +    <target depends="init" if="netbeans.automatic.build" name="-clean-after-automatic-build">
   7.916 +        <antcall target="clean"/>
   7.917 +    </target>
   7.918 +    <target depends="init,deps-jar" name="-pre-pre-compile">
   7.919 +        <mkdir dir="${build.classes.dir}"/>
   7.920 +    </target>
   7.921 +    <target name="-pre-compile">
   7.922 +        <!-- Empty placeholder for easier customization. -->
   7.923 +        <!-- You can override this target in the ../build.xml file. -->
   7.924 +    </target>
   7.925 +    <target if="do.depend.true" name="-compile-depend">
   7.926 +        <pathconvert property="build.generated.subdirs">
   7.927 +            <dirset dir="${build.generated.sources.dir}" erroronmissingdir="false">
   7.928 +                <include name="*"/>
   7.929 +            </dirset>
   7.930 +        </pathconvert>
   7.931 +        <j2seproject3:depend srcdir="${src.dir}:${build.generated.subdirs}"/>
   7.932 +    </target>
   7.933 +    <target depends="init,deps-jar,-pre-pre-compile,-pre-compile, -copy-persistence-xml,-compile-depend" if="have.sources" name="-do-compile">
   7.934 +        <j2seproject3:javac gensrcdir="${build.generated.sources.dir}"/>
   7.935 +        <copy todir="${build.classes.dir}">
   7.936 +            <fileset dir="${src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
   7.937 +        </copy>
   7.938 +    </target>
   7.939 +    <target if="has.persistence.xml" name="-copy-persistence-xml">
   7.940 +        <mkdir dir="${build.classes.dir}/META-INF"/>
   7.941 +        <copy todir="${build.classes.dir}/META-INF">
   7.942 +            <fileset dir="${meta.inf.dir}" includes="persistence.xml orm.xml"/>
   7.943 +        </copy>
   7.944 +    </target>
   7.945 +    <target name="-post-compile">
   7.946 +        <!-- Empty placeholder for easier customization. -->
   7.947 +        <!-- You can override this target in the ../build.xml file. -->
   7.948 +    </target>
   7.949 +    <target depends="init,deps-jar,-verify-automatic-build,-pre-pre-compile,-pre-compile,-do-compile,-post-compile" description="Compile project." name="compile"/>
   7.950 +    <target name="-pre-compile-single">
   7.951 +        <!-- Empty placeholder for easier customization. -->
   7.952 +        <!-- You can override this target in the ../build.xml file. -->
   7.953 +    </target>
   7.954 +    <target depends="init,deps-jar,-pre-pre-compile" name="-do-compile-single">
   7.955 +        <fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail>
   7.956 +        <j2seproject3:force-recompile/>
   7.957 +        <j2seproject3:javac excludes="" gensrcdir="${build.generated.sources.dir}" includes="${javac.includes}" sourcepath="${src.dir}"/>
   7.958 +    </target>
   7.959 +    <target name="-post-compile-single">
   7.960 +        <!-- Empty placeholder for easier customization. -->
   7.961 +        <!-- You can override this target in the ../build.xml file. -->
   7.962 +    </target>
   7.963 +    <target depends="init,deps-jar,-verify-automatic-build,-pre-pre-compile,-pre-compile-single,-do-compile-single,-post-compile-single" name="compile-single"/>
   7.964 +    <!--
   7.965 +                ====================
   7.966 +                JAR BUILDING SECTION
   7.967 +                ====================
   7.968 +            -->
   7.969 +    <target depends="init" name="-pre-pre-jar">
   7.970 +        <dirname file="${dist.jar}" property="dist.jar.dir"/>
   7.971 +        <mkdir dir="${dist.jar.dir}"/>
   7.972 +    </target>
   7.973 +    <target name="-pre-jar">
   7.974 +        <!-- Empty placeholder for easier customization. -->
   7.975 +        <!-- You can override this target in the ../build.xml file. -->
   7.976 +    </target>
   7.977 +    <target depends="init" if="do.archive" name="-do-jar-create-manifest" unless="manifest.available">
   7.978 +        <tempfile deleteonexit="true" destdir="${build.dir}" property="tmp.manifest.file"/>
   7.979 +        <touch file="${tmp.manifest.file}" verbose="false"/>
   7.980 +    </target>
   7.981 +    <target depends="init" if="do.archive+manifest.available" name="-do-jar-copy-manifest">
   7.982 +        <tempfile deleteonexit="true" destdir="${build.dir}" property="tmp.manifest.file"/>
   7.983 +        <copy file="${manifest.file}" tofile="${tmp.manifest.file}"/>
   7.984 +    </target>
   7.985 +    <target depends="init,-do-jar-create-manifest,-do-jar-copy-manifest" if="do.archive+main.class.available" name="-do-jar-set-mainclass">
   7.986 +        <manifest file="${tmp.manifest.file}" mode="update">
   7.987 +            <attribute name="Main-Class" value="${main.class}"/>
   7.988 +        </manifest>
   7.989 +    </target>
   7.990 +    <target depends="init,-do-jar-create-manifest,-do-jar-copy-manifest" if="do.archive+profile.available" name="-do-jar-set-profile">
   7.991 +        <manifest file="${tmp.manifest.file}" mode="update">
   7.992 +            <attribute name="Profile" value="${javac.profile}"/>
   7.993 +        </manifest>
   7.994 +    </target>
   7.995 +    <target depends="init,-do-jar-create-manifest,-do-jar-copy-manifest" if="do.archive+splashscreen.available" name="-do-jar-set-splashscreen">
   7.996 +        <basename file="${application.splash}" property="splashscreen.basename"/>
   7.997 +        <mkdir dir="${build.classes.dir}/META-INF"/>
   7.998 +        <copy failonerror="false" file="${application.splash}" todir="${build.classes.dir}/META-INF"/>
   7.999 +        <manifest file="${tmp.manifest.file}" mode="update">
  7.1000 +            <attribute name="SplashScreen-Image" value="META-INF/${splashscreen.basename}"/>
  7.1001 +        </manifest>
  7.1002 +    </target>
  7.1003 +    <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">
  7.1004 +        <j2seproject3:copylibs manifest="${tmp.manifest.file}"/>
  7.1005 +        <echo level="info">To run this application from the command line without Ant, try:</echo>
  7.1006 +        <property location="${dist.jar}" name="dist.jar.resolved"/>
  7.1007 +        <echo level="info">java -jar "${dist.jar.resolved}"</echo>
  7.1008 +    </target>
  7.1009 +    <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">
  7.1010 +        <j2seproject1:jar manifest="${tmp.manifest.file}"/>
  7.1011 +        <property location="${build.classes.dir}" name="build.classes.dir.resolved"/>
  7.1012 +        <property location="${dist.jar}" name="dist.jar.resolved"/>
  7.1013 +        <pathconvert property="run.classpath.with.dist.jar">
  7.1014 +            <path path="${run.classpath}"/>
  7.1015 +            <map from="${build.classes.dir.resolved}" to="${dist.jar.resolved}"/>
  7.1016 +        </pathconvert>
  7.1017 +        <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}">
  7.1018 +            <isset property="main.class.available"/>
  7.1019 +        </condition>
  7.1020 +        <condition else="debug" property="jar.usage.level" value="info">
  7.1021 +            <isset property="main.class.available"/>
  7.1022 +        </condition>
  7.1023 +        <echo level="${jar.usage.level}" message="${jar.usage.message}"/>
  7.1024 +    </target>
  7.1025 +    <target depends="-do-jar-copylibs" if="do.archive" name="-do-jar-delete-manifest">
  7.1026 +        <delete>
  7.1027 +            <fileset file="${tmp.manifest.file}"/>
  7.1028 +        </delete>
  7.1029 +    </target>
  7.1030 +    <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"/>
  7.1031 +    <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"/>
  7.1032 +    <target name="-post-jar">
  7.1033 +        <!-- Empty placeholder for easier customization. -->
  7.1034 +        <!-- You can override this target in the ../build.xml file. -->
  7.1035 +    </target>
  7.1036 +    <target depends="init,compile,-pre-jar,-do-jar-without-libraries,-do-jar-with-libraries,-post-jar" name="-do-jar"/>
  7.1037 +    <target depends="init,compile,-pre-jar,-do-jar,-post-jar" description="Build JAR." name="jar"/>
  7.1038 +    <!--
  7.1039 +                =================
  7.1040 +                EXECUTION SECTION
  7.1041 +                =================
  7.1042 +            -->
  7.1043 +    <target depends="init,compile" description="Run a main class." name="run">
  7.1044 +        <j2seproject1:java>
  7.1045 +            <customize>
  7.1046 +                <arg line="${application.args}"/>
  7.1047 +            </customize>
  7.1048 +        </j2seproject1:java>
  7.1049 +    </target>
  7.1050 +    <target name="-do-not-recompile">
  7.1051 +        <property name="javac.includes.binary" value=""/>
  7.1052 +    </target>
  7.1053 +    <target depends="init,compile-single" name="run-single">
  7.1054 +        <fail unless="run.class">Must select one file in the IDE or set run.class</fail>
  7.1055 +        <j2seproject1:java classname="${run.class}"/>
  7.1056 +    </target>
  7.1057 +    <target depends="init,compile-test-single" name="run-test-with-main">
  7.1058 +        <fail unless="run.class">Must select one file in the IDE or set run.class</fail>
  7.1059 +        <j2seproject1:java classname="${run.class}" classpath="${run.test.classpath}"/>
  7.1060 +    </target>
  7.1061 +    <!--
  7.1062 +                =================
  7.1063 +                DEBUGGING SECTION
  7.1064 +                =================
  7.1065 +            -->
  7.1066 +    <target depends="init" if="netbeans.home" name="-debug-start-debugger">
  7.1067 +        <j2seproject1:nbjpdastart name="${debug.class}"/>
  7.1068 +    </target>
  7.1069 +    <target depends="init" if="netbeans.home" name="-debug-start-debugger-main-test">
  7.1070 +        <j2seproject1:nbjpdastart classpath="${debug.test.classpath}" name="${debug.class}"/>
  7.1071 +    </target>
  7.1072 +    <target depends="init,compile" name="-debug-start-debuggee">
  7.1073 +        <j2seproject3:debug>
  7.1074 +            <customize>
  7.1075 +                <arg line="${application.args}"/>
  7.1076 +            </customize>
  7.1077 +        </j2seproject3:debug>
  7.1078 +    </target>
  7.1079 +    <target depends="init,compile,-debug-start-debugger,-debug-start-debuggee" description="Debug project in IDE." if="netbeans.home" name="debug"/>
  7.1080 +    <target depends="init" if="netbeans.home" name="-debug-start-debugger-stepinto">
  7.1081 +        <j2seproject1:nbjpdastart stopclassname="${main.class}"/>
  7.1082 +    </target>
  7.1083 +    <target depends="init,compile,-debug-start-debugger-stepinto,-debug-start-debuggee" if="netbeans.home" name="debug-stepinto"/>
  7.1084 +    <target depends="init,compile-single" if="netbeans.home" name="-debug-start-debuggee-single">
  7.1085 +        <fail unless="debug.class">Must select one file in the IDE or set debug.class</fail>
  7.1086 +        <j2seproject3:debug classname="${debug.class}"/>
  7.1087 +    </target>
  7.1088 +    <target depends="init,compile-single,-debug-start-debugger,-debug-start-debuggee-single" if="netbeans.home" name="debug-single"/>
  7.1089 +    <target depends="init,compile-test-single" if="netbeans.home" name="-debug-start-debuggee-main-test">
  7.1090 +        <fail unless="debug.class">Must select one file in the IDE or set debug.class</fail>
  7.1091 +        <j2seproject3:debug classname="${debug.class}" classpath="${debug.test.classpath}"/>
  7.1092 +    </target>
  7.1093 +    <target depends="init,compile-test-single,-debug-start-debugger-main-test,-debug-start-debuggee-main-test" if="netbeans.home" name="debug-test-with-main"/>
  7.1094 +    <target depends="init" name="-pre-debug-fix">
  7.1095 +        <fail unless="fix.includes">Must set fix.includes</fail>
  7.1096 +        <property name="javac.includes" value="${fix.includes}.java"/>
  7.1097 +    </target>
  7.1098 +    <target depends="init,-pre-debug-fix,compile-single" if="netbeans.home" name="-do-debug-fix">
  7.1099 +        <j2seproject1:nbjpdareload/>
  7.1100 +    </target>
  7.1101 +    <target depends="init,-pre-debug-fix,-do-debug-fix" if="netbeans.home" name="debug-fix"/>
  7.1102 +    <!--
  7.1103 +                =================
  7.1104 +                PROFILING SECTION
  7.1105 +                =================
  7.1106 +            -->
  7.1107 +    <!--
  7.1108 +                pre NB7.2 profiler integration
  7.1109 +            -->
  7.1110 +    <target depends="profile-init,compile" description="Profile a project in the IDE." if="profiler.info.jvmargs.agent" name="-profile-pre72">
  7.1111 +        <fail unless="netbeans.home">This target only works when run from inside the NetBeans IDE.</fail>
  7.1112 +        <nbprofiledirect>
  7.1113 +            <classpath>
  7.1114 +                <path path="${run.classpath}"/>
  7.1115 +            </classpath>
  7.1116 +        </nbprofiledirect>
  7.1117 +        <profile/>
  7.1118 +    </target>
  7.1119 +    <target depends="profile-init,compile-single" description="Profile a selected class in the IDE." if="profiler.info.jvmargs.agent" name="-profile-single-pre72">
  7.1120 +        <fail unless="profile.class">Must select one file in the IDE or set profile.class</fail>
  7.1121 +        <fail unless="netbeans.home">This target only works when run from inside the NetBeans IDE.</fail>
  7.1122 +        <nbprofiledirect>
  7.1123 +            <classpath>
  7.1124 +                <path path="${run.classpath}"/>
  7.1125 +            </classpath>
  7.1126 +        </nbprofiledirect>
  7.1127 +        <profile classname="${profile.class}"/>
  7.1128 +    </target>
  7.1129 +    <target depends="profile-init,compile-single" if="profiler.info.jvmargs.agent" name="-profile-applet-pre72">
  7.1130 +        <fail unless="netbeans.home">This target only works when run from inside the NetBeans IDE.</fail>
  7.1131 +        <nbprofiledirect>
  7.1132 +            <classpath>
  7.1133 +                <path path="${run.classpath}"/>
  7.1134 +            </classpath>
  7.1135 +        </nbprofiledirect>
  7.1136 +        <profile classname="sun.applet.AppletViewer">
  7.1137 +            <customize>
  7.1138 +                <arg value="${applet.url}"/>
  7.1139 +            </customize>
  7.1140 +        </profile>
  7.1141 +    </target>
  7.1142 +    <target depends="profile-init,compile-test-single" if="profiler.info.jvmargs.agent" name="-profile-test-single-pre72">
  7.1143 +        <fail unless="netbeans.home">This target only works when run from inside the NetBeans IDE.</fail>
  7.1144 +        <nbprofiledirect>
  7.1145 +            <classpath>
  7.1146 +                <path path="${run.test.classpath}"/>
  7.1147 +            </classpath>
  7.1148 +        </nbprofiledirect>
  7.1149 +        <junit dir="${profiler.info.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" jvm="${profiler.info.jvm}" showoutput="true">
  7.1150 +            <env key="${profiler.info.pathvar}" path="${profiler.info.agentpath}:${profiler.current.path}"/>
  7.1151 +            <jvmarg value="${profiler.info.jvmargs.agent}"/>
  7.1152 +            <jvmarg line="${profiler.info.jvmargs}"/>
  7.1153 +            <test name="${profile.class}"/>
  7.1154 +            <classpath>
  7.1155 +                <path path="${run.test.classpath}"/>
  7.1156 +            </classpath>
  7.1157 +            <syspropertyset>
  7.1158 +                <propertyref prefix="test-sys-prop."/>
  7.1159 +                <mapper from="test-sys-prop.*" to="*" type="glob"/>
  7.1160 +            </syspropertyset>
  7.1161 +            <formatter type="brief" usefile="false"/>
  7.1162 +            <formatter type="xml"/>
  7.1163 +        </junit>
  7.1164 +    </target>
  7.1165 +    <!--
  7.1166 +                end of pre NB72 profiling section
  7.1167 +            -->
  7.1168 +    <target if="netbeans.home" name="-profile-check">
  7.1169 +        <condition property="profiler.configured">
  7.1170 +            <or>
  7.1171 +                <contains casesensitive="true" string="${run.jvmargs.ide}" substring="-agentpath:"/>
  7.1172 +                <contains casesensitive="true" string="${run.jvmargs.ide}" substring="-javaagent:"/>
  7.1173 +            </or>
  7.1174 +        </condition>
  7.1175 +    </target>
  7.1176 +    <target depends="-profile-check,-profile-pre72" description="Profile a project in the IDE." if="profiler.configured" name="profile" unless="profiler.info.jvmargs.agent">
  7.1177 +        <startprofiler/>
  7.1178 +        <antcall target="run"/>
  7.1179 +    </target>
  7.1180 +    <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">
  7.1181 +        <fail unless="run.class">Must select one file in the IDE or set run.class</fail>
  7.1182 +        <startprofiler/>
  7.1183 +        <antcall target="run-single"/>
  7.1184 +    </target>
  7.1185 +    <target depends="-profile-test-single-pre72" description="Profile a selected test in the IDE." name="profile-test-single"/>
  7.1186 +    <target depends="-profile-check" description="Profile a selected test in the IDE." if="profiler.configured" name="profile-test" unless="profiler.info.jvmargs">
  7.1187 +        <fail unless="test.includes">Must select some files in the IDE or set test.includes</fail>
  7.1188 +        <startprofiler/>
  7.1189 +        <antcall target="test-single"/>
  7.1190 +    </target>
  7.1191 +    <target depends="-profile-check" description="Profile a selected class in the IDE." if="profiler.configured" name="profile-test-with-main">
  7.1192 +        <fail unless="run.class">Must select one file in the IDE or set run.class</fail>
  7.1193 +        <startprofiler/>
  7.1194 +        <antcal target="run-test-with-main"/>
  7.1195 +    </target>
  7.1196 +    <target depends="-profile-check,-profile-applet-pre72" if="profiler.configured" name="profile-applet" unless="profiler.info.jvmargs.agent">
  7.1197 +        <fail unless="applet.url">Must select one file in the IDE or set applet.url</fail>
  7.1198 +        <startprofiler/>
  7.1199 +        <antcall target="run-applet"/>
  7.1200 +    </target>
  7.1201 +    <!--
  7.1202 +                ===============
  7.1203 +                JAVADOC SECTION
  7.1204 +                ===============
  7.1205 +            -->
  7.1206 +    <target depends="init" if="have.sources" name="-javadoc-build">
  7.1207 +        <mkdir dir="${dist.javadoc.dir}"/>
  7.1208 +        <condition else="" property="javadoc.endorsed.classpath.cmd.line.arg" value="-J${endorsed.classpath.cmd.line.arg}">
  7.1209 +            <and>
  7.1210 +                <isset property="endorsed.classpath.cmd.line.arg"/>
  7.1211 +                <not>
  7.1212 +                    <equals arg1="${endorsed.classpath.cmd.line.arg}" arg2=""/>
  7.1213 +                </not>
  7.1214 +            </and>
  7.1215 +        </condition>
  7.1216 +        <condition else="" property="bug5101868workaround" value="*.java">
  7.1217 +            <matches pattern="1\.[56](\..*)?" string="${java.version}"/>
  7.1218 +        </condition>
  7.1219 +        <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}">
  7.1220 +            <classpath>
  7.1221 +                <path path="${javac.classpath}"/>
  7.1222 +            </classpath>
  7.1223 +            <fileset dir="${src.dir}" excludes="${bug5101868workaround},${excludes}" includes="${includes}">
  7.1224 +                <filename name="**/*.java"/>
  7.1225 +            </fileset>
  7.1226 +            <fileset dir="${build.generated.sources.dir}" erroronmissingdir="false">
  7.1227 +                <include name="**/*.java"/>
  7.1228 +                <exclude name="*.java"/>
  7.1229 +            </fileset>
  7.1230 +            <arg line="${javadoc.endorsed.classpath.cmd.line.arg}"/>
  7.1231 +        </javadoc>
  7.1232 +        <copy todir="${dist.javadoc.dir}">
  7.1233 +            <fileset dir="${src.dir}" excludes="${excludes}" includes="${includes}">
  7.1234 +                <filename name="**/doc-files/**"/>
  7.1235 +            </fileset>
  7.1236 +            <fileset dir="${build.generated.sources.dir}" erroronmissingdir="false">
  7.1237 +                <include name="**/doc-files/**"/>
  7.1238 +            </fileset>
  7.1239 +        </copy>
  7.1240 +    </target>
  7.1241 +    <target depends="init,-javadoc-build" if="netbeans.home" name="-javadoc-browse" unless="no.javadoc.preview">
  7.1242 +        <nbbrowse file="${dist.javadoc.dir}/index.html"/>
  7.1243 +    </target>
  7.1244 +    <target depends="init,-javadoc-build,-javadoc-browse" description="Build Javadoc." name="javadoc"/>
  7.1245 +    <!--
  7.1246 +                =========================
  7.1247 +                TEST COMPILATION SECTION
  7.1248 +                =========================
  7.1249 +            -->
  7.1250 +    <target depends="init,compile" if="have.tests" name="-pre-pre-compile-test">
  7.1251 +        <mkdir dir="${build.test.classes.dir}"/>
  7.1252 +    </target>
  7.1253 +    <target name="-pre-compile-test">
  7.1254 +        <!-- Empty placeholder for easier customization. -->
  7.1255 +        <!-- You can override this target in the ../build.xml file. -->
  7.1256 +    </target>
  7.1257 +    <target if="do.depend.true" name="-compile-test-depend">
  7.1258 +        <j2seproject3:depend classpath="${javac.test.classpath}" destdir="${build.test.classes.dir}" srcdir="${test.src.dir}"/>
  7.1259 +    </target>
  7.1260 +    <target depends="init,deps-jar,compile,-pre-pre-compile-test,-pre-compile-test,-compile-test-depend" if="have.tests" name="-do-compile-test">
  7.1261 +        <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}"/>
  7.1262 +        <copy todir="${build.test.classes.dir}">
  7.1263 +            <fileset dir="${test.src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
  7.1264 +        </copy>
  7.1265 +    </target>
  7.1266 +    <target name="-post-compile-test">
  7.1267 +        <!-- Empty placeholder for easier customization. -->
  7.1268 +        <!-- You can override this target in the ../build.xml file. -->
  7.1269 +    </target>
  7.1270 +    <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test,-do-compile-test,-post-compile-test" name="compile-test"/>
  7.1271 +    <target name="-pre-compile-test-single">
  7.1272 +        <!-- Empty placeholder for easier customization. -->
  7.1273 +        <!-- You can override this target in the ../build.xml file. -->
  7.1274 +    </target>
  7.1275 +    <target depends="init,deps-jar,compile,-pre-pre-compile-test,-pre-compile-test-single" if="have.tests" name="-do-compile-test-single">
  7.1276 +        <fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail>
  7.1277 +        <j2seproject3:force-recompile destdir="${build.test.classes.dir}"/>
  7.1278 +        <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}"/>
  7.1279 +        <copy todir="${build.test.classes.dir}">
  7.1280 +            <fileset dir="${test.src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
  7.1281 +        </copy>
  7.1282 +    </target>
  7.1283 +    <target name="-post-compile-test-single">
  7.1284 +        <!-- Empty placeholder for easier customization. -->
  7.1285 +        <!-- You can override this target in the ../build.xml file. -->
  7.1286 +    </target>
  7.1287 +    <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test-single,-do-compile-test-single,-post-compile-test-single" name="compile-test-single"/>
  7.1288 +    <!--
  7.1289 +                =======================
  7.1290 +                TEST EXECUTION SECTION
  7.1291 +                =======================
  7.1292 +            -->
  7.1293 +    <target depends="init" if="have.tests" name="-pre-test-run">
  7.1294 +        <mkdir dir="${build.test.results.dir}"/>
  7.1295 +    </target>
  7.1296 +    <target depends="init,compile-test,-pre-test-run" if="have.tests" name="-do-test-run">
  7.1297 +        <j2seproject3:test includes="${includes}" testincludes="**/*Test.java"/>
  7.1298 +    </target>
  7.1299 +    <target depends="init,compile-test,-pre-test-run,-do-test-run" if="have.tests" name="-post-test-run">
  7.1300 +        <fail if="tests.failed" unless="ignore.failing.tests">Some tests failed; see details above.</fail>
  7.1301 +    </target>
  7.1302 +    <target depends="init" if="have.tests" name="test-report"/>
  7.1303 +    <target depends="init" if="netbeans.home+have.tests" name="-test-browse"/>
  7.1304 +    <target depends="init,compile-test,-pre-test-run,-do-test-run,test-report,-post-test-run,-test-browse" description="Run unit tests." name="test"/>
  7.1305 +    <target depends="init" if="have.tests" name="-pre-test-run-single">
  7.1306 +        <mkdir dir="${build.test.results.dir}"/>
  7.1307 +    </target>
  7.1308 +    <target depends="init,compile-test-single,-pre-test-run-single" if="have.tests" name="-do-test-run-single">
  7.1309 +        <fail unless="test.includes">Must select some files in the IDE or set test.includes</fail>
  7.1310 +        <j2seproject3:test excludes="" includes="${test.includes}" testincludes="${test.includes}"/>
  7.1311 +    </target>
  7.1312 +    <target depends="init,compile-test-single,-pre-test-run-single,-do-test-run-single" if="have.tests" name="-post-test-run-single">
  7.1313 +        <fail if="tests.failed" unless="ignore.failing.tests">Some tests failed; see details above.</fail>
  7.1314 +    </target>
  7.1315 +    <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"/>
  7.1316 +    <target depends="init,compile-test-single,-pre-test-run-single" if="have.tests" name="-do-test-run-single-method">
  7.1317 +        <fail unless="test.class">Must select some files in the IDE or set test.class</fail>
  7.1318 +        <fail unless="test.method">Must select some method in the IDE or set test.method</fail>
  7.1319 +        <j2seproject3:test excludes="" includes="${javac.includes}" testincludes="${test.class}" testmethods="${test.method}"/>
  7.1320 +    </target>
  7.1321 +    <target depends="init,compile-test-single,-pre-test-run-single,-do-test-run-single-method" if="have.tests" name="-post-test-run-single-method">
  7.1322 +        <fail if="tests.failed" unless="ignore.failing.tests">Some tests failed; see details above.</fail>
  7.1323 +    </target>
  7.1324 +    <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"/>
  7.1325 +    <!--
  7.1326 +                =======================
  7.1327 +                TEST DEBUGGING SECTION
  7.1328 +                =======================
  7.1329 +            -->
  7.1330 +    <target depends="init,compile-test-single,-pre-test-run-single" if="have.tests" name="-debug-start-debuggee-test">
  7.1331 +        <fail unless="test.class">Must select one file in the IDE or set test.class</fail>
  7.1332 +        <j2seproject3:test-debug excludes="" includes="${javac.includes}" testClass="${test.class}" testincludes="${javac.includes}"/>
  7.1333 +    </target>
  7.1334 +    <target depends="init,compile-test-single,-pre-test-run-single" if="have.tests" name="-debug-start-debuggee-test-method">
  7.1335 +        <fail unless="test.class">Must select one file in the IDE or set test.class</fail>
  7.1336 +        <fail unless="test.method">Must select some method in the IDE or set test.method</fail>
  7.1337 +        <j2seproject3:test-debug excludes="" includes="${javac.includes}" testClass="${test.class}" testMethod="${test.method}" testincludes="${test.class}" testmethods="${test.method}"/>
  7.1338 +    </target>
  7.1339 +    <target depends="init,compile-test" if="netbeans.home+have.tests" name="-debug-start-debugger-test">
  7.1340 +        <j2seproject1:nbjpdastart classpath="${debug.test.classpath}" name="${test.class}"/>
  7.1341 +    </target>
  7.1342 +    <target depends="init,compile-test-single,-debug-start-debugger-test,-debug-start-debuggee-test" name="debug-test"/>
  7.1343 +    <target depends="init,compile-test-single,-debug-start-debugger-test,-debug-start-debuggee-test-method" name="debug-test-method"/>
  7.1344 +    <target depends="init,-pre-debug-fix,compile-test-single" if="netbeans.home" name="-do-debug-fix-test">
  7.1345 +        <j2seproject1:nbjpdareload dir="${build.test.classes.dir}"/>
  7.1346 +    </target>
  7.1347 +    <target depends="init,-pre-debug-fix,-do-debug-fix-test" if="netbeans.home" name="debug-fix-test"/>
  7.1348 +    <!--
  7.1349 +                =========================
  7.1350 +                APPLET EXECUTION SECTION
  7.1351 +                =========================
  7.1352 +            -->
  7.1353 +    <target depends="init,compile-single" name="run-applet">
  7.1354 +        <fail unless="applet.url">Must select one file in the IDE or set applet.url</fail>
  7.1355 +        <j2seproject1:java classname="sun.applet.AppletViewer">
  7.1356 +            <customize>
  7.1357 +                <arg value="${applet.url}"/>
  7.1358 +            </customize>
  7.1359 +        </j2seproject1:java>
  7.1360 +    </target>
  7.1361 +    <!--
  7.1362 +                =========================
  7.1363 +                APPLET DEBUGGING  SECTION
  7.1364 +                =========================
  7.1365 +            -->
  7.1366 +    <target depends="init,compile-single" if="netbeans.home" name="-debug-start-debuggee-applet">
  7.1367 +        <fail unless="applet.url">Must select one file in the IDE or set applet.url</fail>
  7.1368 +        <j2seproject3:debug classname="sun.applet.AppletViewer">
  7.1369 +            <customize>
  7.1370 +                <arg value="${applet.url}"/>
  7.1371 +            </customize>
  7.1372 +        </j2seproject3:debug>
  7.1373 +    </target>
  7.1374 +    <target depends="init,compile-single,-debug-start-debugger,-debug-start-debuggee-applet" if="netbeans.home" name="debug-applet"/>
  7.1375 +    <!--
  7.1376 +                ===============
  7.1377 +                CLEANUP SECTION
  7.1378 +                ===============
  7.1379 +            -->
  7.1380 +    <target name="-deps-clean-init" unless="built-clean.properties">
  7.1381 +        <property location="${build.dir}/built-clean.properties" name="built-clean.properties"/>
  7.1382 +        <delete file="${built-clean.properties}" quiet="true"/>
  7.1383 +    </target>
  7.1384 +    <target if="already.built.clean.${basedir}" name="-warn-already-built-clean">
  7.1385 +        <echo level="warn" message="Cycle detected: alt2xml-in-json was already built"/>
  7.1386 +    </target>
  7.1387 +    <target depends="init,-deps-clean-init" name="deps-clean" unless="no.deps">
  7.1388 +        <mkdir dir="${build.dir}"/>
  7.1389 +        <touch file="${built-clean.properties}" verbose="false"/>
  7.1390 +        <property file="${built-clean.properties}" prefix="already.built.clean."/>
  7.1391 +        <antcall target="-warn-already-built-clean"/>
  7.1392 +        <propertyfile file="${built-clean.properties}">
  7.1393 +            <entry key="${basedir}" value=""/>
  7.1394 +        </propertyfile>
  7.1395 +        <antcall target="-maybe-call-dep">
  7.1396 +            <param name="call.built.properties" value="${built-clean.properties}"/>
  7.1397 +            <param location="${project.alt2xml-lib}" name="call.subproject"/>
  7.1398 +            <param location="${project.alt2xml-lib}/build.xml" name="call.script"/>
  7.1399 +            <param name="call.target" value="clean"/>
  7.1400 +            <param name="transfer.built-clean.properties" value="${built-clean.properties}"/>
  7.1401 +            <param name="transfer.not.archive.disabled" value="true"/>
  7.1402 +        </antcall>
  7.1403 +    </target>
  7.1404 +    <target depends="init" name="-do-clean">
  7.1405 +        <delete dir="${build.dir}"/>
  7.1406 +        <delete dir="${dist.dir}" followsymlinks="false" includeemptydirs="true"/>
  7.1407 +    </target>
  7.1408 +    <target name="-post-clean">
  7.1409 +        <!-- Empty placeholder for easier customization. -->
  7.1410 +        <!-- You can override this target in the ../build.xml file. -->
  7.1411 +    </target>
  7.1412 +    <target depends="init,deps-clean,-do-clean,-post-clean" description="Clean build products." name="clean"/>
  7.1413 +    <target name="-check-call-dep">
  7.1414 +        <property file="${call.built.properties}" prefix="already.built."/>
  7.1415 +        <condition property="should.call.dep">
  7.1416 +            <and>
  7.1417 +                <not>
  7.1418 +                    <isset property="already.built.${call.subproject}"/>
  7.1419 +                </not>
  7.1420 +                <available file="${call.script}"/>
  7.1421 +            </and>
  7.1422 +        </condition>
  7.1423 +    </target>
  7.1424 +    <target depends="-check-call-dep" if="should.call.dep" name="-maybe-call-dep">
  7.1425 +        <ant antfile="${call.script}" inheritall="false" target="${call.target}">
  7.1426 +            <propertyset>
  7.1427 +                <propertyref prefix="transfer."/>
  7.1428 +                <mapper from="transfer.*" to="*" type="glob"/>
  7.1429 +            </propertyset>
  7.1430 +        </ant>
  7.1431 +    </target>
  7.1432 +</project>
     8.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     8.2 +++ b/java/alt2xml-in-json/nbproject/genfiles.properties	Thu Jun 05 10:21:45 2014 +0200
     8.3 @@ -0,0 +1,8 @@
     8.4 +build.xml.data.CRC32=2f58bfe6
     8.5 +build.xml.script.CRC32=85cc1c66
     8.6 +build.xml.stylesheet.CRC32=8064a381@1.74.2.48
     8.7 +# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml.
     8.8 +# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you.
     8.9 +nbproject/build-impl.xml.data.CRC32=2f58bfe6
    8.10 +nbproject/build-impl.xml.script.CRC32=6c4ebf7c
    8.11 +nbproject/build-impl.xml.stylesheet.CRC32=876e7a8f@1.74.2.48
     9.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     9.2 +++ b/java/alt2xml-in-json/nbproject/project.properties	Thu Jun 05 10:21:45 2014 +0200
     9.3 @@ -0,0 +1,74 @@
     9.4 +annotation.processing.enabled=true
     9.5 +annotation.processing.enabled.in.editor=false
     9.6 +annotation.processing.processor.options=
     9.7 +annotation.processing.processors.list=
     9.8 +annotation.processing.run.all.processors=true
     9.9 +annotation.processing.source.output=${build.generated.sources.dir}/ap-source-output
    9.10 +build.classes.dir=${build.dir}/classes
    9.11 +build.classes.excludes=**/*.java,**/*.form
    9.12 +# This directory is removed when the project is cleaned:
    9.13 +build.dir=build
    9.14 +build.generated.dir=${build.dir}/generated
    9.15 +build.generated.sources.dir=${build.dir}/generated-sources
    9.16 +# Only compile against the classpath explicitly listed here:
    9.17 +build.sysclasspath=ignore
    9.18 +build.test.classes.dir=${build.dir}/test/classes
    9.19 +build.test.results.dir=${build.dir}/test/results
    9.20 +# Uncomment to specify the preferred debugger connection transport:
    9.21 +#debug.transport=dt_socket
    9.22 +debug.classpath=\
    9.23 +    ${run.classpath}
    9.24 +debug.test.classpath=\
    9.25 +    ${run.test.classpath}
    9.26 +# Files in build.classes.dir which should be excluded from distribution jar
    9.27 +dist.archive.excludes=
    9.28 +# This directory is removed when the project is cleaned:
    9.29 +dist.dir=dist
    9.30 +dist.jar=${dist.dir}/alt2xml-in-json.jar
    9.31 +dist.javadoc.dir=${dist.dir}/javadoc
    9.32 +excludes=
    9.33 +includes=**
    9.34 +jar.compress=false
    9.35 +javac.classpath=\
    9.36 +    ${reference.alt2xml-lib.jar}
    9.37 +# Space-separated list of extra javac options
    9.38 +javac.compilerargs=
    9.39 +javac.deprecation=false
    9.40 +javac.processorpath=\
    9.41 +    ${javac.classpath}
    9.42 +javac.source=1.7
    9.43 +javac.target=1.7
    9.44 +javac.test.classpath=\
    9.45 +    ${javac.classpath}:\
    9.46 +    ${build.classes.dir}
    9.47 +javac.test.processorpath=\
    9.48 +    ${javac.test.classpath}
    9.49 +javadoc.additionalparam=
    9.50 +javadoc.author=false
    9.51 +javadoc.encoding=${source.encoding}
    9.52 +javadoc.noindex=false
    9.53 +javadoc.nonavbar=false
    9.54 +javadoc.notree=false
    9.55 +javadoc.private=false
    9.56 +javadoc.splitindex=true
    9.57 +javadoc.use=true
    9.58 +javadoc.version=false
    9.59 +javadoc.windowtitle=
    9.60 +meta.inf.dir=${src.dir}/META-INF
    9.61 +mkdist.disabled=true
    9.62 +platform.active=default_platform
    9.63 +project.alt2xml-lib=../alt2xml-lib
    9.64 +reference.alt2xml-lib.jar=${project.alt2xml-lib}/dist/alt2xml-lib.jar
    9.65 +run.classpath=\
    9.66 +    ${javac.classpath}:\
    9.67 +    ${build.classes.dir}
    9.68 +# Space-separated list of JVM arguments used when running the project.
    9.69 +# You may also define separate properties like run-sys-prop.name=value instead of -Dname=value.
    9.70 +# To set system properties for unit tests define test-sys-prop.name=value:
    9.71 +run.jvmargs=
    9.72 +run.test.classpath=\
    9.73 +    ${javac.test.classpath}:\
    9.74 +    ${build.test.classes.dir}
    9.75 +source.encoding=UTF-8
    9.76 +src.dir=src
    9.77 +test.src.dir=test
    10.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    10.2 +++ b/java/alt2xml-in-json/nbproject/project.xml	Thu Jun 05 10:21:45 2014 +0200
    10.3 @@ -0,0 +1,25 @@
    10.4 +<?xml version="1.0" encoding="UTF-8"?>
    10.5 +<project xmlns="http://www.netbeans.org/ns/project/1">
    10.6 +    <type>org.netbeans.modules.java.j2seproject</type>
    10.7 +    <configuration>
    10.8 +        <data xmlns="http://www.netbeans.org/ns/j2se-project/3">
    10.9 +            <name>alt2xml-in-json</name>
   10.10 +            <source-roots>
   10.11 +                <root id="src.dir"/>
   10.12 +            </source-roots>
   10.13 +            <test-roots>
   10.14 +                <root id="test.src.dir"/>
   10.15 +            </test-roots>
   10.16 +        </data>
   10.17 +        <references xmlns="http://www.netbeans.org/ns/ant-project-references/1">
   10.18 +            <reference>
   10.19 +                <foreign-project>alt2xml-lib</foreign-project>
   10.20 +                <artifact-type>jar</artifact-type>
   10.21 +                <script>build.xml</script>
   10.22 +                <target>jar</target>
   10.23 +                <clean-target>clean</clean-target>
   10.24 +                <id>jar</id>
   10.25 +            </reference>
   10.26 +        </references>
   10.27 +    </configuration>
   10.28 +</project>
    11.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    11.2 +++ b/java/alt2xml-lib/build.xml	Thu Jun 05 10:21:45 2014 +0200
    11.3 @@ -0,0 +1,73 @@
    11.4 +<?xml version="1.0" encoding="UTF-8"?>
    11.5 +<!-- You may freely edit this file. See commented blocks below for -->
    11.6 +<!-- some examples of how to customize the build. -->
    11.7 +<!-- (If you delete it and reopen the project it will be recreated.) -->
    11.8 +<!-- By default, only the Clean and Build commands use this build script. -->
    11.9 +<!-- Commands such as Run, Debug, and Test only use this build script if -->
   11.10 +<!-- the Compile on Save feature is turned off for the project. -->
   11.11 +<!-- You can turn off the Compile on Save (or Deploy on Save) setting -->
   11.12 +<!-- in the project's Project Properties dialog box.-->
   11.13 +<project name="alt2xml-lib" default="default" basedir=".">
   11.14 +    <description>Builds, tests, and runs the project alt2xml-lib.</description>
   11.15 +    <import file="nbproject/build-impl.xml"/>
   11.16 +    <!--
   11.17 +
   11.18 +    There exist several targets which are by default empty and which can be 
   11.19 +    used for execution of your tasks. These targets are usually executed 
   11.20 +    before and after some main targets. They are: 
   11.21 +
   11.22 +      -pre-init:                 called before initialization of project properties
   11.23 +      -post-init:                called after initialization of project properties
   11.24 +      -pre-compile:              called before javac compilation
   11.25 +      -post-compile:             called after javac compilation
   11.26 +      -pre-compile-single:       called before javac compilation of single file
   11.27 +      -post-compile-single:      called after javac compilation of single file
   11.28 +      -pre-compile-test:         called before javac compilation of JUnit tests
   11.29 +      -post-compile-test:        called after javac compilation of JUnit tests
   11.30 +      -pre-compile-test-single:  called before javac compilation of single JUnit test
   11.31 +      -post-compile-test-single: called after javac compilation of single JUunit test
   11.32 +      -pre-jar:                  called before JAR building
   11.33 +      -post-jar:                 called after JAR building
   11.34 +      -post-clean:               called after cleaning build products
   11.35 +
   11.36 +    (Targets beginning with '-' are not intended to be called on their own.)
   11.37 +
   11.38 +    Example of inserting an obfuscator after compilation could look like this:
   11.39 +
   11.40 +        <target name="-post-compile">
   11.41 +            <obfuscate>
   11.42 +                <fileset dir="${build.classes.dir}"/>
   11.43 +            </obfuscate>
   11.44 +        </target>
   11.45 +
   11.46 +    For list of available properties check the imported 
   11.47 +    nbproject/build-impl.xml file. 
   11.48 +
   11.49 +
   11.50 +    Another way to customize the build is by overriding existing main targets.
   11.51 +    The targets of interest are: 
   11.52 +
   11.53 +      -init-macrodef-javac:     defines macro for javac compilation
   11.54 +      -init-macrodef-junit:     defines macro for junit execution
   11.55 +      -init-macrodef-debug:     defines macro for class debugging
   11.56 +      -init-macrodef-java:      defines macro for class execution
   11.57 +      -do-jar:                  JAR building
   11.58 +      run:                      execution of project 
   11.59 +      -javadoc-build:           Javadoc generation
   11.60 +      test-report:              JUnit report generation
   11.61 +
   11.62 +    An example of overriding the target for project execution could look like this:
   11.63 +
   11.64 +        <target name="run" depends="alt2xml-lib-impl.jar">
   11.65 +            <exec dir="bin" executable="launcher.exe">
   11.66 +                <arg file="${dist.jar}"/>
   11.67 +            </exec>
   11.68 +        </target>
   11.69 +
   11.70 +    Notice that the overridden target depends on the jar target and not only on 
   11.71 +    the compile target as the regular run target does. Again, for a list of available 
   11.72 +    properties which you can use, check the target you are overriding in the
   11.73 +    nbproject/build-impl.xml file. 
   11.74 +
   11.75 +    -->
   11.76 +</project>
    12.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    12.2 +++ b/java/alt2xml-lib/nbproject/build-impl.xml	Thu Jun 05 10:21:45 2014 +0200
    12.3 @@ -0,0 +1,1413 @@
    12.4 +<?xml version="1.0" encoding="UTF-8"?>
    12.5 +<!--
    12.6 +*** GENERATED FROM project.xml - DO NOT EDIT  ***
    12.7 +***         EDIT ../build.xml INSTEAD         ***
    12.8 +
    12.9 +For the purpose of easier reading the script
   12.10 +is divided into following sections:
   12.11 +
   12.12 +  - initialization
   12.13 +  - compilation
   12.14 +  - jar
   12.15 +  - execution
   12.16 +  - debugging
   12.17 +  - javadoc
   12.18 +  - test compilation
   12.19 +  - test execution
   12.20 +  - test debugging
   12.21 +  - applet
   12.22 +  - cleanup
   12.23 +
   12.24 +        -->
   12.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="alt2xml-lib-impl">
   12.26 +    <fail message="Please build using Ant 1.8.0 or higher.">
   12.27 +        <condition>
   12.28 +            <not>
   12.29 +                <antversion atleast="1.8.0"/>
   12.30 +            </not>
   12.31 +        </condition>
   12.32 +    </fail>
   12.33 +    <target depends="test,jar,javadoc" description="Build and test whole project." name="default"/>
   12.34 +    <!-- 
   12.35 +                ======================
   12.36 +                INITIALIZATION SECTION 
   12.37 +                ======================
   12.38 +            -->
   12.39 +    <target name="-pre-init">
   12.40 +        <!-- Empty placeholder for easier customization. -->
   12.41 +        <!-- You can override this target in the ../build.xml file. -->
   12.42 +    </target>
   12.43 +    <target depends="-pre-init" name="-init-private">
   12.44 +        <property file="nbproject/private/config.properties"/>
   12.45 +        <property file="nbproject/private/configs/${config}.properties"/>
   12.46 +        <property file="nbproject/private/private.properties"/>
   12.47 +    </target>
   12.48 +    <target depends="-pre-init,-init-private" name="-init-user">
   12.49 +        <property file="${user.properties.file}"/>
   12.50 +        <!-- The two properties below are usually overridden -->
   12.51 +        <!-- by the active platform. Just a fallback. -->
   12.52 +        <property name="default.javac.source" value="1.4"/>
   12.53 +        <property name="default.javac.target" value="1.4"/>
   12.54 +    </target>
   12.55 +    <target depends="-pre-init,-init-private,-init-user" name="-init-project">
   12.56 +        <property file="nbproject/configs/${config}.properties"/>
   12.57 +        <property file="nbproject/project.properties"/>
   12.58 +    </target>
   12.59 +    <target depends="-pre-init,-init-private,-init-user,-init-project,-init-macrodef-property" name="-do-init">
   12.60 +        <property name="platform.java" value="${java.home}/bin/java"/>
   12.61 +        <available file="${manifest.file}" property="manifest.available"/>
   12.62 +        <condition property="splashscreen.available">
   12.63 +            <and>
   12.64 +                <not>
   12.65 +                    <equals arg1="${application.splash}" arg2="" trim="true"/>
   12.66 +                </not>
   12.67 +                <available file="${application.splash}"/>
   12.68 +            </and>
   12.69 +        </condition>
   12.70 +        <condition property="main.class.available">
   12.71 +            <and>
   12.72 +                <isset property="main.class"/>
   12.73 +                <not>
   12.74 +                    <equals arg1="${main.class}" arg2="" trim="true"/>
   12.75 +                </not>
   12.76 +            </and>
   12.77 +        </condition>
   12.78 +        <condition property="profile.available">
   12.79 +            <and>
   12.80 +                <isset property="javac.profile"/>
   12.81 +                <length length="0" string="${javac.profile}" when="greater"/>
   12.82 +                <matches pattern="1\.[89](\..*)?" string="${javac.source}"/>
   12.83 +            </and>
   12.84 +        </condition>
   12.85 +        <condition property="do.archive">
   12.86 +            <or>
   12.87 +                <not>
   12.88 +                    <istrue value="${jar.archive.disabled}"/>
   12.89 +                </not>
   12.90 +                <istrue value="${not.archive.disabled}"/>
   12.91 +            </or>
   12.92 +        </condition>
   12.93 +        <condition property="do.mkdist">
   12.94 +            <and>
   12.95 +                <isset property="do.archive"/>
   12.96 +                <isset property="libs.CopyLibs.classpath"/>
   12.97 +                <not>
   12.98 +                    <istrue value="${mkdist.disabled}"/>
   12.99 +                </not>
  12.100 +            </and>
  12.101 +        </condition>
  12.102 +        <condition property="do.archive+manifest.available">
  12.103 +            <and>
  12.104 +                <isset property="manifest.available"/>
  12.105 +                <istrue value="${do.archive}"/>
  12.106 +            </and>
  12.107 +        </condition>
  12.108 +        <condition property="do.archive+main.class.available">
  12.109 +            <and>
  12.110 +                <isset property="main.class.available"/>
  12.111 +                <istrue value="${do.archive}"/>
  12.112 +            </and>
  12.113 +        </condition>
  12.114 +        <condition property="do.archive+splashscreen.available">
  12.115 +            <and>
  12.116 +                <isset property="splashscreen.available"/>
  12.117 +                <istrue value="${do.archive}"/>
  12.118 +            </and>
  12.119 +        </condition>
  12.120 +        <condition property="do.archive+profile.available">
  12.121 +            <and>
  12.122 +                <isset property="profile.available"/>
  12.123 +                <istrue value="${do.archive}"/>
  12.124 +            </and>
  12.125 +        </condition>
  12.126 +        <condition property="have.tests">
  12.127 +            <or>
  12.128 +                <available file="${test.src.dir}"/>
  12.129 +            </or>
  12.130 +        </condition>
  12.131 +        <condition property="have.sources">
  12.132 +            <or>
  12.133 +                <available file="${src.dir}"/>
  12.134 +            </or>
  12.135 +        </condition>
  12.136 +        <condition property="netbeans.home+have.tests">
  12.137 +            <and>
  12.138 +                <isset property="netbeans.home"/>
  12.139 +                <isset property="have.tests"/>
  12.140 +            </and>
  12.141 +        </condition>
  12.142 +        <condition property="no.javadoc.preview">
  12.143 +            <and>
  12.144 +                <isset property="javadoc.preview"/>
  12.145 +                <isfalse value="${javadoc.preview}"/>
  12.146 +            </and>
  12.147 +        </condition>
  12.148 +        <property name="run.jvmargs" value=""/>
  12.149 +        <property name="run.jvmargs.ide" value=""/>
  12.150 +        <property name="javac.compilerargs" value=""/>
  12.151 +        <property name="work.dir" value="${basedir}"/>
  12.152 +        <condition property="no.deps">
  12.153 +            <and>
  12.154 +                <istrue value="${no.dependencies}"/>
  12.155 +            </and>
  12.156 +        </condition>
  12.157 +        <property name="javac.debug" value="true"/>
  12.158 +        <property name="javadoc.preview" value="true"/>
  12.159 +        <property name="application.args" value=""/>
  12.160 +        <property name="source.encoding" value="${file.encoding}"/>
  12.161 +        <property name="runtime.encoding" value="${source.encoding}"/>
  12.162 +        <condition property="javadoc.encoding.used" value="${javadoc.encoding}">
  12.163 +            <and>
  12.164 +                <isset property="javadoc.encoding"/>
  12.165 +                <not>
  12.166 +                    <equals arg1="${javadoc.encoding}" arg2=""/>
  12.167 +                </not>
  12.168 +            </and>
  12.169 +        </condition>
  12.170 +        <property name="javadoc.encoding.used" value="${source.encoding}"/>
  12.171 +        <property name="includes" value="**"/>
  12.172 +        <property name="excludes" value=""/>
  12.173 +        <property name="do.depend" value="false"/>
  12.174 +        <condition property="do.depend.true">
  12.175 +            <istrue value="${do.depend}"/>
  12.176 +        </condition>
  12.177 +        <path id="endorsed.classpath.path" path="${endorsed.classpath}"/>
  12.178 +        <condition else="" property="endorsed.classpath.cmd.line.arg" value="-Xbootclasspath/p:'${toString:endorsed.classpath.path}'">
  12.179 +            <and>
  12.180 +                <isset property="endorsed.classpath"/>
  12.181 +                <not>
  12.182 +                    <equals arg1="${endorsed.classpath}" arg2="" trim="true"/>
  12.183 +                </not>
  12.184 +            </and>
  12.185 +        </condition>
  12.186 +        <condition else="" property="javac.profile.cmd.line.arg" value="-profile ${javac.profile}">
  12.187 +            <isset property="profile.available"/>
  12.188 +        </condition>
  12.189 +        <condition else="false" property="jdkBug6558476">
  12.190 +            <and>
  12.191 +                <matches pattern="1\.[56]" string="${java.specification.version}"/>
  12.192 +                <not>
  12.193 +                    <os family="unix"/>
  12.194 +                </not>
  12.195 +            </and>
  12.196 +        </condition>
  12.197 +        <property name="javac.fork" value="${jdkBug6558476}"/>
  12.198 +        <property name="jar.index" value="false"/>
  12.199 +        <property name="jar.index.metainf" value="${jar.index}"/>
  12.200 +        <property name="copylibs.rebase" value="true"/>
  12.201 +        <available file="${meta.inf.dir}/persistence.xml" property="has.persistence.xml"/>
  12.202 +        <condition property="junit.available">
  12.203 +            <or>
  12.204 +                <available classname="org.junit.Test" classpath="${run.test.classpath}"/>
  12.205 +                <available classname="junit.framework.Test" classpath="${run.test.classpath}"/>
  12.206 +            </or>
  12.207 +        </condition>
  12.208 +        <condition property="testng.available">
  12.209 +            <available classname="org.testng.annotations.Test" classpath="${run.test.classpath}"/>
  12.210 +        </condition>
  12.211 +        <condition property="junit+testng.available">
  12.212 +            <and>
  12.213 +                <istrue value="${junit.available}"/>
  12.214 +                <istrue value="${testng.available}"/>
  12.215 +            </and>
  12.216 +        </condition>
  12.217 +        <condition else="testng" property="testng.mode" value="mixed">
  12.218 +            <istrue value="${junit+testng.available}"/>
  12.219 +        </condition>
  12.220 +        <condition else="" property="testng.debug.mode" value="-mixed">
  12.221 +            <istrue value="${junit+testng.available}"/>
  12.222 +        </condition>
  12.223 +    </target>
  12.224 +    <target name="-post-init">
  12.225 +        <!-- Empty placeholder for easier customization. -->
  12.226 +        <!-- You can override this target in the ../build.xml file. -->
  12.227 +    </target>
  12.228 +    <target depends="-pre-init,-init-private,-init-user,-init-project,-do-init" name="-init-check">
  12.229 +        <fail unless="src.dir">Must set src.dir</fail>
  12.230 +        <fail unless="test.src.dir">Must set test.src.dir</fail>
  12.231 +        <fail unless="build.dir">Must set build.dir</fail>
  12.232 +        <fail unless="dist.dir">Must set dist.dir</fail>
  12.233 +        <fail unless="build.classes.dir">Must set build.classes.dir</fail>
  12.234 +        <fail unless="dist.javadoc.dir">Must set dist.javadoc.dir</fail>
  12.235 +        <fail unless="build.test.classes.dir">Must set build.test.classes.dir</fail>
  12.236 +        <fail unless="build.test.results.dir">Must set build.test.results.dir</fail>
  12.237 +        <fail unless="build.classes.excludes">Must set build.classes.excludes</fail>
  12.238 +        <fail unless="dist.jar">Must set dist.jar</fail>
  12.239 +    </target>
  12.240 +    <target name="-init-macrodef-property">
  12.241 +        <macrodef name="property" uri="http://www.netbeans.org/ns/j2se-project/1">
  12.242 +            <attribute name="name"/>
  12.243 +            <attribute name="value"/>
  12.244 +            <sequential>
  12.245 +                <property name="@{name}" value="${@{value}}"/>
  12.246 +            </sequential>
  12.247 +        </macrodef>
  12.248 +    </target>
  12.249 +    <target depends="-init-ap-cmdline-properties" if="ap.supported.internal" name="-init-macrodef-javac-with-processors">
  12.250 +        <macrodef name="javac" uri="http://www.netbeans.org/ns/j2se-project/3">
  12.251 +            <attribute default="${src.dir}" name="srcdir"/>
  12.252 +            <attribute default="${build.classes.dir}" name="destdir"/>
  12.253 +            <attribute default="${javac.classpath}" name="classpath"/>
  12.254 +            <attribute default="${javac.processorpath}" name="processorpath"/>
  12.255 +            <attribute default="${build.generated.sources.dir}/ap-source-output" name="apgeneratedsrcdir"/>
  12.256 +            <attribute default="${includes}" name="includes"/>
  12.257 +            <attribute default="${excludes}" name="excludes"/>
  12.258 +            <attribute default="${javac.debug}" name="debug"/>
  12.259 +            <attribute default="${empty.dir}" name="sourcepath"/>
  12.260 +            <attribute default="${empty.dir}" name="gensrcdir"/>
  12.261 +            <element name="customize" optional="true"/>
  12.262 +            <sequential>
  12.263 +                <property location="${build.dir}/empty" name="empty.dir"/>
  12.264 +                <mkdir dir="${empty.dir}"/>
  12.265 +                <mkdir dir="@{apgeneratedsrcdir}"/>
  12.266 +                <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}">
  12.267 +                    <src>
  12.268 +                        <dirset dir="@{gensrcdir}" erroronmissingdir="false">
  12.269 +                            <include name="*"/>
  12.270 +                        </dirset>
  12.271 +                    </src>
  12.272 +                    <classpath>
  12.273 +                        <path path="@{classpath}"/>
  12.274 +                    </classpath>
  12.275 +                    <compilerarg line="${endorsed.classpath.cmd.line.arg}"/>
  12.276 +                    <compilerarg line="${javac.profile.cmd.line.arg}"/>
  12.277 +                    <compilerarg line="${javac.compilerargs}"/>
  12.278 +                    <compilerarg value="-processorpath"/>
  12.279 +                    <compilerarg path="@{processorpath}:${empty.dir}"/>
  12.280 +                    <compilerarg line="${ap.processors.internal}"/>
  12.281 +                    <compilerarg line="${annotation.processing.processor.options}"/>
  12.282 +                    <compilerarg value="-s"/>
  12.283 +                    <compilerarg path="@{apgeneratedsrcdir}"/>
  12.284 +                    <compilerarg line="${ap.proc.none.internal}"/>
  12.285 +                    <customize/>
  12.286 +                </javac>
  12.287 +            </sequential>
  12.288 +        </macrodef>
  12.289 +    </target>
  12.290 +    <target depends="-init-ap-cmdline-properties" name="-init-macrodef-javac-without-processors" unless="ap.supported.internal">
  12.291 +        <macrodef name="javac" uri="http://www.netbeans.org/ns/j2se-project/3">
  12.292 +            <attribute default="${src.dir}" name="srcdir"/>
  12.293 +            <attribute default="${build.classes.dir}" name="destdir"/>
  12.294 +            <attribute default="${javac.classpath}" name="classpath"/>
  12.295 +            <attribute default="${javac.processorpath}" name="processorpath"/>
  12.296 +            <attribute default="${build.generated.sources.dir}/ap-source-output" name="apgeneratedsrcdir"/>
  12.297 +            <attribute default="${includes}" name="includes"/>
  12.298 +            <attribute default="${excludes}" name="excludes"/>
  12.299 +            <attribute default="${javac.debug}" name="debug"/>
  12.300 +            <attribute default="${empty.dir}" name="sourcepath"/>
  12.301 +            <attribute default="${empty.dir}" name="gensrcdir"/>
  12.302 +            <element name="customize" optional="true"/>
  12.303 +            <sequential>
  12.304 +                <property location="${build.dir}/empty" name="empty.dir"/>
  12.305 +                <mkdir dir="${empty.dir}"/>
  12.306 +                <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}">
  12.307 +                    <src>
  12.308 +                        <dirset dir="@{gensrcdir}" erroronmissingdir="false">
  12.309 +                            <include name="*"/>
  12.310 +                        </dirset>
  12.311 +                    </src>
  12.312 +                    <classpath>
  12.313 +                        <path path="@{classpath}"/>
  12.314 +                    </classpath>
  12.315 +                    <compilerarg line="${endorsed.classpath.cmd.line.arg}"/>
  12.316 +                    <compilerarg line="${javac.profile.cmd.line.arg}"/>
  12.317 +                    <compilerarg line="${javac.compilerargs}"/>
  12.318 +                    <customize/>
  12.319 +                </javac>
  12.320 +            </sequential>
  12.321 +        </macrodef>
  12.322 +    </target>
  12.323 +    <target depends="-init-macrodef-javac-with-processors,-init-macrodef-javac-without-processors" name="-init-macrodef-javac">
  12.324 +        <macrodef name="depend" uri="http://www.netbeans.org/ns/j2se-project/3">
  12.325 +            <attribute default="${src.dir}" name="srcdir"/>
  12.326 +            <attribute default="${build.classes.dir}" name="destdir"/>
  12.327 +            <attribute default="${javac.classpath}" name="classpath"/>
  12.328 +            <sequential>
  12.329 +                <depend cache="${build.dir}/depcache" destdir="@{destdir}" excludes="${excludes}" includes="${includes}" srcdir="@{srcdir}">
  12.330 +                    <classpath>
  12.331 +                        <path path="@{classpath}"/>
  12.332 +                    </classpath>
  12.333 +                </depend>
  12.334 +            </sequential>
  12.335 +        </macrodef>
  12.336 +        <macrodef name="force-recompile" uri="http://www.netbeans.org/ns/j2se-project/3">
  12.337 +            <attribute default="${build.classes.dir}" name="destdir"/>
  12.338 +            <sequential>
  12.339 +                <fail unless="javac.includes">Must set javac.includes</fail>
  12.340 +                <pathconvert pathsep="${line.separator}" property="javac.includes.binary">
  12.341 +                    <path>
  12.342 +                        <filelist dir="@{destdir}" files="${javac.includes}"/>
  12.343 +                    </path>
  12.344 +                    <globmapper from="*.java" to="*.class"/>
  12.345 +                </pathconvert>
  12.346 +                <tempfile deleteonexit="true" property="javac.includesfile.binary"/>
  12.347 +                <echo file="${javac.includesfile.binary}" message="${javac.includes.binary}"/>
  12.348 +                <delete>
  12.349 +                    <files includesfile="${javac.includesfile.binary}"/>
  12.350 +                </delete>
  12.351 +                <delete>
  12.352 +                    <fileset file="${javac.includesfile.binary}"/>
  12.353 +                </delete>
  12.354 +            </sequential>
  12.355 +        </macrodef>
  12.356 +    </target>
  12.357 +    <target if="${junit.available}" name="-init-macrodef-junit-init">
  12.358 +        <condition else="false" property="nb.junit.batch" value="true">
  12.359 +            <and>
  12.360 +                <istrue value="${junit.available}"/>
  12.361 +                <not>
  12.362 +                    <isset property="test.method"/>
  12.363 +                </not>
  12.364 +            </and>
  12.365 +        </condition>
  12.366 +        <condition else="false" property="nb.junit.single" value="true">
  12.367 +            <and>
  12.368 +                <istrue value="${junit.available}"/>
  12.369 +                <isset property="test.method"/>
  12.370 +            </and>
  12.371 +        </condition>
  12.372 +    </target>
  12.373 +    <target name="-init-test-properties">
  12.374 +        <property name="test.binaryincludes" value="&lt;nothing&gt;"/>
  12.375 +        <property name="test.binarytestincludes" value=""/>
  12.376 +        <property name="test.binaryexcludes" value=""/>
  12.377 +    </target>
  12.378 +    <target if="${nb.junit.single}" name="-init-macrodef-junit-single" unless="${nb.junit.batch}">
  12.379 +        <macrodef name="junit" uri="http://www.netbeans.org/ns/j2se-project/3">
  12.380 +            <attribute default="${includes}" name="includes"/>
  12.381 +            <attribute default="${excludes}" name="excludes"/>
  12.382 +            <attribute default="**" name="testincludes"/>
  12.383 +            <attribute default="" name="testmethods"/>
  12.384 +            <element name="customize" optional="true"/>
  12.385 +            <sequential>
  12.386 +                <property name="junit.forkmode" value="perTest"/>
  12.387 +                <junit dir="${work.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" forkmode="${junit.forkmode}" showoutput="true" tempdir="${build.dir}">
  12.388 +                    <test methods="@{testmethods}" name="@{testincludes}" todir="${build.test.results.dir}"/>
  12.389 +                    <syspropertyset>
  12.390 +                        <propertyref prefix="test-sys-prop."/>
  12.391 +                        <mapper from="test-sys-prop.*" to="*" type="glob"/>
  12.392 +                    </syspropertyset>
  12.393 +                    <formatter type="brief" usefile="false"/>
  12.394 +                    <formatter type="xml"/>
  12.395 +                    <jvmarg value="-ea"/>
  12.396 +                    <customize/>
  12.397 +                </junit>
  12.398 +            </sequential>
  12.399 +        </macrodef>
  12.400 +    </target>
  12.401 +    <target depends="-init-test-properties" if="${nb.junit.batch}" name="-init-macrodef-junit-batch" unless="${nb.junit.single}">
  12.402 +        <macrodef name="junit" uri="http://www.netbeans.org/ns/j2se-project/3">
  12.403 +            <attribute default="${includes}" name="includes"/>
  12.404 +            <attribute default="${excludes}" name="excludes"/>
  12.405 +            <attribute default="**" name="testincludes"/>
  12.406 +            <attribute default="" name="testmethods"/>
  12.407 +            <element name="customize" optional="true"/>
  12.408 +            <sequential>
  12.409 +                <property name="junit.forkmode" value="perTest"/>
  12.410 +                <junit dir="${work.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" forkmode="${junit.forkmode}" showoutput="true" tempdir="${build.dir}">
  12.411 +                    <batchtest todir="${build.test.results.dir}">
  12.412 +                        <fileset dir="${test.src.dir}" excludes="@{excludes},${excludes}" includes="@{includes}">
  12.413 +                            <filename name="@{testincludes}"/>
  12.414 +                        </fileset>
  12.415 +                        <fileset dir="${build.test.classes.dir}" excludes="@{excludes},${excludes},${test.binaryexcludes}" includes="${test.binaryincludes}">
  12.416 +                            <filename name="${test.binarytestincludes}"/>
  12.417 +                        </fileset>
  12.418 +                    </batchtest>
  12.419 +                    <syspropertyset>
  12.420 +                        <propertyref prefix="test-sys-prop."/>
  12.421 +                        <mapper from="test-sys-prop.*" to="*" type="glob"/>
  12.422 +                    </syspropertyset>
  12.423 +                    <formatter type="brief" usefile="false"/>
  12.424 +                    <formatter type="xml"/>
  12.425 +                    <jvmarg value="-ea"/>
  12.426 +                    <customize/>
  12.427 +                </junit>
  12.428 +            </sequential>
  12.429 +        </macrodef>
  12.430 +    </target>
  12.431 +    <target depends="-init-macrodef-junit-init,-init-macrodef-junit-single, -init-macrodef-junit-batch" if="${junit.available}" name="-init-macrodef-junit"/>
  12.432 +    <target if="${testng.available}" name="-init-macrodef-testng">
  12.433 +        <macrodef name="testng" uri="http://www.netbeans.org/ns/j2se-project/3">
  12.434 +            <attribute default="${includes}" name="includes"/>
  12.435 +            <attribute default="${excludes}" name="excludes"/>
  12.436 +            <attribute default="**" name="testincludes"/>
  12.437 +            <attribute default="" name="testmethods"/>
  12.438 +            <element name="customize" optional="true"/>
  12.439 +            <sequential>
  12.440 +                <condition else="" property="testng.methods.arg" value="@{testincludes}.@{testmethods}">
  12.441 +                    <isset property="test.method"/>
  12.442 +                </condition>
  12.443 +                <union id="test.set">
  12.444 +                    <fileset dir="${test.src.dir}" excludes="@{excludes},**/*.xml,${excludes}" includes="@{includes}">
  12.445 +                        <filename name="@{testincludes}"/>
  12.446 +                    </fileset>
  12.447 +                </union>
  12.448 +                <taskdef classname="org.testng.TestNGAntTask" classpath="${run.test.classpath}" name="testng"/>
  12.449 +                <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="alt2xml-lib" testname="TestNG tests" workingDir="${work.dir}">
  12.450 +                    <xmlfileset dir="${build.test.classes.dir}" includes="@{testincludes}"/>
  12.451 +                    <propertyset>
  12.452 +                        <propertyref prefix="test-sys-prop."/>
  12.453 +                        <mapper from="test-sys-prop.*" to="*" type="glob"/>
  12.454 +                    </propertyset>
  12.455 +                    <customize/>
  12.456 +                </testng>
  12.457 +            </sequential>
  12.458 +        </macrodef>
  12.459 +    </target>
  12.460 +    <target name="-init-macrodef-test-impl">
  12.461 +        <macrodef name="test-impl" uri="http://www.netbeans.org/ns/j2se-project/3">
  12.462 +            <attribute default="${includes}" name="includes"/>
  12.463 +            <attribute default="${excludes}" name="excludes"/>
  12.464 +            <attribute default="**" name="testincludes"/>
  12.465 +            <attribute default="" name="testmethods"/>
  12.466 +            <element implicit="true" name="customize" optional="true"/>
  12.467 +            <sequential>
  12.468 +                <echo>No tests executed.</echo>
  12.469 +            </sequential>
  12.470 +        </macrodef>
  12.471 +    </target>
  12.472 +    <target depends="-init-macrodef-junit" if="${junit.available}" name="-init-macrodef-junit-impl">
  12.473 +        <macrodef name="test-impl" uri="http://www.netbeans.org/ns/j2se-project/3">
  12.474 +            <attribute default="${includes}" name="includes"/>
  12.475 +            <attribute default="${excludes}" name="excludes"/>
  12.476 +            <attribute default="**" name="testincludes"/>
  12.477 +            <attribute default="" name="testmethods"/>
  12.478 +            <element implicit="true" name="customize" optional="true"/>
  12.479 +            <sequential>
  12.480 +                <j2seproject3:junit excludes="@{excludes}" includes="@{includes}" testincludes="@{testincludes}" testmethods="@{testmethods}">
  12.481 +                    <customize/>
  12.482 +                </j2seproject3:junit>
  12.483 +            </sequential>
  12.484 +        </macrodef>
  12.485 +    </target>
  12.486 +    <target depends="-init-macrodef-testng" if="${testng.available}" name="-init-macrodef-testng-impl">
  12.487 +        <macrodef name="test-impl" uri="http://www.netbeans.org/ns/j2se-project/3">
  12.488 +            <attribute default="${includes}" name="includes"/>
  12.489 +            <attribute default="${excludes}" name="excludes"/>
  12.490 +            <attribute default="**" name="testincludes"/>
  12.491 +            <attribute default="" name="testmethods"/>
  12.492 +            <element implicit="true" name="customize" optional="true"/>
  12.493 +            <sequential>
  12.494 +                <j2seproject3:testng excludes="@{excludes}" includes="@{includes}" testincludes="@{testincludes}" testmethods="@{testmethods}">
  12.495 +                    <customize/>
  12.496 +                </j2seproject3:testng>
  12.497 +            </sequential>
  12.498 +        </macrodef>
  12.499 +    </target>
  12.500 +    <target depends="-init-macrodef-test-impl,-init-macrodef-junit-impl,-init-macrodef-testng-impl" name="-init-macrodef-test">
  12.501 +        <macrodef name="test" uri="http://www.netbeans.org/ns/j2se-project/3">
  12.502 +            <attribute default="${includes}" name="includes"/>
  12.503 +            <attribute default="${excludes}" name="excludes"/>
  12.504 +            <attribute default="**" name="testincludes"/>
  12.505 +            <attribute default="" name="testmethods"/>
  12.506 +            <sequential>
  12.507 +                <j2seproject3:test-impl excludes="@{excludes}" includes="@{includes}" testincludes="@{testincludes}" testmethods="@{testmethods}">
  12.508 +                    <customize>
  12.509 +                        <classpath>
  12.510 +                            <path path="${run.test.classpath}"/>
  12.511 +                        </classpath>
  12.512 +                        <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
  12.513 +                        <jvmarg line="${run.jvmargs}"/>
  12.514 +                        <jvmarg line="${run.jvmargs.ide}"/>
  12.515 +                    </customize>
  12.516 +                </j2seproject3:test-impl>
  12.517 +            </sequential>
  12.518 +        </macrodef>
  12.519 +    </target>
  12.520 +    <target if="${junit.available}" name="-init-macrodef-junit-debug" unless="${nb.junit.batch}">
  12.521 +        <macrodef name="junit-debug" uri="http://www.netbeans.org/ns/j2se-project/3">
  12.522 +            <attribute default="${includes}" name="includes"/>
  12.523 +            <attribute default="${excludes}" name="excludes"/>
  12.524 +            <attribute default="**" name="testincludes"/>
  12.525 +            <attribute default="" name="testmethods"/>
  12.526 +            <element name="customize" optional="true"/>
  12.527 +            <sequential>
  12.528 +                <property name="junit.forkmode" value="perTest"/>
  12.529 +                <junit dir="${work.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" forkmode="${junit.forkmode}" showoutput="true" tempdir="${build.dir}">
  12.530 +                    <test methods="@{testmethods}" name="@{testincludes}" todir="${build.test.results.dir}"/>
  12.531 +                    <syspropertyset>
  12.532 +                        <propertyref prefix="test-sys-prop."/>
  12.533 +                        <mapper from="test-sys-prop.*" to="*" type="glob"/>
  12.534 +                    </syspropertyset>
  12.535 +                    <formatter type="brief" usefile="false"/>
  12.536 +                    <formatter type="xml"/>
  12.537 +                    <jvmarg value="-ea"/>
  12.538 +                    <jvmarg line="${debug-args-line}"/>
  12.539 +                    <jvmarg value="-Xrunjdwp:transport=${debug-transport},address=${jpda.address}"/>
  12.540 +                    <customize/>
  12.541 +                </junit>
  12.542 +            </sequential>
  12.543 +        </macrodef>
  12.544 +    </target>
  12.545 +    <target depends="-init-test-properties" if="${nb.junit.batch}" name="-init-macrodef-junit-debug-batch">
  12.546 +        <macrodef name="junit-debug" uri="http://www.netbeans.org/ns/j2se-project/3">
  12.547 +            <attribute default="${includes}" name="includes"/>
  12.548 +            <attribute default="${excludes}" name="excludes"/>
  12.549 +            <attribute default="**" name="testincludes"/>
  12.550 +            <attribute default="" name="testmethods"/>
  12.551 +            <element name="customize" optional="true"/>
  12.552 +            <sequential>
  12.553 +                <property name="junit.forkmode" value="perTest"/>
  12.554 +                <junit dir="${work.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" forkmode="${junit.forkmode}" showoutput="true" tempdir="${build.dir}">
  12.555 +                    <batchtest todir="${build.test.results.dir}">
  12.556 +                        <fileset dir="${test.src.dir}" excludes="@{excludes},${excludes}" includes="@{includes}">
  12.557 +                            <filename name="@{testincludes}"/>
  12.558 +                        </fileset>
  12.559 +                        <fileset dir="${build.test.classes.dir}" excludes="@{excludes},${excludes},${test.binaryexcludes}" includes="${test.binaryincludes}">
  12.560 +                            <filename name="${test.binarytestincludes}"/>
  12.561 +                        </fileset>
  12.562 +                    </batchtest>
  12.563 +                    <syspropertyset>
  12.564 +                        <propertyref prefix="test-sys-prop."/>
  12.565 +                        <mapper from="test-sys-prop.*" to="*" type="glob"/>
  12.566 +                    </syspropertyset>
  12.567 +                    <formatter type="brief" usefile="false"/>
  12.568 +                    <formatter type="xml"/>
  12.569 +                    <jvmarg value="-ea"/>
  12.570 +                    <jvmarg line="${debug-args-line}"/>
  12.571 +                    <jvmarg value="-Xrunjdwp:transport=${debug-transport},address=${jpda.address}"/>
  12.572 +                    <customize/>
  12.573 +                </junit>
  12.574 +            </sequential>
  12.575 +        </macrodef>
  12.576 +    </target>
  12.577 +    <target depends="-init-macrodef-junit-debug,-init-macrodef-junit-debug-batch" if="${junit.available}" name="-init-macrodef-junit-debug-impl">
  12.578 +        <macrodef name="test-debug-impl" uri="http://www.netbeans.org/ns/j2se-project/3">
  12.579 +            <attribute default="${includes}" name="includes"/>
  12.580 +            <attribute default="${excludes}" name="excludes"/>
  12.581 +            <attribute default="**" name="testincludes"/>
  12.582 +            <attribute default="" name="testmethods"/>
  12.583 +            <element implicit="true" name="customize" optional="true"/>
  12.584 +            <sequential>
  12.585 +                <j2seproject3:junit-debug excludes="@{excludes}" includes="@{includes}" testincludes="@{testincludes}" testmethods="@{testmethods}">
  12.586 +                    <customize/>
  12.587 +                </j2seproject3:junit-debug>
  12.588 +            </sequential>
  12.589 +        </macrodef>
  12.590 +    </target>
  12.591 +    <target if="${testng.available}" name="-init-macrodef-testng-debug">
  12.592 +        <macrodef name="testng-debug" uri="http://www.netbeans.org/ns/j2se-project/3">
  12.593 +            <attribute default="${main.class}" name="testClass"/>
  12.594 +            <attribute default="" name="testMethod"/>
  12.595 +            <element name="customize2" optional="true"/>
  12.596 +            <sequential>
  12.597 +                <condition else="-testclass @{testClass}" property="test.class.or.method" value="-methods @{testClass}.@{testMethod}">
  12.598 +                    <isset property="test.method"/>
  12.599 +                </condition>
  12.600 +                <condition else="-suitename alt2xml-lib -testname @{testClass} ${test.class.or.method}" property="testng.cmd.args" value="@{testClass}">
  12.601 +                    <matches pattern=".*\.xml" string="@{testClass}"/>
  12.602 +                </condition>
  12.603 +                <delete dir="${build.test.results.dir}" quiet="true"/>
  12.604 +                <mkdir dir="${build.test.results.dir}"/>
  12.605 +                <j2seproject3:debug classname="org.testng.TestNG" classpath="${debug.test.classpath}">
  12.606 +                    <customize>
  12.607 +                        <customize2/>
  12.608 +                        <jvmarg value="-ea"/>
  12.609 +                        <arg line="${testng.debug.mode}"/>
  12.610 +                        <arg line="-d ${build.test.results.dir}"/>
  12.611 +                        <arg line="-listener org.testng.reporters.VerboseReporter"/>
  12.612 +                        <arg line="${testng.cmd.args}"/>
  12.613 +                    </customize>
  12.614 +                </j2seproject3:debug>
  12.615 +            </sequential>
  12.616 +        </macrodef>
  12.617 +    </target>
  12.618 +    <target depends="-init-macrodef-testng-debug" if="${testng.available}" name="-init-macrodef-testng-debug-impl">
  12.619 +        <macrodef name="testng-debug-impl" uri="http://www.netbeans.org/ns/j2se-project/3">
  12.620 +            <attribute default="${main.class}" name="testClass"/>
  12.621 +            <attribute default="" name="testMethod"/>
  12.622 +            <element implicit="true" name="customize2" optional="true"/>
  12.623 +            <sequential>
  12.624 +                <j2seproject3:testng-debug testClass="@{testClass}" testMethod="@{testMethod}">
  12.625 +                    <customize2/>
  12.626 +                </j2seproject3:testng-debug>
  12.627 +            </sequential>
  12.628 +        </macrodef>
  12.629 +    </target>
  12.630 +    <target depends="-init-macrodef-junit-debug-impl" if="${junit.available}" name="-init-macrodef-test-debug-junit">
  12.631 +        <macrodef name="test-debug" uri="http://www.netbeans.org/ns/j2se-project/3">
  12.632 +            <attribute default="${includes}" name="includes"/>
  12.633 +            <attribute default="${excludes}" name="excludes"/>
  12.634 +            <attribute default="**" name="testincludes"/>
  12.635 +            <attribute default="" name="testmethods"/>
  12.636 +            <attribute default="${main.class}" name="testClass"/>
  12.637 +            <attribute default="" name="testMethod"/>
  12.638 +            <sequential>
  12.639 +                <j2seproject3:test-debug-impl excludes="@{excludes}" includes="@{includes}" testincludes="@{testincludes}" testmethods="@{testmethods}">
  12.640 +                    <customize>
  12.641 +                        <classpath>
  12.642 +                            <path path="${run.test.classpath}"/>
  12.643 +                        </classpath>
  12.644 +                        <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
  12.645 +                        <jvmarg line="${run.jvmargs}"/>
  12.646 +                        <jvmarg line="${run.jvmargs.ide}"/>
  12.647 +                    </customize>
  12.648 +                </j2seproject3:test-debug-impl>
  12.649 +            </sequential>
  12.650 +        </macrodef>
  12.651 +    </target>
  12.652 +    <target depends="-init-macrodef-testng-debug-impl" if="${testng.available}" name="-init-macrodef-test-debug-testng">
  12.653 +        <macrodef name="test-debug" uri="http://www.netbeans.org/ns/j2se-project/3">
  12.654 +            <attribute default="${includes}" name="includes"/>
  12.655 +            <attribute default="${excludes}" name="excludes"/>
  12.656 +            <attribute default="**" name="testincludes"/>
  12.657 +            <attribute default="" name="testmethods"/>
  12.658 +            <attribute default="${main.class}" name="testClass"/>
  12.659 +            <attribute default="" name="testMethod"/>
  12.660 +            <sequential>
  12.661 +                <j2seproject3:testng-debug-impl testClass="@{testClass}" testMethod="@{testMethod}">
  12.662 +                    <customize2>
  12.663 +                        <syspropertyset>
  12.664 +                            <propertyref prefix="test-sys-prop."/>
  12.665 +                            <mapper from="test-sys-prop.*" to="*" type="glob"/>
  12.666 +                        </syspropertyset>
  12.667 +                    </customize2>
  12.668 +                </j2seproject3:testng-debug-impl>
  12.669 +            </sequential>
  12.670 +        </macrodef>
  12.671 +    </target>
  12.672 +    <target depends="-init-macrodef-test-debug-junit,-init-macrodef-test-debug-testng" name="-init-macrodef-test-debug"/>
  12.673 +    <!--
  12.674 +                pre NB7.2 profiling section; consider it deprecated
  12.675 +            -->
  12.676 +    <target depends="-profile-pre-init, init, -profile-post-init, -profile-init-macrodef-profile, -profile-init-check" if="profiler.info.jvmargs.agent" name="profile-init"/>
  12.677 +    <target if="profiler.info.jvmargs.agent" name="-profile-pre-init">
  12.678 +        <!-- Empty placeholder for easier customization. -->
  12.679 +        <!-- You can override this target in the ../build.xml file. -->
  12.680 +    </target>
  12.681 +    <target if="profiler.info.jvmargs.agent" name="-profile-post-init">
  12.682 +        <!-- Empty placeholder for easier customization. -->
  12.683 +        <!-- You can override this target in the ../build.xml file. -->
  12.684 +    </target>
  12.685 +    <target if="profiler.info.jvmargs.agent" name="-profile-init-macrodef-profile">
  12.686 +        <macrodef name="resolve">
  12.687 +            <attribute name="name"/>
  12.688 +            <attribute name="value"/>
  12.689 +            <sequential>
  12.690 +                <property name="@{name}" value="${env.@{value}}"/>
  12.691 +            </sequential>
  12.692 +        </macrodef>
  12.693 +        <macrodef name="profile">
  12.694 +            <attribute default="${main.class}" name="classname"/>
  12.695 +            <element name="customize" optional="true"/>
  12.696 +            <sequential>
  12.697 +                <property environment="env"/>
  12.698 +                <resolve name="profiler.current.path" value="${profiler.info.pathvar}"/>
  12.699 +                <java classname="@{classname}" dir="${profiler.info.dir}" fork="true" jvm="${profiler.info.jvm}">
  12.700 +                    <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
  12.701 +                    <jvmarg value="${profiler.info.jvmargs.agent}"/>
  12.702 +                    <jvmarg line="${profiler.info.jvmargs}"/>
  12.703 +                    <env key="${profiler.info.pathvar}" path="${profiler.info.agentpath}:${profiler.current.path}"/>
  12.704 +                    <arg line="${application.args}"/>
  12.705 +                    <classpath>
  12.706 +                        <path path="${run.classpath}"/>
  12.707 +                    </classpath>
  12.708 +                    <syspropertyset>
  12.709 +                        <propertyref prefix="run-sys-prop."/>
  12.710 +                        <mapper from="run-sys-prop.*" to="*" type="glob"/>
  12.711 +                    </syspropertyset>
  12.712 +                    <customize/>
  12.713 +                </java>
  12.714 +            </sequential>
  12.715 +        </macrodef>
  12.716 +    </target>
  12.717 +    <target depends="-profile-pre-init, init, -profile-post-init, -profile-init-macrodef-profile" if="profiler.info.jvmargs.agent" name="-profile-init-check">
  12.718 +        <fail unless="profiler.info.jvm">Must set JVM to use for profiling in profiler.info.jvm</fail>
  12.719 +        <fail unless="profiler.info.jvmargs.agent">Must set profiler agent JVM arguments in profiler.info.jvmargs.agent</fail>
  12.720 +    </target>
  12.721 +    <!--
  12.722 +                end of pre NB7.2 profiling section
  12.723 +            -->
  12.724 +    <target depends="-init-debug-args" name="-init-macrodef-nbjpda">
  12.725 +        <macrodef name="nbjpdastart" uri="http://www.netbeans.org/ns/j2se-project/1">
  12.726 +            <attribute default="${main.class}" name="name"/>
  12.727 +            <attribute default="${debug.classpath}" name="classpath"/>
  12.728 +            <attribute default="" name="stopclassname"/>
  12.729 +            <sequential>
  12.730 +                <nbjpdastart addressproperty="jpda.address" name="@{name}" stopclassname="@{stopclassname}" transport="${debug-transport}">
  12.731 +                    <classpath>
  12.732 +                        <path path="@{classpath}"/>
  12.733 +                    </classpath>
  12.734 +                </nbjpdastart>
  12.735 +            </sequential>
  12.736 +        </macrodef>
  12.737 +        <macrodef name="nbjpdareload" uri="http://www.netbeans.org/ns/j2se-project/1">
  12.738 +            <attribute default="${build.classes.dir}" name="dir"/>
  12.739 +            <sequential>
  12.740 +                <nbjpdareload>
  12.741 +                    <fileset dir="@{dir}" includes="${fix.classes}">
  12.742 +                        <include name="${fix.includes}*.class"/>
  12.743 +                    </fileset>
  12.744 +                </nbjpdareload>
  12.745 +            </sequential>
  12.746 +        </macrodef>
  12.747 +    </target>
  12.748 +    <target name="-init-debug-args">
  12.749 +        <property name="version-output" value="java version &quot;${ant.java.version}"/>
  12.750 +        <condition property="have-jdk-older-than-1.4">
  12.751 +            <or>
  12.752 +                <contains string="${version-output}" substring="java version &quot;1.0"/>
  12.753 +                <contains string="${version-output}" substring="java version &quot;1.1"/>
  12.754 +                <contains string="${version-output}" substring="java version &quot;1.2"/>
  12.755 +                <contains string="${version-output}" substring="java version &quot;1.3"/>
  12.756 +            </or>
  12.757 +        </condition>
  12.758 +        <condition else="-Xdebug" property="debug-args-line" value="-Xdebug -Xnoagent -Djava.compiler=none">
  12.759 +            <istrue value="${have-jdk-older-than-1.4}"/>
  12.760 +        </condition>
  12.761 +        <condition else="dt_socket" property="debug-transport-by-os" value="dt_shmem">
  12.762 +            <os family="windows"/>
  12.763 +        </condition>
  12.764 +        <condition else="${debug-transport-by-os}" property="debug-transport" value="${debug.transport}">
  12.765 +            <isset property="debug.transport"/>
  12.766 +        </condition>
  12.767 +    </target>
  12.768 +    <target depends="-init-debug-args" name="-init-macrodef-debug">
  12.769 +        <macrodef name="debug" uri="http://www.netbeans.org/ns/j2se-project/3">
  12.770 +            <attribute default="${main.class}" name="classname"/>
  12.771 +            <attribute default="${debug.classpath}" name="classpath"/>
  12.772 +            <element name="customize" optional="true"/>
  12.773 +            <sequential>
  12.774 +                <java classname="@{classname}" dir="${work.dir}" fork="true">
  12.775 +                    <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
  12.776 +                    <jvmarg line="${debug-args-line}"/>
  12.777 +                    <jvmarg value="-Xrunjdwp:transport=${debug-transport},address=${jpda.address}"/>
  12.778 +                    <jvmarg value="-Dfile.encoding=${runtime.encoding}"/>
  12.779 +                    <redirector errorencoding="${runtime.encoding}" inputencoding="${runtime.encoding}" outputencoding="${runtime.encoding}"/>
  12.780 +                    <jvmarg line="${run.jvmargs}"/>
  12.781 +                    <jvmarg line="${run.jvmargs.ide}"/>
  12.782 +                    <classpath>
  12.783 +                        <path path="@{classpath}"/>
  12.784 +                    </classpath>
  12.785 +                    <syspropertyset>
  12.786 +                        <propertyref prefix="run-sys-prop."/>
  12.787 +                        <mapper from="run-sys-prop.*" to="*" type="glob"/>
  12.788 +                    </syspropertyset>
  12.789 +                    <customize/>
  12.790 +                </java>
  12.791 +            </sequential>
  12.792 +        </macrodef>
  12.793 +    </target>
  12.794 +    <target name="-init-macrodef-java">
  12.795 +        <macrodef name="java" uri="http://www.netbeans.org/ns/j2se-project/1">
  12.796 +            <attribute default="${main.class}" name="classname"/>
  12.797 +            <attribute default="${run.classpath}" name="classpath"/>
  12.798 +            <attribute default="jvm" name="jvm"/>
  12.799 +            <element name="customize" optional="true"/>
  12.800 +            <sequential>
  12.801 +                <java classname="@{classname}" dir="${work.dir}" fork="true">
  12.802 +                    <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
  12.803 +                    <jvmarg value="-Dfile.encoding=${runtime.encoding}"/>
  12.804 +                    <redirector errorencoding="${runtime.encoding}" inputencoding="${runtime.encoding}" outputencoding="${runtime.encoding}"/>
  12.805 +                    <jvmarg line="${run.jvmargs}"/>
  12.806 +                    <jvmarg line="${run.jvmargs.ide}"/>
  12.807 +                    <classpath>
  12.808 +                        <path path="@{classpath}"/>
  12.809 +                    </classpath>
  12.810 +                    <syspropertyset>
  12.811 +                        <propertyref prefix="run-sys-prop."/>
  12.812 +                        <mapper from="run-sys-prop.*" to="*" type="glob"/>
  12.813 +                    </syspropertyset>
  12.814 +                    <customize/>
  12.815 +                </java>
  12.816 +            </sequential>
  12.817 +        </macrodef>
  12.818 +    </target>
  12.819 +    <target name="-init-macrodef-copylibs">
  12.820 +        <macrodef name="copylibs" uri="http://www.netbeans.org/ns/j2se-project/3">
  12.821 +            <attribute default="${manifest.file}" name="manifest"/>
  12.822 +            <element name="customize" optional="true"/>
  12.823 +            <sequential>
  12.824 +                <property location="${build.classes.dir}" name="build.classes.dir.resolved"/>
  12.825 +                <pathconvert property="run.classpath.without.build.classes.dir">
  12.826 +                    <path path="${run.classpath}"/>
  12.827 +                    <map from="${build.classes.dir.resolved}" to=""/>
  12.828 +                </pathconvert>
  12.829 +                <pathconvert pathsep=" " property="jar.classpath">
  12.830 +                    <path path="${run.classpath.without.build.classes.dir}"/>
  12.831 +                    <chainedmapper>
  12.832 +                        <flattenmapper/>
  12.833 +                        <filtermapper>
  12.834 +                            <replacestring from=" " to="%20"/>
  12.835 +                        </filtermapper>
  12.836 +                        <globmapper from="*" to="lib/*"/>
  12.837 +                    </chainedmapper>
  12.838 +                </pathconvert>
  12.839 +                <taskdef classname="org.netbeans.modules.java.j2seproject.copylibstask.CopyLibs" classpath="${libs.CopyLibs.classpath}" name="copylibs"/>
  12.840 +                <copylibs compress="${jar.compress}" excludeFromCopy="${copylibs.excludes}" index="${jar.index}" indexMetaInf="${jar.index.metainf}" jarfile="${dist.jar}" manifest="@{manifest}" rebase="${copylibs.rebase}" runtimeclasspath="${run.classpath.without.build.classes.dir}">
  12.841 +                    <fileset dir="${build.classes.dir}" excludes="${dist.archive.excludes}"/>
  12.842 +                    <manifest>
  12.843 +                        <attribute name="Class-Path" value="${jar.classpath}"/>
  12.844 +                        <customize/>
  12.845 +                    </manifest>
  12.846 +                </copylibs>
  12.847 +            </sequential>
  12.848 +        </macrodef>
  12.849 +    </target>
  12.850 +    <target name="-init-presetdef-jar">
  12.851 +        <presetdef name="jar" uri="http://www.netbeans.org/ns/j2se-project/1">
  12.852 +            <jar compress="${jar.compress}" index="${jar.index}" jarfile="${dist.jar}">
  12.853 +                <j2seproject1:fileset dir="${build.classes.dir}" excludes="${dist.archive.excludes}"/>
  12.854 +            </jar>
  12.855 +        </presetdef>
  12.856 +    </target>
  12.857 +    <target name="-init-ap-cmdline-properties">
  12.858 +        <property name="annotation.processing.enabled" value="true"/>
  12.859 +        <property name="annotation.processing.processors.list" value=""/>
  12.860 +        <property name="annotation.processing.processor.options" value=""/>
  12.861 +        <property name="annotation.processing.run.all.processors" value="true"/>
  12.862 +        <property name="javac.processorpath" value="${javac.classpath}"/>
  12.863 +        <property name="javac.test.processorpath" value="${javac.test.classpath}"/>
  12.864 +        <condition property="ap.supported.internal" value="true">
  12.865 +            <not>
  12.866 +                <matches pattern="1\.[0-5](\..*)?" string="${javac.source}"/>
  12.867 +            </not>
  12.868 +        </condition>
  12.869 +    </target>
  12.870 +    <target depends="-init-ap-cmdline-properties" if="ap.supported.internal" name="-init-ap-cmdline-supported">
  12.871 +        <condition else="" property="ap.processors.internal" value="-processor ${annotation.processing.processors.list}">
  12.872 +            <isfalse value="${annotation.processing.run.all.processors}"/>
  12.873 +        </condition>
  12.874 +        <condition else="" property="ap.proc.none.internal" value="-proc:none">
  12.875 +            <isfalse value="${annotation.processing.enabled}"/>
  12.876 +        </condition>
  12.877 +    </target>
  12.878 +    <target depends="-init-ap-cmdline-properties,-init-ap-cmdline-supported" name="-init-ap-cmdline">
  12.879 +        <property name="ap.cmd.line.internal" value=""/>
  12.880 +    </target>
  12.881 +    <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"/>
  12.882 +    <!--
  12.883 +                ===================
  12.884 +                COMPILATION SECTION
  12.885 +                ===================
  12.886 +            -->
  12.887 +    <target name="-deps-jar-init" unless="built-jar.properties">
  12.888 +        <property location="${build.dir}/built-jar.properties" name="built-jar.properties"/>
  12.889 +        <delete file="${built-jar.properties}" quiet="true"/>
  12.890 +    </target>
  12.891 +    <target if="already.built.jar.${basedir}" name="-warn-already-built-jar">
  12.892 +        <echo level="warn" message="Cycle detected: alt2xml-lib was already built"/>
  12.893 +    </target>
  12.894 +    <target depends="init,-deps-jar-init" name="deps-jar" unless="no.deps">
  12.895 +        <mkdir dir="${build.dir}"/>
  12.896 +        <touch file="${built-jar.properties}" verbose="false"/>
  12.897 +        <property file="${built-jar.properties}" prefix="already.built.jar."/>
  12.898 +        <antcall target="-warn-already-built-jar"/>
  12.899 +        <propertyfile file="${built-jar.properties}">
  12.900 +            <entry key="${basedir}" value=""/>
  12.901 +        </propertyfile>
  12.902 +    </target>
  12.903 +    <target depends="init,-check-automatic-build,-clean-after-automatic-build" name="-verify-automatic-build"/>
  12.904 +    <target depends="init" name="-check-automatic-build">
  12.905 +        <available file="${build.classes.dir}/.netbeans_automatic_build" property="netbeans.automatic.build"/>
  12.906 +    </target>
  12.907 +    <target depends="init" if="netbeans.automatic.build" name="-clean-after-automatic-build">
  12.908 +        <antcall target="clean"/>
  12.909 +    </target>
  12.910 +    <target depends="init,deps-jar" name="-pre-pre-compile">
  12.911 +        <mkdir dir="${build.classes.dir}"/>
  12.912 +    </target>
  12.913 +    <target name="-pre-compile">
  12.914 +        <!-- Empty placeholder for easier customization. -->
  12.915 +        <!-- You can override this target in the ../build.xml file. -->
  12.916 +    </target>
  12.917 +    <target if="do.depend.true" name="-compile-depend">
  12.918 +        <pathconvert property="build.generated.subdirs">
  12.919 +            <dirset dir="${build.generated.sources.dir}" erroronmissingdir="false">
  12.920 +                <include name="*"/>
  12.921 +            </dirset>
  12.922 +        </pathconvert>
  12.923 +        <j2seproject3:depend srcdir="${src.dir}:${build.generated.subdirs}"/>
  12.924 +    </target>
  12.925 +    <target depends="init,deps-jar,-pre-pre-compile,-pre-compile, -copy-persistence-xml,-compile-depend" if="have.sources" name="-do-compile">
  12.926 +        <j2seproject3:javac gensrcdir="${build.generated.sources.dir}"/>
  12.927 +        <copy todir="${build.classes.dir}">
  12.928 +            <fileset dir="${src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
  12.929 +        </copy>
  12.930 +    </target>
  12.931 +    <target if="has.persistence.xml" name="-copy-persistence-xml">
  12.932 +        <mkdir dir="${build.classes.dir}/META-INF"/>
  12.933 +        <copy todir="${build.classes.dir}/META-INF">
  12.934 +            <fileset dir="${meta.inf.dir}" includes="persistence.xml orm.xml"/>
  12.935 +        </copy>
  12.936 +    </target>
  12.937 +    <target name="-post-compile">
  12.938 +        <!-- Empty placeholder for easier customization. -->
  12.939 +        <!-- You can override this target in the ../build.xml file. -->
  12.940 +    </target>
  12.941 +    <target depends="init,deps-jar,-verify-automatic-build,-pre-pre-compile,-pre-compile,-do-compile,-post-compile" description="Compile project." name="compile"/>
  12.942 +    <target name="-pre-compile-single">
  12.943 +        <!-- Empty placeholder for easier customization. -->
  12.944 +        <!-- You can override this target in the ../build.xml file. -->
  12.945 +    </target>
  12.946 +    <target depends="init,deps-jar,-pre-pre-compile" name="-do-compile-single">
  12.947 +        <fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail>
  12.948 +        <j2seproject3:force-recompile/>
  12.949 +        <j2seproject3:javac excludes="" gensrcdir="${build.generated.sources.dir}" includes="${javac.includes}" sourcepath="${src.dir}"/>
  12.950 +    </target>
  12.951 +    <target name="-post-compile-single">
  12.952 +        <!-- Empty placeholder for easier customization. -->
  12.953 +        <!-- You can override this target in the ../build.xml file. -->
  12.954 +    </target>
  12.955 +    <target depends="init,deps-jar,-verify-automatic-build,-pre-pre-compile,-pre-compile-single,-do-compile-single,-post-compile-single" name="compile-single"/>
  12.956 +    <!--
  12.957 +                ====================
  12.958 +                JAR BUILDING SECTION
  12.959 +                ====================
  12.960 +            -->
  12.961 +    <target depends="init" name="-pre-pre-jar">
  12.962 +        <dirname file="${dist.jar}" property="dist.jar.dir"/>
  12.963 +        <mkdir dir="${dist.jar.dir}"/>
  12.964 +    </target>
  12.965 +    <target name="-pre-jar">
  12.966 +        <!-- Empty placeholder for easier customization. -->
  12.967 +        <!-- You can override this target in the ../build.xml file. -->
  12.968 +    </target>
  12.969 +    <target depends="init" if="do.archive" name="-do-jar-create-manifest" unless="manifest.available">
  12.970 +        <tempfile deleteonexit="true" destdir="${build.dir}" property="tmp.manifest.file"/>
  12.971 +        <touch file="${tmp.manifest.file}" verbose="false"/>
  12.972 +    </target>
  12.973 +    <target depends="init" if="do.archive+manifest.available" name="-do-jar-copy-manifest">
  12.974 +        <tempfile deleteonexit="true" destdir="${build.dir}" property="tmp.manifest.file"/>
  12.975 +        <copy file="${manifest.file}" tofile="${tmp.manifest.file}"/>
  12.976 +    </target>
  12.977 +    <target depends="init,-do-jar-create-manifest,-do-jar-copy-manifest" if="do.archive+main.class.available" name="-do-jar-set-mainclass">
  12.978 +        <manifest file="${tmp.manifest.file}" mode="update">
  12.979 +            <attribute name="Main-Class" value="${main.class}"/>
  12.980 +        </manifest>
  12.981 +    </target>
  12.982 +    <target depends="init,-do-jar-create-manifest,-do-jar-copy-manifest" if="do.archive+profile.available" name="-do-jar-set-profile">
  12.983 +        <manifest file="${tmp.manifest.file}" mode="update">
  12.984 +            <attribute name="Profile" value="${javac.profile}"/>
  12.985 +        </manifest>
  12.986 +    </target>
  12.987 +    <target depends="init,-do-jar-create-manifest,-do-jar-copy-manifest" if="do.archive+splashscreen.available" name="-do-jar-set-splashscreen">
  12.988 +        <basename file="${application.splash}" property="splashscreen.basename"/>
  12.989 +        <mkdir dir="${build.classes.dir}/META-INF"/>
  12.990 +        <copy failonerror="false" file="${application.splash}" todir="${build.classes.dir}/META-INF"/>
  12.991 +        <manifest file="${tmp.manifest.file}" mode="update">
  12.992 +            <attribute name="SplashScreen-Image" value="META-INF/${splashscreen.basename}"/>
  12.993 +        </manifest>
  12.994 +    </target>
  12.995 +    <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">
  12.996 +        <j2seproject3:copylibs manifest="${tmp.manifest.file}"/>
  12.997 +        <echo level="info">To run this application from the command line without Ant, try:</echo>
  12.998 +        <property location="${dist.jar}" name="dist.jar.resolved"/>
  12.999 +        <echo level="info">java -jar "${dist.jar.resolved}"</echo>
 12.1000 +    </target>
 12.1001 +    <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">
 12.1002 +        <j2seproject1:jar manifest="${tmp.manifest.file}"/>
 12.1003 +        <property location="${build.classes.dir}" name="build.classes.dir.resolved"/>
 12.1004 +        <property location="${dist.jar}" name="dist.jar.resolved"/>
 12.1005 +        <pathconvert property="run.classpath.with.dist.jar">
 12.1006 +            <path path="${run.classpath}"/>
 12.1007 +            <map from="${build.classes.dir.resolved}" to="${dist.jar.resolved}"/>
 12.1008 +        </pathconvert>
 12.1009 +        <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}">
 12.1010 +            <isset property="main.class.available"/>
 12.1011 +        </condition>
 12.1012 +        <condition else="debug" property="jar.usage.level" value="info">
 12.1013 +            <isset property="main.class.available"/>
 12.1014 +        </condition>
 12.1015 +        <echo level="${jar.usage.level}" message="${jar.usage.message}"/>
 12.1016 +    </target>
 12.1017 +    <target depends="-do-jar-copylibs" if="do.archive" name="-do-jar-delete-manifest">
 12.1018 +        <delete>
 12.1019 +            <fileset file="${tmp.manifest.file}"/>
 12.1020 +        </delete>
 12.1021 +    </target>
 12.1022 +    <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"/>
 12.1023 +    <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"/>
 12.1024 +    <target name="-post-jar">
 12.1025 +        <!-- Empty placeholder for easier customization. -->
 12.1026 +        <!-- You can override this target in the ../build.xml file. -->
 12.1027 +    </target>
 12.1028 +    <target depends="init,compile,-pre-jar,-do-jar-without-libraries,-do-jar-with-libraries,-post-jar" name="-do-jar"/>
 12.1029 +    <target depends="init,compile,-pre-jar,-do-jar,-post-jar" description="Build JAR." name="jar"/>
 12.1030 +    <!--
 12.1031 +                =================
 12.1032 +                EXECUTION SECTION
 12.1033 +                =================
 12.1034 +            -->
 12.1035 +    <target depends="init,compile" description="Run a main class." name="run">
 12.1036 +        <j2seproject1:java>
 12.1037 +            <customize>
 12.1038 +                <arg line="${application.args}"/>
 12.1039 +            </customize>
 12.1040 +        </j2seproject1:java>
 12.1041 +    </target>
 12.1042 +    <target name="-do-not-recompile">
 12.1043 +        <property name="javac.includes.binary" value=""/>
 12.1044 +    </target>
 12.1045 +    <target depends="init,compile-single" name="run-single">
 12.1046 +        <fail unless="run.class">Must select one file in the IDE or set run.class</fail>
 12.1047 +        <j2seproject1:java classname="${run.class}"/>
 12.1048 +    </target>
 12.1049 +    <target depends="init,compile-test-single" name="run-test-with-main">
 12.1050 +        <fail unless="run.class">Must select one file in the IDE or set run.class</fail>
 12.1051 +        <j2seproject1:java classname="${run.class}" classpath="${run.test.classpath}"/>
 12.1052 +    </target>
 12.1053 +    <!--
 12.1054 +                =================
 12.1055 +                DEBUGGING SECTION
 12.1056 +                =================
 12.1057 +            -->
 12.1058 +    <target depends="init" if="netbeans.home" name="-debug-start-debugger">
 12.1059 +        <j2seproject1:nbjpdastart name="${debug.class}"/>
 12.1060 +    </target>
 12.1061 +    <target depends="init" if="netbeans.home" name="-debug-start-debugger-main-test">
 12.1062 +        <j2seproject1:nbjpdastart classpath="${debug.test.classpath}" name="${debug.class}"/>
 12.1063 +    </target>
 12.1064 +    <target depends="init,compile" name="-debug-start-debuggee">
 12.1065 +        <j2seproject3:debug>
 12.1066 +            <customize>
 12.1067 +                <arg line="${application.args}"/>
 12.1068 +            </customize>
 12.1069 +        </j2seproject3:debug>
 12.1070 +    </target>
 12.1071 +    <target depends="init,compile,-debug-start-debugger,-debug-start-debuggee" description="Debug project in IDE." if="netbeans.home" name="debug"/>
 12.1072 +    <target depends="init" if="netbeans.home" name="-debug-start-debugger-stepinto">
 12.1073 +        <j2seproject1:nbjpdastart stopclassname="${main.class}"/>
 12.1074 +    </target>
 12.1075 +    <target depends="init,compile,-debug-start-debugger-stepinto,-debug-start-debuggee" if="netbeans.home" name="debug-stepinto"/>
 12.1076 +    <target depends="init,compile-single" if="netbeans.home" name="-debug-start-debuggee-single">
 12.1077 +        <fail unless="debug.class">Must select one file in the IDE or set debug.class</fail>
 12.1078 +        <j2seproject3:debug classname="${debug.class}"/>
 12.1079 +    </target>
 12.1080 +    <target depends="init,compile-single,-debug-start-debugger,-debug-start-debuggee-single" if="netbeans.home" name="debug-single"/>
 12.1081 +    <target depends="init,compile-test-single" if="netbeans.home" name="-debug-start-debuggee-main-test">
 12.1082 +        <fail unless="debug.class">Must select one file in the IDE or set debug.class</fail>
 12.1083 +        <j2seproject3:debug classname="${debug.class}" classpath="${debug.test.classpath}"/>
 12.1084 +    </target>
 12.1085 +    <target depends="init,compile-test-single,-debug-start-debugger-main-test,-debug-start-debuggee-main-test" if="netbeans.home" name="debug-test-with-main"/>
 12.1086 +    <target depends="init" name="-pre-debug-fix">
 12.1087 +        <fail unless="fix.includes">Must set fix.includes</fail>
 12.1088 +        <property name="javac.includes" value="${fix.includes}.java"/>
 12.1089 +    </target>
 12.1090 +    <target depends="init,-pre-debug-fix,compile-single" if="netbeans.home" name="-do-debug-fix">
 12.1091 +        <j2seproject1:nbjpdareload/>
 12.1092 +    </target>
 12.1093 +    <target depends="init,-pre-debug-fix,-do-debug-fix" if="netbeans.home" name="debug-fix"/>
 12.1094 +    <!--
 12.1095 +                =================
 12.1096 +                PROFILING SECTION
 12.1097 +                =================
 12.1098 +            -->
 12.1099 +    <!--
 12.1100 +                pre NB7.2 profiler integration
 12.1101 +            -->
 12.1102 +    <target depends="profile-init,compile" description="Profile a project in the IDE." if="profiler.info.jvmargs.agent" name="-profile-pre72">
 12.1103 +        <fail unless="netbeans.home">This target only works when run from inside the NetBeans IDE.</fail>
 12.1104 +        <nbprofiledirect>
 12.1105 +            <classpath>
 12.1106 +                <path path="${run.classpath}"/>
 12.1107 +            </classpath>
 12.1108 +        </nbprofiledirect>
 12.1109 +        <profile/>
 12.1110 +    </target>
 12.1111 +    <target depends="profile-init,compile-single" description="Profile a selected class in the IDE." if="profiler.info.jvmargs.agent" name="-profile-single-pre72">
 12.1112 +        <fail unless="profile.class">Must select one file in the IDE or set profile.class</fail>
 12.1113 +        <fail unless="netbeans.home">This target only works when run from inside the NetBeans IDE.</fail>
 12.1114 +        <nbprofiledirect>
 12.1115 +            <classpath>
 12.1116 +                <path path="${run.classpath}"/>
 12.1117 +            </classpath>
 12.1118 +        </nbprofiledirect>
 12.1119 +        <profile classname="${profile.class}"/>
 12.1120 +    </target>
 12.1121 +    <target depends="profile-init,compile-single" if="profiler.info.jvmargs.agent" name="-profile-applet-pre72">
 12.1122 +        <fail unless="netbeans.home">This target only works when run from inside the NetBeans IDE.</fail>
 12.1123 +        <nbprofiledirect>
 12.1124 +            <classpath>
 12.1125 +                <path path="${run.classpath}"/>
 12.1126 +            </classpath>
 12.1127 +        </nbprofiledirect>
 12.1128 +        <profile classname="sun.applet.AppletViewer">
 12.1129 +            <customize>
 12.1130 +                <arg value="${applet.url}"/>
 12.1131 +            </customize>
 12.1132 +        </profile>
 12.1133 +    </target>
 12.1134 +    <target depends="profile-init,compile-test-single" if="profiler.info.jvmargs.agent" name="-profile-test-single-pre72">
 12.1135 +        <fail unless="netbeans.home">This target only works when run from inside the NetBeans IDE.</fail>
 12.1136 +        <nbprofiledirect>
 12.1137 +            <classpath>
 12.1138 +                <path path="${run.test.classpath}"/>
 12.1139 +            </classpath>
 12.1140 +        </nbprofiledirect>
 12.1141 +        <junit dir="${profiler.info.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" jvm="${profiler.info.jvm}" showoutput="true">
 12.1142 +            <env key="${profiler.info.pathvar}" path="${profiler.info.agentpath}:${profiler.current.path}"/>
 12.1143 +            <jvmarg value="${profiler.info.jvmargs.agent}"/>
 12.1144 +            <jvmarg line="${profiler.info.jvmargs}"/>
 12.1145 +            <test name="${profile.class}"/>
 12.1146 +            <classpath>
 12.1147 +                <path path="${run.test.classpath}"/>
 12.1148 +            </classpath>
 12.1149 +            <syspropertyset>
 12.1150 +                <propertyref prefix="test-sys-prop."/>
 12.1151 +                <mapper from="test-sys-prop.*" to="*" type="glob"/>
 12.1152 +            </syspropertyset>
 12.1153 +            <formatter type="brief" usefile="false"/>
 12.1154 +            <formatter type="xml"/>
 12.1155 +        </junit>
 12.1156 +    </target>
 12.1157 +    <!--
 12.1158 +                end of pre NB72 profiling section
 12.1159 +            -->
 12.1160 +    <target if="netbeans.home" name="-profile-check">
 12.1161 +        <condition property="profiler.configured">
 12.1162 +            <or>
 12.1163 +                <contains casesensitive="true" string="${run.jvmargs.ide}" substring="-agentpath:"/>
 12.1164 +                <contains casesensitive="true" string="${run.jvmargs.ide}" substring="-javaagent:"/>
 12.1165 +            </or>
 12.1166 +        </condition>
 12.1167 +    </target>
 12.1168 +    <target depends="-profile-check,-profile-pre72" description="Profile a project in the IDE." if="profiler.configured" name="profile" unless="profiler.info.jvmargs.agent">
 12.1169 +        <startprofiler/>
 12.1170 +        <antcall target="run"/>
 12.1171 +    </target>
 12.1172 +    <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">
 12.1173 +        <fail unless="run.class">Must select one file in the IDE or set run.class</fail>
 12.1174 +        <startprofiler/>
 12.1175 +        <antcall target="run-single"/>
 12.1176 +    </target>
 12.1177 +    <target depends="-profile-test-single-pre72" description="Profile a selected test in the IDE." name="profile-test-single"/>
 12.1178 +    <target depends="-profile-check" description="Profile a selected test in the IDE." if="profiler.configured" name="profile-test" unless="profiler.info.jvmargs">
 12.1179 +        <fail unless="test.includes">Must select some files in the IDE or set test.includes</fail>
 12.1180 +        <startprofiler/>
 12.1181 +        <antcall target="test-single"/>
 12.1182 +    </target>
 12.1183 +    <target depends="-profile-check" description="Profile a selected class in the IDE." if="profiler.configured" name="profile-test-with-main">
 12.1184 +        <fail unless="run.class">Must select one file in the IDE or set run.class</fail>
 12.1185 +        <startprofiler/>
 12.1186 +        <antcal target="run-test-with-main"/>
 12.1187 +    </target>
 12.1188 +    <target depends="-profile-check,-profile-applet-pre72" if="profiler.configured" name="profile-applet" unless="profiler.info.jvmargs.agent">
 12.1189 +        <fail unless="applet.url">Must select one file in the IDE or set applet.url</fail>
 12.1190 +        <startprofiler/>
 12.1191 +        <antcall target="run-applet"/>
 12.1192 +    </target>
 12.1193 +    <!--
 12.1194 +                ===============
 12.1195 +                JAVADOC SECTION
 12.1196 +                ===============
 12.1197 +            -->
 12.1198 +    <target depends="init" if="have.sources" name="-javadoc-build">
 12.1199 +        <mkdir dir="${dist.javadoc.dir}"/>
 12.1200 +        <condition else="" property="javadoc.endorsed.classpath.cmd.line.arg" value="-J${endorsed.classpath.cmd.line.arg}">
 12.1201 +            <and>
 12.1202 +                <isset property="endorsed.classpath.cmd.line.arg"/>
 12.1203 +                <not>
 12.1204 +                    <equals arg1="${endorsed.classpath.cmd.line.arg}" arg2=""/>
 12.1205 +                </not>
 12.1206 +            </and>
 12.1207 +        </condition>
 12.1208 +        <condition else="" property="bug5101868workaround" value="*.java">
 12.1209 +            <matches pattern="1\.[56](\..*)?" string="${java.version}"/>
 12.1210 +        </condition>
 12.1211 +        <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}">
 12.1212 +            <classpath>
 12.1213 +                <path path="${javac.classpath}"/>
 12.1214 +            </classpath>
 12.1215 +            <fileset dir="${src.dir}" excludes="${bug5101868workaround},${excludes}" includes="${includes}">
 12.1216 +                <filename name="**/*.java"/>
 12.1217 +            </fileset>
 12.1218 +            <fileset dir="${build.generated.sources.dir}" erroronmissingdir="false">
 12.1219 +                <include name="**/*.java"/>
 12.1220 +                <exclude name="*.java"/>
 12.1221 +            </fileset>
 12.1222 +            <arg line="${javadoc.endorsed.classpath.cmd.line.arg}"/>
 12.1223 +        </javadoc>
 12.1224 +        <copy todir="${dist.javadoc.dir}">
 12.1225 +            <fileset dir="${src.dir}" excludes="${excludes}" includes="${includes}">
 12.1226 +                <filename name="**/doc-files/**"/>
 12.1227 +            </fileset>
 12.1228 +            <fileset dir="${build.generated.sources.dir}" erroronmissingdir="false">
 12.1229 +                <include name="**/doc-files/**"/>
 12.1230 +            </fileset>
 12.1231 +        </copy>
 12.1232 +    </target>
 12.1233 +    <target depends="init,-javadoc-build" if="netbeans.home" name="-javadoc-browse" unless="no.javadoc.preview">
 12.1234 +        <nbbrowse file="${dist.javadoc.dir}/index.html"/>
 12.1235 +    </target>
 12.1236 +    <target depends="init,-javadoc-build,-javadoc-browse" description="Build Javadoc." name="javadoc"/>
 12.1237 +    <!--
 12.1238 +                =========================
 12.1239 +                TEST COMPILATION SECTION
 12.1240 +                =========================
 12.1241 +            -->
 12.1242 +    <target depends="init,compile" if="have.tests" name="-pre-pre-compile-test">
 12.1243 +        <mkdir dir="${build.test.classes.dir}"/>
 12.1244 +    </target>
 12.1245 +    <target name="-pre-compile-test">
 12.1246 +        <!-- Empty placeholder for easier customization. -->
 12.1247 +        <!-- You can override this target in the ../build.xml file. -->
 12.1248 +    </target>
 12.1249 +    <target if="do.depend.true" name="-compile-test-depend">
 12.1250 +        <j2seproject3:depend classpath="${javac.test.classpath}" destdir="${build.test.classes.dir}" srcdir="${test.src.dir}"/>
 12.1251 +    </target>
 12.1252 +    <target depends="init,deps-jar,compile,-pre-pre-compile-test,-pre-compile-test,-compile-test-depend" if="have.tests" name="-do-compile-test">
 12.1253 +        <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}"/>
 12.1254 +        <copy todir="${build.test.classes.dir}">
 12.1255 +            <fileset dir="${test.src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
 12.1256 +        </copy>
 12.1257 +    </target>
 12.1258 +    <target name="-post-compile-test">
 12.1259 +        <!-- Empty placeholder for easier customization. -->
 12.1260 +        <!-- You can override this target in the ../build.xml file. -->
 12.1261 +    </target>
 12.1262 +    <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test,-do-compile-test,-post-compile-test" name="compile-test"/>
 12.1263 +    <target name="-pre-compile-test-single">
 12.1264 +        <!-- Empty placeholder for easier customization. -->
 12.1265 +        <!-- You can override this target in the ../build.xml file. -->
 12.1266 +    </target>
 12.1267 +    <target depends="init,deps-jar,compile,-pre-pre-compile-test,-pre-compile-test-single" if="have.tests" name="-do-compile-test-single">
 12.1268 +        <fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail>
 12.1269 +        <j2seproject3:force-recompile destdir="${build.test.classes.dir}"/>
 12.1270 +        <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}"/>
 12.1271 +        <copy todir="${build.test.classes.dir}">
 12.1272 +            <fileset dir="${test.src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
 12.1273 +        </copy>
 12.1274 +    </target>
 12.1275 +    <target name="-post-compile-test-single">
 12.1276 +        <!-- Empty placeholder for easier customization. -->
 12.1277 +        <!-- You can override this target in the ../build.xml file. -->
 12.1278 +    </target>
 12.1279 +    <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test-single,-do-compile-test-single,-post-compile-test-single" name="compile-test-single"/>
 12.1280 +    <!--
 12.1281 +                =======================
 12.1282 +                TEST EXECUTION SECTION
 12.1283 +                =======================
 12.1284 +            -->
 12.1285 +    <target depends="init" if="have.tests" name="-pre-test-run">
 12.1286 +        <mkdir dir="${build.test.results.dir}"/>
 12.1287 +    </target>
 12.1288 +    <target depends="init,compile-test,-pre-test-run" if="have.tests" name="-do-test-run">
 12.1289 +        <j2seproject3:test includes="${includes}" testincludes="**/*Test.java"/>
 12.1290 +    </target>
 12.1291 +    <target depends="init,compile-test,-pre-test-run,-do-test-run" if="have.tests" name="-post-test-run">
 12.1292 +        <fail if="tests.failed" unless="ignore.failing.tests">Some tests failed; see details above.</fail>
 12.1293 +    </target>
 12.1294 +    <target depends="init" if="have.tests" name="test-report"/>
 12.1295 +    <target depends="init" if="netbeans.home+have.tests" name="-test-browse"/>
 12.1296 +    <target depends="init,compile-test,-pre-test-run,-do-test-run,test-report,-post-test-run,-test-browse" description="Run unit tests." name="test"/>
 12.1297 +    <target depends="init" if="have.tests" name="-pre-test-run-single">
 12.1298 +        <mkdir dir="${build.test.results.dir}"/>
 12.1299 +    </target>
 12.1300 +    <target depends="init,compile-test-single,-pre-test-run-single" if="have.tests" name="-do-test-run-single">
 12.1301 +        <fail unless="test.includes">Must select some files in the IDE or set test.includes</fail>
 12.1302 +        <j2seproject3:test excludes="" includes="${test.includes}" testincludes="${test.includes}"/>
 12.1303 +    </target>
 12.1304 +    <target depends="init,compile-test-single,-pre-test-run-single,-do-test-run-single" if="have.tests" name="-post-test-run-single">
 12.1305 +        <fail if="tests.failed" unless="ignore.failing.tests">Some tests failed; see details above.</fail>
 12.1306 +    </target>
 12.1307 +    <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"/>
 12.1308 +    <target depends="init,compile-test-single,-pre-test-run-single" if="have.tests" name="-do-test-run-single-method">
 12.1309 +        <fail unless="test.class">Must select some files in the IDE or set test.class</fail>
 12.1310 +        <fail unless="test.method">Must select some method in the IDE or set test.method</fail>
 12.1311 +        <j2seproject3:test excludes="" includes="${javac.includes}" testincludes="${test.class}" testmethods="${test.method}"/>
 12.1312 +    </target>
 12.1313 +    <target depends="init,compile-test-single,-pre-test-run-single,-do-test-run-single-method" if="have.tests" name="-post-test-run-single-method">
 12.1314 +        <fail if="tests.failed" unless="ignore.failing.tests">Some tests failed; see details above.</fail>
 12.1315 +    </target>
 12.1316 +    <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"/>
 12.1317 +    <!--
 12.1318 +                =======================
 12.1319 +                TEST DEBUGGING SECTION
 12.1320 +                =======================
 12.1321 +            -->
 12.1322 +    <target depends="init,compile-test-single,-pre-test-run-single" if="have.tests" name="-debug-start-debuggee-test">
 12.1323 +        <fail unless="test.class">Must select one file in the IDE or set test.class</fail>
 12.1324 +        <j2seproject3:test-debug excludes="" includes="${javac.includes}" testClass="${test.class}" testincludes="${javac.includes}"/>
 12.1325 +    </target>
 12.1326 +    <target depends="init,compile-test-single,-pre-test-run-single" if="have.tests" name="-debug-start-debuggee-test-method">
 12.1327 +        <fail unless="test.class">Must select one file in the IDE or set test.class</fail>
 12.1328 +        <fail unless="test.method">Must select some method in the IDE or set test.method</fail>
 12.1329 +        <j2seproject3:test-debug excludes="" includes="${javac.includes}" testClass="${test.class}" testMethod="${test.method}" testincludes="${test.class}" testmethods="${test.method}"/>
 12.1330 +    </target>
 12.1331 +    <target depends="init,compile-test" if="netbeans.home+have.tests" name="-debug-start-debugger-test">
 12.1332 +        <j2seproject1:nbjpdastart classpath="${debug.test.classpath}" name="${test.class}"/>
 12.1333 +    </target>
 12.1334 +    <target depends="init,compile-test-single,-debug-start-debugger-test,-debug-start-debuggee-test" name="debug-test"/>
 12.1335 +    <target depends="init,compile-test-single,-debug-start-debugger-test,-debug-start-debuggee-test-method" name="debug-test-method"/>
 12.1336 +    <target depends="init,-pre-debug-fix,compile-test-single" if="netbeans.home" name="-do-debug-fix-test">
 12.1337 +        <j2seproject1:nbjpdareload dir="${build.test.classes.dir}"/>
 12.1338 +    </target>
 12.1339 +    <target depends="init,-pre-debug-fix,-do-debug-fix-test" if="netbeans.home" name="debug-fix-test"/>
 12.1340 +    <!--
 12.1341 +                =========================
 12.1342 +                APPLET EXECUTION SECTION
 12.1343 +                =========================
 12.1344 +            -->
 12.1345 +    <target depends="init,compile-single" name="run-applet">
 12.1346 +        <fail unless="applet.url">Must select one file in the IDE or set applet.url</fail>
 12.1347 +        <j2seproject1:java classname="sun.applet.AppletViewer">
 12.1348 +            <customize>
 12.1349 +                <arg value="${applet.url}"/>
 12.1350 +            </customize>
 12.1351 +        </j2seproject1:java>
 12.1352 +    </target>
 12.1353 +    <!--
 12.1354 +                =========================
 12.1355 +                APPLET DEBUGGING  SECTION
 12.1356 +                =========================
 12.1357 +            -->
 12.1358 +    <target depends="init,compile-single" if="netbeans.home" name="-debug-start-debuggee-applet">
 12.1359 +        <fail unless="applet.url">Must select one file in the IDE or set applet.url</fail>
 12.1360 +        <j2seproject3:debug classname="sun.applet.AppletViewer">
 12.1361 +            <customize>
 12.1362 +                <arg value="${applet.url}"/>
 12.1363 +            </customize>
 12.1364 +        </j2seproject3:debug>
 12.1365 +    </target>
 12.1366 +    <target depends="init,compile-single,-debug-start-debugger,-debug-start-debuggee-applet" if="netbeans.home" name="debug-applet"/>
 12.1367 +    <!--
 12.1368 +                ===============
 12.1369 +                CLEANUP SECTION
 12.1370 +                ===============
 12.1371 +            -->
 12.1372 +    <target name="-deps-clean-init" unless="built-clean.properties">
 12.1373 +        <property location="${build.dir}/built-clean.properties" name="built-clean.properties"/>
 12.1374 +        <delete file="${built-clean.properties}" quiet="true"/>
 12.1375 +    </target>
 12.1376 +    <target if="already.built.clean.${basedir}" name="-warn-already-built-clean">
 12.1377 +        <echo level="warn" message="Cycle detected: alt2xml-lib was already built"/>
 12.1378 +    </target>
 12.1379 +    <target depends="init,-deps-clean-init" name="deps-clean" unless="no.deps">
 12.1380 +        <mkdir dir="${build.dir}"/>
 12.1381 +        <touch file="${built-clean.properties}" verbose="false"/>
 12.1382 +        <property file="${built-clean.properties}" prefix="already.built.clean."/>
 12.1383 +        <antcall target="-warn-already-built-clean"/>
 12.1384 +        <propertyfile file="${built-clean.properties}">
 12.1385 +            <entry key="${basedir}" value=""/>
 12.1386 +        </propertyfile>
 12.1387 +    </target>
 12.1388 +    <target depends="init" name="-do-clean">
 12.1389 +        <delete dir="${build.dir}"/>
 12.1390 +        <delete dir="${dist.dir}" followsymlinks="false" includeemptydirs="true"/>
 12.1391 +    </target>
 12.1392 +    <target name="-post-clean">
 12.1393 +        <!-- Empty placeholder for easier customization. -->
 12.1394 +        <!-- You can override this target in the ../build.xml file. -->
 12.1395 +    </target>
 12.1396 +    <target depends="init,deps-clean,-do-clean,-post-clean" description="Clean build products." name="clean"/>
 12.1397 +    <target name="-check-call-dep">
 12.1398 +        <property file="${call.built.properties}" prefix="already.built."/>
 12.1399 +        <condition property="should.call.dep">
 12.1400 +            <and>
 12.1401 +                <not>
 12.1402 +                    <isset property="already.built.${call.subproject}"/>
 12.1403 +                </not>
 12.1404 +                <available file="${call.script}"/>
 12.1405 +            </and>
 12.1406 +        </condition>
 12.1407 +    </target>
 12.1408 +    <target depends="-check-call-dep" if="should.call.dep" name="-maybe-call-dep">
 12.1409 +        <ant antfile="${call.script}" inheritall="false" target="${call.target}">
 12.1410 +            <propertyset>
 12.1411 +                <propertyref prefix="transfer."/>
 12.1412 +                <mapper from="transfer.*" to="*" type="glob"/>
 12.1413 +            </propertyset>
 12.1414 +        </ant>
 12.1415 +    </target>
 12.1416 +</project>
    13.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    13.2 +++ b/java/alt2xml-lib/nbproject/genfiles.properties	Thu Jun 05 10:21:45 2014 +0200
    13.3 @@ -0,0 +1,8 @@
    13.4 +build.xml.data.CRC32=cbc99b8c
    13.5 +build.xml.script.CRC32=b9c31994
    13.6 +build.xml.stylesheet.CRC32=8064a381@1.74.2.48
    13.7 +# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml.
    13.8 +# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you.
    13.9 +nbproject/build-impl.xml.data.CRC32=cbc99b8c
   13.10 +nbproject/build-impl.xml.script.CRC32=a496a745
   13.11 +nbproject/build-impl.xml.stylesheet.CRC32=876e7a8f@1.74.2.48
    14.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    14.2 +++ b/java/alt2xml-lib/nbproject/project.properties	Thu Jun 05 10:21:45 2014 +0200
    14.3 @@ -0,0 +1,71 @@
    14.4 +annotation.processing.enabled=true
    14.5 +annotation.processing.enabled.in.editor=false
    14.6 +annotation.processing.processor.options=
    14.7 +annotation.processing.processors.list=
    14.8 +annotation.processing.run.all.processors=true
    14.9 +annotation.processing.source.output=${build.generated.sources.dir}/ap-source-output
   14.10 +build.classes.dir=${build.dir}/classes
   14.11 +build.classes.excludes=**/*.java,**/*.form
   14.12 +# This directory is removed when the project is cleaned:
   14.13 +build.dir=build
   14.14 +build.generated.dir=${build.dir}/generated
   14.15 +build.generated.sources.dir=${build.dir}/generated-sources
   14.16 +# Only compile against the classpath explicitly listed here:
   14.17 +build.sysclasspath=ignore
   14.18 +build.test.classes.dir=${build.dir}/test/classes
   14.19 +build.test.results.dir=${build.dir}/test/results
   14.20 +# Uncomment to specify the preferred debugger connection transport:
   14.21 +#debug.transport=dt_socket
   14.22 +debug.classpath=\
   14.23 +    ${run.classpath}
   14.24 +debug.test.classpath=\
   14.25 +    ${run.test.classpath}
   14.26 +# Files in build.classes.dir which should be excluded from distribution jar
   14.27 +dist.archive.excludes=
   14.28 +# This directory is removed when the project is cleaned:
   14.29 +dist.dir=dist
   14.30 +dist.jar=${dist.dir}/alt2xml-lib.jar
   14.31 +dist.javadoc.dir=${dist.dir}/javadoc
   14.32 +excludes=
   14.33 +includes=**
   14.34 +jar.compress=false
   14.35 +javac.classpath=
   14.36 +# Space-separated list of extra javac options
   14.37 +javac.compilerargs=
   14.38 +javac.deprecation=false
   14.39 +javac.processorpath=\
   14.40 +    ${javac.classpath}
   14.41 +javac.source=1.7
   14.42 +javac.target=1.7
   14.43 +javac.test.classpath=\
   14.44 +    ${javac.classpath}:\
   14.45 +    ${build.classes.dir}
   14.46 +javac.test.processorpath=\
   14.47 +    ${javac.test.classpath}
   14.48 +javadoc.additionalparam=
   14.49 +javadoc.author=false
   14.50 +javadoc.encoding=${source.encoding}
   14.51 +javadoc.noindex=false
   14.52 +javadoc.nonavbar=false
   14.53 +javadoc.notree=false
   14.54 +javadoc.private=false
   14.55 +javadoc.splitindex=true
   14.56 +javadoc.use=true
   14.57 +javadoc.version=false
   14.58 +javadoc.windowtitle=
   14.59 +meta.inf.dir=${src.dir}/META-INF
   14.60 +mkdist.disabled=true
   14.61 +platform.active=default_platform
   14.62 +run.classpath=\
   14.63 +    ${javac.classpath}:\
   14.64 +    ${build.classes.dir}
   14.65 +# Space-separated list of JVM arguments used when running the project.
   14.66 +# You may also define separate properties like run-sys-prop.name=value instead of -Dname=value.
   14.67 +# To set system properties for unit tests define test-sys-prop.name=value:
   14.68 +run.jvmargs=
   14.69 +run.test.classpath=\
   14.70 +    ${javac.test.classpath}:\
   14.71 +    ${build.test.classes.dir}
   14.72 +source.encoding=UTF-8
   14.73 +src.dir=src
   14.74 +test.src.dir=test
    15.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    15.2 +++ b/java/alt2xml-lib/nbproject/project.xml	Thu Jun 05 10:21:45 2014 +0200
    15.3 @@ -0,0 +1,15 @@
    15.4 +<?xml version="1.0" encoding="UTF-8"?>
    15.5 +<project xmlns="http://www.netbeans.org/ns/project/1">
    15.6 +    <type>org.netbeans.modules.java.j2seproject</type>
    15.7 +    <configuration>
    15.8 +        <data xmlns="http://www.netbeans.org/ns/j2se-project/3">
    15.9 +            <name>alt2xml-lib</name>
   15.10 +            <source-roots>
   15.11 +                <root id="src.dir"/>
   15.12 +            </source-roots>
   15.13 +            <test-roots>
   15.14 +                <root id="test.src.dir"/>
   15.15 +            </test-roots>
   15.16 +        </data>
   15.17 +    </configuration>
   15.18 +</project>