java/nekurak.net-lib/nbproject/build-impl.xml
changeset 83 6767606d6342
child 142 44ef544460ca
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/java/nekurak.net-lib/nbproject/build-impl.xml	Tue Mar 23 15:09:19 2010 +0100
     1.3 @@ -0,0 +1,805 @@
     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="nekurak.net-lib-impl">
    1.26 +    <fail message="Please build using Ant 1.7.1 or higher.">
    1.27 +        <condition>
    1.28 +            <not>
    1.29 +                <antversion atleast="1.7.1"/>
    1.30 +            </not>
    1.31 +        </condition>
    1.32 +    </fail>
    1.33 +    <target depends="test,jar,javadoc" description="Build and test whole project." name="default"/>
    1.34 +    <!-- 
    1.35 +                ======================
    1.36 +                INITIALIZATION SECTION 
    1.37 +                ======================
    1.38 +            -->
    1.39 +    <target name="-pre-init">
    1.40 +        <!-- Empty placeholder for easier customization. -->
    1.41 +        <!-- You can override this target in the ../build.xml file. -->
    1.42 +    </target>
    1.43 +    <target depends="-pre-init" name="-init-private">
    1.44 +        <property file="nbproject/private/config.properties"/>
    1.45 +        <property file="nbproject/private/configs/${config}.properties"/>
    1.46 +        <property file="nbproject/private/private.properties"/>
    1.47 +    </target>
    1.48 +    <target depends="-pre-init,-init-private" name="-init-user">
    1.49 +        <property file="${user.properties.file}"/>
    1.50 +        <!-- The two properties below are usually overridden -->
    1.51 +        <!-- by the active platform. Just a fallback. -->
    1.52 +        <property name="default.javac.source" value="1.4"/>
    1.53 +        <property name="default.javac.target" value="1.4"/>
    1.54 +    </target>
    1.55 +    <target depends="-pre-init,-init-private,-init-user" name="-init-project">
    1.56 +        <property file="nbproject/configs/${config}.properties"/>
    1.57 +        <property file="nbproject/project.properties"/>
    1.58 +    </target>
    1.59 +    <target depends="-pre-init,-init-private,-init-user,-init-project,-init-macrodef-property" name="-do-init">
    1.60 +        <available file="${manifest.file}" property="manifest.available"/>
    1.61 +        <condition property="main.class.available">
    1.62 +            <and>
    1.63 +                <isset property="main.class"/>
    1.64 +                <not>
    1.65 +                    <equals arg1="${main.class}" arg2="" trim="true"/>
    1.66 +                </not>
    1.67 +            </and>
    1.68 +        </condition>
    1.69 +        <condition property="manifest.available+main.class">
    1.70 +            <and>
    1.71 +                <isset property="manifest.available"/>
    1.72 +                <isset property="main.class.available"/>
    1.73 +            </and>
    1.74 +        </condition>
    1.75 +        <condition property="do.mkdist">
    1.76 +            <and>
    1.77 +                <isset property="libs.CopyLibs.classpath"/>
    1.78 +                <not>
    1.79 +                    <istrue value="${mkdist.disabled}"/>
    1.80 +                </not>
    1.81 +            </and>
    1.82 +        </condition>
    1.83 +        <condition property="manifest.available+main.class+mkdist.available">
    1.84 +            <and>
    1.85 +                <istrue value="${manifest.available+main.class}"/>
    1.86 +                <isset property="do.mkdist"/>
    1.87 +            </and>
    1.88 +        </condition>
    1.89 +        <condition property="manifest.available+mkdist.available">
    1.90 +            <and>
    1.91 +                <istrue value="${manifest.available}"/>
    1.92 +                <isset property="do.mkdist"/>
    1.93 +            </and>
    1.94 +        </condition>
    1.95 +        <condition property="manifest.available-mkdist.available">
    1.96 +            <or>
    1.97 +                <istrue value="${manifest.available}"/>
    1.98 +                <isset property="do.mkdist"/>
    1.99 +            </or>
   1.100 +        </condition>
   1.101 +        <condition property="manifest.available+main.class-mkdist.available">
   1.102 +            <or>
   1.103 +                <istrue value="${manifest.available+main.class}"/>
   1.104 +                <isset property="do.mkdist"/>
   1.105 +            </or>
   1.106 +        </condition>
   1.107 +        <condition property="have.tests">
   1.108 +            <or>
   1.109 +                <available file="${test.src.dir}"/>
   1.110 +            </or>
   1.111 +        </condition>
   1.112 +        <condition property="have.sources">
   1.113 +            <or>
   1.114 +                <available file="${src.dir}"/>
   1.115 +            </or>
   1.116 +        </condition>
   1.117 +        <condition property="netbeans.home+have.tests">
   1.118 +            <and>
   1.119 +                <isset property="netbeans.home"/>
   1.120 +                <isset property="have.tests"/>
   1.121 +            </and>
   1.122 +        </condition>
   1.123 +        <condition property="no.javadoc.preview">
   1.124 +            <and>
   1.125 +                <isset property="javadoc.preview"/>
   1.126 +                <isfalse value="${javadoc.preview}"/>
   1.127 +            </and>
   1.128 +        </condition>
   1.129 +        <property name="run.jvmargs" value=""/>
   1.130 +        <property name="javac.compilerargs" value=""/>
   1.131 +        <property name="work.dir" value="${basedir}"/>
   1.132 +        <condition property="no.deps">
   1.133 +            <and>
   1.134 +                <istrue value="${no.dependencies}"/>
   1.135 +            </and>
   1.136 +        </condition>
   1.137 +        <property name="javac.debug" value="true"/>
   1.138 +        <property name="javadoc.preview" value="true"/>
   1.139 +        <property name="application.args" value=""/>
   1.140 +        <property name="source.encoding" value="${file.encoding}"/>
   1.141 +        <property name="runtime.encoding" value="${source.encoding}"/>
   1.142 +        <condition property="javadoc.encoding.used" value="${javadoc.encoding}">
   1.143 +            <and>
   1.144 +                <isset property="javadoc.encoding"/>
   1.145 +                <not>
   1.146 +                    <equals arg1="${javadoc.encoding}" arg2=""/>
   1.147 +                </not>
   1.148 +            </and>
   1.149 +        </condition>
   1.150 +        <property name="javadoc.encoding.used" value="${source.encoding}"/>
   1.151 +        <property name="includes" value="**"/>
   1.152 +        <property name="excludes" value=""/>
   1.153 +        <property name="do.depend" value="false"/>
   1.154 +        <condition property="do.depend.true">
   1.155 +            <istrue value="${do.depend}"/>
   1.156 +        </condition>
   1.157 +        <path id="endorsed.classpath.path" path="${endorsed.classpath}"/>
   1.158 +        <condition else="" property="endorsed.classpath.cmd.line.arg" value="-Xbootclasspath/p:'${toString:endorsed.classpath.path}'">
   1.159 +            <length length="0" string="${endorsed.classpath}" when="greater"/>
   1.160 +        </condition>
   1.161 +        <property name="javac.fork" value="false"/>
   1.162 +    </target>
   1.163 +    <target name="-post-init">
   1.164 +        <!-- Empty placeholder for easier customization. -->
   1.165 +        <!-- You can override this target in the ../build.xml file. -->
   1.166 +    </target>
   1.167 +    <target depends="-pre-init,-init-private,-init-user,-init-project,-do-init" name="-init-check">
   1.168 +        <fail unless="src.dir">Must set src.dir</fail>
   1.169 +        <fail unless="test.src.dir">Must set test.src.dir</fail>
   1.170 +        <fail unless="build.dir">Must set build.dir</fail>
   1.171 +        <fail unless="dist.dir">Must set dist.dir</fail>
   1.172 +        <fail unless="build.classes.dir">Must set build.classes.dir</fail>
   1.173 +        <fail unless="dist.javadoc.dir">Must set dist.javadoc.dir</fail>
   1.174 +        <fail unless="build.test.classes.dir">Must set build.test.classes.dir</fail>
   1.175 +        <fail unless="build.test.results.dir">Must set build.test.results.dir</fail>
   1.176 +        <fail unless="build.classes.excludes">Must set build.classes.excludes</fail>
   1.177 +        <fail unless="dist.jar">Must set dist.jar</fail>
   1.178 +    </target>
   1.179 +    <target name="-init-macrodef-property">
   1.180 +        <macrodef name="property" uri="http://www.netbeans.org/ns/j2se-project/1">
   1.181 +            <attribute name="name"/>
   1.182 +            <attribute name="value"/>
   1.183 +            <sequential>
   1.184 +                <property name="@{name}" value="${@{value}}"/>
   1.185 +            </sequential>
   1.186 +        </macrodef>
   1.187 +    </target>
   1.188 +    <target name="-init-macrodef-javac">
   1.189 +        <macrodef name="javac" uri="http://www.netbeans.org/ns/j2se-project/3">
   1.190 +            <attribute default="${src.dir}" name="srcdir"/>
   1.191 +            <attribute default="${build.classes.dir}" name="destdir"/>
   1.192 +            <attribute default="${javac.classpath}" name="classpath"/>
   1.193 +            <attribute default="${includes}" name="includes"/>
   1.194 +            <attribute default="${excludes}" name="excludes"/>
   1.195 +            <attribute default="${javac.debug}" name="debug"/>
   1.196 +            <attribute default="${empty.dir}" name="sourcepath"/>
   1.197 +            <attribute default="${empty.dir}" name="gensrcdir"/>
   1.198 +            <element name="customize" optional="true"/>
   1.199 +            <sequential>
   1.200 +                <property location="${build.dir}/empty" name="empty.dir"/>
   1.201 +                <mkdir dir="${empty.dir}"/>
   1.202 +                <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.203 +                    <src>
   1.204 +                        <dirset dir="@{gensrcdir}" erroronmissingdir="false">
   1.205 +                            <include name="*"/>
   1.206 +                        </dirset>
   1.207 +                    </src>
   1.208 +                    <classpath>
   1.209 +                        <path path="@{classpath}"/>
   1.210 +                    </classpath>
   1.211 +                    <compilerarg line="${endorsed.classpath.cmd.line.arg}"/>
   1.212 +                    <compilerarg line="${javac.compilerargs}"/>
   1.213 +                    <customize/>
   1.214 +                </javac>
   1.215 +            </sequential>
   1.216 +        </macrodef>
   1.217 +        <macrodef name="depend" uri="http://www.netbeans.org/ns/j2se-project/3">
   1.218 +            <attribute default="${src.dir}" name="srcdir"/>
   1.219 +            <attribute default="${build.classes.dir}" name="destdir"/>
   1.220 +            <attribute default="${javac.classpath}" name="classpath"/>
   1.221 +            <sequential>
   1.222 +                <depend cache="${build.dir}/depcache" destdir="@{destdir}" excludes="${excludes}" includes="${includes}" srcdir="@{srcdir}">
   1.223 +                    <classpath>
   1.224 +                        <path path="@{classpath}"/>
   1.225 +                    </classpath>
   1.226 +                </depend>
   1.227 +            </sequential>
   1.228 +        </macrodef>
   1.229 +        <macrodef name="force-recompile" uri="http://www.netbeans.org/ns/j2se-project/3">
   1.230 +            <attribute default="${build.classes.dir}" name="destdir"/>
   1.231 +            <sequential>
   1.232 +                <fail unless="javac.includes">Must set javac.includes</fail>
   1.233 +                <pathconvert pathsep="," property="javac.includes.binary">
   1.234 +                    <path>
   1.235 +                        <filelist dir="@{destdir}" files="${javac.includes}"/>
   1.236 +                    </path>
   1.237 +                    <globmapper from="*.java" to="*.class"/>
   1.238 +                </pathconvert>
   1.239 +                <delete>
   1.240 +                    <files includes="${javac.includes.binary}"/>
   1.241 +                </delete>
   1.242 +            </sequential>
   1.243 +        </macrodef>
   1.244 +    </target>
   1.245 +    <target name="-init-macrodef-junit">
   1.246 +        <macrodef name="junit" uri="http://www.netbeans.org/ns/j2se-project/3">
   1.247 +            <attribute default="${includes}" name="includes"/>
   1.248 +            <attribute default="${excludes}" name="excludes"/>
   1.249 +            <attribute default="**" name="testincludes"/>
   1.250 +            <sequential>
   1.251 +                <junit dir="${work.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" showoutput="true" tempdir="${build.dir}">
   1.252 +                    <batchtest todir="${build.test.results.dir}">
   1.253 +                        <fileset dir="${test.src.dir}" excludes="@{excludes},${excludes}" includes="@{includes}">
   1.254 +                            <filename name="@{testincludes}"/>
   1.255 +                        </fileset>
   1.256 +                    </batchtest>
   1.257 +                    <classpath>
   1.258 +                        <path path="${run.test.classpath}"/>
   1.259 +                    </classpath>
   1.260 +                    <syspropertyset>
   1.261 +                        <propertyref prefix="test-sys-prop."/>
   1.262 +                        <mapper from="test-sys-prop.*" to="*" type="glob"/>
   1.263 +                    </syspropertyset>
   1.264 +                    <formatter type="brief" usefile="false"/>
   1.265 +                    <formatter type="xml"/>
   1.266 +                    <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
   1.267 +                    <jvmarg line="${run.jvmargs}"/>
   1.268 +                </junit>
   1.269 +            </sequential>
   1.270 +        </macrodef>
   1.271 +    </target>
   1.272 +    <target depends="-init-debug-args" name="-init-macrodef-nbjpda">
   1.273 +        <macrodef name="nbjpdastart" uri="http://www.netbeans.org/ns/j2se-project/1">
   1.274 +            <attribute default="${main.class}" name="name"/>
   1.275 +            <attribute default="${debug.classpath}" name="classpath"/>
   1.276 +            <attribute default="" name="stopclassname"/>
   1.277 +            <sequential>
   1.278 +                <nbjpdastart addressproperty="jpda.address" name="@{name}" stopclassname="@{stopclassname}" transport="${debug-transport}">
   1.279 +                    <classpath>
   1.280 +                        <path path="@{classpath}"/>
   1.281 +                    </classpath>
   1.282 +                </nbjpdastart>
   1.283 +            </sequential>
   1.284 +        </macrodef>
   1.285 +        <macrodef name="nbjpdareload" uri="http://www.netbeans.org/ns/j2se-project/1">
   1.286 +            <attribute default="${build.classes.dir}" name="dir"/>
   1.287 +            <sequential>
   1.288 +                <nbjpdareload>
   1.289 +                    <fileset dir="@{dir}" includes="${fix.classes}">
   1.290 +                        <include name="${fix.includes}*.class"/>
   1.291 +                    </fileset>
   1.292 +                </nbjpdareload>
   1.293 +            </sequential>
   1.294 +        </macrodef>
   1.295 +    </target>
   1.296 +    <target name="-init-debug-args">
   1.297 +        <property name="version-output" value="java version &quot;${ant.java.version}"/>
   1.298 +        <condition property="have-jdk-older-than-1.4">
   1.299 +            <or>
   1.300 +                <contains string="${version-output}" substring="java version &quot;1.0"/>
   1.301 +                <contains string="${version-output}" substring="java version &quot;1.1"/>
   1.302 +                <contains string="${version-output}" substring="java version &quot;1.2"/>
   1.303 +                <contains string="${version-output}" substring="java version &quot;1.3"/>
   1.304 +            </or>
   1.305 +        </condition>
   1.306 +        <condition else="-Xdebug" property="debug-args-line" value="-Xdebug -Xnoagent -Djava.compiler=none">
   1.307 +            <istrue value="${have-jdk-older-than-1.4}"/>
   1.308 +        </condition>
   1.309 +        <condition else="dt_socket" property="debug-transport-by-os" value="dt_shmem">
   1.310 +            <os family="windows"/>
   1.311 +        </condition>
   1.312 +        <condition else="${debug-transport-by-os}" property="debug-transport" value="${debug.transport}">
   1.313 +            <isset property="debug.transport"/>
   1.314 +        </condition>
   1.315 +    </target>
   1.316 +    <target depends="-init-debug-args" name="-init-macrodef-debug">
   1.317 +        <macrodef name="debug" uri="http://www.netbeans.org/ns/j2se-project/3">
   1.318 +            <attribute default="${main.class}" name="classname"/>
   1.319 +            <attribute default="${debug.classpath}" name="classpath"/>
   1.320 +            <element name="customize" optional="true"/>
   1.321 +            <sequential>
   1.322 +                <java classname="@{classname}" dir="${work.dir}" fork="true">
   1.323 +                    <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
   1.324 +                    <jvmarg line="${debug-args-line}"/>
   1.325 +                    <jvmarg value="-Xrunjdwp:transport=${debug-transport},address=${jpda.address}"/>
   1.326 +                    <jvmarg value="-Dfile.encoding=${runtime.encoding}"/>
   1.327 +                    <redirector errorencoding="${runtime.encoding}" inputencoding="${runtime.encoding}" outputencoding="${runtime.encoding}"/>
   1.328 +                    <jvmarg line="${run.jvmargs}"/>
   1.329 +                    <classpath>
   1.330 +                        <path path="@{classpath}"/>
   1.331 +                    </classpath>
   1.332 +                    <syspropertyset>
   1.333 +                        <propertyref prefix="run-sys-prop."/>
   1.334 +                        <mapper from="run-sys-prop.*" to="*" type="glob"/>
   1.335 +                    </syspropertyset>
   1.336 +                    <customize/>
   1.337 +                </java>
   1.338 +            </sequential>
   1.339 +        </macrodef>
   1.340 +    </target>
   1.341 +    <target name="-init-macrodef-java">
   1.342 +        <macrodef name="java" uri="http://www.netbeans.org/ns/j2se-project/1">
   1.343 +            <attribute default="${main.class}" name="classname"/>
   1.344 +            <attribute default="${run.classpath}" name="classpath"/>
   1.345 +            <element name="customize" optional="true"/>
   1.346 +            <sequential>
   1.347 +                <java classname="@{classname}" dir="${work.dir}" fork="true">
   1.348 +                    <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
   1.349 +                    <jvmarg value="-Dfile.encoding=${runtime.encoding}"/>
   1.350 +                    <redirector errorencoding="${runtime.encoding}" inputencoding="${runtime.encoding}" outputencoding="${runtime.encoding}"/>
   1.351 +                    <jvmarg line="${run.jvmargs}"/>
   1.352 +                    <classpath>
   1.353 +                        <path path="@{classpath}"/>
   1.354 +                    </classpath>
   1.355 +                    <syspropertyset>
   1.356 +                        <propertyref prefix="run-sys-prop."/>
   1.357 +                        <mapper from="run-sys-prop.*" to="*" type="glob"/>
   1.358 +                    </syspropertyset>
   1.359 +                    <customize/>
   1.360 +                </java>
   1.361 +            </sequential>
   1.362 +        </macrodef>
   1.363 +    </target>
   1.364 +    <target name="-init-presetdef-jar">
   1.365 +        <presetdef name="jar" uri="http://www.netbeans.org/ns/j2se-project/1">
   1.366 +            <jar compress="${jar.compress}" jarfile="${dist.jar}">
   1.367 +                <j2seproject1:fileset dir="${build.classes.dir}"/>
   1.368 +            </jar>
   1.369 +        </presetdef>
   1.370 +    </target>
   1.371 +    <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.372 +    <!--
   1.373 +                ===================
   1.374 +                COMPILATION SECTION
   1.375 +                ===================
   1.376 +            -->
   1.377 +    <target name="-deps-jar-init" unless="built-jar.properties">
   1.378 +        <property location="${build.dir}/built-jar.properties" name="built-jar.properties"/>
   1.379 +        <delete file="${built-jar.properties}" quiet="true"/>
   1.380 +    </target>
   1.381 +    <target if="already.built.jar.${basedir}" name="-warn-already-built-jar">
   1.382 +        <echo level="warn" message="Cycle detected: nekurak.net-lib was already built"/>
   1.383 +    </target>
   1.384 +    <target depends="init,-deps-jar-init" name="deps-jar" unless="no.deps">
   1.385 +        <mkdir dir="${build.dir}"/>
   1.386 +        <touch file="${built-jar.properties}" verbose="false"/>
   1.387 +        <property file="${built-jar.properties}" prefix="already.built.jar."/>
   1.388 +        <antcall target="-warn-already-built-jar"/>
   1.389 +        <propertyfile file="${built-jar.properties}">
   1.390 +            <entry key="${basedir}" value=""/>
   1.391 +        </propertyfile>
   1.392 +    </target>
   1.393 +    <target depends="init,-check-automatic-build,-clean-after-automatic-build" name="-verify-automatic-build"/>
   1.394 +    <target depends="init" name="-check-automatic-build">
   1.395 +        <available file="${build.classes.dir}/.netbeans_automatic_build" property="netbeans.automatic.build"/>
   1.396 +    </target>
   1.397 +    <target depends="init" if="netbeans.automatic.build" name="-clean-after-automatic-build">
   1.398 +        <antcall target="clean"/>
   1.399 +    </target>
   1.400 +    <target depends="init,deps-jar" name="-pre-pre-compile">
   1.401 +        <mkdir dir="${build.classes.dir}"/>
   1.402 +    </target>
   1.403 +    <target name="-pre-compile">
   1.404 +        <!-- Empty placeholder for easier customization. -->
   1.405 +        <!-- You can override this target in the ../build.xml file. -->
   1.406 +    </target>
   1.407 +    <target if="do.depend.true" name="-compile-depend">
   1.408 +        <pathconvert property="build.generated.subdirs">
   1.409 +            <dirset dir="${build.generated.sources.dir}" erroronmissingdir="false">
   1.410 +                <include name="*"/>
   1.411 +            </dirset>
   1.412 +        </pathconvert>
   1.413 +        <j2seproject3:depend srcdir="${src.dir}:${build.generated.subdirs}"/>
   1.414 +    </target>
   1.415 +    <target depends="init,deps-jar,-pre-pre-compile,-pre-compile,-compile-depend" if="have.sources" name="-do-compile">
   1.416 +        <j2seproject3:javac gensrcdir="${build.generated.sources.dir}"/>
   1.417 +        <copy todir="${build.classes.dir}">
   1.418 +            <fileset dir="${src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
   1.419 +        </copy>
   1.420 +    </target>
   1.421 +    <target name="-post-compile">
   1.422 +        <!-- Empty placeholder for easier customization. -->
   1.423 +        <!-- You can override this target in the ../build.xml file. -->
   1.424 +    </target>
   1.425 +    <target depends="init,deps-jar,-verify-automatic-build,-pre-pre-compile,-pre-compile,-do-compile,-post-compile" description="Compile project." name="compile"/>
   1.426 +    <target name="-pre-compile-single">
   1.427 +        <!-- Empty placeholder for easier customization. -->
   1.428 +        <!-- You can override this target in the ../build.xml file. -->
   1.429 +    </target>
   1.430 +    <target depends="init,deps-jar,-pre-pre-compile" name="-do-compile-single">
   1.431 +        <fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail>
   1.432 +        <j2seproject3:force-recompile/>
   1.433 +        <j2seproject3:javac excludes="" gensrcdir="${build.generated.sources.dir}" includes="${javac.includes}" sourcepath="${src.dir}"/>
   1.434 +    </target>
   1.435 +    <target name="-post-compile-single">
   1.436 +        <!-- Empty placeholder for easier customization. -->
   1.437 +        <!-- You can override this target in the ../build.xml file. -->
   1.438 +    </target>
   1.439 +    <target depends="init,deps-jar,-verify-automatic-build,-pre-pre-compile,-pre-compile-single,-do-compile-single,-post-compile-single" name="compile-single"/>
   1.440 +    <!--
   1.441 +                ====================
   1.442 +                JAR BUILDING SECTION
   1.443 +                ====================
   1.444 +            -->
   1.445 +    <target depends="init" name="-pre-pre-jar">
   1.446 +        <dirname file="${dist.jar}" property="dist.jar.dir"/>
   1.447 +        <mkdir dir="${dist.jar.dir}"/>
   1.448 +    </target>
   1.449 +    <target name="-pre-jar">
   1.450 +        <!-- Empty placeholder for easier customization. -->
   1.451 +        <!-- You can override this target in the ../build.xml file. -->
   1.452 +    </target>
   1.453 +    <target depends="init,compile,-pre-pre-jar,-pre-jar" name="-do-jar-without-manifest" unless="manifest.available-mkdist.available">
   1.454 +        <j2seproject1:jar/>
   1.455 +    </target>
   1.456 +    <target depends="init,compile,-pre-pre-jar,-pre-jar" if="manifest.available" name="-do-jar-with-manifest" unless="manifest.available+main.class-mkdist.available">
   1.457 +        <j2seproject1:jar manifest="${manifest.file}"/>
   1.458 +    </target>
   1.459 +    <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.460 +        <j2seproject1:jar manifest="${manifest.file}">
   1.461 +            <j2seproject1:manifest>
   1.462 +                <j2seproject1:attribute name="Main-Class" value="${main.class}"/>
   1.463 +            </j2seproject1:manifest>
   1.464 +        </j2seproject1:jar>
   1.465 +        <echo>To run this application from the command line without Ant, try:</echo>
   1.466 +        <property location="${build.classes.dir}" name="build.classes.dir.resolved"/>
   1.467 +        <property location="${dist.jar}" name="dist.jar.resolved"/>
   1.468 +        <pathconvert property="run.classpath.with.dist.jar">
   1.469 +            <path path="${run.classpath}"/>
   1.470 +            <map from="${build.classes.dir.resolved}" to="${dist.jar.resolved}"/>
   1.471 +        </pathconvert>
   1.472 +        <echo>java -cp "${run.classpath.with.dist.jar}" ${main.class}</echo>
   1.473 +    </target>
   1.474 +    <target depends="init,compile,-pre-pre-jar,-pre-jar" if="manifest.available+main.class+mkdist.available" name="-do-jar-with-libraries">
   1.475 +        <property location="${build.classes.dir}" name="build.classes.dir.resolved"/>
   1.476 +        <pathconvert property="run.classpath.without.build.classes.dir">
   1.477 +            <path path="${run.classpath}"/>
   1.478 +            <map from="${build.classes.dir.resolved}" to=""/>
   1.479 +        </pathconvert>
   1.480 +        <pathconvert pathsep=" " property="jar.classpath">
   1.481 +            <path path="${run.classpath.without.build.classes.dir}"/>
   1.482 +            <chainedmapper>
   1.483 +                <flattenmapper/>
   1.484 +                <globmapper from="*" to="lib/*"/>
   1.485 +            </chainedmapper>
   1.486 +        </pathconvert>
   1.487 +        <taskdef classname="org.netbeans.modules.java.j2seproject.copylibstask.CopyLibs" classpath="${libs.CopyLibs.classpath}" name="copylibs"/>
   1.488 +        <copylibs compress="${jar.compress}" jarfile="${dist.jar}" manifest="${manifest.file}" runtimeclasspath="${run.classpath.without.build.classes.dir}">
   1.489 +            <fileset dir="${build.classes.dir}"/>
   1.490 +            <manifest>
   1.491 +                <attribute name="Main-Class" value="${main.class}"/>
   1.492 +                <attribute name="Class-Path" value="${jar.classpath}"/>
   1.493 +            </manifest>
   1.494 +        </copylibs>
   1.495 +        <echo>To run this application from the command line without Ant, try:</echo>
   1.496 +        <property location="${dist.jar}" name="dist.jar.resolved"/>
   1.497 +        <echo>java -jar "${dist.jar.resolved}"</echo>
   1.498 +    </target>
   1.499 +    <target depends="init,compile,-pre-pre-jar,-pre-jar" if="manifest.available+mkdist.available" name="-do-jar-with-libraries-without-mainclass" unless="main.class.available">
   1.500 +        <property location="${build.classes.dir}" name="build.classes.dir.resolved"/>
   1.501 +        <pathconvert property="run.classpath.without.build.classes.dir">
   1.502 +            <path path="${run.classpath}"/>
   1.503 +            <map from="${build.classes.dir.resolved}" to=""/>
   1.504 +        </pathconvert>
   1.505 +        <pathconvert pathsep=" " property="jar.classpath">
   1.506 +            <path path="${run.classpath.without.build.classes.dir}"/>
   1.507 +            <chainedmapper>
   1.508 +                <flattenmapper/>
   1.509 +                <globmapper from="*" to="lib/*"/>
   1.510 +            </chainedmapper>
   1.511 +        </pathconvert>
   1.512 +        <taskdef classname="org.netbeans.modules.java.j2seproject.copylibstask.CopyLibs" classpath="${libs.CopyLibs.classpath}" name="copylibs"/>
   1.513 +        <copylibs compress="${jar.compress}" jarfile="${dist.jar}" manifest="${manifest.file}" runtimeclasspath="${run.classpath.without.build.classes.dir}">
   1.514 +            <fileset dir="${build.classes.dir}"/>
   1.515 +            <manifest>
   1.516 +                <attribute name="Class-Path" value="${jar.classpath}"/>
   1.517 +            </manifest>
   1.518 +        </copylibs>
   1.519 +    </target>
   1.520 +    <target depends="init,compile,-pre-pre-jar,-pre-jar" if="do.mkdist" name="-do-jar-with-libraries-without-manifest" unless="manifest.available">
   1.521 +        <property location="${build.classes.dir}" name="build.classes.dir.resolved"/>
   1.522 +        <pathconvert property="run.classpath.without.build.classes.dir">
   1.523 +            <path path="${run.classpath}"/>
   1.524 +            <map from="${build.classes.dir.resolved}" to=""/>
   1.525 +        </pathconvert>
   1.526 +        <pathconvert pathsep=" " property="jar.classpath">
   1.527 +            <path path="${run.classpath.without.build.classes.dir}"/>
   1.528 +            <chainedmapper>
   1.529 +                <flattenmapper/>
   1.530 +                <globmapper from="*" to="lib/*"/>
   1.531 +            </chainedmapper>
   1.532 +        </pathconvert>
   1.533 +        <taskdef classname="org.netbeans.modules.java.j2seproject.copylibstask.CopyLibs" classpath="${libs.CopyLibs.classpath}" name="copylibs"/>
   1.534 +        <copylibs compress="${jar.compress}" jarfile="${dist.jar}" runtimeclasspath="${run.classpath.without.build.classes.dir}">
   1.535 +            <fileset dir="${build.classes.dir}"/>
   1.536 +            <manifest>
   1.537 +                <attribute name="Class-Path" value="${jar.classpath}"/>
   1.538 +            </manifest>
   1.539 +        </copylibs>
   1.540 +    </target>
   1.541 +    <target name="-post-jar">
   1.542 +        <!-- Empty placeholder for easier customization. -->
   1.543 +        <!-- You can override this target in the ../build.xml file. -->
   1.544 +    </target>
   1.545 +    <target depends="init,compile,-pre-jar,-do-jar-with-manifest,-do-jar-without-manifest,-do-jar-with-mainclass,-do-jar-with-libraries,-do-jar-with-libraries-without-mainclass,-do-jar-with-libraries-without-manifest,-post-jar" description="Build JAR." name="jar"/>
   1.546 +    <!--
   1.547 +                =================
   1.548 +                EXECUTION SECTION
   1.549 +                =================
   1.550 +            -->
   1.551 +    <target depends="init,compile" description="Run a main class." name="run">
   1.552 +        <j2seproject1:java>
   1.553 +            <customize>
   1.554 +                <arg line="${application.args}"/>
   1.555 +            </customize>
   1.556 +        </j2seproject1:java>
   1.557 +    </target>
   1.558 +    <target name="-do-not-recompile">
   1.559 +        <property name="javac.includes.binary" value=""/>
   1.560 +    </target>
   1.561 +    <target depends="init,compile-single" name="run-single">
   1.562 +        <fail unless="run.class">Must select one file in the IDE or set run.class</fail>
   1.563 +        <j2seproject1:java classname="${run.class}"/>
   1.564 +    </target>
   1.565 +    <target depends="init,compile-test-single" name="run-test-with-main">
   1.566 +        <fail unless="run.class">Must select one file in the IDE or set run.class</fail>
   1.567 +        <j2seproject1:java classname="${run.class}" classpath="${run.test.classpath}"/>
   1.568 +    </target>
   1.569 +    <!--
   1.570 +                =================
   1.571 +                DEBUGGING SECTION
   1.572 +                =================
   1.573 +            -->
   1.574 +    <target depends="init" if="netbeans.home" name="-debug-start-debugger">
   1.575 +        <j2seproject1:nbjpdastart name="${debug.class}"/>
   1.576 +    </target>
   1.577 +    <target depends="init" if="netbeans.home" name="-debug-start-debugger-main-test">
   1.578 +        <j2seproject1:nbjpdastart classpath="${debug.test.classpath}" name="${debug.class}"/>
   1.579 +    </target>
   1.580 +    <target depends="init,compile" name="-debug-start-debuggee">
   1.581 +        <j2seproject3:debug>
   1.582 +            <customize>
   1.583 +                <arg line="${application.args}"/>
   1.584 +            </customize>
   1.585 +        </j2seproject3:debug>
   1.586 +    </target>
   1.587 +    <target depends="init,compile,-debug-start-debugger,-debug-start-debuggee" description="Debug project in IDE." if="netbeans.home" name="debug"/>
   1.588 +    <target depends="init" if="netbeans.home" name="-debug-start-debugger-stepinto">
   1.589 +        <j2seproject1:nbjpdastart stopclassname="${main.class}"/>
   1.590 +    </target>
   1.591 +    <target depends="init,compile,-debug-start-debugger-stepinto,-debug-start-debuggee" if="netbeans.home" name="debug-stepinto"/>
   1.592 +    <target depends="init,compile-single" if="netbeans.home" name="-debug-start-debuggee-single">
   1.593 +        <fail unless="debug.class">Must select one file in the IDE or set debug.class</fail>
   1.594 +        <j2seproject3:debug classname="${debug.class}"/>
   1.595 +    </target>
   1.596 +    <target depends="init,compile-single,-debug-start-debugger,-debug-start-debuggee-single" if="netbeans.home" name="debug-single"/>
   1.597 +    <target depends="init,compile-test-single" if="netbeans.home" name="-debug-start-debuggee-main-test">
   1.598 +        <fail unless="debug.class">Must select one file in the IDE or set debug.class</fail>
   1.599 +        <j2seproject3:debug classname="${debug.class}" classpath="${debug.test.classpath}"/>
   1.600 +    </target>
   1.601 +    <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.602 +    <target depends="init" name="-pre-debug-fix">
   1.603 +        <fail unless="fix.includes">Must set fix.includes</fail>
   1.604 +        <property name="javac.includes" value="${fix.includes}.java"/>
   1.605 +    </target>
   1.606 +    <target depends="init,-pre-debug-fix,compile-single" if="netbeans.home" name="-do-debug-fix">
   1.607 +        <j2seproject1:nbjpdareload/>
   1.608 +    </target>
   1.609 +    <target depends="init,-pre-debug-fix,-do-debug-fix" if="netbeans.home" name="debug-fix"/>
   1.610 +    <!--
   1.611 +                ===============
   1.612 +                JAVADOC SECTION
   1.613 +                ===============
   1.614 +            -->
   1.615 +    <target depends="init" name="-javadoc-build">
   1.616 +        <mkdir dir="${dist.javadoc.dir}"/>
   1.617 +        <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.618 +            <classpath>
   1.619 +                <path path="${javac.classpath}"/>
   1.620 +            </classpath>
   1.621 +            <fileset dir="${src.dir}" excludes="${excludes}" includes="${includes}">
   1.622 +                <filename name="**/*.java"/>
   1.623 +            </fileset>
   1.624 +            <fileset dir="${build.generated.sources.dir}" erroronmissingdir="false">
   1.625 +                <include name="**/*.java"/>
   1.626 +            </fileset>
   1.627 +        </javadoc>
   1.628 +    </target>
   1.629 +    <target depends="init,-javadoc-build" if="netbeans.home" name="-javadoc-browse" unless="no.javadoc.preview">
   1.630 +        <nbbrowse file="${dist.javadoc.dir}/index.html"/>
   1.631 +    </target>
   1.632 +    <target depends="init,-javadoc-build,-javadoc-browse" description="Build Javadoc." name="javadoc"/>
   1.633 +    <!--
   1.634 +                =========================
   1.635 +                JUNIT COMPILATION SECTION
   1.636 +                =========================
   1.637 +            -->
   1.638 +    <target depends="init,compile" if="have.tests" name="-pre-pre-compile-test">
   1.639 +        <mkdir dir="${build.test.classes.dir}"/>
   1.640 +    </target>
   1.641 +    <target name="-pre-compile-test">
   1.642 +        <!-- Empty placeholder for easier customization. -->
   1.643 +        <!-- You can override this target in the ../build.xml file. -->
   1.644 +    </target>
   1.645 +    <target if="do.depend.true" name="-compile-test-depend">
   1.646 +        <j2seproject3:depend classpath="${javac.test.classpath}" destdir="${build.test.classes.dir}" srcdir="${test.src.dir}"/>
   1.647 +    </target>
   1.648 +    <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test,-compile-test-depend" if="have.tests" name="-do-compile-test">
   1.649 +        <j2seproject3:javac classpath="${javac.test.classpath}" debug="true" destdir="${build.test.classes.dir}" srcdir="${test.src.dir}"/>
   1.650 +        <copy todir="${build.test.classes.dir}">
   1.651 +            <fileset dir="${test.src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
   1.652 +        </copy>
   1.653 +    </target>
   1.654 +    <target name="-post-compile-test">
   1.655 +        <!-- Empty placeholder for easier customization. -->
   1.656 +        <!-- You can override this target in the ../build.xml file. -->
   1.657 +    </target>
   1.658 +    <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test,-do-compile-test,-post-compile-test" name="compile-test"/>
   1.659 +    <target name="-pre-compile-test-single">
   1.660 +        <!-- Empty placeholder for easier customization. -->
   1.661 +        <!-- You can override this target in the ../build.xml file. -->
   1.662 +    </target>
   1.663 +    <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test-single" if="have.tests" name="-do-compile-test-single">
   1.664 +        <fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail>
   1.665 +        <j2seproject3:force-recompile destdir="${build.test.classes.dir}"/>
   1.666 +        <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.667 +        <copy todir="${build.test.classes.dir}">
   1.668 +            <fileset dir="${test.src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
   1.669 +        </copy>
   1.670 +    </target>
   1.671 +    <target name="-post-compile-test-single">
   1.672 +        <!-- Empty placeholder for easier customization. -->
   1.673 +        <!-- You can override this target in the ../build.xml file. -->
   1.674 +    </target>
   1.675 +    <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.676 +    <!--
   1.677 +                =======================
   1.678 +                JUNIT EXECUTION SECTION
   1.679 +                =======================
   1.680 +            -->
   1.681 +    <target depends="init" if="have.tests" name="-pre-test-run">
   1.682 +        <mkdir dir="${build.test.results.dir}"/>
   1.683 +    </target>
   1.684 +    <target depends="init,compile-test,-pre-test-run" if="have.tests" name="-do-test-run">
   1.685 +        <j2seproject3:junit testincludes="**/*Test.java"/>
   1.686 +    </target>
   1.687 +    <target depends="init,compile-test,-pre-test-run,-do-test-run" if="have.tests" name="-post-test-run">
   1.688 +        <fail if="tests.failed" unless="ignore.failing.tests">Some tests failed; see details above.</fail>
   1.689 +    </target>
   1.690 +    <target depends="init" if="have.tests" name="test-report"/>
   1.691 +    <target depends="init" if="netbeans.home+have.tests" name="-test-browse"/>
   1.692 +    <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.693 +    <target depends="init" if="have.tests" name="-pre-test-run-single">
   1.694 +        <mkdir dir="${build.test.results.dir}"/>
   1.695 +    </target>
   1.696 +    <target depends="init,compile-test-single,-pre-test-run-single" if="have.tests" name="-do-test-run-single">
   1.697 +        <fail unless="test.includes">Must select some files in the IDE or set test.includes</fail>
   1.698 +        <j2seproject3:junit excludes="" includes="${test.includes}"/>
   1.699 +    </target>
   1.700 +    <target depends="init,compile-test-single,-pre-test-run-single,-do-test-run-single" if="have.tests" name="-post-test-run-single">
   1.701 +        <fail if="tests.failed" unless="ignore.failing.tests">Some tests failed; see details above.</fail>
   1.702 +    </target>
   1.703 +    <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.704 +    <!--
   1.705 +                =======================
   1.706 +                JUNIT DEBUGGING SECTION
   1.707 +                =======================
   1.708 +            -->
   1.709 +    <target depends="init,compile-test" if="have.tests" name="-debug-start-debuggee-test">
   1.710 +        <fail unless="test.class">Must select one file in the IDE or set test.class</fail>
   1.711 +        <property location="${build.test.results.dir}/TEST-${test.class}.xml" name="test.report.file"/>
   1.712 +        <delete file="${test.report.file}"/>
   1.713 +        <mkdir dir="${build.test.results.dir}"/>
   1.714 +        <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.715 +            <customize>
   1.716 +                <syspropertyset>
   1.717 +                    <propertyref prefix="test-sys-prop."/>
   1.718 +                    <mapper from="test-sys-prop.*" to="*" type="glob"/>
   1.719 +                </syspropertyset>
   1.720 +                <arg value="${test.class}"/>
   1.721 +                <arg value="showoutput=true"/>
   1.722 +                <arg value="formatter=org.apache.tools.ant.taskdefs.optional.junit.BriefJUnitResultFormatter"/>
   1.723 +                <arg value="formatter=org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter,${test.report.file}"/>
   1.724 +            </customize>
   1.725 +        </j2seproject3:debug>
   1.726 +    </target>
   1.727 +    <target depends="init,compile-test" if="netbeans.home+have.tests" name="-debug-start-debugger-test">
   1.728 +        <j2seproject1:nbjpdastart classpath="${debug.test.classpath}" name="${test.class}"/>
   1.729 +    </target>
   1.730 +    <target depends="init,compile-test-single,-debug-start-debugger-test,-debug-start-debuggee-test" name="debug-test"/>
   1.731 +    <target depends="init,-pre-debug-fix,compile-test-single" if="netbeans.home" name="-do-debug-fix-test">
   1.732 +        <j2seproject1:nbjpdareload dir="${build.test.classes.dir}"/>
   1.733 +    </target>
   1.734 +    <target depends="init,-pre-debug-fix,-do-debug-fix-test" if="netbeans.home" name="debug-fix-test"/>
   1.735 +    <!--
   1.736 +                =========================
   1.737 +                APPLET EXECUTION SECTION
   1.738 +                =========================
   1.739 +            -->
   1.740 +    <target depends="init,compile-single" name="run-applet">
   1.741 +        <fail unless="applet.url">Must select one file in the IDE or set applet.url</fail>
   1.742 +        <j2seproject1:java classname="sun.applet.AppletViewer">
   1.743 +            <customize>
   1.744 +                <arg value="${applet.url}"/>
   1.745 +            </customize>
   1.746 +        </j2seproject1:java>
   1.747 +    </target>
   1.748 +    <!--
   1.749 +                =========================
   1.750 +                APPLET DEBUGGING  SECTION
   1.751 +                =========================
   1.752 +            -->
   1.753 +    <target depends="init,compile-single" if="netbeans.home" name="-debug-start-debuggee-applet">
   1.754 +        <fail unless="applet.url">Must select one file in the IDE or set applet.url</fail>
   1.755 +        <j2seproject3:debug classname="sun.applet.AppletViewer">
   1.756 +            <customize>
   1.757 +                <arg value="${applet.url}"/>
   1.758 +            </customize>
   1.759 +        </j2seproject3:debug>
   1.760 +    </target>
   1.761 +    <target depends="init,compile-single,-debug-start-debugger,-debug-start-debuggee-applet" if="netbeans.home" name="debug-applet"/>
   1.762 +    <!--
   1.763 +                ===============
   1.764 +                CLEANUP SECTION
   1.765 +                ===============
   1.766 +            -->
   1.767 +    <target name="-deps-clean-init" unless="built-clean.properties">
   1.768 +        <property location="${build.dir}/built-clean.properties" name="built-clean.properties"/>
   1.769 +        <delete file="${built-clean.properties}" quiet="true"/>
   1.770 +    </target>
   1.771 +    <target if="already.built.clean.${basedir}" name="-warn-already-built-clean">
   1.772 +        <echo level="warn" message="Cycle detected: nekurak.net-lib was already built"/>
   1.773 +    </target>
   1.774 +    <target depends="init,-deps-clean-init" name="deps-clean" unless="no.deps">
   1.775 +        <mkdir dir="${build.dir}"/>
   1.776 +        <touch file="${built-clean.properties}" verbose="false"/>
   1.777 +        <property file="${built-clean.properties}" prefix="already.built.clean."/>
   1.778 +        <antcall target="-warn-already-built-clean"/>
   1.779 +        <propertyfile file="${built-clean.properties}">
   1.780 +            <entry key="${basedir}" value=""/>
   1.781 +        </propertyfile>
   1.782 +    </target>
   1.783 +    <target depends="init" name="-do-clean">
   1.784 +        <delete dir="${build.dir}"/>
   1.785 +        <delete dir="${dist.dir}" followsymlinks="false" includeemptydirs="true"/>
   1.786 +    </target>
   1.787 +    <target name="-post-clean">
   1.788 +        <!-- Empty placeholder for easier customization. -->
   1.789 +        <!-- You can override this target in the ../build.xml file. -->
   1.790 +    </target>
   1.791 +    <target depends="init,deps-clean,-do-clean,-post-clean" description="Clean build products." name="clean"/>
   1.792 +    <target name="-check-call-dep">
   1.793 +        <property file="${call.built.properties}" prefix="already.built."/>
   1.794 +        <condition property="should.call.dep">
   1.795 +            <not>
   1.796 +                <isset property="already.built.${call.subproject}"/>
   1.797 +            </not>
   1.798 +        </condition>
   1.799 +    </target>
   1.800 +    <target depends="-check-call-dep" if="should.call.dep" name="-maybe-call-dep">
   1.801 +        <ant antfile="${call.script}" inheritall="false" target="${call.target}">
   1.802 +            <propertyset>
   1.803 +                <propertyref prefix="transfer."/>
   1.804 +                <mapper from="transfer.*" to="*" type="glob"/>
   1.805 +            </propertyset>
   1.806 +        </ant>
   1.807 +    </target>
   1.808 +</project>