task4/solution12/nbproject/build-impl.xml
changeset 72 c6b50876b5cf
parent 71 978f6a78c22e
child 73 e8b0f13fd4fb
child 80 067f86d76ac7
     1.1 --- a/task4/solution12/nbproject/build-impl.xml	Fri Oct 17 17:54:38 2008 +0200
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,642 +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 -  - junit compilation
    1.19 -  - junit execution
    1.20 -  - junit debugging
    1.21 -  - applet
    1.22 -  - cleanup
    1.23 -
    1.24 -        -->
    1.25 -<project xmlns:j2seproject1="http://www.netbeans.org/ns/j2se-project/1" xmlns:j2seproject3="http://www.netbeans.org/ns/j2se-project/3" xmlns:jaxrpc="http://www.netbeans.org/ns/j2se-project/jax-rpc" basedir=".." default="default" name="Currency_Convertor_Solution_12-impl">
    1.26 -    <target depends="test,jar,javadoc" description="Build and test whole project." name="default"/>
    1.27 -    <!-- 
    1.28 -                ======================
    1.29 -                INITIALIZATION SECTION 
    1.30 -                ======================
    1.31 -            -->
    1.32 -    <target name="-pre-init">
    1.33 -        <!-- Empty placeholder for easier customization. -->
    1.34 -        <!-- You can override this target in the ../build.xml file. -->
    1.35 -    </target>
    1.36 -    <target depends="-pre-init" name="-init-private">
    1.37 -        <property file="nbproject/private/config.properties"/>
    1.38 -        <property file="nbproject/private/configs/${config}.properties"/>
    1.39 -        <property file="nbproject/private/private.properties"/>
    1.40 -    </target>
    1.41 -    <target depends="-pre-init,-init-private" name="-init-user">
    1.42 -        <property file="${user.properties.file}"/>
    1.43 -        <!-- The two properties below are usually overridden -->
    1.44 -        <!-- by the active platform. Just a fallback. -->
    1.45 -        <property name="default.javac.source" value="1.4"/>
    1.46 -        <property name="default.javac.target" value="1.4"/>
    1.47 -    </target>
    1.48 -    <target depends="-pre-init,-init-private,-init-user" name="-init-project">
    1.49 -        <property file="nbproject/configs/${config}.properties"/>
    1.50 -        <property file="nbproject/project.properties"/>
    1.51 -    </target>
    1.52 -    <target depends="-pre-init,-init-private,-init-user,-init-project,-init-macrodef-property" name="-do-init">
    1.53 -        <available file="${manifest.file}" property="manifest.available"/>
    1.54 -        <condition property="manifest.available+main.class">
    1.55 -            <and>
    1.56 -                <isset property="manifest.available"/>
    1.57 -                <isset property="main.class"/>
    1.58 -                <not>
    1.59 -                    <equals arg1="${main.class}" arg2="" trim="true"/>
    1.60 -                </not>
    1.61 -            </and>
    1.62 -        </condition>
    1.63 -        <condition property="manifest.available+main.class+mkdist.available">
    1.64 -            <and>
    1.65 -                <istrue value="${manifest.available+main.class}"/>
    1.66 -                <isset property="libs.CopyLibs.classpath"/>
    1.67 -            </and>
    1.68 -        </condition>
    1.69 -        <condition property="have.tests">
    1.70 -            <or>
    1.71 -                <available file="${test.src.dir}"/>
    1.72 -            </or>
    1.73 -        </condition>
    1.74 -        <condition property="have.sources">
    1.75 -            <or>
    1.76 -                <available file="${src.dir}"/>
    1.77 -            </or>
    1.78 -        </condition>
    1.79 -        <condition property="netbeans.home+have.tests">
    1.80 -            <and>
    1.81 -                <isset property="netbeans.home"/>
    1.82 -                <isset property="have.tests"/>
    1.83 -            </and>
    1.84 -        </condition>
    1.85 -        <condition property="no.javadoc.preview">
    1.86 -            <and>
    1.87 -                <isset property="javadoc.preview"/>
    1.88 -                <isfalse value="${javadoc.preview}"/>
    1.89 -            </and>
    1.90 -        </condition>
    1.91 -        <property name="run.jvmargs" value=""/>
    1.92 -        <property name="javac.compilerargs" value=""/>
    1.93 -        <property name="work.dir" value="${basedir}"/>
    1.94 -        <condition property="no.deps">
    1.95 -            <and>
    1.96 -                <istrue value="${no.dependencies}"/>
    1.97 -            </and>
    1.98 -        </condition>
    1.99 -        <property name="javac.debug" value="true"/>
   1.100 -        <property name="javadoc.preview" value="true"/>
   1.101 -        <property name="application.args" value=""/>
   1.102 -        <property name="source.encoding" value="${file.encoding}"/>
   1.103 -        <condition property="javadoc.encoding.used" value="${javadoc.encoding}">
   1.104 -            <and>
   1.105 -                <isset property="javadoc.encoding"/>
   1.106 -                <not>
   1.107 -                    <equals arg1="${javadoc.encoding}" arg2=""/>
   1.108 -                </not>
   1.109 -            </and>
   1.110 -        </condition>
   1.111 -        <property name="javadoc.encoding.used" value="${source.encoding}"/>
   1.112 -        <property name="includes" value="**"/>
   1.113 -        <property name="excludes" value=""/>
   1.114 -        <property name="do.depend" value="false"/>
   1.115 -        <condition property="do.depend.true">
   1.116 -            <istrue value="${do.depend}"/>
   1.117 -        </condition>
   1.118 -        <condition else="" property="javac.compilerargs.jaxws" value="-Djava.endorsed.dirs='${jaxws.endorsed.dir}'">
   1.119 -            <and>
   1.120 -                <isset property="jaxws.endorsed.dir"/>
   1.121 -                <available file="nbproject/jaxws-build.xml"/>
   1.122 -            </and>
   1.123 -        </condition>
   1.124 -    </target>
   1.125 -    <target name="-post-init">
   1.126 -        <!-- Empty placeholder for easier customization. -->
   1.127 -        <!-- You can override this target in the ../build.xml file. -->
   1.128 -    </target>
   1.129 -    <target depends="-pre-init,-init-private,-init-user,-init-project,-do-init" name="-init-check">
   1.130 -        <fail unless="src.dir">Must set src.dir</fail>
   1.131 -        <fail unless="test.src.dir">Must set test.src.dir</fail>
   1.132 -        <fail unless="build.dir">Must set build.dir</fail>
   1.133 -        <fail unless="dist.dir">Must set dist.dir</fail>
   1.134 -        <fail unless="build.classes.dir">Must set build.classes.dir</fail>
   1.135 -        <fail unless="dist.javadoc.dir">Must set dist.javadoc.dir</fail>
   1.136 -        <fail unless="build.test.classes.dir">Must set build.test.classes.dir</fail>
   1.137 -        <fail unless="build.test.results.dir">Must set build.test.results.dir</fail>
   1.138 -        <fail unless="build.classes.excludes">Must set build.classes.excludes</fail>
   1.139 -        <fail unless="dist.jar">Must set dist.jar</fail>
   1.140 -    </target>
   1.141 -    <target name="-init-macrodef-property">
   1.142 -        <macrodef name="property" uri="http://www.netbeans.org/ns/j2se-project/1">
   1.143 -            <attribute name="name"/>
   1.144 -            <attribute name="value"/>
   1.145 -            <sequential>
   1.146 -                <property name="@{name}" value="${@{value}}"/>
   1.147 -            </sequential>
   1.148 -        </macrodef>
   1.149 -    </target>
   1.150 -    <target name="-init-macrodef-javac">
   1.151 -        <macrodef name="javac" uri="http://www.netbeans.org/ns/j2se-project/3">
   1.152 -            <attribute default="${src.dir}" name="srcdir"/>
   1.153 -            <attribute default="${build.classes.dir}" name="destdir"/>
   1.154 -            <attribute default="${javac.classpath}" name="classpath"/>
   1.155 -            <attribute default="${includes}" name="includes"/>
   1.156 -            <attribute default="${excludes}" name="excludes"/>
   1.157 -            <attribute default="${javac.debug}" name="debug"/>
   1.158 -            <attribute default="" name="sourcepath"/>
   1.159 -            <element name="customize" optional="true"/>
   1.160 -            <sequential>
   1.161 -                <javac debug="@{debug}" deprecation="${javac.deprecation}" destdir="@{destdir}" encoding="${source.encoding}" excludes="@{excludes}" includeantruntime="false" includes="@{includes}" source="${javac.source}" sourcepath="@{sourcepath}" srcdir="@{srcdir}" target="${javac.target}">
   1.162 -                    <classpath>
   1.163 -                        <path path="@{classpath}"/>
   1.164 -                    </classpath>
   1.165 -                    <compilerarg line="${javac.compilerargs} ${javac.compilerargs.jaxws}"/>
   1.166 -                    <customize/>
   1.167 -                </javac>
   1.168 -            </sequential>
   1.169 -        </macrodef>
   1.170 -        <macrodef name="depend" uri="http://www.netbeans.org/ns/j2se-project/3">
   1.171 -            <attribute default="${src.dir}" name="srcdir"/>
   1.172 -            <attribute default="${build.classes.dir}" name="destdir"/>
   1.173 -            <attribute default="${javac.classpath}" name="classpath"/>
   1.174 -            <sequential>
   1.175 -                <depend cache="${build.dir}/depcache" destdir="@{destdir}" excludes="${excludes}" includes="${includes}" srcdir="@{srcdir}">
   1.176 -                    <classpath>
   1.177 -                        <path path="@{classpath}"/>
   1.178 -                    </classpath>
   1.179 -                </depend>
   1.180 -            </sequential>
   1.181 -        </macrodef>
   1.182 -        <macrodef name="force-recompile" uri="http://www.netbeans.org/ns/j2se-project/3">
   1.183 -            <attribute default="${build.classes.dir}" name="destdir"/>
   1.184 -            <sequential>
   1.185 -                <fail unless="javac.includes">Must set javac.includes</fail>
   1.186 -                <pathconvert pathsep="," property="javac.includes.binary">
   1.187 -                    <path>
   1.188 -                        <filelist dir="@{destdir}" files="${javac.includes}"/>
   1.189 -                    </path>
   1.190 -                    <globmapper from="*.java" to="*.class"/>
   1.191 -                </pathconvert>
   1.192 -                <delete>
   1.193 -                    <files includes="${javac.includes.binary}"/>
   1.194 -                </delete>
   1.195 -            </sequential>
   1.196 -        </macrodef>
   1.197 -    </target>
   1.198 -    <target name="-init-macrodef-junit">
   1.199 -        <macrodef name="junit" uri="http://www.netbeans.org/ns/j2se-project/3">
   1.200 -            <attribute default="${includes}" name="includes"/>
   1.201 -            <attribute default="${excludes}" name="excludes"/>
   1.202 -            <attribute default="**" name="testincludes"/>
   1.203 -            <sequential>
   1.204 -                <junit dir="${work.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" showoutput="true">
   1.205 -                    <batchtest todir="${build.test.results.dir}">
   1.206 -                        <fileset dir="${test.src.dir}" excludes="@{excludes},${excludes}" includes="@{includes}">
   1.207 -                            <filename name="@{testincludes}"/>
   1.208 -                        </fileset>
   1.209 -                    </batchtest>
   1.210 -                    <classpath>
   1.211 -                        <path path="${run.test.classpath}"/>
   1.212 -                    </classpath>
   1.213 -                    <syspropertyset>
   1.214 -                        <propertyref prefix="test-sys-prop."/>
   1.215 -                        <mapper from="test-sys-prop.*" to="*" type="glob"/>
   1.216 -                    </syspropertyset>
   1.217 -                    <formatter type="brief" usefile="false"/>
   1.218 -                    <formatter type="xml"/>
   1.219 -                    <jvmarg line="${run.jvmargs}"/>
   1.220 -                </junit>
   1.221 -            </sequential>
   1.222 -        </macrodef>
   1.223 -    </target>
   1.224 -    <target depends="-init-debug-args" name="-init-macrodef-nbjpda">
   1.225 -        <macrodef name="nbjpdastart" uri="http://www.netbeans.org/ns/j2se-project/1">
   1.226 -            <attribute default="${main.class}" name="name"/>
   1.227 -            <attribute default="${debug.classpath}" name="classpath"/>
   1.228 -            <attribute default="" name="stopclassname"/>
   1.229 -            <sequential>
   1.230 -                <nbjpdastart addressproperty="jpda.address" name="@{name}" stopclassname="@{stopclassname}" transport="${debug-transport}">
   1.231 -                    <classpath>
   1.232 -                        <path path="@{classpath}"/>
   1.233 -                    </classpath>
   1.234 -                </nbjpdastart>
   1.235 -            </sequential>
   1.236 -        </macrodef>
   1.237 -        <macrodef name="nbjpdareload" uri="http://www.netbeans.org/ns/j2se-project/1">
   1.238 -            <attribute default="${build.classes.dir}" name="dir"/>
   1.239 -            <sequential>
   1.240 -                <nbjpdareload>
   1.241 -                    <fileset dir="@{dir}" includes="${fix.classes}">
   1.242 -                        <include name="${fix.includes}*.class"/>
   1.243 -                    </fileset>
   1.244 -                </nbjpdareload>
   1.245 -            </sequential>
   1.246 -        </macrodef>
   1.247 -    </target>
   1.248 -    <target name="-init-debug-args">
   1.249 -        <property name="version-output" value="java version &quot;${ant.java.version}"/>
   1.250 -        <condition property="have-jdk-older-than-1.4">
   1.251 -            <or>
   1.252 -                <contains string="${version-output}" substring="java version &quot;1.0"/>
   1.253 -                <contains string="${version-output}" substring="java version &quot;1.1"/>
   1.254 -                <contains string="${version-output}" substring="java version &quot;1.2"/>
   1.255 -                <contains string="${version-output}" substring="java version &quot;1.3"/>
   1.256 -            </or>
   1.257 -        </condition>
   1.258 -        <condition else="-Xdebug" property="debug-args-line" value="-Xdebug -Xnoagent -Djava.compiler=none">
   1.259 -            <istrue value="${have-jdk-older-than-1.4}"/>
   1.260 -        </condition>
   1.261 -        <condition else="dt_socket" property="debug-transport-by-os" value="dt_shmem">
   1.262 -            <os family="windows"/>
   1.263 -        </condition>
   1.264 -        <condition else="${debug-transport-by-os}" property="debug-transport" value="${debug.transport}">
   1.265 -            <isset property="debug.transport"/>
   1.266 -        </condition>
   1.267 -    </target>
   1.268 -    <target depends="-init-debug-args" name="-init-macrodef-debug">
   1.269 -        <macrodef name="debug" uri="http://www.netbeans.org/ns/j2se-project/3">
   1.270 -            <attribute default="${main.class}" name="classname"/>
   1.271 -            <attribute default="${debug.classpath}" name="classpath"/>
   1.272 -            <element name="customize" optional="true"/>
   1.273 -            <sequential>
   1.274 -                <java classname="@{classname}" dir="${work.dir}" fork="true">
   1.275 -                    <jvmarg line="${debug-args-line}"/>
   1.276 -                    <jvmarg value="-Xrunjdwp:transport=${debug-transport},address=${jpda.address}"/>
   1.277 -                    <jvmarg line="${run.jvmargs}"/>
   1.278 -                    <classpath>
   1.279 -                        <path path="@{classpath}"/>
   1.280 -                    </classpath>
   1.281 -                    <syspropertyset>
   1.282 -                        <propertyref prefix="run-sys-prop."/>
   1.283 -                        <mapper from="run-sys-prop.*" to="*" type="glob"/>
   1.284 -                    </syspropertyset>
   1.285 -                    <customize/>
   1.286 -                </java>
   1.287 -            </sequential>
   1.288 -        </macrodef>
   1.289 -    </target>
   1.290 -    <target name="-init-macrodef-java">
   1.291 -        <macrodef name="java" uri="http://www.netbeans.org/ns/j2se-project/1">
   1.292 -            <attribute default="${main.class}" name="classname"/>
   1.293 -            <element name="customize" optional="true"/>
   1.294 -            <sequential>
   1.295 -                <java classname="@{classname}" dir="${work.dir}" fork="true">
   1.296 -                    <jvmarg line="${run.jvmargs}"/>
   1.297 -                    <classpath>
   1.298 -                        <path path="${run.classpath}"/>
   1.299 -                    </classpath>
   1.300 -                    <syspropertyset>
   1.301 -                        <propertyref prefix="run-sys-prop."/>
   1.302 -                        <mapper from="run-sys-prop.*" to="*" type="glob"/>
   1.303 -                    </syspropertyset>
   1.304 -                    <customize/>
   1.305 -                </java>
   1.306 -            </sequential>
   1.307 -        </macrodef>
   1.308 -    </target>
   1.309 -    <target name="-init-presetdef-jar">
   1.310 -        <presetdef name="jar" uri="http://www.netbeans.org/ns/j2se-project/1">
   1.311 -            <jar compress="${jar.compress}" jarfile="${dist.jar}">
   1.312 -                <j2seproject1:fileset dir="${build.classes.dir}"/>
   1.313 -            </jar>
   1.314 -        </presetdef>
   1.315 -    </target>
   1.316 -    <target depends="-pre-init,-init-private,-init-user,-init-project,-do-init,-post-init,-init-check,-init-macrodef-property,-init-macrodef-javac,-init-macrodef-junit,-init-macrodef-nbjpda,-init-macrodef-debug,-init-macrodef-java,-init-presetdef-jar" name="init"/>
   1.317 -    <!--
   1.318 -                ===================
   1.319 -                COMPILATION SECTION
   1.320 -                ===================
   1.321 -            -->
   1.322 -    <target depends="init" name="deps-jar" unless="no.deps"/>
   1.323 -    <target depends="init,-check-automatic-build,-clean-after-automatic-build" name="-verify-automatic-build"/>
   1.324 -    <target depends="init" name="-check-automatic-build">
   1.325 -        <available file="${build.classes.dir}/.netbeans_automatic_build" property="netbeans.automatic.build"/>
   1.326 -    </target>
   1.327 -    <target depends="init" if="netbeans.automatic.build" name="-clean-after-automatic-build">
   1.328 -        <antcall target="clean"/>
   1.329 -    </target>
   1.330 -    <target depends="init,deps-jar" name="-pre-pre-compile">
   1.331 -        <mkdir dir="${build.classes.dir}"/>
   1.332 -    </target>
   1.333 -    <target name="-pre-compile">
   1.334 -        <!-- Empty placeholder for easier customization. -->
   1.335 -        <!-- You can override this target in the ../build.xml file. -->
   1.336 -    </target>
   1.337 -    <target if="do.depend.true" name="-compile-depend">
   1.338 -        <j2seproject3:depend/>
   1.339 -    </target>
   1.340 -    <target depends="init,deps-jar,-pre-pre-compile,-pre-compile,-compile-depend" if="have.sources" name="-do-compile">
   1.341 -        <j2seproject3:javac/>
   1.342 -        <copy todir="${build.classes.dir}">
   1.343 -            <fileset dir="${src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
   1.344 -        </copy>
   1.345 -    </target>
   1.346 -    <target name="-post-compile">
   1.347 -        <!-- Empty placeholder for easier customization. -->
   1.348 -        <!-- You can override this target in the ../build.xml file. -->
   1.349 -    </target>
   1.350 -    <target depends="init,deps-jar,-verify-automatic-build,-pre-pre-compile,-pre-compile,-do-compile,-post-compile" description="Compile project." name="compile"/>
   1.351 -    <target name="-pre-compile-single">
   1.352 -        <!-- Empty placeholder for easier customization. -->
   1.353 -        <!-- You can override this target in the ../build.xml file. -->
   1.354 -    </target>
   1.355 -    <target depends="init,deps-jar,-pre-pre-compile" name="-do-compile-single">
   1.356 -        <fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail>
   1.357 -        <j2seproject3:force-recompile/>
   1.358 -        <j2seproject3:javac excludes="" includes="${javac.includes}" sourcepath="${src.dir}"/>
   1.359 -    </target>
   1.360 -    <target name="-post-compile-single">
   1.361 -        <!-- Empty placeholder for easier customization. -->
   1.362 -        <!-- You can override this target in the ../build.xml file. -->
   1.363 -    </target>
   1.364 -    <target depends="init,deps-jar,-verify-automatic-build,-pre-pre-compile,-pre-compile-single,-do-compile-single,-post-compile-single" name="compile-single"/>
   1.365 -    <!--
   1.366 -                ====================
   1.367 -                JAR BUILDING SECTION
   1.368 -                ====================
   1.369 -            -->
   1.370 -    <target depends="init" name="-pre-pre-jar">
   1.371 -        <dirname file="${dist.jar}" property="dist.jar.dir"/>
   1.372 -        <mkdir dir="${dist.jar.dir}"/>
   1.373 -    </target>
   1.374 -    <target name="-pre-jar">
   1.375 -        <!-- Empty placeholder for easier customization. -->
   1.376 -        <!-- You can override this target in the ../build.xml file. -->
   1.377 -    </target>
   1.378 -    <target depends="init,compile,-pre-pre-jar,-pre-jar" name="-do-jar-without-manifest" unless="manifest.available">
   1.379 -        <j2seproject1:jar/>
   1.380 -    </target>
   1.381 -    <target depends="init,compile,-pre-pre-jar,-pre-jar" if="manifest.available" name="-do-jar-with-manifest" unless="manifest.available+main.class">
   1.382 -        <j2seproject1:jar manifest="${manifest.file}"/>
   1.383 -    </target>
   1.384 -    <target depends="init,compile,-pre-pre-jar,-pre-jar" if="manifest.available+main.class" name="-do-jar-with-mainclass" unless="manifest.available+main.class+mkdist.available">
   1.385 -        <j2seproject1:jar manifest="${manifest.file}">
   1.386 -            <j2seproject1:manifest>
   1.387 -                <j2seproject1:attribute name="Main-Class" value="${main.class}"/>
   1.388 -            </j2seproject1:manifest>
   1.389 -        </j2seproject1:jar>
   1.390 -        <echo>To run this application from the command line without Ant, try:</echo>
   1.391 -        <property location="${build.classes.dir}" name="build.classes.dir.resolved"/>
   1.392 -        <property location="${dist.jar}" name="dist.jar.resolved"/>
   1.393 -        <pathconvert property="run.classpath.with.dist.jar">
   1.394 -            <path path="${run.classpath}"/>
   1.395 -            <map from="${build.classes.dir.resolved}" to="${dist.jar.resolved}"/>
   1.396 -        </pathconvert>
   1.397 -        <echo>java -cp "${run.classpath.with.dist.jar}" ${main.class}</echo>
   1.398 -    </target>
   1.399 -    <target depends="init,compile,-pre-pre-jar,-pre-jar" if="manifest.available+main.class+mkdist.available" name="-do-jar-with-libraries">
   1.400 -        <property location="${build.classes.dir}" name="build.classes.dir.resolved"/>
   1.401 -        <pathconvert property="run.classpath.without.build.classes.dir">
   1.402 -            <path path="${run.classpath}"/>
   1.403 -            <map from="${build.classes.dir.resolved}" to=""/>
   1.404 -        </pathconvert>
   1.405 -        <pathconvert pathsep=" " property="jar.classpath">
   1.406 -            <path path="${run.classpath.without.build.classes.dir}"/>
   1.407 -            <chainedmapper>
   1.408 -                <flattenmapper/>
   1.409 -                <globmapper from="*" to="lib/*"/>
   1.410 -            </chainedmapper>
   1.411 -        </pathconvert>
   1.412 -        <taskdef classname="org.netbeans.modules.java.j2seproject.copylibstask.CopyLibs" classpath="${libs.CopyLibs.classpath}" name="copylibs"/>
   1.413 -        <copylibs compress="${jar.compress}" jarfile="${dist.jar}" manifest="${manifest.file}" runtimeclasspath="${run.classpath.without.build.classes.dir}">
   1.414 -            <fileset dir="${build.classes.dir}"/>
   1.415 -            <manifest>
   1.416 -                <attribute name="Main-Class" value="${main.class}"/>
   1.417 -                <attribute name="Class-Path" value="${jar.classpath}"/>
   1.418 -            </manifest>
   1.419 -        </copylibs>
   1.420 -        <echo>To run this application from the command line without Ant, try:</echo>
   1.421 -        <property location="${dist.jar}" name="dist.jar.resolved"/>
   1.422 -        <echo>java -jar "${dist.jar.resolved}"</echo>
   1.423 -    </target>
   1.424 -    <target name="-post-jar">
   1.425 -        <!-- Empty placeholder for easier customization. -->
   1.426 -        <!-- You can override this target in the ../build.xml file. -->
   1.427 -    </target>
   1.428 -    <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.429 -    <!--
   1.430 -                =================
   1.431 -                EXECUTION SECTION
   1.432 -                =================
   1.433 -            -->
   1.434 -    <target depends="init,compile" description="Run a main class." name="run">
   1.435 -        <j2seproject1:java>
   1.436 -            <customize>
   1.437 -                <arg line="${application.args}"/>
   1.438 -            </customize>
   1.439 -        </j2seproject1:java>
   1.440 -    </target>
   1.441 -    <target name="-do-not-recompile">
   1.442 -        <property name="javac.includes.binary" value=""/>
   1.443 -    </target>
   1.444 -    <target depends="init,-do-not-recompile,compile-single" name="run-single">
   1.445 -        <fail unless="run.class">Must select one file in the IDE or set run.class</fail>
   1.446 -        <j2seproject1:java classname="${run.class}"/>
   1.447 -    </target>
   1.448 -    <!--
   1.449 -                =================
   1.450 -                DEBUGGING SECTION
   1.451 -                =================
   1.452 -            -->
   1.453 -    <target depends="init" if="netbeans.home" name="-debug-start-debugger">
   1.454 -        <j2seproject1:nbjpdastart name="${debug.class}"/>
   1.455 -    </target>
   1.456 -    <target depends="init,compile" name="-debug-start-debuggee">
   1.457 -        <j2seproject3:debug>
   1.458 -            <customize>
   1.459 -                <arg line="${application.args}"/>
   1.460 -            </customize>
   1.461 -        </j2seproject3:debug>
   1.462 -    </target>
   1.463 -    <target depends="init,compile,-debug-start-debugger,-debug-start-debuggee" description="Debug project in IDE." if="netbeans.home" name="debug"/>
   1.464 -    <target depends="init" if="netbeans.home" name="-debug-start-debugger-stepinto">
   1.465 -        <j2seproject1:nbjpdastart stopclassname="${main.class}"/>
   1.466 -    </target>
   1.467 -    <target depends="init,compile,-debug-start-debugger-stepinto,-debug-start-debuggee" if="netbeans.home" name="debug-stepinto"/>
   1.468 -    <target depends="init,compile-single" if="netbeans.home" name="-debug-start-debuggee-single">
   1.469 -        <fail unless="debug.class">Must select one file in the IDE or set debug.class</fail>
   1.470 -        <j2seproject3:debug classname="${debug.class}"/>
   1.471 -    </target>
   1.472 -    <target depends="init,-do-not-recompile,compile-single,-debug-start-debugger,-debug-start-debuggee-single" if="netbeans.home" name="debug-single"/>
   1.473 -    <target depends="init" name="-pre-debug-fix">
   1.474 -        <fail unless="fix.includes">Must set fix.includes</fail>
   1.475 -        <property name="javac.includes" value="${fix.includes}.java"/>
   1.476 -    </target>
   1.477 -    <target depends="init,-pre-debug-fix,compile-single" if="netbeans.home" name="-do-debug-fix">
   1.478 -        <j2seproject1:nbjpdareload/>
   1.479 -    </target>
   1.480 -    <target depends="init,-pre-debug-fix,-do-debug-fix" if="netbeans.home" name="debug-fix"/>
   1.481 -    <!--
   1.482 -                ===============
   1.483 -                JAVADOC SECTION
   1.484 -                ===============
   1.485 -            -->
   1.486 -    <target depends="init" name="-javadoc-build">
   1.487 -        <mkdir dir="${dist.javadoc.dir}"/>
   1.488 -        <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.489 -            <classpath>
   1.490 -                <path path="${javac.classpath}"/>
   1.491 -            </classpath>
   1.492 -            <fileset dir="${src.dir}" excludes="${excludes}" includes="${includes}">
   1.493 -                <filename name="**/*.java"/>
   1.494 -            </fileset>
   1.495 -        </javadoc>
   1.496 -    </target>
   1.497 -    <target depends="init,-javadoc-build" if="netbeans.home" name="-javadoc-browse" unless="no.javadoc.preview">
   1.498 -        <nbbrowse file="${dist.javadoc.dir}/index.html"/>
   1.499 -    </target>
   1.500 -    <target depends="init,-javadoc-build,-javadoc-browse" description="Build Javadoc." name="javadoc"/>
   1.501 -    <!--
   1.502 -                =========================
   1.503 -                JUNIT COMPILATION SECTION
   1.504 -                =========================
   1.505 -            -->
   1.506 -    <target depends="init,compile" if="have.tests" name="-pre-pre-compile-test">
   1.507 -        <mkdir dir="${build.test.classes.dir}"/>
   1.508 -    </target>
   1.509 -    <target name="-pre-compile-test">
   1.510 -        <!-- Empty placeholder for easier customization. -->
   1.511 -        <!-- You can override this target in the ../build.xml file. -->
   1.512 -    </target>
   1.513 -    <target if="do.depend.true" name="-compile-test-depend">
   1.514 -        <j2seproject3:depend classpath="${javac.test.classpath}" destdir="${build.test.classes.dir}" srcdir="${test.src.dir}"/>
   1.515 -    </target>
   1.516 -    <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test,-compile-test-depend" if="have.tests" name="-do-compile-test">
   1.517 -        <j2seproject3:javac classpath="${javac.test.classpath}" debug="true" destdir="${build.test.classes.dir}" srcdir="${test.src.dir}"/>
   1.518 -        <copy todir="${build.test.classes.dir}">
   1.519 -            <fileset dir="${test.src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
   1.520 -        </copy>
   1.521 -    </target>
   1.522 -    <target name="-post-compile-test">
   1.523 -        <!-- Empty placeholder for easier customization. -->
   1.524 -        <!-- You can override this target in the ../build.xml file. -->
   1.525 -    </target>
   1.526 -    <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test,-do-compile-test,-post-compile-test" name="compile-test"/>
   1.527 -    <target name="-pre-compile-test-single">
   1.528 -        <!-- Empty placeholder for easier customization. -->
   1.529 -        <!-- You can override this target in the ../build.xml file. -->
   1.530 -    </target>
   1.531 -    <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test-single" if="have.tests" name="-do-compile-test-single">
   1.532 -        <fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail>
   1.533 -        <j2seproject3:force-recompile destdir="${build.test.classes.dir}"/>
   1.534 -        <j2seproject3:javac classpath="${javac.test.classpath}" debug="true" destdir="${build.test.classes.dir}" excludes="" includes="${javac.includes}" sourcepath="${test.src.dir}" srcdir="${test.src.dir}"/>
   1.535 -        <copy todir="${build.test.classes.dir}">
   1.536 -            <fileset dir="${test.src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
   1.537 -        </copy>
   1.538 -    </target>
   1.539 -    <target name="-post-compile-test-single">
   1.540 -        <!-- Empty placeholder for easier customization. -->
   1.541 -        <!-- You can override this target in the ../build.xml file. -->
   1.542 -    </target>
   1.543 -    <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.544 -    <!--
   1.545 -                =======================
   1.546 -                JUNIT EXECUTION SECTION
   1.547 -                =======================
   1.548 -            -->
   1.549 -    <target depends="init" if="have.tests" name="-pre-test-run">
   1.550 -        <mkdir dir="${build.test.results.dir}"/>
   1.551 -    </target>
   1.552 -    <target depends="init,compile-test,-pre-test-run" if="have.tests" name="-do-test-run">
   1.553 -        <j2seproject3:junit testincludes="**/*Test.java"/>
   1.554 -    </target>
   1.555 -    <target depends="init,compile-test,-pre-test-run,-do-test-run" if="have.tests" name="-post-test-run">
   1.556 -        <fail if="tests.failed">Some tests failed; see details above.</fail>
   1.557 -    </target>
   1.558 -    <target depends="init" if="have.tests" name="test-report"/>
   1.559 -    <target depends="init" if="netbeans.home+have.tests" name="-test-browse"/>
   1.560 -    <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.561 -    <target depends="init" if="have.tests" name="-pre-test-run-single">
   1.562 -        <mkdir dir="${build.test.results.dir}"/>
   1.563 -    </target>
   1.564 -    <target depends="init,compile-test-single,-pre-test-run-single" if="have.tests" name="-do-test-run-single">
   1.565 -        <fail unless="test.includes">Must select some files in the IDE or set test.includes</fail>
   1.566 -        <j2seproject3:junit excludes="" includes="${test.includes}"/>
   1.567 -    </target>
   1.568 -    <target depends="init,compile-test-single,-pre-test-run-single,-do-test-run-single" if="have.tests" name="-post-test-run-single">
   1.569 -        <fail if="tests.failed">Some tests failed; see details above.</fail>
   1.570 -    </target>
   1.571 -    <target depends="init,-do-not-recompile,compile-test-single,-pre-test-run-single,-do-test-run-single,-post-test-run-single" description="Run single unit test." name="test-single"/>
   1.572 -    <!--
   1.573 -                =======================
   1.574 -                JUNIT DEBUGGING SECTION
   1.575 -                =======================
   1.576 -            -->
   1.577 -    <target depends="init,compile-test" if="have.tests" name="-debug-start-debuggee-test">
   1.578 -        <fail unless="test.class">Must select one file in the IDE or set test.class</fail>
   1.579 -        <property location="${build.test.results.dir}/TEST-${test.class}.xml" name="test.report.file"/>
   1.580 -        <delete file="${test.report.file}"/>
   1.581 -        <mkdir dir="${build.test.results.dir}"/>
   1.582 -        <j2seproject3:debug classname="org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner" classpath="${ant.home}/lib/ant.jar:${ant.home}/lib/ant-junit.jar:${debug.test.classpath}">
   1.583 -            <customize>
   1.584 -                <syspropertyset>
   1.585 -                    <propertyref prefix="test-sys-prop."/>
   1.586 -                    <mapper from="test-sys-prop.*" to="*" type="glob"/>
   1.587 -                </syspropertyset>
   1.588 -                <arg value="${test.class}"/>
   1.589 -                <arg value="showoutput=true"/>
   1.590 -                <arg value="formatter=org.apache.tools.ant.taskdefs.optional.junit.BriefJUnitResultFormatter"/>
   1.591 -                <arg value="formatter=org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter,${test.report.file}"/>
   1.592 -            </customize>
   1.593 -        </j2seproject3:debug>
   1.594 -    </target>
   1.595 -    <target depends="init,compile-test" if="netbeans.home+have.tests" name="-debug-start-debugger-test">
   1.596 -        <j2seproject1:nbjpdastart classpath="${debug.test.classpath}" name="${test.class}"/>
   1.597 -    </target>
   1.598 -    <target depends="init,-do-not-recompile,compile-test-single,-debug-start-debugger-test,-debug-start-debuggee-test" name="debug-test"/>
   1.599 -    <target depends="init,-pre-debug-fix,compile-test-single" if="netbeans.home" name="-do-debug-fix-test">
   1.600 -        <j2seproject1:nbjpdareload dir="${build.test.classes.dir}"/>
   1.601 -    </target>
   1.602 -    <target depends="init,-pre-debug-fix,-do-debug-fix-test" if="netbeans.home" name="debug-fix-test"/>
   1.603 -    <!--
   1.604 -                =========================
   1.605 -                APPLET EXECUTION SECTION
   1.606 -                =========================
   1.607 -            -->
   1.608 -    <target depends="init,compile-single" name="run-applet">
   1.609 -        <fail unless="applet.url">Must select one file in the IDE or set applet.url</fail>
   1.610 -        <j2seproject1:java classname="sun.applet.AppletViewer">
   1.611 -            <customize>
   1.612 -                <arg value="${applet.url}"/>
   1.613 -            </customize>
   1.614 -        </j2seproject1:java>
   1.615 -    </target>
   1.616 -    <!--
   1.617 -                =========================
   1.618 -                APPLET DEBUGGING  SECTION
   1.619 -                =========================
   1.620 -            -->
   1.621 -    <target depends="init,compile-single" if="netbeans.home" name="-debug-start-debuggee-applet">
   1.622 -        <fail unless="applet.url">Must select one file in the IDE or set applet.url</fail>
   1.623 -        <j2seproject3:debug classname="sun.applet.AppletViewer">
   1.624 -            <customize>
   1.625 -                <arg value="${applet.url}"/>
   1.626 -            </customize>
   1.627 -        </j2seproject3:debug>
   1.628 -    </target>
   1.629 -    <target depends="init,compile-single,-debug-start-debugger,-debug-start-debuggee-applet" if="netbeans.home" name="debug-applet"/>
   1.630 -    <!--
   1.631 -                ===============
   1.632 -                CLEANUP SECTION
   1.633 -                ===============
   1.634 -            -->
   1.635 -    <target depends="init" name="deps-clean" unless="no.deps"/>
   1.636 -    <target depends="init" name="-do-clean">
   1.637 -        <delete dir="${build.dir}"/>
   1.638 -        <delete dir="${dist.dir}"/>
   1.639 -    </target>
   1.640 -    <target name="-post-clean">
   1.641 -        <!-- Empty placeholder for easier customization. -->
   1.642 -        <!-- You can override this target in the ../build.xml file. -->
   1.643 -    </target>
   1.644 -    <target depends="init,deps-clean,-do-clean,-post-clean" description="Clean build products." name="clean"/>
   1.645 -</project>