new project alt2xml-lib-output for output module interfaces
authorFrantišek Kučera <franta-hg@frantovo.cz>
Sat, 07 Jun 2014 22:12:11 +0200
changeset 33e853e5b5bfdf
parent 32 ecc2731a5a46
child 34 5af9c7693d70
new project alt2xml-lib-output for output module interfaces
java/alt2xml-cli/nbproject/genfiles.properties
java/alt2xml-cli/nbproject/project.properties
java/alt2xml-cli/nbproject/project.xml
java/alt2xml-lib-output/build.xml
java/alt2xml-lib-output/nbproject/build-impl.xml
java/alt2xml-lib-output/nbproject/genfiles.properties
java/alt2xml-lib-output/nbproject/project.properties
java/alt2xml-lib-output/nbproject/project.xml
     1.1 --- a/java/alt2xml-cli/nbproject/genfiles.properties	Sat Jun 07 22:09:32 2014 +0200
     1.2 +++ b/java/alt2xml-cli/nbproject/genfiles.properties	Sat Jun 07 22:12:11 2014 +0200
     1.3 @@ -1,4 +1,4 @@
     1.4 -build.xml.data.CRC32=43f6f692
     1.5 +build.xml.data.CRC32=389d99dc
     1.6  build.xml.script.CRC32=c0ec96ea
     1.7  build.xml.stylesheet.CRC32=8064a381@1.74.2.48
     1.8  # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml.
     1.9 @@ -6,6 +6,6 @@
    1.10  nbproject/build-impl.xml.data.CRC32=31175c28
    1.11  nbproject/build-impl.xml.script.CRC32=aa79723f
    1.12  nbproject/build-impl.xml.stylesheet.CRC32=c6d2a60f@1.56.1.46
    1.13 -nbproject/groovy-build.xml.data.CRC32=43f6f692
    1.14 +nbproject/groovy-build.xml.data.CRC32=389d99dc
    1.15  nbproject/groovy-build.xml.script.CRC32=66297360
    1.16  nbproject/groovy-build.xml.stylesheet.CRC32=28d0e1f2@1.7.1
     2.1 --- a/java/alt2xml-cli/nbproject/project.properties	Sat Jun 07 22:09:32 2014 +0200
     2.2 +++ b/java/alt2xml-cli/nbproject/project.properties	Sat Jun 07 22:12:11 2014 +0200
     2.3 @@ -29,7 +29,8 @@
     2.4  excludes=
     2.5  includes=**
     2.6  jar.compress=false
     2.7 -javac.classpath=
     2.8 +javac.classpath=\
     2.9 +    ${reference.alt2xml-lib-output.jar}
    2.10  # Space-separated list of extra javac options
    2.11  javac.compilerargs=
    2.12  javac.deprecation=false
    2.13 @@ -58,6 +59,8 @@
    2.14  meta.inf.dir=${src.dir}/META-INF
    2.15  mkdist.disabled=true
    2.16  platform.active=default_platform
    2.17 +project.alt2xml-lib-output=../alt2xml-lib-output
    2.18 +reference.alt2xml-lib-output.jar=${project.alt2xml-lib-output}/dist/alt2xml-lib-output.jar
    2.19  run.classpath=\
    2.20      ${javac.classpath}:\
    2.21      ${build.classes.dir}
     3.1 --- a/java/alt2xml-cli/nbproject/project.xml	Sat Jun 07 22:09:32 2014 +0200
     3.2 +++ b/java/alt2xml-cli/nbproject/project.xml	Sat Jun 07 22:12:11 2014 +0200
     3.3 @@ -16,6 +16,15 @@
     3.4                  <root id="test.src.dir"/>
     3.5              </test-roots>
     3.6          </data>
     3.7 -        <references xmlns="http://www.netbeans.org/ns/ant-project-references/1"/>
     3.8 +        <references xmlns="http://www.netbeans.org/ns/ant-project-references/1">
     3.9 +            <reference>
    3.10 +                <foreign-project>alt2xml-lib-output</foreign-project>
    3.11 +                <artifact-type>jar</artifact-type>
    3.12 +                <script>build.xml</script>
    3.13 +                <target>jar</target>
    3.14 +                <clean-target>clean</clean-target>
    3.15 +                <id>jar</id>
    3.16 +            </reference>
    3.17 +        </references>
    3.18      </configuration>
    3.19  </project>
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/java/alt2xml-lib-output/build.xml	Sat Jun 07 22:12:11 2014 +0200
     4.3 @@ -0,0 +1,73 @@
     4.4 +<?xml version="1.0" encoding="UTF-8"?>
     4.5 +<!-- You may freely edit this file. See commented blocks below for -->
     4.6 +<!-- some examples of how to customize the build. -->
     4.7 +<!-- (If you delete it and reopen the project it will be recreated.) -->
     4.8 +<!-- By default, only the Clean and Build commands use this build script. -->
     4.9 +<!-- Commands such as Run, Debug, and Test only use this build script if -->
    4.10 +<!-- the Compile on Save feature is turned off for the project. -->
    4.11 +<!-- You can turn off the Compile on Save (or Deploy on Save) setting -->
    4.12 +<!-- in the project's Project Properties dialog box.-->
    4.13 +<project name="alt2xml-lib-output" default="default" basedir=".">
    4.14 +    <description>Builds, tests, and runs the project alt2xml-lib-output.</description>
    4.15 +    <import file="nbproject/build-impl.xml"/>
    4.16 +    <!--
    4.17 +
    4.18 +    There exist several targets which are by default empty and which can be 
    4.19 +    used for execution of your tasks. These targets are usually executed 
    4.20 +    before and after some main targets. They are: 
    4.21 +
    4.22 +      -pre-init:                 called before initialization of project properties
    4.23 +      -post-init:                called after initialization of project properties
    4.24 +      -pre-compile:              called before javac compilation
    4.25 +      -post-compile:             called after javac compilation
    4.26 +      -pre-compile-single:       called before javac compilation of single file
    4.27 +      -post-compile-single:      called after javac compilation of single file
    4.28 +      -pre-compile-test:         called before javac compilation of JUnit tests
    4.29 +      -post-compile-test:        called after javac compilation of JUnit tests
    4.30 +      -pre-compile-test-single:  called before javac compilation of single JUnit test
    4.31 +      -post-compile-test-single: called after javac compilation of single JUunit test
    4.32 +      -pre-jar:                  called before JAR building
    4.33 +      -post-jar:                 called after JAR building
    4.34 +      -post-clean:               called after cleaning build products
    4.35 +
    4.36 +    (Targets beginning with '-' are not intended to be called on their own.)
    4.37 +
    4.38 +    Example of inserting an obfuscator after compilation could look like this:
    4.39 +
    4.40 +        <target name="-post-compile">
    4.41 +            <obfuscate>
    4.42 +                <fileset dir="${build.classes.dir}"/>
    4.43 +            </obfuscate>
    4.44 +        </target>
    4.45 +
    4.46 +    For list of available properties check the imported 
    4.47 +    nbproject/build-impl.xml file. 
    4.48 +
    4.49 +
    4.50 +    Another way to customize the build is by overriding existing main targets.
    4.51 +    The targets of interest are: 
    4.52 +
    4.53 +      -init-macrodef-javac:     defines macro for javac compilation
    4.54 +      -init-macrodef-junit:     defines macro for junit execution
    4.55 +      -init-macrodef-debug:     defines macro for class debugging
    4.56 +      -init-macrodef-java:      defines macro for class execution
    4.57 +      -do-jar:                  JAR building
    4.58 +      run:                      execution of project 
    4.59 +      -javadoc-build:           Javadoc generation
    4.60 +      test-report:              JUnit report generation
    4.61 +
    4.62 +    An example of overriding the target for project execution could look like this:
    4.63 +
    4.64 +        <target name="run" depends="alt2xml-lib-output-impl.jar">
    4.65 +            <exec dir="bin" executable="launcher.exe">
    4.66 +                <arg file="${dist.jar}"/>
    4.67 +            </exec>
    4.68 +        </target>
    4.69 +
    4.70 +    Notice that the overridden target depends on the jar target and not only on 
    4.71 +    the compile target as the regular run target does. Again, for a list of available 
    4.72 +    properties which you can use, check the target you are overriding in the
    4.73 +    nbproject/build-impl.xml file. 
    4.74 +
    4.75 +    -->
    4.76 +</project>
     5.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.2 +++ b/java/alt2xml-lib-output/nbproject/build-impl.xml	Sat Jun 07 22:12:11 2014 +0200
     5.3 @@ -0,0 +1,1413 @@
     5.4 +<?xml version="1.0" encoding="UTF-8"?>
     5.5 +<!--
     5.6 +*** GENERATED FROM project.xml - DO NOT EDIT  ***
     5.7 +***         EDIT ../build.xml INSTEAD         ***
     5.8 +
     5.9 +For the purpose of easier reading the script
    5.10 +is divided into following sections:
    5.11 +
    5.12 +  - initialization
    5.13 +  - compilation
    5.14 +  - jar
    5.15 +  - execution
    5.16 +  - debugging
    5.17 +  - javadoc
    5.18 +  - test compilation
    5.19 +  - test execution
    5.20 +  - test debugging
    5.21 +  - applet
    5.22 +  - cleanup
    5.23 +
    5.24 +        -->
    5.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-output-impl">
    5.26 +    <fail message="Please build using Ant 1.8.0 or higher.">
    5.27 +        <condition>
    5.28 +            <not>
    5.29 +                <antversion atleast="1.8.0"/>
    5.30 +            </not>
    5.31 +        </condition>
    5.32 +    </fail>
    5.33 +    <target depends="test,jar,javadoc" description="Build and test whole project." name="default"/>
    5.34 +    <!-- 
    5.35 +                ======================
    5.36 +                INITIALIZATION SECTION 
    5.37 +                ======================
    5.38 +            -->
    5.39 +    <target name="-pre-init">
    5.40 +        <!-- Empty placeholder for easier customization. -->
    5.41 +        <!-- You can override this target in the ../build.xml file. -->
    5.42 +    </target>
    5.43 +    <target depends="-pre-init" name="-init-private">
    5.44 +        <property file="nbproject/private/config.properties"/>
    5.45 +        <property file="nbproject/private/configs/${config}.properties"/>
    5.46 +        <property file="nbproject/private/private.properties"/>
    5.47 +    </target>
    5.48 +    <target depends="-pre-init,-init-private" name="-init-user">
    5.49 +        <property file="${user.properties.file}"/>
    5.50 +        <!-- The two properties below are usually overridden -->
    5.51 +        <!-- by the active platform. Just a fallback. -->
    5.52 +        <property name="default.javac.source" value="1.4"/>
    5.53 +        <property name="default.javac.target" value="1.4"/>
    5.54 +    </target>
    5.55 +    <target depends="-pre-init,-init-private,-init-user" name="-init-project">
    5.56 +        <property file="nbproject/configs/${config}.properties"/>
    5.57 +        <property file="nbproject/project.properties"/>
    5.58 +    </target>
    5.59 +    <target depends="-pre-init,-init-private,-init-user,-init-project,-init-macrodef-property" name="-do-init">
    5.60 +        <property name="platform.java" value="${java.home}/bin/java"/>
    5.61 +        <available file="${manifest.file}" property="manifest.available"/>
    5.62 +        <condition property="splashscreen.available">
    5.63 +            <and>
    5.64 +                <not>
    5.65 +                    <equals arg1="${application.splash}" arg2="" trim="true"/>
    5.66 +                </not>
    5.67 +                <available file="${application.splash}"/>
    5.68 +            </and>
    5.69 +        </condition>
    5.70 +        <condition property="main.class.available">
    5.71 +            <and>
    5.72 +                <isset property="main.class"/>
    5.73 +                <not>
    5.74 +                    <equals arg1="${main.class}" arg2="" trim="true"/>
    5.75 +                </not>
    5.76 +            </and>
    5.77 +        </condition>
    5.78 +        <condition property="profile.available">
    5.79 +            <and>
    5.80 +                <isset property="javac.profile"/>
    5.81 +                <length length="0" string="${javac.profile}" when="greater"/>
    5.82 +                <matches pattern="1\.[89](\..*)?" string="${javac.source}"/>
    5.83 +            </and>
    5.84 +        </condition>
    5.85 +        <condition property="do.archive">
    5.86 +            <or>
    5.87 +                <not>
    5.88 +                    <istrue value="${jar.archive.disabled}"/>
    5.89 +                </not>
    5.90 +                <istrue value="${not.archive.disabled}"/>
    5.91 +            </or>
    5.92 +        </condition>
    5.93 +        <condition property="do.mkdist">
    5.94 +            <and>
    5.95 +                <isset property="do.archive"/>
    5.96 +                <isset property="libs.CopyLibs.classpath"/>
    5.97 +                <not>
    5.98 +                    <istrue value="${mkdist.disabled}"/>
    5.99 +                </not>
   5.100 +            </and>
   5.101 +        </condition>
   5.102 +        <condition property="do.archive+manifest.available">
   5.103 +            <and>
   5.104 +                <isset property="manifest.available"/>
   5.105 +                <istrue value="${do.archive}"/>
   5.106 +            </and>
   5.107 +        </condition>
   5.108 +        <condition property="do.archive+main.class.available">
   5.109 +            <and>
   5.110 +                <isset property="main.class.available"/>
   5.111 +                <istrue value="${do.archive}"/>
   5.112 +            </and>
   5.113 +        </condition>
   5.114 +        <condition property="do.archive+splashscreen.available">
   5.115 +            <and>
   5.116 +                <isset property="splashscreen.available"/>
   5.117 +                <istrue value="${do.archive}"/>
   5.118 +            </and>
   5.119 +        </condition>
   5.120 +        <condition property="do.archive+profile.available">
   5.121 +            <and>
   5.122 +                <isset property="profile.available"/>
   5.123 +                <istrue value="${do.archive}"/>
   5.124 +            </and>
   5.125 +        </condition>
   5.126 +        <condition property="have.tests">
   5.127 +            <or>
   5.128 +                <available file="${test.src.dir}"/>
   5.129 +            </or>
   5.130 +        </condition>
   5.131 +        <condition property="have.sources">
   5.132 +            <or>
   5.133 +                <available file="${src.dir}"/>
   5.134 +            </or>
   5.135 +        </condition>
   5.136 +        <condition property="netbeans.home+have.tests">
   5.137 +            <and>
   5.138 +                <isset property="netbeans.home"/>
   5.139 +                <isset property="have.tests"/>
   5.140 +            </and>
   5.141 +        </condition>
   5.142 +        <condition property="no.javadoc.preview">
   5.143 +            <and>
   5.144 +                <isset property="javadoc.preview"/>
   5.145 +                <isfalse value="${javadoc.preview}"/>
   5.146 +            </and>
   5.147 +        </condition>
   5.148 +        <property name="run.jvmargs" value=""/>
   5.149 +        <property name="run.jvmargs.ide" value=""/>
   5.150 +        <property name="javac.compilerargs" value=""/>
   5.151 +        <property name="work.dir" value="${basedir}"/>
   5.152 +        <condition property="no.deps">
   5.153 +            <and>
   5.154 +                <istrue value="${no.dependencies}"/>
   5.155 +            </and>
   5.156 +        </condition>
   5.157 +        <property name="javac.debug" value="true"/>
   5.158 +        <property name="javadoc.preview" value="true"/>
   5.159 +        <property name="application.args" value=""/>
   5.160 +        <property name="source.encoding" value="${file.encoding}"/>
   5.161 +        <property name="runtime.encoding" value="${source.encoding}"/>
   5.162 +        <condition property="javadoc.encoding.used" value="${javadoc.encoding}">
   5.163 +            <and>
   5.164 +                <isset property="javadoc.encoding"/>
   5.165 +                <not>
   5.166 +                    <equals arg1="${javadoc.encoding}" arg2=""/>
   5.167 +                </not>
   5.168 +            </and>
   5.169 +        </condition>
   5.170 +        <property name="javadoc.encoding.used" value="${source.encoding}"/>
   5.171 +        <property name="includes" value="**"/>
   5.172 +        <property name="excludes" value=""/>
   5.173 +        <property name="do.depend" value="false"/>
   5.174 +        <condition property="do.depend.true">
   5.175 +            <istrue value="${do.depend}"/>
   5.176 +        </condition>
   5.177 +        <path id="endorsed.classpath.path" path="${endorsed.classpath}"/>
   5.178 +        <condition else="" property="endorsed.classpath.cmd.line.arg" value="-Xbootclasspath/p:'${toString:endorsed.classpath.path}'">
   5.179 +            <and>
   5.180 +                <isset property="endorsed.classpath"/>
   5.181 +                <not>
   5.182 +                    <equals arg1="${endorsed.classpath}" arg2="" trim="true"/>
   5.183 +                </not>
   5.184 +            </and>
   5.185 +        </condition>
   5.186 +        <condition else="" property="javac.profile.cmd.line.arg" value="-profile ${javac.profile}">
   5.187 +            <isset property="profile.available"/>
   5.188 +        </condition>
   5.189 +        <condition else="false" property="jdkBug6558476">
   5.190 +            <and>
   5.191 +                <matches pattern="1\.[56]" string="${java.specification.version}"/>
   5.192 +                <not>
   5.193 +                    <os family="unix"/>
   5.194 +                </not>
   5.195 +            </and>
   5.196 +        </condition>
   5.197 +        <property name="javac.fork" value="${jdkBug6558476}"/>
   5.198 +        <property name="jar.index" value="false"/>
   5.199 +        <property name="jar.index.metainf" value="${jar.index}"/>
   5.200 +        <property name="copylibs.rebase" value="true"/>
   5.201 +        <available file="${meta.inf.dir}/persistence.xml" property="has.persistence.xml"/>
   5.202 +        <condition property="junit.available">
   5.203 +            <or>
   5.204 +                <available classname="org.junit.Test" classpath="${run.test.classpath}"/>
   5.205 +                <available classname="junit.framework.Test" classpath="${run.test.classpath}"/>
   5.206 +            </or>
   5.207 +        </condition>
   5.208 +        <condition property="testng.available">
   5.209 +            <available classname="org.testng.annotations.Test" classpath="${run.test.classpath}"/>
   5.210 +        </condition>
   5.211 +        <condition property="junit+testng.available">
   5.212 +            <and>
   5.213 +                <istrue value="${junit.available}"/>
   5.214 +                <istrue value="${testng.available}"/>
   5.215 +            </and>
   5.216 +        </condition>
   5.217 +        <condition else="testng" property="testng.mode" value="mixed">
   5.218 +            <istrue value="${junit+testng.available}"/>
   5.219 +        </condition>
   5.220 +        <condition else="" property="testng.debug.mode" value="-mixed">
   5.221 +            <istrue value="${junit+testng.available}"/>
   5.222 +        </condition>
   5.223 +    </target>
   5.224 +    <target name="-post-init">
   5.225 +        <!-- Empty placeholder for easier customization. -->
   5.226 +        <!-- You can override this target in the ../build.xml file. -->
   5.227 +    </target>
   5.228 +    <target depends="-pre-init,-init-private,-init-user,-init-project,-do-init" name="-init-check">
   5.229 +        <fail unless="src.dir">Must set src.dir</fail>
   5.230 +        <fail unless="test.src.dir">Must set test.src.dir</fail>
   5.231 +        <fail unless="build.dir">Must set build.dir</fail>
   5.232 +        <fail unless="dist.dir">Must set dist.dir</fail>
   5.233 +        <fail unless="build.classes.dir">Must set build.classes.dir</fail>
   5.234 +        <fail unless="dist.javadoc.dir">Must set dist.javadoc.dir</fail>
   5.235 +        <fail unless="build.test.classes.dir">Must set build.test.classes.dir</fail>
   5.236 +        <fail unless="build.test.results.dir">Must set build.test.results.dir</fail>
   5.237 +        <fail unless="build.classes.excludes">Must set build.classes.excludes</fail>
   5.238 +        <fail unless="dist.jar">Must set dist.jar</fail>
   5.239 +    </target>
   5.240 +    <target name="-init-macrodef-property">
   5.241 +        <macrodef name="property" uri="http://www.netbeans.org/ns/j2se-project/1">
   5.242 +            <attribute name="name"/>
   5.243 +            <attribute name="value"/>
   5.244 +            <sequential>
   5.245 +                <property name="@{name}" value="${@{value}}"/>
   5.246 +            </sequential>
   5.247 +        </macrodef>
   5.248 +    </target>
   5.249 +    <target depends="-init-ap-cmdline-properties" if="ap.supported.internal" name="-init-macrodef-javac-with-processors">
   5.250 +        <macrodef name="javac" uri="http://www.netbeans.org/ns/j2se-project/3">
   5.251 +            <attribute default="${src.dir}" name="srcdir"/>
   5.252 +            <attribute default="${build.classes.dir}" name="destdir"/>
   5.253 +            <attribute default="${javac.classpath}" name="classpath"/>
   5.254 +            <attribute default="${javac.processorpath}" name="processorpath"/>
   5.255 +            <attribute default="${build.generated.sources.dir}/ap-source-output" name="apgeneratedsrcdir"/>
   5.256 +            <attribute default="${includes}" name="includes"/>
   5.257 +            <attribute default="${excludes}" name="excludes"/>
   5.258 +            <attribute default="${javac.debug}" name="debug"/>
   5.259 +            <attribute default="${empty.dir}" name="sourcepath"/>
   5.260 +            <attribute default="${empty.dir}" name="gensrcdir"/>
   5.261 +            <element name="customize" optional="true"/>
   5.262 +            <sequential>
   5.263 +                <property location="${build.dir}/empty" name="empty.dir"/>
   5.264 +                <mkdir dir="${empty.dir}"/>
   5.265 +                <mkdir dir="@{apgeneratedsrcdir}"/>
   5.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}">
   5.267 +                    <src>
   5.268 +                        <dirset dir="@{gensrcdir}" erroronmissingdir="false">
   5.269 +                            <include name="*"/>
   5.270 +                        </dirset>
   5.271 +                    </src>
   5.272 +                    <classpath>
   5.273 +                        <path path="@{classpath}"/>
   5.274 +                    </classpath>
   5.275 +                    <compilerarg line="${endorsed.classpath.cmd.line.arg}"/>
   5.276 +                    <compilerarg line="${javac.profile.cmd.line.arg}"/>
   5.277 +                    <compilerarg line="${javac.compilerargs}"/>
   5.278 +                    <compilerarg value="-processorpath"/>
   5.279 +                    <compilerarg path="@{processorpath}:${empty.dir}"/>
   5.280 +                    <compilerarg line="${ap.processors.internal}"/>
   5.281 +                    <compilerarg line="${annotation.processing.processor.options}"/>
   5.282 +                    <compilerarg value="-s"/>
   5.283 +                    <compilerarg path="@{apgeneratedsrcdir}"/>
   5.284 +                    <compilerarg line="${ap.proc.none.internal}"/>
   5.285 +                    <customize/>
   5.286 +                </javac>
   5.287 +            </sequential>
   5.288 +        </macrodef>
   5.289 +    </target>
   5.290 +    <target depends="-init-ap-cmdline-properties" name="-init-macrodef-javac-without-processors" unless="ap.supported.internal">
   5.291 +        <macrodef name="javac" uri="http://www.netbeans.org/ns/j2se-project/3">
   5.292 +            <attribute default="${src.dir}" name="srcdir"/>
   5.293 +            <attribute default="${build.classes.dir}" name="destdir"/>
   5.294 +            <attribute default="${javac.classpath}" name="classpath"/>
   5.295 +            <attribute default="${javac.processorpath}" name="processorpath"/>
   5.296 +            <attribute default="${build.generated.sources.dir}/ap-source-output" name="apgeneratedsrcdir"/>
   5.297 +            <attribute default="${includes}" name="includes"/>
   5.298 +            <attribute default="${excludes}" name="excludes"/>
   5.299 +            <attribute default="${javac.debug}" name="debug"/>
   5.300 +            <attribute default="${empty.dir}" name="sourcepath"/>
   5.301 +            <attribute default="${empty.dir}" name="gensrcdir"/>
   5.302 +            <element name="customize" optional="true"/>
   5.303 +            <sequential>
   5.304 +                <property location="${build.dir}/empty" name="empty.dir"/>
   5.305 +                <mkdir dir="${empty.dir}"/>
   5.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}">
   5.307 +                    <src>
   5.308 +                        <dirset dir="@{gensrcdir}" erroronmissingdir="false">
   5.309 +                            <include name="*"/>
   5.310 +                        </dirset>
   5.311 +                    </src>
   5.312 +                    <classpath>
   5.313 +                        <path path="@{classpath}"/>
   5.314 +                    </classpath>
   5.315 +                    <compilerarg line="${endorsed.classpath.cmd.line.arg}"/>
   5.316 +                    <compilerarg line="${javac.profile.cmd.line.arg}"/>
   5.317 +                    <compilerarg line="${javac.compilerargs}"/>
   5.318 +                    <customize/>
   5.319 +                </javac>
   5.320 +            </sequential>
   5.321 +        </macrodef>
   5.322 +    </target>
   5.323 +    <target depends="-init-macrodef-javac-with-processors,-init-macrodef-javac-without-processors" name="-init-macrodef-javac">
   5.324 +        <macrodef name="depend" uri="http://www.netbeans.org/ns/j2se-project/3">
   5.325 +            <attribute default="${src.dir}" name="srcdir"/>
   5.326 +            <attribute default="${build.classes.dir}" name="destdir"/>
   5.327 +            <attribute default="${javac.classpath}" name="classpath"/>
   5.328 +            <sequential>
   5.329 +                <depend cache="${build.dir}/depcache" destdir="@{destdir}" excludes="${excludes}" includes="${includes}" srcdir="@{srcdir}">
   5.330 +                    <classpath>
   5.331 +                        <path path="@{classpath}"/>
   5.332 +                    </classpath>
   5.333 +                </depend>
   5.334 +            </sequential>
   5.335 +        </macrodef>
   5.336 +        <macrodef name="force-recompile" uri="http://www.netbeans.org/ns/j2se-project/3">
   5.337 +            <attribute default="${build.classes.dir}" name="destdir"/>
   5.338 +            <sequential>
   5.339 +                <fail unless="javac.includes">Must set javac.includes</fail>
   5.340 +                <pathconvert pathsep="${line.separator}" property="javac.includes.binary">
   5.341 +                    <path>
   5.342 +                        <filelist dir="@{destdir}" files="${javac.includes}"/>
   5.343 +                    </path>
   5.344 +                    <globmapper from="*.java" to="*.class"/>
   5.345 +                </pathconvert>
   5.346 +                <tempfile deleteonexit="true" property="javac.includesfile.binary"/>
   5.347 +                <echo file="${javac.includesfile.binary}" message="${javac.includes.binary}"/>
   5.348 +                <delete>
   5.349 +                    <files includesfile="${javac.includesfile.binary}"/>
   5.350 +                </delete>
   5.351 +                <delete>
   5.352 +                    <fileset file="${javac.includesfile.binary}"/>
   5.353 +                </delete>
   5.354 +            </sequential>
   5.355 +        </macrodef>
   5.356 +    </target>
   5.357 +    <target if="${junit.available}" name="-init-macrodef-junit-init">
   5.358 +        <condition else="false" property="nb.junit.batch" value="true">
   5.359 +            <and>
   5.360 +                <istrue value="${junit.available}"/>
   5.361 +                <not>
   5.362 +                    <isset property="test.method"/>
   5.363 +                </not>
   5.364 +            </and>
   5.365 +        </condition>
   5.366 +        <condition else="false" property="nb.junit.single" value="true">
   5.367 +            <and>
   5.368 +                <istrue value="${junit.available}"/>
   5.369 +                <isset property="test.method"/>
   5.370 +            </and>
   5.371 +        </condition>
   5.372 +    </target>
   5.373 +    <target name="-init-test-properties">
   5.374 +        <property name="test.binaryincludes" value="&lt;nothing&gt;"/>
   5.375 +        <property name="test.binarytestincludes" value=""/>
   5.376 +        <property name="test.binaryexcludes" value=""/>
   5.377 +    </target>
   5.378 +    <target if="${nb.junit.single}" name="-init-macrodef-junit-single" unless="${nb.junit.batch}">
   5.379 +        <macrodef name="junit" uri="http://www.netbeans.org/ns/j2se-project/3">
   5.380 +            <attribute default="${includes}" name="includes"/>
   5.381 +            <attribute default="${excludes}" name="excludes"/>
   5.382 +            <attribute default="**" name="testincludes"/>
   5.383 +            <attribute default="" name="testmethods"/>
   5.384 +            <element name="customize" optional="true"/>
   5.385 +            <sequential>
   5.386 +                <property name="junit.forkmode" value="perTest"/>
   5.387 +                <junit dir="${work.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" forkmode="${junit.forkmode}" showoutput="true" tempdir="${build.dir}">
   5.388 +                    <test methods="@{testmethods}" name="@{testincludes}" todir="${build.test.results.dir}"/>
   5.389 +                    <syspropertyset>
   5.390 +                        <propertyref prefix="test-sys-prop."/>
   5.391 +                        <mapper from="test-sys-prop.*" to="*" type="glob"/>
   5.392 +                    </syspropertyset>
   5.393 +                    <formatter type="brief" usefile="false"/>
   5.394 +                    <formatter type="xml"/>
   5.395 +                    <jvmarg value="-ea"/>
   5.396 +                    <customize/>
   5.397 +                </junit>
   5.398 +            </sequential>
   5.399 +        </macrodef>
   5.400 +    </target>
   5.401 +    <target depends="-init-test-properties" if="${nb.junit.batch}" name="-init-macrodef-junit-batch" unless="${nb.junit.single}">
   5.402 +        <macrodef name="junit" uri="http://www.netbeans.org/ns/j2se-project/3">
   5.403 +            <attribute default="${includes}" name="includes"/>
   5.404 +            <attribute default="${excludes}" name="excludes"/>
   5.405 +            <attribute default="**" name="testincludes"/>
   5.406 +            <attribute default="" name="testmethods"/>
   5.407 +            <element name="customize" optional="true"/>
   5.408 +            <sequential>
   5.409 +                <property name="junit.forkmode" value="perTest"/>
   5.410 +                <junit dir="${work.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" forkmode="${junit.forkmode}" showoutput="true" tempdir="${build.dir}">
   5.411 +                    <batchtest todir="${build.test.results.dir}">
   5.412 +                        <fileset dir="${test.src.dir}" excludes="@{excludes},${excludes}" includes="@{includes}">
   5.413 +                            <filename name="@{testincludes}"/>
   5.414 +                        </fileset>
   5.415 +                        <fileset dir="${build.test.classes.dir}" excludes="@{excludes},${excludes},${test.binaryexcludes}" includes="${test.binaryincludes}">
   5.416 +                            <filename name="${test.binarytestincludes}"/>
   5.417 +                        </fileset>
   5.418 +                    </batchtest>
   5.419 +                    <syspropertyset>
   5.420 +                        <propertyref prefix="test-sys-prop."/>
   5.421 +                        <mapper from="test-sys-prop.*" to="*" type="glob"/>
   5.422 +                    </syspropertyset>
   5.423 +                    <formatter type="brief" usefile="false"/>
   5.424 +                    <formatter type="xml"/>
   5.425 +                    <jvmarg value="-ea"/>
   5.426 +                    <customize/>
   5.427 +                </junit>
   5.428 +            </sequential>
   5.429 +        </macrodef>
   5.430 +    </target>
   5.431 +    <target depends="-init-macrodef-junit-init,-init-macrodef-junit-single, -init-macrodef-junit-batch" if="${junit.available}" name="-init-macrodef-junit"/>
   5.432 +    <target if="${testng.available}" name="-init-macrodef-testng">
   5.433 +        <macrodef name="testng" uri="http://www.netbeans.org/ns/j2se-project/3">
   5.434 +            <attribute default="${includes}" name="includes"/>
   5.435 +            <attribute default="${excludes}" name="excludes"/>
   5.436 +            <attribute default="**" name="testincludes"/>
   5.437 +            <attribute default="" name="testmethods"/>
   5.438 +            <element name="customize" optional="true"/>
   5.439 +            <sequential>
   5.440 +                <condition else="" property="testng.methods.arg" value="@{testincludes}.@{testmethods}">
   5.441 +                    <isset property="test.method"/>
   5.442 +                </condition>
   5.443 +                <union id="test.set">
   5.444 +                    <fileset dir="${test.src.dir}" excludes="@{excludes},**/*.xml,${excludes}" includes="@{includes}">
   5.445 +                        <filename name="@{testincludes}"/>
   5.446 +                    </fileset>
   5.447 +                </union>
   5.448 +                <taskdef classname="org.testng.TestNGAntTask" classpath="${run.test.classpath}" name="testng"/>
   5.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-output" testname="TestNG tests" workingDir="${work.dir}">
   5.450 +                    <xmlfileset dir="${build.test.classes.dir}" includes="@{testincludes}"/>
   5.451 +                    <propertyset>
   5.452 +                        <propertyref prefix="test-sys-prop."/>
   5.453 +                        <mapper from="test-sys-prop.*" to="*" type="glob"/>
   5.454 +                    </propertyset>
   5.455 +                    <customize/>
   5.456 +                </testng>
   5.457 +            </sequential>
   5.458 +        </macrodef>
   5.459 +    </target>
   5.460 +    <target name="-init-macrodef-test-impl">
   5.461 +        <macrodef name="test-impl" uri="http://www.netbeans.org/ns/j2se-project/3">
   5.462 +            <attribute default="${includes}" name="includes"/>
   5.463 +            <attribute default="${excludes}" name="excludes"/>
   5.464 +            <attribute default="**" name="testincludes"/>
   5.465 +            <attribute default="" name="testmethods"/>
   5.466 +            <element implicit="true" name="customize" optional="true"/>
   5.467 +            <sequential>
   5.468 +                <echo>No tests executed.</echo>
   5.469 +            </sequential>
   5.470 +        </macrodef>
   5.471 +    </target>
   5.472 +    <target depends="-init-macrodef-junit" if="${junit.available}" name="-init-macrodef-junit-impl">
   5.473 +        <macrodef name="test-impl" uri="http://www.netbeans.org/ns/j2se-project/3">
   5.474 +            <attribute default="${includes}" name="includes"/>
   5.475 +            <attribute default="${excludes}" name="excludes"/>
   5.476 +            <attribute default="**" name="testincludes"/>
   5.477 +            <attribute default="" name="testmethods"/>
   5.478 +            <element implicit="true" name="customize" optional="true"/>
   5.479 +            <sequential>
   5.480 +                <j2seproject3:junit excludes="@{excludes}" includes="@{includes}" testincludes="@{testincludes}" testmethods="@{testmethods}">
   5.481 +                    <customize/>
   5.482 +                </j2seproject3:junit>
   5.483 +            </sequential>
   5.484 +        </macrodef>
   5.485 +    </target>
   5.486 +    <target depends="-init-macrodef-testng" if="${testng.available}" name="-init-macrodef-testng-impl">
   5.487 +        <macrodef name="test-impl" uri="http://www.netbeans.org/ns/j2se-project/3">
   5.488 +            <attribute default="${includes}" name="includes"/>
   5.489 +            <attribute default="${excludes}" name="excludes"/>
   5.490 +            <attribute default="**" name="testincludes"/>
   5.491 +            <attribute default="" name="testmethods"/>
   5.492 +            <element implicit="true" name="customize" optional="true"/>
   5.493 +            <sequential>
   5.494 +                <j2seproject3:testng excludes="@{excludes}" includes="@{includes}" testincludes="@{testincludes}" testmethods="@{testmethods}">
   5.495 +                    <customize/>
   5.496 +                </j2seproject3:testng>
   5.497 +            </sequential>
   5.498 +        </macrodef>
   5.499 +    </target>
   5.500 +    <target depends="-init-macrodef-test-impl,-init-macrodef-junit-impl,-init-macrodef-testng-impl" name="-init-macrodef-test">
   5.501 +        <macrodef name="test" uri="http://www.netbeans.org/ns/j2se-project/3">
   5.502 +            <attribute default="${includes}" name="includes"/>
   5.503 +            <attribute default="${excludes}" name="excludes"/>
   5.504 +            <attribute default="**" name="testincludes"/>
   5.505 +            <attribute default="" name="testmethods"/>
   5.506 +            <sequential>
   5.507 +                <j2seproject3:test-impl excludes="@{excludes}" includes="@{includes}" testincludes="@{testincludes}" testmethods="@{testmethods}">
   5.508 +                    <customize>
   5.509 +                        <classpath>
   5.510 +                            <path path="${run.test.classpath}"/>
   5.511 +                        </classpath>
   5.512 +                        <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
   5.513 +                        <jvmarg line="${run.jvmargs}"/>
   5.514 +                        <jvmarg line="${run.jvmargs.ide}"/>
   5.515 +                    </customize>
   5.516 +                </j2seproject3:test-impl>
   5.517 +            </sequential>
   5.518 +        </macrodef>
   5.519 +    </target>
   5.520 +    <target if="${junit.available}" name="-init-macrodef-junit-debug" unless="${nb.junit.batch}">
   5.521 +        <macrodef name="junit-debug" uri="http://www.netbeans.org/ns/j2se-project/3">
   5.522 +            <attribute default="${includes}" name="includes"/>
   5.523 +            <attribute default="${excludes}" name="excludes"/>
   5.524 +            <attribute default="**" name="testincludes"/>
   5.525 +            <attribute default="" name="testmethods"/>
   5.526 +            <element name="customize" optional="true"/>
   5.527 +            <sequential>
   5.528 +                <property name="junit.forkmode" value="perTest"/>
   5.529 +                <junit dir="${work.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" forkmode="${junit.forkmode}" showoutput="true" tempdir="${build.dir}">
   5.530 +                    <test methods="@{testmethods}" name="@{testincludes}" todir="${build.test.results.dir}"/>
   5.531 +                    <syspropertyset>
   5.532 +                        <propertyref prefix="test-sys-prop."/>
   5.533 +                        <mapper from="test-sys-prop.*" to="*" type="glob"/>
   5.534 +                    </syspropertyset>
   5.535 +                    <formatter type="brief" usefile="false"/>
   5.536 +                    <formatter type="xml"/>
   5.537 +                    <jvmarg value="-ea"/>
   5.538 +                    <jvmarg line="${debug-args-line}"/>
   5.539 +                    <jvmarg value="-Xrunjdwp:transport=${debug-transport},address=${jpda.address}"/>
   5.540 +                    <customize/>
   5.541 +                </junit>
   5.542 +            </sequential>
   5.543 +        </macrodef>
   5.544 +    </target>
   5.545 +    <target depends="-init-test-properties" if="${nb.junit.batch}" name="-init-macrodef-junit-debug-batch">
   5.546 +        <macrodef name="junit-debug" uri="http://www.netbeans.org/ns/j2se-project/3">
   5.547 +            <attribute default="${includes}" name="includes"/>
   5.548 +            <attribute default="${excludes}" name="excludes"/>
   5.549 +            <attribute default="**" name="testincludes"/>
   5.550 +            <attribute default="" name="testmethods"/>
   5.551 +            <element name="customize" optional="true"/>
   5.552 +            <sequential>
   5.553 +                <property name="junit.forkmode" value="perTest"/>
   5.554 +                <junit dir="${work.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" forkmode="${junit.forkmode}" showoutput="true" tempdir="${build.dir}">
   5.555 +                    <batchtest todir="${build.test.results.dir}">
   5.556 +                        <fileset dir="${test.src.dir}" excludes="@{excludes},${excludes}" includes="@{includes}">
   5.557 +                            <filename name="@{testincludes}"/>
   5.558 +                        </fileset>
   5.559 +                        <fileset dir="${build.test.classes.dir}" excludes="@{excludes},${excludes},${test.binaryexcludes}" includes="${test.binaryincludes}">
   5.560 +                            <filename name="${test.binarytestincludes}"/>
   5.561 +                        </fileset>
   5.562 +                    </batchtest>
   5.563 +                    <syspropertyset>
   5.564 +                        <propertyref prefix="test-sys-prop."/>
   5.565 +                        <mapper from="test-sys-prop.*" to="*" type="glob"/>
   5.566 +                    </syspropertyset>
   5.567 +                    <formatter type="brief" usefile="false"/>
   5.568 +                    <formatter type="xml"/>
   5.569 +                    <jvmarg value="-ea"/>
   5.570 +                    <jvmarg line="${debug-args-line}"/>
   5.571 +                    <jvmarg value="-Xrunjdwp:transport=${debug-transport},address=${jpda.address}"/>
   5.572 +                    <customize/>
   5.573 +                </junit>
   5.574 +            </sequential>
   5.575 +        </macrodef>
   5.576 +    </target>
   5.577 +    <target depends="-init-macrodef-junit-debug,-init-macrodef-junit-debug-batch" if="${junit.available}" name="-init-macrodef-junit-debug-impl">
   5.578 +        <macrodef name="test-debug-impl" uri="http://www.netbeans.org/ns/j2se-project/3">
   5.579 +            <attribute default="${includes}" name="includes"/>
   5.580 +            <attribute default="${excludes}" name="excludes"/>
   5.581 +            <attribute default="**" name="testincludes"/>
   5.582 +            <attribute default="" name="testmethods"/>
   5.583 +            <element implicit="true" name="customize" optional="true"/>
   5.584 +            <sequential>
   5.585 +                <j2seproject3:junit-debug excludes="@{excludes}" includes="@{includes}" testincludes="@{testincludes}" testmethods="@{testmethods}">
   5.586 +                    <customize/>
   5.587 +                </j2seproject3:junit-debug>
   5.588 +            </sequential>
   5.589 +        </macrodef>
   5.590 +    </target>
   5.591 +    <target if="${testng.available}" name="-init-macrodef-testng-debug">
   5.592 +        <macrodef name="testng-debug" uri="http://www.netbeans.org/ns/j2se-project/3">
   5.593 +            <attribute default="${main.class}" name="testClass"/>
   5.594 +            <attribute default="" name="testMethod"/>
   5.595 +            <element name="customize2" optional="true"/>
   5.596 +            <sequential>
   5.597 +                <condition else="-testclass @{testClass}" property="test.class.or.method" value="-methods @{testClass}.@{testMethod}">
   5.598 +                    <isset property="test.method"/>
   5.599 +                </condition>
   5.600 +                <condition else="-suitename alt2xml-lib-output -testname @{testClass} ${test.class.or.method}" property="testng.cmd.args" value="@{testClass}">
   5.601 +                    <matches pattern=".*\.xml" string="@{testClass}"/>
   5.602 +                </condition>
   5.603 +                <delete dir="${build.test.results.dir}" quiet="true"/>
   5.604 +                <mkdir dir="${build.test.results.dir}"/>
   5.605 +                <j2seproject3:debug classname="org.testng.TestNG" classpath="${debug.test.classpath}">
   5.606 +                    <customize>
   5.607 +                        <customize2/>
   5.608 +                        <jvmarg value="-ea"/>
   5.609 +                        <arg line="${testng.debug.mode}"/>
   5.610 +                        <arg line="-d ${build.test.results.dir}"/>
   5.611 +                        <arg line="-listener org.testng.reporters.VerboseReporter"/>
   5.612 +                        <arg line="${testng.cmd.args}"/>
   5.613 +                    </customize>
   5.614 +                </j2seproject3:debug>
   5.615 +            </sequential>
   5.616 +        </macrodef>
   5.617 +    </target>
   5.618 +    <target depends="-init-macrodef-testng-debug" if="${testng.available}" name="-init-macrodef-testng-debug-impl">
   5.619 +        <macrodef name="testng-debug-impl" uri="http://www.netbeans.org/ns/j2se-project/3">
   5.620 +            <attribute default="${main.class}" name="testClass"/>
   5.621 +            <attribute default="" name="testMethod"/>
   5.622 +            <element implicit="true" name="customize2" optional="true"/>
   5.623 +            <sequential>
   5.624 +                <j2seproject3:testng-debug testClass="@{testClass}" testMethod="@{testMethod}">
   5.625 +                    <customize2/>
   5.626 +                </j2seproject3:testng-debug>
   5.627 +            </sequential>
   5.628 +        </macrodef>
   5.629 +    </target>
   5.630 +    <target depends="-init-macrodef-junit-debug-impl" if="${junit.available}" name="-init-macrodef-test-debug-junit">
   5.631 +        <macrodef name="test-debug" uri="http://www.netbeans.org/ns/j2se-project/3">
   5.632 +            <attribute default="${includes}" name="includes"/>
   5.633 +            <attribute default="${excludes}" name="excludes"/>
   5.634 +            <attribute default="**" name="testincludes"/>
   5.635 +            <attribute default="" name="testmethods"/>
   5.636 +            <attribute default="${main.class}" name="testClass"/>
   5.637 +            <attribute default="" name="testMethod"/>
   5.638 +            <sequential>
   5.639 +                <j2seproject3:test-debug-impl excludes="@{excludes}" includes="@{includes}" testincludes="@{testincludes}" testmethods="@{testmethods}">
   5.640 +                    <customize>
   5.641 +                        <classpath>
   5.642 +                            <path path="${run.test.classpath}"/>
   5.643 +                        </classpath>
   5.644 +                        <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
   5.645 +                        <jvmarg line="${run.jvmargs}"/>
   5.646 +                        <jvmarg line="${run.jvmargs.ide}"/>
   5.647 +                    </customize>
   5.648 +                </j2seproject3:test-debug-impl>
   5.649 +            </sequential>
   5.650 +        </macrodef>
   5.651 +    </target>
   5.652 +    <target depends="-init-macrodef-testng-debug-impl" if="${testng.available}" name="-init-macrodef-test-debug-testng">
   5.653 +        <macrodef name="test-debug" uri="http://www.netbeans.org/ns/j2se-project/3">
   5.654 +            <attribute default="${includes}" name="includes"/>
   5.655 +            <attribute default="${excludes}" name="excludes"/>
   5.656 +            <attribute default="**" name="testincludes"/>
   5.657 +            <attribute default="" name="testmethods"/>
   5.658 +            <attribute default="${main.class}" name="testClass"/>
   5.659 +            <attribute default="" name="testMethod"/>
   5.660 +            <sequential>
   5.661 +                <j2seproject3:testng-debug-impl testClass="@{testClass}" testMethod="@{testMethod}">
   5.662 +                    <customize2>
   5.663 +                        <syspropertyset>
   5.664 +                            <propertyref prefix="test-sys-prop."/>
   5.665 +                            <mapper from="test-sys-prop.*" to="*" type="glob"/>
   5.666 +                        </syspropertyset>
   5.667 +                    </customize2>
   5.668 +                </j2seproject3:testng-debug-impl>
   5.669 +            </sequential>
   5.670 +        </macrodef>
   5.671 +    </target>
   5.672 +    <target depends="-init-macrodef-test-debug-junit,-init-macrodef-test-debug-testng" name="-init-macrodef-test-debug"/>
   5.673 +    <!--
   5.674 +                pre NB7.2 profiling section; consider it deprecated
   5.675 +            -->
   5.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"/>
   5.677 +    <target if="profiler.info.jvmargs.agent" name="-profile-pre-init">
   5.678 +        <!-- Empty placeholder for easier customization. -->
   5.679 +        <!-- You can override this target in the ../build.xml file. -->
   5.680 +    </target>
   5.681 +    <target if="profiler.info.jvmargs.agent" name="-profile-post-init">
   5.682 +        <!-- Empty placeholder for easier customization. -->
   5.683 +        <!-- You can override this target in the ../build.xml file. -->
   5.684 +    </target>
   5.685 +    <target if="profiler.info.jvmargs.agent" name="-profile-init-macrodef-profile">
   5.686 +        <macrodef name="resolve">
   5.687 +            <attribute name="name"/>
   5.688 +            <attribute name="value"/>
   5.689 +            <sequential>
   5.690 +                <property name="@{name}" value="${env.@{value}}"/>
   5.691 +            </sequential>
   5.692 +        </macrodef>
   5.693 +        <macrodef name="profile">
   5.694 +            <attribute default="${main.class}" name="classname"/>
   5.695 +            <element name="customize" optional="true"/>
   5.696 +            <sequential>
   5.697 +                <property environment="env"/>
   5.698 +                <resolve name="profiler.current.path" value="${profiler.info.pathvar}"/>
   5.699 +                <java classname="@{classname}" dir="${profiler.info.dir}" fork="true" jvm="${profiler.info.jvm}">
   5.700 +                    <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
   5.701 +                    <jvmarg value="${profiler.info.jvmargs.agent}"/>
   5.702 +                    <jvmarg line="${profiler.info.jvmargs}"/>
   5.703 +                    <env key="${profiler.info.pathvar}" path="${profiler.info.agentpath}:${profiler.current.path}"/>
   5.704 +                    <arg line="${application.args}"/>
   5.705 +                    <classpath>
   5.706 +                        <path path="${run.classpath}"/>
   5.707 +                    </classpath>
   5.708 +                    <syspropertyset>
   5.709 +                        <propertyref prefix="run-sys-prop."/>
   5.710 +                        <mapper from="run-sys-prop.*" to="*" type="glob"/>
   5.711 +                    </syspropertyset>
   5.712 +                    <customize/>
   5.713 +                </java>
   5.714 +            </sequential>
   5.715 +        </macrodef>
   5.716 +    </target>
   5.717 +    <target depends="-profile-pre-init, init, -profile-post-init, -profile-init-macrodef-profile" if="profiler.info.jvmargs.agent" name="-profile-init-check">
   5.718 +        <fail unless="profiler.info.jvm">Must set JVM to use for profiling in profiler.info.jvm</fail>
   5.719 +        <fail unless="profiler.info.jvmargs.agent">Must set profiler agent JVM arguments in profiler.info.jvmargs.agent</fail>
   5.720 +    </target>
   5.721 +    <!--
   5.722 +                end of pre NB7.2 profiling section
   5.723 +            -->
   5.724 +    <target depends="-init-debug-args" name="-init-macrodef-nbjpda">
   5.725 +        <macrodef name="nbjpdastart" uri="http://www.netbeans.org/ns/j2se-project/1">
   5.726 +            <attribute default="${main.class}" name="name"/>
   5.727 +            <attribute default="${debug.classpath}" name="classpath"/>
   5.728 +            <attribute default="" name="stopclassname"/>
   5.729 +            <sequential>
   5.730 +                <nbjpdastart addressproperty="jpda.address" name="@{name}" stopclassname="@{stopclassname}" transport="${debug-transport}">
   5.731 +                    <classpath>
   5.732 +                        <path path="@{classpath}"/>
   5.733 +                    </classpath>
   5.734 +                </nbjpdastart>
   5.735 +            </sequential>
   5.736 +        </macrodef>
   5.737 +        <macrodef name="nbjpdareload" uri="http://www.netbeans.org/ns/j2se-project/1">
   5.738 +            <attribute default="${build.classes.dir}" name="dir"/>
   5.739 +            <sequential>
   5.740 +                <nbjpdareload>
   5.741 +                    <fileset dir="@{dir}" includes="${fix.classes}">
   5.742 +                        <include name="${fix.includes}*.class"/>
   5.743 +                    </fileset>
   5.744 +                </nbjpdareload>
   5.745 +            </sequential>
   5.746 +        </macrodef>
   5.747 +    </target>
   5.748 +    <target name="-init-debug-args">
   5.749 +        <property name="version-output" value="java version &quot;${ant.java.version}"/>
   5.750 +        <condition property="have-jdk-older-than-1.4">
   5.751 +            <or>
   5.752 +                <contains string="${version-output}" substring="java version &quot;1.0"/>
   5.753 +                <contains string="${version-output}" substring="java version &quot;1.1"/>
   5.754 +                <contains string="${version-output}" substring="java version &quot;1.2"/>
   5.755 +                <contains string="${version-output}" substring="java version &quot;1.3"/>
   5.756 +            </or>
   5.757 +        </condition>
   5.758 +        <condition else="-Xdebug" property="debug-args-line" value="-Xdebug -Xnoagent -Djava.compiler=none">
   5.759 +            <istrue value="${have-jdk-older-than-1.4}"/>
   5.760 +        </condition>
   5.761 +        <condition else="dt_socket" property="debug-transport-by-os" value="dt_shmem">
   5.762 +            <os family="windows"/>
   5.763 +        </condition>
   5.764 +        <condition else="${debug-transport-by-os}" property="debug-transport" value="${debug.transport}">
   5.765 +            <isset property="debug.transport"/>
   5.766 +        </condition>
   5.767 +    </target>
   5.768 +    <target depends="-init-debug-args" name="-init-macrodef-debug">
   5.769 +        <macrodef name="debug" uri="http://www.netbeans.org/ns/j2se-project/3">
   5.770 +            <attribute default="${main.class}" name="classname"/>
   5.771 +            <attribute default="${debug.classpath}" name="classpath"/>
   5.772 +            <element name="customize" optional="true"/>
   5.773 +            <sequential>
   5.774 +                <java classname="@{classname}" dir="${work.dir}" fork="true">
   5.775 +                    <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
   5.776 +                    <jvmarg line="${debug-args-line}"/>
   5.777 +                    <jvmarg value="-Xrunjdwp:transport=${debug-transport},address=${jpda.address}"/>
   5.778 +                    <jvmarg value="-Dfile.encoding=${runtime.encoding}"/>
   5.779 +                    <redirector errorencoding="${runtime.encoding}" inputencoding="${runtime.encoding}" outputencoding="${runtime.encoding}"/>
   5.780 +                    <jvmarg line="${run.jvmargs}"/>
   5.781 +                    <jvmarg line="${run.jvmargs.ide}"/>
   5.782 +                    <classpath>
   5.783 +                        <path path="@{classpath}"/>
   5.784 +                    </classpath>
   5.785 +                    <syspropertyset>
   5.786 +                        <propertyref prefix="run-sys-prop."/>
   5.787 +                        <mapper from="run-sys-prop.*" to="*" type="glob"/>
   5.788 +                    </syspropertyset>
   5.789 +                    <customize/>
   5.790 +                </java>
   5.791 +            </sequential>
   5.792 +        </macrodef>
   5.793 +    </target>
   5.794 +    <target name="-init-macrodef-java">
   5.795 +        <macrodef name="java" uri="http://www.netbeans.org/ns/j2se-project/1">
   5.796 +            <attribute default="${main.class}" name="classname"/>
   5.797 +            <attribute default="${run.classpath}" name="classpath"/>
   5.798 +            <attribute default="jvm" name="jvm"/>
   5.799 +            <element name="customize" optional="true"/>
   5.800 +            <sequential>
   5.801 +                <java classname="@{classname}" dir="${work.dir}" fork="true">
   5.802 +                    <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
   5.803 +                    <jvmarg value="-Dfile.encoding=${runtime.encoding}"/>
   5.804 +                    <redirector errorencoding="${runtime.encoding}" inputencoding="${runtime.encoding}" outputencoding="${runtime.encoding}"/>
   5.805 +                    <jvmarg line="${run.jvmargs}"/>
   5.806 +                    <jvmarg line="${run.jvmargs.ide}"/>
   5.807 +                    <classpath>
   5.808 +                        <path path="@{classpath}"/>
   5.809 +                    </classpath>
   5.810 +                    <syspropertyset>
   5.811 +                        <propertyref prefix="run-sys-prop."/>
   5.812 +                        <mapper from="run-sys-prop.*" to="*" type="glob"/>
   5.813 +                    </syspropertyset>
   5.814 +                    <customize/>
   5.815 +                </java>
   5.816 +            </sequential>
   5.817 +        </macrodef>
   5.818 +    </target>
   5.819 +    <target name="-init-macrodef-copylibs">
   5.820 +        <macrodef name="copylibs" uri="http://www.netbeans.org/ns/j2se-project/3">
   5.821 +            <attribute default="${manifest.file}" name="manifest"/>
   5.822 +            <element name="customize" optional="true"/>
   5.823 +            <sequential>
   5.824 +                <property location="${build.classes.dir}" name="build.classes.dir.resolved"/>
   5.825 +                <pathconvert property="run.classpath.without.build.classes.dir">
   5.826 +                    <path path="${run.classpath}"/>
   5.827 +                    <map from="${build.classes.dir.resolved}" to=""/>
   5.828 +                </pathconvert>
   5.829 +                <pathconvert pathsep=" " property="jar.classpath">
   5.830 +                    <path path="${run.classpath.without.build.classes.dir}"/>
   5.831 +                    <chainedmapper>
   5.832 +                        <flattenmapper/>
   5.833 +                        <filtermapper>
   5.834 +                            <replacestring from=" " to="%20"/>
   5.835 +                        </filtermapper>
   5.836 +                        <globmapper from="*" to="lib/*"/>
   5.837 +                    </chainedmapper>
   5.838 +                </pathconvert>
   5.839 +                <taskdef classname="org.netbeans.modules.java.j2seproject.copylibstask.CopyLibs" classpath="${libs.CopyLibs.classpath}" name="copylibs"/>
   5.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}">
   5.841 +                    <fileset dir="${build.classes.dir}" excludes="${dist.archive.excludes}"/>
   5.842 +                    <manifest>
   5.843 +                        <attribute name="Class-Path" value="${jar.classpath}"/>
   5.844 +                        <customize/>
   5.845 +                    </manifest>
   5.846 +                </copylibs>
   5.847 +            </sequential>
   5.848 +        </macrodef>
   5.849 +    </target>
   5.850 +    <target name="-init-presetdef-jar">
   5.851 +        <presetdef name="jar" uri="http://www.netbeans.org/ns/j2se-project/1">
   5.852 +            <jar compress="${jar.compress}" index="${jar.index}" jarfile="${dist.jar}">
   5.853 +                <j2seproject1:fileset dir="${build.classes.dir}" excludes="${dist.archive.excludes}"/>
   5.854 +            </jar>
   5.855 +        </presetdef>
   5.856 +    </target>
   5.857 +    <target name="-init-ap-cmdline-properties">
   5.858 +        <property name="annotation.processing.enabled" value="true"/>
   5.859 +        <property name="annotation.processing.processors.list" value=""/>
   5.860 +        <property name="annotation.processing.processor.options" value=""/>
   5.861 +        <property name="annotation.processing.run.all.processors" value="true"/>
   5.862 +        <property name="javac.processorpath" value="${javac.classpath}"/>
   5.863 +        <property name="javac.test.processorpath" value="${javac.test.classpath}"/>
   5.864 +        <condition property="ap.supported.internal" value="true">
   5.865 +            <not>
   5.866 +                <matches pattern="1\.[0-5](\..*)?" string="${javac.source}"/>
   5.867 +            </not>
   5.868 +        </condition>
   5.869 +    </target>
   5.870 +    <target depends="-init-ap-cmdline-properties" if="ap.supported.internal" name="-init-ap-cmdline-supported">
   5.871 +        <condition else="" property="ap.processors.internal" value="-processor ${annotation.processing.processors.list}">
   5.872 +            <isfalse value="${annotation.processing.run.all.processors}"/>
   5.873 +        </condition>
   5.874 +        <condition else="" property="ap.proc.none.internal" value="-proc:none">
   5.875 +            <isfalse value="${annotation.processing.enabled}"/>
   5.876 +        </condition>
   5.877 +    </target>
   5.878 +    <target depends="-init-ap-cmdline-properties,-init-ap-cmdline-supported" name="-init-ap-cmdline">
   5.879 +        <property name="ap.cmd.line.internal" value=""/>
   5.880 +    </target>
   5.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"/>
   5.882 +    <!--
   5.883 +                ===================
   5.884 +                COMPILATION SECTION
   5.885 +                ===================
   5.886 +            -->
   5.887 +    <target name="-deps-jar-init" unless="built-jar.properties">
   5.888 +        <property location="${build.dir}/built-jar.properties" name="built-jar.properties"/>
   5.889 +        <delete file="${built-jar.properties}" quiet="true"/>
   5.890 +    </target>
   5.891 +    <target if="already.built.jar.${basedir}" name="-warn-already-built-jar">
   5.892 +        <echo level="warn" message="Cycle detected: alt2xml-lib-output was already built"/>
   5.893 +    </target>
   5.894 +    <target depends="init,-deps-jar-init" name="deps-jar" unless="no.deps">
   5.895 +        <mkdir dir="${build.dir}"/>
   5.896 +        <touch file="${built-jar.properties}" verbose="false"/>
   5.897 +        <property file="${built-jar.properties}" prefix="already.built.jar."/>
   5.898 +        <antcall target="-warn-already-built-jar"/>
   5.899 +        <propertyfile file="${built-jar.properties}">
   5.900 +            <entry key="${basedir}" value=""/>
   5.901 +        </propertyfile>
   5.902 +    </target>
   5.903 +    <target depends="init,-check-automatic-build,-clean-after-automatic-build" name="-verify-automatic-build"/>
   5.904 +    <target depends="init" name="-check-automatic-build">
   5.905 +        <available file="${build.classes.dir}/.netbeans_automatic_build" property="netbeans.automatic.build"/>
   5.906 +    </target>
   5.907 +    <target depends="init" if="netbeans.automatic.build" name="-clean-after-automatic-build">
   5.908 +        <antcall target="clean"/>
   5.909 +    </target>
   5.910 +    <target depends="init,deps-jar" name="-pre-pre-compile">
   5.911 +        <mkdir dir="${build.classes.dir}"/>
   5.912 +    </target>
   5.913 +    <target name="-pre-compile">
   5.914 +        <!-- Empty placeholder for easier customization. -->
   5.915 +        <!-- You can override this target in the ../build.xml file. -->
   5.916 +    </target>
   5.917 +    <target if="do.depend.true" name="-compile-depend">
   5.918 +        <pathconvert property="build.generated.subdirs">
   5.919 +            <dirset dir="${build.generated.sources.dir}" erroronmissingdir="false">
   5.920 +                <include name="*"/>
   5.921 +            </dirset>
   5.922 +        </pathconvert>
   5.923 +        <j2seproject3:depend srcdir="${src.dir}:${build.generated.subdirs}"/>
   5.924 +    </target>
   5.925 +    <target depends="init,deps-jar,-pre-pre-compile,-pre-compile, -copy-persistence-xml,-compile-depend" if="have.sources" name="-do-compile">
   5.926 +        <j2seproject3:javac gensrcdir="${build.generated.sources.dir}"/>
   5.927 +        <copy todir="${build.classes.dir}">
   5.928 +            <fileset dir="${src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
   5.929 +        </copy>
   5.930 +    </target>
   5.931 +    <target if="has.persistence.xml" name="-copy-persistence-xml">
   5.932 +        <mkdir dir="${build.classes.dir}/META-INF"/>
   5.933 +        <copy todir="${build.classes.dir}/META-INF">
   5.934 +            <fileset dir="${meta.inf.dir}" includes="persistence.xml orm.xml"/>
   5.935 +        </copy>
   5.936 +    </target>
   5.937 +    <target name="-post-compile">
   5.938 +        <!-- Empty placeholder for easier customization. -->
   5.939 +        <!-- You can override this target in the ../build.xml file. -->
   5.940 +    </target>
   5.941 +    <target depends="init,deps-jar,-verify-automatic-build,-pre-pre-compile,-pre-compile,-do-compile,-post-compile" description="Compile project." name="compile"/>
   5.942 +    <target name="-pre-compile-single">
   5.943 +        <!-- Empty placeholder for easier customization. -->
   5.944 +        <!-- You can override this target in the ../build.xml file. -->
   5.945 +    </target>
   5.946 +    <target depends="init,deps-jar,-pre-pre-compile" name="-do-compile-single">
   5.947 +        <fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail>
   5.948 +        <j2seproject3:force-recompile/>
   5.949 +        <j2seproject3:javac excludes="" gensrcdir="${build.generated.sources.dir}" includes="${javac.includes}" sourcepath="${src.dir}"/>
   5.950 +    </target>
   5.951 +    <target name="-post-compile-single">
   5.952 +        <!-- Empty placeholder for easier customization. -->
   5.953 +        <!-- You can override this target in the ../build.xml file. -->
   5.954 +    </target>
   5.955 +    <target depends="init,deps-jar,-verify-automatic-build,-pre-pre-compile,-pre-compile-single,-do-compile-single,-post-compile-single" name="compile-single"/>
   5.956 +    <!--
   5.957 +                ====================
   5.958 +                JAR BUILDING SECTION
   5.959 +                ====================
   5.960 +            -->
   5.961 +    <target depends="init" name="-pre-pre-jar">
   5.962 +        <dirname file="${dist.jar}" property="dist.jar.dir"/>
   5.963 +        <mkdir dir="${dist.jar.dir}"/>
   5.964 +    </target>
   5.965 +    <target name="-pre-jar">
   5.966 +        <!-- Empty placeholder for easier customization. -->
   5.967 +        <!-- You can override this target in the ../build.xml file. -->
   5.968 +    </target>
   5.969 +    <target depends="init" if="do.archive" name="-do-jar-create-manifest" unless="manifest.available">
   5.970 +        <tempfile deleteonexit="true" destdir="${build.dir}" property="tmp.manifest.file"/>
   5.971 +        <touch file="${tmp.manifest.file}" verbose="false"/>
   5.972 +    </target>
   5.973 +    <target depends="init" if="do.archive+manifest.available" name="-do-jar-copy-manifest">
   5.974 +        <tempfile deleteonexit="true" destdir="${build.dir}" property="tmp.manifest.file"/>
   5.975 +        <copy file="${manifest.file}" tofile="${tmp.manifest.file}"/>
   5.976 +    </target>
   5.977 +    <target depends="init,-do-jar-create-manifest,-do-jar-copy-manifest" if="do.archive+main.class.available" name="-do-jar-set-mainclass">
   5.978 +        <manifest file="${tmp.manifest.file}" mode="update">
   5.979 +            <attribute name="Main-Class" value="${main.class}"/>
   5.980 +        </manifest>
   5.981 +    </target>
   5.982 +    <target depends="init,-do-jar-create-manifest,-do-jar-copy-manifest" if="do.archive+profile.available" name="-do-jar-set-profile">
   5.983 +        <manifest file="${tmp.manifest.file}" mode="update">
   5.984 +            <attribute name="Profile" value="${javac.profile}"/>
   5.985 +        </manifest>
   5.986 +    </target>
   5.987 +    <target depends="init,-do-jar-create-manifest,-do-jar-copy-manifest" if="do.archive+splashscreen.available" name="-do-jar-set-splashscreen">
   5.988 +        <basename file="${application.splash}" property="splashscreen.basename"/>
   5.989 +        <mkdir dir="${build.classes.dir}/META-INF"/>
   5.990 +        <copy failonerror="false" file="${application.splash}" todir="${build.classes.dir}/META-INF"/>
   5.991 +        <manifest file="${tmp.manifest.file}" mode="update">
   5.992 +            <attribute name="SplashScreen-Image" value="META-INF/${splashscreen.basename}"/>
   5.993 +        </manifest>
   5.994 +    </target>
   5.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">
   5.996 +        <j2seproject3:copylibs manifest="${tmp.manifest.file}"/>
   5.997 +        <echo level="info">To run this application from the command line without Ant, try:</echo>
   5.998 +        <property location="${dist.jar}" name="dist.jar.resolved"/>
   5.999 +        <echo level="info">java -jar "${dist.jar.resolved}"</echo>
  5.1000 +    </target>
  5.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">
  5.1002 +        <j2seproject1:jar manifest="${tmp.manifest.file}"/>
  5.1003 +        <property location="${build.classes.dir}" name="build.classes.dir.resolved"/>
  5.1004 +        <property location="${dist.jar}" name="dist.jar.resolved"/>
  5.1005 +        <pathconvert property="run.classpath.with.dist.jar">
  5.1006 +            <path path="${run.classpath}"/>
  5.1007 +            <map from="${build.classes.dir.resolved}" to="${dist.jar.resolved}"/>
  5.1008 +        </pathconvert>
  5.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}">
  5.1010 +            <isset property="main.class.available"/>
  5.1011 +        </condition>
  5.1012 +        <condition else="debug" property="jar.usage.level" value="info">
  5.1013 +            <isset property="main.class.available"/>
  5.1014 +        </condition>
  5.1015 +        <echo level="${jar.usage.level}" message="${jar.usage.message}"/>
  5.1016 +    </target>
  5.1017 +    <target depends="-do-jar-copylibs" if="do.archive" name="-do-jar-delete-manifest">
  5.1018 +        <delete>
  5.1019 +            <fileset file="${tmp.manifest.file}"/>
  5.1020 +        </delete>
  5.1021 +    </target>
  5.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"/>
  5.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"/>
  5.1024 +    <target name="-post-jar">
  5.1025 +        <!-- Empty placeholder for easier customization. -->
  5.1026 +        <!-- You can override this target in the ../build.xml file. -->
  5.1027 +    </target>
  5.1028 +    <target depends="init,compile,-pre-jar,-do-jar-without-libraries,-do-jar-with-libraries,-post-jar" name="-do-jar"/>
  5.1029 +    <target depends="init,compile,-pre-jar,-do-jar,-post-jar" description="Build JAR." name="jar"/>
  5.1030 +    <!--
  5.1031 +                =================
  5.1032 +                EXECUTION SECTION
  5.1033 +                =================
  5.1034 +            -->
  5.1035 +    <target depends="init,compile" description="Run a main class." name="run">
  5.1036 +        <j2seproject1:java>
  5.1037 +            <customize>
  5.1038 +                <arg line="${application.args}"/>
  5.1039 +            </customize>
  5.1040 +        </j2seproject1:java>
  5.1041 +    </target>
  5.1042 +    <target name="-do-not-recompile">
  5.1043 +        <property name="javac.includes.binary" value=""/>
  5.1044 +    </target>
  5.1045 +    <target depends="init,compile-single" name="run-single">
  5.1046 +        <fail unless="run.class">Must select one file in the IDE or set run.class</fail>
  5.1047 +        <j2seproject1:java classname="${run.class}"/>
  5.1048 +    </target>
  5.1049 +    <target depends="init,compile-test-single" name="run-test-with-main">
  5.1050 +        <fail unless="run.class">Must select one file in the IDE or set run.class</fail>
  5.1051 +        <j2seproject1:java classname="${run.class}" classpath="${run.test.classpath}"/>
  5.1052 +    </target>
  5.1053 +    <!--
  5.1054 +                =================
  5.1055 +                DEBUGGING SECTION
  5.1056 +                =================
  5.1057 +            -->
  5.1058 +    <target depends="init" if="netbeans.home" name="-debug-start-debugger">
  5.1059 +        <j2seproject1:nbjpdastart name="${debug.class}"/>
  5.1060 +    </target>
  5.1061 +    <target depends="init" if="netbeans.home" name="-debug-start-debugger-main-test">
  5.1062 +        <j2seproject1:nbjpdastart classpath="${debug.test.classpath}" name="${debug.class}"/>
  5.1063 +    </target>
  5.1064 +    <target depends="init,compile" name="-debug-start-debuggee">
  5.1065 +        <j2seproject3:debug>
  5.1066 +            <customize>
  5.1067 +                <arg line="${application.args}"/>
  5.1068 +            </customize>
  5.1069 +        </j2seproject3:debug>
  5.1070 +    </target>
  5.1071 +    <target depends="init,compile,-debug-start-debugger,-debug-start-debuggee" description="Debug project in IDE." if="netbeans.home" name="debug"/>
  5.1072 +    <target depends="init" if="netbeans.home" name="-debug-start-debugger-stepinto">
  5.1073 +        <j2seproject1:nbjpdastart stopclassname="${main.class}"/>
  5.1074 +    </target>
  5.1075 +    <target depends="init,compile,-debug-start-debugger-stepinto,-debug-start-debuggee" if="netbeans.home" name="debug-stepinto"/>
  5.1076 +    <target depends="init,compile-single" if="netbeans.home" name="-debug-start-debuggee-single">
  5.1077 +        <fail unless="debug.class">Must select one file in the IDE or set debug.class</fail>
  5.1078 +        <j2seproject3:debug classname="${debug.class}"/>
  5.1079 +    </target>
  5.1080 +    <target depends="init,compile-single,-debug-start-debugger,-debug-start-debuggee-single" if="netbeans.home" name="debug-single"/>
  5.1081 +    <target depends="init,compile-test-single" if="netbeans.home" name="-debug-start-debuggee-main-test">
  5.1082 +        <fail unless="debug.class">Must select one file in the IDE or set debug.class</fail>
  5.1083 +        <j2seproject3:debug classname="${debug.class}" classpath="${debug.test.classpath}"/>
  5.1084 +    </target>
  5.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"/>
  5.1086 +    <target depends="init" name="-pre-debug-fix">
  5.1087 +        <fail unless="fix.includes">Must set fix.includes</fail>
  5.1088 +        <property name="javac.includes" value="${fix.includes}.java"/>
  5.1089 +    </target>
  5.1090 +    <target depends="init,-pre-debug-fix,compile-single" if="netbeans.home" name="-do-debug-fix">
  5.1091 +        <j2seproject1:nbjpdareload/>
  5.1092 +    </target>
  5.1093 +    <target depends="init,-pre-debug-fix,-do-debug-fix" if="netbeans.home" name="debug-fix"/>
  5.1094 +    <!--
  5.1095 +                =================
  5.1096 +                PROFILING SECTION
  5.1097 +                =================
  5.1098 +            -->
  5.1099 +    <!--
  5.1100 +                pre NB7.2 profiler integration
  5.1101 +            -->
  5.1102 +    <target depends="profile-init,compile" description="Profile a project in the IDE." if="profiler.info.jvmargs.agent" name="-profile-pre72">
  5.1103 +        <fail unless="netbeans.home">This target only works when run from inside the NetBeans IDE.</fail>
  5.1104 +        <nbprofiledirect>
  5.1105 +            <classpath>
  5.1106 +                <path path="${run.classpath}"/>
  5.1107 +            </classpath>
  5.1108 +        </nbprofiledirect>
  5.1109 +        <profile/>
  5.1110 +    </target>
  5.1111 +    <target depends="profile-init,compile-single" description="Profile a selected class in the IDE." if="profiler.info.jvmargs.agent" name="-profile-single-pre72">
  5.1112 +        <fail unless="profile.class">Must select one file in the IDE or set profile.class</fail>
  5.1113 +        <fail unless="netbeans.home">This target only works when run from inside the NetBeans IDE.</fail>
  5.1114 +        <nbprofiledirect>
  5.1115 +            <classpath>
  5.1116 +                <path path="${run.classpath}"/>
  5.1117 +            </classpath>
  5.1118 +        </nbprofiledirect>
  5.1119 +        <profile classname="${profile.class}"/>
  5.1120 +    </target>
  5.1121 +    <target depends="profile-init,compile-single" if="profiler.info.jvmargs.agent" name="-profile-applet-pre72">
  5.1122 +        <fail unless="netbeans.home">This target only works when run from inside the NetBeans IDE.</fail>
  5.1123 +        <nbprofiledirect>
  5.1124 +            <classpath>
  5.1125 +                <path path="${run.classpath}"/>
  5.1126 +            </classpath>
  5.1127 +        </nbprofiledirect>
  5.1128 +        <profile classname="sun.applet.AppletViewer">
  5.1129 +            <customize>
  5.1130 +                <arg value="${applet.url}"/>
  5.1131 +            </customize>
  5.1132 +        </profile>
  5.1133 +    </target>
  5.1134 +    <target depends="profile-init,compile-test-single" if="profiler.info.jvmargs.agent" name="-profile-test-single-pre72">
  5.1135 +        <fail unless="netbeans.home">This target only works when run from inside the NetBeans IDE.</fail>
  5.1136 +        <nbprofiledirect>
  5.1137 +            <classpath>
  5.1138 +                <path path="${run.test.classpath}"/>
  5.1139 +            </classpath>
  5.1140 +        </nbprofiledirect>
  5.1141 +        <junit dir="${profiler.info.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" jvm="${profiler.info.jvm}" showoutput="true">
  5.1142 +            <env key="${profiler.info.pathvar}" path="${profiler.info.agentpath}:${profiler.current.path}"/>
  5.1143 +            <jvmarg value="${profiler.info.jvmargs.agent}"/>
  5.1144 +            <jvmarg line="${profiler.info.jvmargs}"/>
  5.1145 +            <test name="${profile.class}"/>
  5.1146 +            <classpath>
  5.1147 +                <path path="${run.test.classpath}"/>
  5.1148 +            </classpath>
  5.1149 +            <syspropertyset>
  5.1150 +                <propertyref prefix="test-sys-prop."/>
  5.1151 +                <mapper from="test-sys-prop.*" to="*" type="glob"/>
  5.1152 +            </syspropertyset>
  5.1153 +            <formatter type="brief" usefile="false"/>
  5.1154 +            <formatter type="xml"/>
  5.1155 +        </junit>
  5.1156 +    </target>
  5.1157 +    <!--
  5.1158 +                end of pre NB72 profiling section
  5.1159 +            -->
  5.1160 +    <target if="netbeans.home" name="-profile-check">
  5.1161 +        <condition property="profiler.configured">
  5.1162 +            <or>
  5.1163 +                <contains casesensitive="true" string="${run.jvmargs.ide}" substring="-agentpath:"/>
  5.1164 +                <contains casesensitive="true" string="${run.jvmargs.ide}" substring="-javaagent:"/>
  5.1165 +            </or>
  5.1166 +        </condition>
  5.1167 +    </target>
  5.1168 +    <target depends="-profile-check,-profile-pre72" description="Profile a project in the IDE." if="profiler.configured" name="profile" unless="profiler.info.jvmargs.agent">
  5.1169 +        <startprofiler/>
  5.1170 +        <antcall target="run"/>
  5.1171 +    </target>
  5.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">
  5.1173 +        <fail unless="run.class">Must select one file in the IDE or set run.class</fail>
  5.1174 +        <startprofiler/>
  5.1175 +        <antcall target="run-single"/>
  5.1176 +    </target>
  5.1177 +    <target depends="-profile-test-single-pre72" description="Profile a selected test in the IDE." name="profile-test-single"/>
  5.1178 +    <target depends="-profile-check" description="Profile a selected test in the IDE." if="profiler.configured" name="profile-test" unless="profiler.info.jvmargs">
  5.1179 +        <fail unless="test.includes">Must select some files in the IDE or set test.includes</fail>
  5.1180 +        <startprofiler/>
  5.1181 +        <antcall target="test-single"/>
  5.1182 +    </target>
  5.1183 +    <target depends="-profile-check" description="Profile a selected class in the IDE." if="profiler.configured" name="profile-test-with-main">
  5.1184 +        <fail unless="run.class">Must select one file in the IDE or set run.class</fail>
  5.1185 +        <startprofiler/>
  5.1186 +        <antcal target="run-test-with-main"/>
  5.1187 +    </target>
  5.1188 +    <target depends="-profile-check,-profile-applet-pre72" if="profiler.configured" name="profile-applet" unless="profiler.info.jvmargs.agent">
  5.1189 +        <fail unless="applet.url">Must select one file in the IDE or set applet.url</fail>
  5.1190 +        <startprofiler/>
  5.1191 +        <antcall target="run-applet"/>
  5.1192 +    </target>
  5.1193 +    <!--
  5.1194 +                ===============
  5.1195 +                JAVADOC SECTION
  5.1196 +                ===============
  5.1197 +            -->
  5.1198 +    <target depends="init" if="have.sources" name="-javadoc-build">
  5.1199 +        <mkdir dir="${dist.javadoc.dir}"/>
  5.1200 +        <condition else="" property="javadoc.endorsed.classpath.cmd.line.arg" value="-J${endorsed.classpath.cmd.line.arg}">
  5.1201 +            <and>
  5.1202 +                <isset property="endorsed.classpath.cmd.line.arg"/>
  5.1203 +                <not>
  5.1204 +                    <equals arg1="${endorsed.classpath.cmd.line.arg}" arg2=""/>
  5.1205 +                </not>
  5.1206 +            </and>
  5.1207 +        </condition>
  5.1208 +        <condition else="" property="bug5101868workaround" value="*.java">
  5.1209 +            <matches pattern="1\.[56](\..*)?" string="${java.version}"/>
  5.1210 +        </condition>
  5.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}">
  5.1212 +            <classpath>
  5.1213 +                <path path="${javac.classpath}"/>
  5.1214 +            </classpath>
  5.1215 +            <fileset dir="${src.dir}" excludes="${bug5101868workaround},${excludes}" includes="${includes}">
  5.1216 +                <filename name="**/*.java"/>
  5.1217 +            </fileset>
  5.1218 +            <fileset dir="${build.generated.sources.dir}" erroronmissingdir="false">
  5.1219 +                <include name="**/*.java"/>
  5.1220 +                <exclude name="*.java"/>
  5.1221 +            </fileset>
  5.1222 +            <arg line="${javadoc.endorsed.classpath.cmd.line.arg}"/>
  5.1223 +        </javadoc>
  5.1224 +        <copy todir="${dist.javadoc.dir}">
  5.1225 +            <fileset dir="${src.dir}" excludes="${excludes}" includes="${includes}">
  5.1226 +                <filename name="**/doc-files/**"/>
  5.1227 +            </fileset>
  5.1228 +            <fileset dir="${build.generated.sources.dir}" erroronmissingdir="false">
  5.1229 +                <include name="**/doc-files/**"/>
  5.1230 +            </fileset>
  5.1231 +        </copy>
  5.1232 +    </target>
  5.1233 +    <target depends="init,-javadoc-build" if="netbeans.home" name="-javadoc-browse" unless="no.javadoc.preview">
  5.1234 +        <nbbrowse file="${dist.javadoc.dir}/index.html"/>
  5.1235 +    </target>
  5.1236 +    <target depends="init,-javadoc-build,-javadoc-browse" description="Build Javadoc." name="javadoc"/>
  5.1237 +    <!--
  5.1238 +                =========================
  5.1239 +                TEST COMPILATION SECTION
  5.1240 +                =========================
  5.1241 +            -->
  5.1242 +    <target depends="init,compile" if="have.tests" name="-pre-pre-compile-test">
  5.1243 +        <mkdir dir="${build.test.classes.dir}"/>
  5.1244 +    </target>
  5.1245 +    <target name="-pre-compile-test">
  5.1246 +        <!-- Empty placeholder for easier customization. -->
  5.1247 +        <!-- You can override this target in the ../build.xml file. -->
  5.1248 +    </target>
  5.1249 +    <target if="do.depend.true" name="-compile-test-depend">
  5.1250 +        <j2seproject3:depend classpath="${javac.test.classpath}" destdir="${build.test.classes.dir}" srcdir="${test.src.dir}"/>
  5.1251 +    </target>
  5.1252 +    <target depends="init,deps-jar,compile,-pre-pre-compile-test,-pre-compile-test,-compile-test-depend" if="have.tests" name="-do-compile-test">
  5.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}"/>
  5.1254 +        <copy todir="${build.test.classes.dir}">
  5.1255 +            <fileset dir="${test.src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
  5.1256 +        </copy>
  5.1257 +    </target>
  5.1258 +    <target name="-post-compile-test">
  5.1259 +        <!-- Empty placeholder for easier customization. -->
  5.1260 +        <!-- You can override this target in the ../build.xml file. -->
  5.1261 +    </target>
  5.1262 +    <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test,-do-compile-test,-post-compile-test" name="compile-test"/>
  5.1263 +    <target name="-pre-compile-test-single">
  5.1264 +        <!-- Empty placeholder for easier customization. -->
  5.1265 +        <!-- You can override this target in the ../build.xml file. -->
  5.1266 +    </target>
  5.1267 +    <target depends="init,deps-jar,compile,-pre-pre-compile-test,-pre-compile-test-single" if="have.tests" name="-do-compile-test-single">
  5.1268 +        <fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail>
  5.1269 +        <j2seproject3:force-recompile destdir="${build.test.classes.dir}"/>
  5.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}"/>
  5.1271 +        <copy todir="${build.test.classes.dir}">
  5.1272 +            <fileset dir="${test.src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
  5.1273 +        </copy>
  5.1274 +    </target>
  5.1275 +    <target name="-post-compile-test-single">
  5.1276 +        <!-- Empty placeholder for easier customization. -->
  5.1277 +        <!-- You can override this target in the ../build.xml file. -->
  5.1278 +    </target>
  5.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"/>
  5.1280 +    <!--
  5.1281 +                =======================
  5.1282 +                TEST EXECUTION SECTION
  5.1283 +                =======================
  5.1284 +            -->
  5.1285 +    <target depends="init" if="have.tests" name="-pre-test-run">
  5.1286 +        <mkdir dir="${build.test.results.dir}"/>
  5.1287 +    </target>
  5.1288 +    <target depends="init,compile-test,-pre-test-run" if="have.tests" name="-do-test-run">
  5.1289 +        <j2seproject3:test includes="${includes}" testincludes="**/*Test.java"/>
  5.1290 +    </target>
  5.1291 +    <target depends="init,compile-test,-pre-test-run,-do-test-run" if="have.tests" name="-post-test-run">
  5.1292 +        <fail if="tests.failed" unless="ignore.failing.tests">Some tests failed; see details above.</fail>
  5.1293 +    </target>
  5.1294 +    <target depends="init" if="have.tests" name="test-report"/>
  5.1295 +    <target depends="init" if="netbeans.home+have.tests" name="-test-browse"/>
  5.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"/>
  5.1297 +    <target depends="init" if="have.tests" name="-pre-test-run-single">
  5.1298 +        <mkdir dir="${build.test.results.dir}"/>
  5.1299 +    </target>
  5.1300 +    <target depends="init,compile-test-single,-pre-test-run-single" if="have.tests" name="-do-test-run-single">
  5.1301 +        <fail unless="test.includes">Must select some files in the IDE or set test.includes</fail>
  5.1302 +        <j2seproject3:test excludes="" includes="${test.includes}" testincludes="${test.includes}"/>
  5.1303 +    </target>
  5.1304 +    <target depends="init,compile-test-single,-pre-test-run-single,-do-test-run-single" if="have.tests" name="-post-test-run-single">
  5.1305 +        <fail if="tests.failed" unless="ignore.failing.tests">Some tests failed; see details above.</fail>
  5.1306 +    </target>
  5.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"/>
  5.1308 +    <target depends="init,compile-test-single,-pre-test-run-single" if="have.tests" name="-do-test-run-single-method">
  5.1309 +        <fail unless="test.class">Must select some files in the IDE or set test.class</fail>
  5.1310 +        <fail unless="test.method">Must select some method in the IDE or set test.method</fail>
  5.1311 +        <j2seproject3:test excludes="" includes="${javac.includes}" testincludes="${test.class}" testmethods="${test.method}"/>
  5.1312 +    </target>
  5.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">
  5.1314 +        <fail if="tests.failed" unless="ignore.failing.tests">Some tests failed; see details above.</fail>
  5.1315 +    </target>
  5.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"/>
  5.1317 +    <!--
  5.1318 +                =======================
  5.1319 +                TEST DEBUGGING SECTION
  5.1320 +                =======================
  5.1321 +            -->
  5.1322 +    <target depends="init,compile-test-single,-pre-test-run-single" if="have.tests" name="-debug-start-debuggee-test">
  5.1323 +        <fail unless="test.class">Must select one file in the IDE or set test.class</fail>
  5.1324 +        <j2seproject3:test-debug excludes="" includes="${javac.includes}" testClass="${test.class}" testincludes="${javac.includes}"/>
  5.1325 +    </target>
  5.1326 +    <target depends="init,compile-test-single,-pre-test-run-single" if="have.tests" name="-debug-start-debuggee-test-method">
  5.1327 +        <fail unless="test.class">Must select one file in the IDE or set test.class</fail>
  5.1328 +        <fail unless="test.method">Must select some method in the IDE or set test.method</fail>
  5.1329 +        <j2seproject3:test-debug excludes="" includes="${javac.includes}" testClass="${test.class}" testMethod="${test.method}" testincludes="${test.class}" testmethods="${test.method}"/>
  5.1330 +    </target>
  5.1331 +    <target depends="init,compile-test" if="netbeans.home+have.tests" name="-debug-start-debugger-test">
  5.1332 +        <j2seproject1:nbjpdastart classpath="${debug.test.classpath}" name="${test.class}"/>
  5.1333 +    </target>
  5.1334 +    <target depends="init,compile-test-single,-debug-start-debugger-test,-debug-start-debuggee-test" name="debug-test"/>
  5.1335 +    <target depends="init,compile-test-single,-debug-start-debugger-test,-debug-start-debuggee-test-method" name="debug-test-method"/>
  5.1336 +    <target depends="init,-pre-debug-fix,compile-test-single" if="netbeans.home" name="-do-debug-fix-test">
  5.1337 +        <j2seproject1:nbjpdareload dir="${build.test.classes.dir}"/>
  5.1338 +    </target>
  5.1339 +    <target depends="init,-pre-debug-fix,-do-debug-fix-test" if="netbeans.home" name="debug-fix-test"/>
  5.1340 +    <!--
  5.1341 +                =========================
  5.1342 +                APPLET EXECUTION SECTION
  5.1343 +                =========================
  5.1344 +            -->
  5.1345 +    <target depends="init,compile-single" name="run-applet">
  5.1346 +        <fail unless="applet.url">Must select one file in the IDE or set applet.url</fail>
  5.1347 +        <j2seproject1:java classname="sun.applet.AppletViewer">
  5.1348 +            <customize>
  5.1349 +                <arg value="${applet.url}"/>
  5.1350 +            </customize>
  5.1351 +        </j2seproject1:java>
  5.1352 +    </target>
  5.1353 +    <!--
  5.1354 +                =========================
  5.1355 +                APPLET DEBUGGING  SECTION
  5.1356 +                =========================
  5.1357 +            -->
  5.1358 +    <target depends="init,compile-single" if="netbeans.home" name="-debug-start-debuggee-applet">
  5.1359 +        <fail unless="applet.url">Must select one file in the IDE or set applet.url</fail>
  5.1360 +        <j2seproject3:debug classname="sun.applet.AppletViewer">
  5.1361 +            <customize>
  5.1362 +                <arg value="${applet.url}"/>
  5.1363 +            </customize>
  5.1364 +        </j2seproject3:debug>
  5.1365 +    </target>
  5.1366 +    <target depends="init,compile-single,-debug-start-debugger,-debug-start-debuggee-applet" if="netbeans.home" name="debug-applet"/>
  5.1367 +    <!--
  5.1368 +                ===============
  5.1369 +                CLEANUP SECTION
  5.1370 +                ===============
  5.1371 +            -->
  5.1372 +    <target name="-deps-clean-init" unless="built-clean.properties">
  5.1373 +        <property location="${build.dir}/built-clean.properties" name="built-clean.properties"/>
  5.1374 +        <delete file="${built-clean.properties}" quiet="true"/>
  5.1375 +    </target>
  5.1376 +    <target if="already.built.clean.${basedir}" name="-warn-already-built-clean">
  5.1377 +        <echo level="warn" message="Cycle detected: alt2xml-lib-output was already built"/>
  5.1378 +    </target>
  5.1379 +    <target depends="init,-deps-clean-init" name="deps-clean" unless="no.deps">
  5.1380 +        <mkdir dir="${build.dir}"/>
  5.1381 +        <touch file="${built-clean.properties}" verbose="false"/>
  5.1382 +        <property file="${built-clean.properties}" prefix="already.built.clean."/>
  5.1383 +        <antcall target="-warn-already-built-clean"/>
  5.1384 +        <propertyfile file="${built-clean.properties}">
  5.1385 +            <entry key="${basedir}" value=""/>
  5.1386 +        </propertyfile>
  5.1387 +    </target>
  5.1388 +    <target depends="init" name="-do-clean">
  5.1389 +        <delete dir="${build.dir}"/>
  5.1390 +        <delete dir="${dist.dir}" followsymlinks="false" includeemptydirs="true"/>
  5.1391 +    </target>
  5.1392 +    <target name="-post-clean">
  5.1393 +        <!-- Empty placeholder for easier customization. -->
  5.1394 +        <!-- You can override this target in the ../build.xml file. -->
  5.1395 +    </target>
  5.1396 +    <target depends="init,deps-clean,-do-clean,-post-clean" description="Clean build products." name="clean"/>
  5.1397 +    <target name="-check-call-dep">
  5.1398 +        <property file="${call.built.properties}" prefix="already.built."/>
  5.1399 +        <condition property="should.call.dep">
  5.1400 +            <and>
  5.1401 +                <not>
  5.1402 +                    <isset property="already.built.${call.subproject}"/>
  5.1403 +                </not>
  5.1404 +                <available file="${call.script}"/>
  5.1405 +            </and>
  5.1406 +        </condition>
  5.1407 +    </target>
  5.1408 +    <target depends="-check-call-dep" if="should.call.dep" name="-maybe-call-dep">
  5.1409 +        <ant antfile="${call.script}" inheritall="false" target="${call.target}">
  5.1410 +            <propertyset>
  5.1411 +                <propertyref prefix="transfer."/>
  5.1412 +                <mapper from="transfer.*" to="*" type="glob"/>
  5.1413 +            </propertyset>
  5.1414 +        </ant>
  5.1415 +    </target>
  5.1416 +</project>
     6.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.2 +++ b/java/alt2xml-lib-output/nbproject/genfiles.properties	Sat Jun 07 22:12:11 2014 +0200
     6.3 @@ -0,0 +1,8 @@
     6.4 +build.xml.data.CRC32=e334806b
     6.5 +build.xml.script.CRC32=9cf55720
     6.6 +build.xml.stylesheet.CRC32=8064a381@1.74.2.48
     6.7 +# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml.
     6.8 +# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you.
     6.9 +nbproject/build-impl.xml.data.CRC32=e334806b
    6.10 +nbproject/build-impl.xml.script.CRC32=70a60178
    6.11 +nbproject/build-impl.xml.stylesheet.CRC32=876e7a8f@1.74.2.48
     7.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     7.2 +++ b/java/alt2xml-lib-output/nbproject/project.properties	Sat Jun 07 22:12:11 2014 +0200
     7.3 @@ -0,0 +1,71 @@
     7.4 +annotation.processing.enabled=true
     7.5 +annotation.processing.enabled.in.editor=false
     7.6 +annotation.processing.processor.options=
     7.7 +annotation.processing.processors.list=
     7.8 +annotation.processing.run.all.processors=true
     7.9 +annotation.processing.source.output=${build.generated.sources.dir}/ap-source-output
    7.10 +build.classes.dir=${build.dir}/classes
    7.11 +build.classes.excludes=**/*.java,**/*.form
    7.12 +# This directory is removed when the project is cleaned:
    7.13 +build.dir=build
    7.14 +build.generated.dir=${build.dir}/generated
    7.15 +build.generated.sources.dir=${build.dir}/generated-sources
    7.16 +# Only compile against the classpath explicitly listed here:
    7.17 +build.sysclasspath=ignore
    7.18 +build.test.classes.dir=${build.dir}/test/classes
    7.19 +build.test.results.dir=${build.dir}/test/results
    7.20 +# Uncomment to specify the preferred debugger connection transport:
    7.21 +#debug.transport=dt_socket
    7.22 +debug.classpath=\
    7.23 +    ${run.classpath}
    7.24 +debug.test.classpath=\
    7.25 +    ${run.test.classpath}
    7.26 +# Files in build.classes.dir which should be excluded from distribution jar
    7.27 +dist.archive.excludes=
    7.28 +# This directory is removed when the project is cleaned:
    7.29 +dist.dir=dist
    7.30 +dist.jar=${dist.dir}/alt2xml-lib-output.jar
    7.31 +dist.javadoc.dir=${dist.dir}/javadoc
    7.32 +excludes=
    7.33 +includes=**
    7.34 +jar.compress=false
    7.35 +javac.classpath=
    7.36 +# Space-separated list of extra javac options
    7.37 +javac.compilerargs=
    7.38 +javac.deprecation=false
    7.39 +javac.processorpath=\
    7.40 +    ${javac.classpath}
    7.41 +javac.source=1.7
    7.42 +javac.target=1.7
    7.43 +javac.test.classpath=\
    7.44 +    ${javac.classpath}:\
    7.45 +    ${build.classes.dir}
    7.46 +javac.test.processorpath=\
    7.47 +    ${javac.test.classpath}
    7.48 +javadoc.additionalparam=
    7.49 +javadoc.author=false
    7.50 +javadoc.encoding=${source.encoding}
    7.51 +javadoc.noindex=false
    7.52 +javadoc.nonavbar=false
    7.53 +javadoc.notree=false
    7.54 +javadoc.private=false
    7.55 +javadoc.splitindex=true
    7.56 +javadoc.use=true
    7.57 +javadoc.version=false
    7.58 +javadoc.windowtitle=
    7.59 +meta.inf.dir=${src.dir}/META-INF
    7.60 +mkdist.disabled=true
    7.61 +platform.active=default_platform
    7.62 +run.classpath=\
    7.63 +    ${javac.classpath}:\
    7.64 +    ${build.classes.dir}
    7.65 +# Space-separated list of JVM arguments used when running the project.
    7.66 +# You may also define separate properties like run-sys-prop.name=value instead of -Dname=value.
    7.67 +# To set system properties for unit tests define test-sys-prop.name=value:
    7.68 +run.jvmargs=
    7.69 +run.test.classpath=\
    7.70 +    ${javac.test.classpath}:\
    7.71 +    ${build.test.classes.dir}
    7.72 +source.encoding=UTF-8
    7.73 +src.dir=src
    7.74 +test.src.dir=test
     8.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     8.2 +++ b/java/alt2xml-lib-output/nbproject/project.xml	Sat Jun 07 22:12:11 2014 +0200
     8.3 @@ -0,0 +1,15 @@
     8.4 +<?xml version="1.0" encoding="UTF-8"?>
     8.5 +<project xmlns="http://www.netbeans.org/ns/project/1">
     8.6 +    <type>org.netbeans.modules.java.j2seproject</type>
     8.7 +    <configuration>
     8.8 +        <data xmlns="http://www.netbeans.org/ns/j2se-project/3">
     8.9 +            <name>alt2xml-lib-output</name>
    8.10 +            <source-roots>
    8.11 +                <root id="src.dir"/>
    8.12 +            </source-roots>
    8.13 +            <test-roots>
    8.14 +                <root id="test.src.dir"/>
    8.15 +            </test-roots>
    8.16 +        </data>
    8.17 +    </configuration>
    8.18 +</project>