nbproject/build-impl.xml

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

mercurial