java/nekurak.net-rest/nbproject/build-impl.xml
changeset 188 74d06a8a4948
parent 187 e7b3ef7aaef4
child 189 fcd69520f12d
     1.1 --- a/java/nekurak.net-rest/nbproject/build-impl.xml	Tue Jul 19 15:20:47 2011 +0200
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,1078 +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 -        - initialization
    1.12 -        - compilation
    1.13 -        - dist
    1.14 -        - execution
    1.15 -        - debugging
    1.16 -        - javadoc
    1.17 -        - junit compilation
    1.18 -        - junit execution
    1.19 -        - junit debugging
    1.20 -        - cleanup
    1.21 -
    1.22 -        -->
    1.23 -<project xmlns:webproject1="http://www.netbeans.org/ns/web-project/1" xmlns:webproject2="http://www.netbeans.org/ns/web-project/2" xmlns:webproject3="http://www.netbeans.org/ns/web-project/3" basedir=".." default="default" name="nekurak.net-rest-impl">
    1.24 -    <import file="rest-build.xml"/>
    1.25 -    <import file="ant-deploy.xml"/>
    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="dist,javadoc" description="Build whole project." name="default"/>
    1.34 -    <!--
    1.35 -                INITIALIZATION SECTION
    1.36 -            -->
    1.37 -    <target name="-pre-init">
    1.38 -        <!-- Empty placeholder for easier customization. -->
    1.39 -        <!-- You can override this target in the ../build.xml file. -->
    1.40 -    </target>
    1.41 -    <target depends="-pre-init" name="-init-private">
    1.42 -        <property file="nbproject/private/private.properties"/>
    1.43 -    </target>
    1.44 -    <target depends="-pre-init,-init-private" name="-init-user">
    1.45 -        <property file="${user.properties.file}"/>
    1.46 -        <!-- The two properties below are usually overridden -->
    1.47 -        <!-- by the active platform. Just a fallback. -->
    1.48 -        <property name="default.javac.source" value="1.4"/>
    1.49 -        <property name="default.javac.target" value="1.4"/>
    1.50 -    </target>
    1.51 -    <target depends="-pre-init,-init-private,-init-user" name="-init-project">
    1.52 -        <property file="nbproject/project.properties"/>
    1.53 -    </target>
    1.54 -    <target depends="-pre-init,-init-private,-init-user,-init-project,-init-macrodef-property" if="dist.ear.dir" name="-do-ear-init"/>
    1.55 -    <target depends="-pre-init,-init-private,-init-user,-init-project,-init-macrodef-property" name="-do-init">
    1.56 -        <condition property="have.tests">
    1.57 -            <or>
    1.58 -                <available file="${test.src.dir}"/>
    1.59 -            </or>
    1.60 -        </condition>
    1.61 -        <condition property="have.sources">
    1.62 -            <or>
    1.63 -                <available file="${src.dir}"/>
    1.64 -            </or>
    1.65 -        </condition>
    1.66 -        <condition property="netbeans.home+have.tests">
    1.67 -            <and>
    1.68 -                <isset property="netbeans.home"/>
    1.69 -                <isset property="have.tests"/>
    1.70 -            </and>
    1.71 -        </condition>
    1.72 -        <condition property="no.javadoc.preview">
    1.73 -            <isfalse value="${javadoc.preview}"/>
    1.74 -        </condition>
    1.75 -        <property name="javac.compilerargs" value=""/>
    1.76 -        <condition property="no.deps">
    1.77 -            <and>
    1.78 -                <istrue value="${no.dependencies}"/>
    1.79 -            </and>
    1.80 -        </condition>
    1.81 -        <condition property="no.dist.ear.dir">
    1.82 -            <not>
    1.83 -                <isset property="dist.ear.dir"/>
    1.84 -            </not>
    1.85 -        </condition>
    1.86 -        <property name="build.web.excludes" value="${build.classes.excludes}"/>
    1.87 -        <condition property="do.compile.jsps">
    1.88 -            <istrue value="${compile.jsps}"/>
    1.89 -        </condition>
    1.90 -        <condition property="do.debug.server">
    1.91 -            <or>
    1.92 -                <not>
    1.93 -                    <isset property="debug.server"/>
    1.94 -                </not>
    1.95 -                <istrue value="${debug.server}"/>
    1.96 -                <and>
    1.97 -                    <not>
    1.98 -                        <istrue value="${debug.server}"/>
    1.99 -                    </not>
   1.100 -                    <not>
   1.101 -                        <istrue value="${debug.client}"/>
   1.102 -                    </not>
   1.103 -                </and>
   1.104 -            </or>
   1.105 -        </condition>
   1.106 -        <condition property="do.debug.client">
   1.107 -            <istrue value="${debug.client}"/>
   1.108 -        </condition>
   1.109 -        <condition property="do.display.browser">
   1.110 -            <istrue value="${display.browser}"/>
   1.111 -        </condition>
   1.112 -        <condition property="do.display.browser.debug">
   1.113 -            <and>
   1.114 -                <isset property="do.display.browser"/>
   1.115 -                <not>
   1.116 -                    <isset property="do.debug.client"/>
   1.117 -                </not>
   1.118 -            </and>
   1.119 -        </condition>
   1.120 -        <available file="${conf.dir}/MANIFEST.MF" property="has.custom.manifest"/>
   1.121 -        <available file="${persistence.xml.dir}/persistence.xml" property="has.persistence.xml"/>
   1.122 -        <condition property="do.war.package.with.custom.manifest">
   1.123 -            <isset property="has.custom.manifest"/>
   1.124 -        </condition>
   1.125 -        <condition property="do.war.package.without.custom.manifest">
   1.126 -            <not>
   1.127 -                <isset property="has.custom.manifest"/>
   1.128 -            </not>
   1.129 -        </condition>
   1.130 -        <condition property="do.tmp.war.package.with.custom.manifest">
   1.131 -            <and>
   1.132 -                <isset property="has.custom.manifest"/>
   1.133 -                <or>
   1.134 -                    <isfalse value="${directory.deployment.supported}"/>
   1.135 -                    <isset property="dist.ear.dir"/>
   1.136 -                </or>
   1.137 -            </and>
   1.138 -        </condition>
   1.139 -        <condition property="do.tmp.war.package.without.custom.manifest">
   1.140 -            <and>
   1.141 -                <not>
   1.142 -                    <isset property="has.custom.manifest"/>
   1.143 -                </not>
   1.144 -                <or>
   1.145 -                    <isfalse value="${directory.deployment.supported}"/>
   1.146 -                    <isset property="dist.ear.dir"/>
   1.147 -                </or>
   1.148 -            </and>
   1.149 -        </condition>
   1.150 -        <condition property="do.tmp.war.package">
   1.151 -            <or>
   1.152 -                <isfalse value="${directory.deployment.supported}"/>
   1.153 -                <isset property="dist.ear.dir"/>
   1.154 -            </or>
   1.155 -        </condition>
   1.156 -        <property name="build.meta.inf.dir" value="${build.web.dir}/META-INF"/>
   1.157 -        <condition else="" property="application.args.param" value="${application.args}">
   1.158 -            <and>
   1.159 -                <isset property="application.args"/>
   1.160 -                <not>
   1.161 -                    <equals arg1="${application.args}" arg2="" trim="true"/>
   1.162 -                </not>
   1.163 -            </and>
   1.164 -        </condition>
   1.165 -        <property name="source.encoding" value="${file.encoding}"/>
   1.166 -        <condition property="javadoc.encoding.used" value="${javadoc.encoding}">
   1.167 -            <and>
   1.168 -                <isset property="javadoc.encoding"/>
   1.169 -                <not>
   1.170 -                    <equals arg1="${javadoc.encoding}" arg2=""/>
   1.171 -                </not>
   1.172 -            </and>
   1.173 -        </condition>
   1.174 -        <property name="javadoc.encoding.used" value="${source.encoding}"/>
   1.175 -        <property name="includes" value="**"/>
   1.176 -        <property name="excludes" value=""/>
   1.177 -        <property name="runmain.jvmargs" value=""/>
   1.178 -        <path id="endorsed.classpath.path" path="${endorsed.classpath}"/>
   1.179 -        <condition else="" property="endorsed.classpath.cmd.line.arg" value="-Xbootclasspath/p:'${toString:endorsed.classpath.path}'">
   1.180 -            <and>
   1.181 -                <isset property="endorsed.classpath"/>
   1.182 -                <length length="0" string="${endorsed.classpath}" when="greater"/>
   1.183 -            </and>
   1.184 -        </condition>
   1.185 -        <condition else="false" property="jdkBug6558476">
   1.186 -            <and>
   1.187 -                <matches pattern="1\.[56]" string="${java.specification.version}"/>
   1.188 -                <not>
   1.189 -                    <os family="unix"/>
   1.190 -                </not>
   1.191 -            </and>
   1.192 -        </condition>
   1.193 -        <property name="javac.fork" value="${jdkBug6558476}"/>
   1.194 -    </target>
   1.195 -    <target depends="init" name="-init-cos" unless="deploy.on.save">
   1.196 -        <condition property="deploy.on.save" value="true">
   1.197 -            <istrue value="${j2ee.deploy.on.save}"/>
   1.198 -        </condition>
   1.199 -    </target>
   1.200 -    <target name="-post-init">
   1.201 -        <!-- Empty placeholder for easier customization. -->
   1.202 -        <!-- You can override this target in the ../build.xml file. -->
   1.203 -    </target>
   1.204 -    <target depends="-pre-init,-init-private,-init-user,-init-project,-do-init" name="-init-check">
   1.205 -        <fail unless="src.dir">Must set src.dir</fail>
   1.206 -        <fail unless="test.src.dir">Must set test.src.dir</fail>
   1.207 -        <fail unless="build.dir">Must set build.dir</fail>
   1.208 -        <fail unless="build.web.dir">Must set build.web.dir</fail>
   1.209 -        <fail unless="build.generated.dir">Must set build.generated.dir</fail>
   1.210 -        <fail unless="dist.dir">Must set dist.dir</fail>
   1.211 -        <fail unless="build.classes.dir">Must set build.classes.dir</fail>
   1.212 -        <fail unless="dist.javadoc.dir">Must set dist.javadoc.dir</fail>
   1.213 -        <fail unless="build.test.classes.dir">Must set build.test.classes.dir</fail>
   1.214 -        <fail unless="build.test.results.dir">Must set build.test.results.dir</fail>
   1.215 -        <fail unless="build.classes.excludes">Must set build.classes.excludes</fail>
   1.216 -        <fail unless="dist.war">Must set dist.war</fail>
   1.217 -        <condition property="missing.j2ee.server.home">
   1.218 -            <and>
   1.219 -                <matches pattern="j2ee.server.home" string="${j2ee.platform.classpath}"/>
   1.220 -                <not>
   1.221 -                    <isset property="j2ee.server.home"/>
   1.222 -                </not>
   1.223 -            </and>
   1.224 -        </condition>
   1.225 -        <fail if="missing.j2ee.server.home">
   1.226 -The Java EE server classpath is not correctly set up - server home directory is missing.
   1.227 -Either open the project in the IDE and assign the server or setup the server classpath manually.
   1.228 -For example like this:
   1.229 -   ant -Dj2ee.server.home=&lt;app_server_installation_directory&gt;
   1.230 -                </fail>
   1.231 -        <fail unless="j2ee.platform.classpath">
   1.232 -The Java EE server classpath is not correctly set up. Your active server type is ${j2ee.server.type}.
   1.233 -Either open the project in the IDE and assign the server or setup the server classpath manually.
   1.234 -For example like this:
   1.235 -   ant -Duser.properties.file=&lt;path_to_property_file&gt; (where you put the property "j2ee.platform.classpath" in a .properties file)
   1.236 -or ant -Dj2ee.platform.classpath=&lt;server_classpath&gt; (where no properties file is used)
   1.237 -                </fail>
   1.238 -    </target>
   1.239 -    <target name="-init-macrodef-property">
   1.240 -        <macrodef name="property" uri="http://www.netbeans.org/ns/web-project/1">
   1.241 -            <attribute name="name"/>
   1.242 -            <attribute name="value"/>
   1.243 -            <sequential>
   1.244 -                <property name="@{name}" value="${@{value}}"/>
   1.245 -            </sequential>
   1.246 -        </macrodef>
   1.247 -    </target>
   1.248 -    <target depends="-init-ap-cmdline-properties" if="ap.supported.internal" name="-init-macrodef-javac-with-processors">
   1.249 -        <macrodef name="javac" uri="http://www.netbeans.org/ns/web-project/2">
   1.250 -            <attribute default="${src.dir}" name="srcdir"/>
   1.251 -            <attribute default="${build.classes.dir}" name="destdir"/>
   1.252 -            <attribute default="${javac.classpath}:${j2ee.platform.classpath}" name="classpath"/>
   1.253 -            <attribute default="${javac.processorpath}" name="processorpath"/>
   1.254 -            <attribute default="${build.generated.sources.dir}/ap-source-output" name="apgeneratedsrcdir"/>
   1.255 -            <attribute default="${includes}" name="includes"/>
   1.256 -            <attribute default="${excludes}" name="excludes"/>
   1.257 -            <attribute default="${javac.debug}" name="debug"/>
   1.258 -            <attribute default="${empty.dir}" name="gensrcdir"/>
   1.259 -            <element name="customize" optional="true"/>
   1.260 -            <sequential>
   1.261 -                <property location="${build.dir}/empty" name="empty.dir"/>
   1.262 -                <mkdir dir="${empty.dir}"/>
   1.263 -                <mkdir dir="@{apgeneratedsrcdir}"/>
   1.264 -                <javac debug="@{debug}" deprecation="${javac.deprecation}" destdir="@{destdir}" encoding="${source.encoding}" excludes="@{excludes}" fork="${javac.fork}" includeantruntime="false" includes="@{includes}" source="${javac.source}" srcdir="@{srcdir}" target="${javac.target}">
   1.265 -                    <src>
   1.266 -                        <dirset dir="@{gensrcdir}" erroronmissingdir="false">
   1.267 -                            <include name="*"/>
   1.268 -                        </dirset>
   1.269 -                    </src>
   1.270 -                    <classpath>
   1.271 -                        <path path="@{classpath}"/>
   1.272 -                    </classpath>
   1.273 -                    <compilerarg line="${endorsed.classpath.cmd.line.arg}"/>
   1.274 -                    <compilerarg line="${javac.compilerargs}"/>
   1.275 -                    <compilerarg value="-processorpath"/>
   1.276 -                    <compilerarg path="@{processorpath}:${empty.dir}"/>
   1.277 -                    <compilerarg line="${ap.processors.internal}"/>
   1.278 -                    <compilerarg value="-s"/>
   1.279 -                    <compilerarg path="@{apgeneratedsrcdir}"/>
   1.280 -                    <compilerarg line="${ap.proc.none.internal}"/>
   1.281 -                    <customize/>
   1.282 -                </javac>
   1.283 -            </sequential>
   1.284 -        </macrodef>
   1.285 -    </target>
   1.286 -    <target depends="-init-ap-cmdline-properties" name="-init-macrodef-javac-without-processors" unless="ap.supported.internal">
   1.287 -        <macrodef name="javac" uri="http://www.netbeans.org/ns/web-project/2">
   1.288 -            <attribute default="${src.dir}" name="srcdir"/>
   1.289 -            <attribute default="${build.classes.dir}" name="destdir"/>
   1.290 -            <attribute default="${javac.classpath}:${j2ee.platform.classpath}" name="classpath"/>
   1.291 -            <attribute default="${javac.processorpath}" name="processorpath"/>
   1.292 -            <attribute default="${build.generated.sources.dir}/ap-source-output" name="apgeneratedsrcdir"/>
   1.293 -            <attribute default="${includes}" name="includes"/>
   1.294 -            <attribute default="${excludes}" name="excludes"/>
   1.295 -            <attribute default="${javac.debug}" name="debug"/>
   1.296 -            <attribute default="${empty.dir}" name="gensrcdir"/>
   1.297 -            <element name="customize" optional="true"/>
   1.298 -            <sequential>
   1.299 -                <property location="${build.dir}/empty" name="empty.dir"/>
   1.300 -                <mkdir dir="${empty.dir}"/>
   1.301 -                <javac debug="@{debug}" deprecation="${javac.deprecation}" destdir="@{destdir}" encoding="${source.encoding}" excludes="@{excludes}" includeantruntime="false" includes="@{includes}" source="${javac.source}" srcdir="@{srcdir}" target="${javac.target}">
   1.302 -                    <src>
   1.303 -                        <dirset dir="@{gensrcdir}" erroronmissingdir="false">
   1.304 -                            <include name="*"/>
   1.305 -                        </dirset>
   1.306 -                    </src>
   1.307 -                    <classpath>
   1.308 -                        <path path="@{classpath}"/>
   1.309 -                    </classpath>
   1.310 -                    <compilerarg line="${endorsed.classpath.cmd.line.arg}"/>
   1.311 -                    <compilerarg line="${javac.compilerargs}"/>
   1.312 -                    <customize/>
   1.313 -                </javac>
   1.314 -            </sequential>
   1.315 -        </macrodef>
   1.316 -    </target>
   1.317 -    <target depends="-init-macrodef-javac-with-processors,-init-macrodef-javac-without-processors" name="-init-macrodef-javac">
   1.318 -        <macrodef name="depend" uri="http://www.netbeans.org/ns/web-project/2">
   1.319 -            <attribute default="${src.dir}" name="srcdir"/>
   1.320 -            <attribute default="${build.classes.dir}" name="destdir"/>
   1.321 -            <attribute default="${javac.classpath}:${j2ee.platform.classpath}" name="classpath"/>
   1.322 -            <sequential>
   1.323 -                <depend cache="${build.dir}/depcache" destdir="@{destdir}" excludes="${excludes}" includes="${includes}" srcdir="@{srcdir}">
   1.324 -                    <classpath>
   1.325 -                        <path path="@{classpath}"/>
   1.326 -                    </classpath>
   1.327 -                </depend>
   1.328 -            </sequential>
   1.329 -        </macrodef>
   1.330 -        <macrodef name="force-recompile" uri="http://www.netbeans.org/ns/web-project/2">
   1.331 -            <attribute default="${build.classes.dir}" name="destdir"/>
   1.332 -            <sequential>
   1.333 -                <fail unless="javac.includes">Must set javac.includes</fail>
   1.334 -                <pathconvert pathsep="${line.separator}" property="javac.includes.binary">
   1.335 -                    <path>
   1.336 -                        <filelist dir="@{destdir}" files="${javac.includes}"/>
   1.337 -                    </path>
   1.338 -                    <globmapper from="*.java" to="*.class"/>
   1.339 -                </pathconvert>
   1.340 -                <tempfile deleteonexit="true" property="javac.includesfile.binary"/>
   1.341 -                <echo file="${javac.includesfile.binary}" message="${javac.includes.binary}"/>
   1.342 -                <delete>
   1.343 -                    <files includesfile="${javac.includesfile.binary}"/>
   1.344 -                </delete>
   1.345 -                <delete file="${javac.includesfile.binary}"/>
   1.346 -            </sequential>
   1.347 -        </macrodef>
   1.348 -    </target>
   1.349 -    <target name="-init-macrodef-junit">
   1.350 -        <macrodef name="junit" uri="http://www.netbeans.org/ns/web-project/2">
   1.351 -            <attribute default="${includes}" name="includes"/>
   1.352 -            <attribute default="${excludes}" name="excludes"/>
   1.353 -            <attribute default="**" name="testincludes"/>
   1.354 -            <sequential>
   1.355 -                <junit dir="${basedir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" showoutput="true" tempdir="${java.io.tmpdir}">
   1.356 -                    <batchtest todir="${build.test.results.dir}">
   1.357 -                        <fileset dir="${test.src.dir}" excludes="@{excludes},${excludes}" includes="@{includes}">
   1.358 -                            <filename name="@{testincludes}"/>
   1.359 -                        </fileset>
   1.360 -                    </batchtest>
   1.361 -                    <classpath>
   1.362 -                        <path path="${run.test.classpath}:${j2ee.platform.classpath}:${j2ee.platform.embeddableejb.classpath}"/>
   1.363 -                    </classpath>
   1.364 -                    <syspropertyset>
   1.365 -                        <propertyref prefix="test-sys-prop."/>
   1.366 -                        <mapper from="test-sys-prop.*" to="*" type="glob"/>
   1.367 -                    </syspropertyset>
   1.368 -                    <formatter type="brief" usefile="false"/>
   1.369 -                    <formatter type="xml"/>
   1.370 -                    <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
   1.371 -                    <jvmarg value="-ea"/>
   1.372 -                    <jvmarg line="${runmain.jvmargs}"/>
   1.373 -                </junit>
   1.374 -            </sequential>
   1.375 -        </macrodef>
   1.376 -    </target>
   1.377 -    <target name="-init-macrodef-java">
   1.378 -        <macrodef name="java" uri="http://www.netbeans.org/ns/web-project/1">
   1.379 -            <attribute default="${main.class}" name="classname"/>
   1.380 -            <attribute default="${debug.classpath}" name="classpath"/>
   1.381 -            <element name="customize" optional="true"/>
   1.382 -            <sequential>
   1.383 -                <java classname="@{classname}" fork="true">
   1.384 -                    <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
   1.385 -                    <jvmarg line="${runmain.jvmargs}"/>
   1.386 -                    <classpath>
   1.387 -                        <path path="@{classpath}:${j2ee.platform.classpath}"/>
   1.388 -                    </classpath>
   1.389 -                    <syspropertyset>
   1.390 -                        <propertyref prefix="run-sys-prop."/>
   1.391 -                        <mapper from="run-sys-prop.*" to="*" type="glob"/>
   1.392 -                    </syspropertyset>
   1.393 -                    <customize/>
   1.394 -                </java>
   1.395 -            </sequential>
   1.396 -        </macrodef>
   1.397 -    </target>
   1.398 -    <target name="-init-macrodef-nbjsdebug">
   1.399 -        <macrodef name="nbjsdebugstart" uri="http://www.netbeans.org/ns/web-project/1">
   1.400 -            <attribute default="${client.url}" name="webUrl"/>
   1.401 -            <sequential>
   1.402 -                <nbjsdebugstart urlPart="${client.urlPart}" webUrl="@{webUrl}"/>
   1.403 -            </sequential>
   1.404 -        </macrodef>
   1.405 -    </target>
   1.406 -    <target depends="-init-debug-args" name="-init-macrodef-nbjpda">
   1.407 -        <macrodef name="nbjpdastart" uri="http://www.netbeans.org/ns/web-project/1">
   1.408 -            <attribute default="${main.class}" name="name"/>
   1.409 -            <attribute default="${debug.classpath}:${j2ee.platform.classpath}" name="classpath"/>
   1.410 -            <sequential>
   1.411 -                <nbjpdastart addressproperty="jpda.address" name="@{name}" transport="${debug-transport}">
   1.412 -                    <classpath>
   1.413 -                        <path path="@{classpath}"/>
   1.414 -                    </classpath>
   1.415 -                </nbjpdastart>
   1.416 -            </sequential>
   1.417 -        </macrodef>
   1.418 -        <macrodef name="nbjpdareload" uri="http://www.netbeans.org/ns/web-project/1">
   1.419 -            <attribute default="${build.classes.dir}" name="dir"/>
   1.420 -            <sequential>
   1.421 -                <nbjpdareload>
   1.422 -                    <fileset dir="@{dir}" includes="${fix.classes}">
   1.423 -                        <include name="${fix.includes}*.class"/>
   1.424 -                    </fileset>
   1.425 -                </nbjpdareload>
   1.426 -            </sequential>
   1.427 -        </macrodef>
   1.428 -        <macrodef name="nbjpdaappreloaded" uri="http://www.netbeans.org/ns/web-project/1">
   1.429 -            <sequential>
   1.430 -                <nbjpdaappreloaded/>
   1.431 -            </sequential>
   1.432 -        </macrodef>
   1.433 -    </target>
   1.434 -    <target name="-init-debug-args">
   1.435 -        <property name="version-output" value="java version &quot;${ant.java.version}"/>
   1.436 -        <condition property="have-jdk-older-than-1.4">
   1.437 -            <or>
   1.438 -                <contains string="${version-output}" substring="java version &quot;1.0"/>
   1.439 -                <contains string="${version-output}" substring="java version &quot;1.1"/>
   1.440 -                <contains string="${version-output}" substring="java version &quot;1.2"/>
   1.441 -                <contains string="${version-output}" substring="java version &quot;1.3"/>
   1.442 -            </or>
   1.443 -        </condition>
   1.444 -        <condition else="-Xdebug" property="debug-args-line" value="-Xdebug -Xnoagent -Djava.compiler=none">
   1.445 -            <istrue value="${have-jdk-older-than-1.4}"/>
   1.446 -        </condition>
   1.447 -        <condition else="dt_socket" property="debug-transport-by-os" value="dt_shmem">
   1.448 -            <os family="windows"/>
   1.449 -        </condition>
   1.450 -        <condition else="${debug-transport-by-os}" property="debug-transport" value="${debug.transport}">
   1.451 -            <isset property="debug.transport"/>
   1.452 -        </condition>
   1.453 -    </target>
   1.454 -    <target depends="-init-debug-args" name="-init-macrodef-debug">
   1.455 -        <macrodef name="debug" uri="http://www.netbeans.org/ns/web-project/1">
   1.456 -            <attribute default="${main.class}" name="classname"/>
   1.457 -            <attribute default="${debug.classpath}:${j2ee.platform.classpath}" name="classpath"/>
   1.458 -            <attribute default="${application.args.param}" name="args"/>
   1.459 -            <element name="customize" optional="true"/>
   1.460 -            <sequential>
   1.461 -                <java classname="@{classname}" fork="true">
   1.462 -                    <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
   1.463 -                    <jvmarg line="${debug-args-line}"/>
   1.464 -                    <jvmarg value="-Xrunjdwp:transport=${debug-transport},address=${jpda.address}"/>
   1.465 -                    <jvmarg line="${runmain.jvmargs}"/>
   1.466 -                    <classpath>
   1.467 -                        <path path="@{classpath}"/>
   1.468 -                    </classpath>
   1.469 -                    <syspropertyset>
   1.470 -                        <propertyref prefix="run-sys-prop."/>
   1.471 -                        <mapper from="run-sys-prop.*" to="*" type="glob"/>
   1.472 -                    </syspropertyset>
   1.473 -                    <arg line="@{args}"/>
   1.474 -                    <customize/>
   1.475 -                </java>
   1.476 -            </sequential>
   1.477 -        </macrodef>
   1.478 -    </target>
   1.479 -    <target name="-init-taskdefs">
   1.480 -        <fail unless="libs.CopyLibs.classpath">
   1.481 -The libs.CopyLibs.classpath property is not set up.
   1.482 -This property must point to 
   1.483 -org-netbeans-modules-java-j2seproject-copylibstask.jar file which is part
   1.484 -of NetBeans IDE installation and is usually located at 
   1.485 -&lt;netbeans_installation&gt;/java&lt;version&gt;/ant/extra folder.
   1.486 -Either open the project in the IDE and make sure CopyLibs library
   1.487 -exists or setup the property manually. For example like this:
   1.488 - ant -Dlibs.CopyLibs.classpath=a/path/to/org-netbeans-modules-java-j2seproject-copylibstask.jar
   1.489 -                </fail>
   1.490 -        <taskdef classpath="${libs.CopyLibs.classpath}" resource="org/netbeans/modules/java/j2seproject/copylibstask/antlib.xml"/>
   1.491 -    </target>
   1.492 -    <target name="-init-ap-cmdline-properties">
   1.493 -        <property name="annotation.processing.enabled" value="true"/>
   1.494 -        <property name="annotation.processing.processors.list" value=""/>
   1.495 -        <property name="annotation.processing.run.all.processors" value="true"/>
   1.496 -        <property name="javac.processorpath" value="${javac.classpath}"/>
   1.497 -        <property name="javac.test.processorpath" value="${javac.test.classpath}"/>
   1.498 -        <condition property="ap.supported.internal" value="true">
   1.499 -            <not>
   1.500 -                <matches pattern="1\.[0-5](\..*)?" string="${javac.source}"/>
   1.501 -            </not>
   1.502 -        </condition>
   1.503 -    </target>
   1.504 -    <target depends="-init-ap-cmdline-properties" if="ap.supported.internal" name="-init-ap-cmdline-supported">
   1.505 -        <condition else="" property="ap.processors.internal" value="-processor ${annotation.processing.processors.list}">
   1.506 -            <isfalse value="${annotation.processing.run.all.processors}"/>
   1.507 -        </condition>
   1.508 -        <condition else="" property="ap.proc.none.internal" value="-proc:none">
   1.509 -            <isfalse value="${annotation.processing.enabled}"/>
   1.510 -        </condition>
   1.511 -    </target>
   1.512 -    <target depends="-init-ap-cmdline-properties,-init-ap-cmdline-supported" name="-init-ap-cmdline">
   1.513 -        <property name="ap.cmd.line.internal" value=""/>
   1.514 -    </target>
   1.515 -    <target depends="-profile-pre-init, init, -profile-post-init, -profile-init-check" name="profile-init"/>
   1.516 -    <target name="-profile-pre-init">
   1.517 -        <!-- Empty placeholder for easier customization. -->
   1.518 -        <!-- You can override this target in the ../build.xml file. -->
   1.519 -    </target>
   1.520 -    <target name="-profile-post-init">
   1.521 -        <!-- Empty placeholder for easier customization. -->
   1.522 -        <!-- You can override this target in the ../build.xml file. -->
   1.523 -    </target>
   1.524 -    <target depends="-profile-pre-init, init, -profile-post-init" name="-profile-init-check">
   1.525 -        <fail unless="profiler.info.jvm">Must set JVM to use for profiling in profiler.info.jvm</fail>
   1.526 -        <fail unless="profiler.info.jvmargs.agent">Must set profiler agent JVM arguments in profiler.info.jvmargs.agent</fail>
   1.527 -    </target>
   1.528 -    <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-java,-init-macrodef-nbjpda,-init-macrodef-nbjsdebug,-init-macrodef-debug,-init-taskdefs,-init-ap-cmdline" name="init"/>
   1.529 -    <!--
   1.530 -                COMPILATION SECTION
   1.531 -            -->
   1.532 -    <target depends="init" if="no.dist.ear.dir" name="deps-module-jar" unless="no.deps">
   1.533 -        <ant antfile="${project.nekurak_net-lib}/build.xml" inheritall="false" target="jar">
   1.534 -            <property name="deploy.on.save" value="false"/>
   1.535 -        </ant>
   1.536 -    </target>
   1.537 -    <target depends="init" if="dist.ear.dir" name="deps-ear-jar" unless="no.deps">
   1.538 -        <ant antfile="${project.nekurak_net-lib}/build.xml" inheritall="false" target="jar">
   1.539 -            <property name="deploy.on.save" value="false"/>
   1.540 -        </ant>
   1.541 -    </target>
   1.542 -    <target depends="init, deps-module-jar, deps-ear-jar" name="deps-jar" unless="no.deps"/>
   1.543 -    <target depends="init,deps-jar,generate-rest-config" name="-pre-pre-compile">
   1.544 -        <mkdir dir="${build.classes.dir}"/>
   1.545 -    </target>
   1.546 -    <target name="-pre-compile">
   1.547 -        <!-- Empty placeholder for easier customization. -->
   1.548 -        <!-- You can override this target in the ../build.xml file. -->
   1.549 -    </target>
   1.550 -    <target name="-copy-webdir">
   1.551 -        <copy todir="${build.web.dir}">
   1.552 -            <fileset dir="${web.docbase.dir}" excludes="${build.web.excludes},${excludes}" includes="${includes}"/>
   1.553 -        </copy>
   1.554 -        <copy todir="${build.web.dir}/WEB-INF">
   1.555 -            <fileset dir="${webinf.dir}" excludes="${build.web.excludes}"/>
   1.556 -        </copy>
   1.557 -    </target>
   1.558 -    <target depends="init, deps-jar, -pre-pre-compile, -pre-compile, -copy-manifest, -copy-persistence-xml, -copy-webdir, library-inclusion-in-archive,library-inclusion-in-manifest" if="have.sources" name="-do-compile">
   1.559 -        <webproject2:javac destdir="${build.classes.dir}" gensrcdir="${build.generated.sources.dir}"/>
   1.560 -        <copy todir="${build.classes.dir}">
   1.561 -            <fileset dir="${src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
   1.562 -        </copy>
   1.563 -    </target>
   1.564 -    <target if="has.custom.manifest" name="-copy-manifest">
   1.565 -        <mkdir dir="${build.meta.inf.dir}"/>
   1.566 -        <copy todir="${build.meta.inf.dir}">
   1.567 -            <fileset dir="${conf.dir}" includes="MANIFEST.MF"/>
   1.568 -        </copy>
   1.569 -    </target>
   1.570 -    <target if="has.persistence.xml" name="-copy-persistence-xml">
   1.571 -        <mkdir dir="${build.web.dir}/WEB-INF/classes/META-INF"/>
   1.572 -        <copy todir="${build.web.dir}/WEB-INF/classes/META-INF">
   1.573 -            <fileset dir="${persistence.xml.dir}" includes="persistence.xml"/>
   1.574 -        </copy>
   1.575 -    </target>
   1.576 -    <target name="-post-compile">
   1.577 -        <!-- Empty placeholder for easier customization. -->
   1.578 -        <!-- You can override this target in the ../build.xml file. -->
   1.579 -    </target>
   1.580 -    <target depends="init,deps-jar,-pre-pre-compile,-pre-compile,-do-compile,-post-compile" description="Compile project." name="compile"/>
   1.581 -    <target name="-pre-compile-single">
   1.582 -        <!-- Empty placeholder for easier customization. -->
   1.583 -        <!-- You can override this target in the ../build.xml file. -->
   1.584 -    </target>
   1.585 -    <target depends="init,deps-jar,-pre-pre-compile" name="-do-compile-single">
   1.586 -        <fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail>
   1.587 -        <webproject2:javac excludes="" gensrcdir="${build.generated.sources.dir}" includes="${javac.includes}"/>
   1.588 -        <copy todir="${build.classes.dir}">
   1.589 -            <fileset dir="${src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
   1.590 -        </copy>
   1.591 -    </target>
   1.592 -    <target name="-post-compile-single">
   1.593 -        <!-- Empty placeholder for easier customization. -->
   1.594 -        <!-- You can override this target in the ../build.xml file. -->
   1.595 -    </target>
   1.596 -    <target depends="init,deps-jar,-pre-pre-compile,-pre-compile-single,-do-compile-single,-post-compile-single" name="compile-single"/>
   1.597 -    <property name="jspc.schemas" value="/resources/schemas/"/>
   1.598 -    <property name="jspc.dtds" value="/resources/dtds/"/>
   1.599 -    <target depends="compile" description="Test compile JSP pages to expose compilation errors." if="do.compile.jsps" name="compile-jsps">
   1.600 -        <mkdir dir="${build.generated.dir}/src"/>
   1.601 -        <java classname="org.netbeans.modules.web.project.ant.JspC" failonerror="true" fork="true">
   1.602 -            <arg value="-uriroot"/>
   1.603 -            <arg file="${basedir}/${build.web.dir}"/>
   1.604 -            <arg value="-d"/>
   1.605 -            <arg file="${basedir}/${build.generated.dir}/src"/>
   1.606 -            <arg value="-die1"/>
   1.607 -            <arg value="-schemas ${jspc.schemas}"/>
   1.608 -            <arg value="-dtds ${jspc.dtds}"/>
   1.609 -            <arg value="-compilerSourceVM ${javac.source}"/>
   1.610 -            <arg value="-compilerTargetVM ${javac.target}"/>
   1.611 -            <arg value="-javaEncoding ${source.encoding}"/>
   1.612 -            <arg value="-sysClasspath ${libs.jsp-compilation-syscp.classpath}"/>
   1.613 -            <classpath path="${java.home}/../lib/tools.jar:${libs.jsp-compiler.classpath}:${libs.jsp-compilation.classpath}"/>
   1.614 -        </java>
   1.615 -        <mkdir dir="${build.generated.dir}/classes"/>
   1.616 -        <webproject2:javac classpath="${build.classes.dir}:${libs.jsp-compilation.classpath}:${javac.classpath}:${j2ee.platform.classpath}" destdir="${build.generated.dir}/classes" srcdir="${build.generated.dir}/src"/>
   1.617 -    </target>
   1.618 -    <target depends="compile" if="jsp.includes" name="-do-compile-single-jsp">
   1.619 -        <fail unless="javac.jsp.includes">Must select some files in the IDE or set javac.jsp.includes</fail>
   1.620 -        <mkdir dir="${build.generated.dir}/src"/>
   1.621 -        <java classname="org.netbeans.modules.web.project.ant.JspCSingle" failonerror="true" fork="true">
   1.622 -            <arg value="-uriroot"/>
   1.623 -            <arg file="${basedir}/${build.web.dir}"/>
   1.624 -            <arg value="-d"/>
   1.625 -            <arg file="${basedir}/${build.generated.dir}/src"/>
   1.626 -            <arg value="-die1"/>
   1.627 -            <arg value="-schemas ${jspc.schemas}"/>
   1.628 -            <arg value="-dtds ${jspc.dtds}"/>
   1.629 -            <arg value="-sysClasspath ${libs.jsp-compilation-syscp.classpath}"/>
   1.630 -            <arg value="-jspc.files"/>
   1.631 -            <arg path="${jsp.includes}"/>
   1.632 -            <arg value="-compilerSourceVM ${javac.source}"/>
   1.633 -            <arg value="-compilerTargetVM ${javac.target}"/>
   1.634 -            <arg value="-javaEncoding ${source.encoding}"/>
   1.635 -            <classpath path="${java.home}/../lib/tools.jar:${libs.jsp-compiler.classpath}:${libs.jsp-compilation.classpath}"/>
   1.636 -        </java>
   1.637 -        <mkdir dir="${build.generated.dir}/classes"/>
   1.638 -        <webproject2:javac classpath="${build.classes.dir}:${libs.jsp-compilation.classpath}:${javac.classpath}:${j2ee.platform.classpath}" destdir="${build.generated.dir}/classes" srcdir="${build.generated.dir}/src">
   1.639 -            <customize>
   1.640 -                <patternset includes="${javac.jsp.includes}"/>
   1.641 -            </customize>
   1.642 -        </webproject2:javac>
   1.643 -    </target>
   1.644 -    <target name="compile-single-jsp">
   1.645 -        <fail unless="jsp.includes">Must select a file in the IDE or set jsp.includes</fail>
   1.646 -        <antcall target="-do-compile-single-jsp"/>
   1.647 -    </target>
   1.648 -    <!--
   1.649 -                DIST BUILDING SECTION
   1.650 -            -->
   1.651 -    <target name="-pre-dist">
   1.652 -        <!-- Empty placeholder for easier customization. -->
   1.653 -        <!-- You can override this target in the ../build.xml file. -->
   1.654 -    </target>
   1.655 -    <target depends="init,compile,compile-jsps,-pre-dist" if="do.war.package.without.custom.manifest" name="-do-dist-without-manifest">
   1.656 -        <dirname file="${dist.war}" property="dist.jar.dir"/>
   1.657 -        <mkdir dir="${dist.jar.dir}"/>
   1.658 -        <jar compress="${jar.compress}" jarfile="${dist.war}">
   1.659 -            <fileset dir="${build.web.dir}"/>
   1.660 -        </jar>
   1.661 -    </target>
   1.662 -    <target depends="init,compile,compile-jsps,-pre-dist" if="do.war.package.with.custom.manifest" name="-do-dist-with-manifest">
   1.663 -        <dirname file="${dist.war}" property="dist.jar.dir"/>
   1.664 -        <mkdir dir="${dist.jar.dir}"/>
   1.665 -        <jar compress="${jar.compress}" jarfile="${dist.war}" manifest="${build.meta.inf.dir}/MANIFEST.MF">
   1.666 -            <fileset dir="${build.web.dir}"/>
   1.667 -        </jar>
   1.668 -    </target>
   1.669 -    <target depends="init,compile,compile-jsps,-pre-dist" if="do.tmp.war.package.without.custom.manifest" name="-do-tmp-dist-without-manifest">
   1.670 -        <dirname file="${dist.war}" property="dist.jar.dir"/>
   1.671 -        <mkdir dir="${dist.jar.dir}"/>
   1.672 -        <jar compress="${jar.compress}" jarfile="${dist.war}">
   1.673 -            <fileset dir="${build.web.dir}"/>
   1.674 -        </jar>
   1.675 -    </target>
   1.676 -    <target depends="init,compile,compile-jsps,-pre-dist" if="do.tmp.war.package.with.custom.manifest" name="-do-tmp-dist-with-manifest">
   1.677 -        <dirname file="${dist.war}" property="dist.jar.dir"/>
   1.678 -        <mkdir dir="${dist.jar.dir}"/>
   1.679 -        <jar compress="${jar.compress}" jarfile="${dist.war}" manifest="${build.meta.inf.dir}/MANIFEST.MF">
   1.680 -            <fileset dir="${build.web.dir}"/>
   1.681 -        </jar>
   1.682 -    </target>
   1.683 -    <target depends="init,compile,compile-jsps,-pre-dist,-do-dist-with-manifest,-do-dist-without-manifest" name="do-dist"/>
   1.684 -    <target depends="init" if="dist.ear.dir" name="library-inclusion-in-manifest">
   1.685 -        <copyfiles files="${reference.nekurak_net-lib.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
   1.686 -        <mkdir dir="${build.web.dir}/META-INF"/>
   1.687 -        <manifest file="${build.web.dir}/META-INF/MANIFEST.MF" mode="update"/>
   1.688 -    </target>
   1.689 -    <target depends="init" name="library-inclusion-in-archive" unless="dist.ear.dir">
   1.690 -        <copyfiles files="${reference.nekurak_net-lib.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
   1.691 -    </target>
   1.692 -    <target depends="init" if="dist.ear.dir" name="-clean-webinf-lib">
   1.693 -        <delete dir="${build.web.dir}/WEB-INF/lib"/>
   1.694 -    </target>
   1.695 -    <target depends="init,-clean-webinf-lib,compile,compile-jsps,-pre-dist,library-inclusion-in-manifest" if="do.tmp.war.package" name="do-ear-dist">
   1.696 -        <dirname file="${dist.ear.war}" property="dist.jar.dir"/>
   1.697 -        <mkdir dir="${dist.jar.dir}"/>
   1.698 -        <jar compress="${jar.compress}" jarfile="${dist.ear.war}" manifest="${build.web.dir}/META-INF/MANIFEST.MF">
   1.699 -            <fileset dir="${build.web.dir}"/>
   1.700 -        </jar>
   1.701 -    </target>
   1.702 -    <target name="-post-dist">
   1.703 -        <!-- Empty placeholder for easier customization. -->
   1.704 -        <!-- You can override this target in the ../build.xml file. -->
   1.705 -    </target>
   1.706 -    <target depends="init,compile,-pre-dist,do-dist,-post-dist" description="Build distribution (WAR)." name="dist"/>
   1.707 -    <target depends="init,-clean-webinf-lib,-init-cos,compile,-pre-dist,do-ear-dist,-post-dist" description="Build distribution (WAR) to be packaged into an EAR." name="dist-ear"/>
   1.708 -    <!--
   1.709 -                EXECUTION SECTION
   1.710 -            -->
   1.711 -    <target depends="run-deploy,run-display-browser" description="Deploy to server and show in browser." name="run"/>
   1.712 -    <target name="-pre-run-deploy">
   1.713 -        <!-- Empty placeholder for easier customization. -->
   1.714 -        <!-- You can override this target in the ../build.xml file. -->
   1.715 -    </target>
   1.716 -    <target name="-post-run-deploy">
   1.717 -        <!-- Empty placeholder for easier customization. -->
   1.718 -        <!-- You can override this target in the ../build.xml file. -->
   1.719 -    </target>
   1.720 -    <target name="-pre-nbmodule-run-deploy">
   1.721 -        <!-- Empty placeholder for easier customization. -->
   1.722 -        <!-- This target can be overriden by NetBeans modules. Don't override it directly, use -pre-run-deploy task instead. -->
   1.723 -    </target>
   1.724 -    <target name="-post-nbmodule-run-deploy">
   1.725 -        <!-- Empty placeholder for easier customization. -->
   1.726 -        <!-- This target can be overriden by NetBeans modules. Don't override it directly, use -post-run-deploy task instead. -->
   1.727 -    </target>
   1.728 -    <target name="-run-deploy-am">
   1.729 -        <!-- Task to deploy to the Access Manager runtime. -->
   1.730 -    </target>
   1.731 -    <target depends="init,-init-cos,compile,compile-jsps,-do-compile-single-jsp,-pre-dist,-do-tmp-dist-with-manifest,-do-tmp-dist-without-manifest,-pre-run-deploy,-pre-nbmodule-run-deploy,-run-deploy-nb,-init-deploy-ant,-deploy-ant,-run-deploy-am,-post-nbmodule-run-deploy,-post-run-deploy" name="run-deploy">
   1.732 -        <nbjpdaappreloaded/>
   1.733 -    </target>
   1.734 -    <target if="netbeans.home" name="-run-deploy-nb">
   1.735 -        <nbdeploy clientUrlPart="${client.urlPart}" debugmode="false" forceRedeploy="${forceRedeploy}"/>
   1.736 -    </target>
   1.737 -    <target name="-init-deploy-ant" unless="netbeans.home">
   1.738 -        <property name="deploy.ant.archive" value="${dist.war}"/>
   1.739 -        <property name="deploy.ant.docbase.dir" value="${web.docbase.dir}"/>
   1.740 -        <property name="deploy.ant.resource.dir" value="${resource.dir}"/>
   1.741 -        <property name="deploy.ant.enabled" value="true"/>
   1.742 -    </target>
   1.743 -    <target depends="dist,-run-undeploy-nb,-init-deploy-ant,-undeploy-ant" name="run-undeploy"/>
   1.744 -    <target if="netbeans.home" name="-run-undeploy-nb">
   1.745 -        <fail message="Undeploy is not supported from within the IDE"/>
   1.746 -    </target>
   1.747 -    <target depends="init,-pre-dist,dist,-post-dist" name="verify">
   1.748 -        <nbverify file="${dist.war}"/>
   1.749 -    </target>
   1.750 -    <target depends="run-deploy,-init-display-browser,-display-browser-nb,-display-browser-cl" name="run-display-browser"/>
   1.751 -    <target if="do.display.browser" name="-init-display-browser">
   1.752 -        <condition property="do.display.browser.nb">
   1.753 -            <isset property="netbeans.home"/>
   1.754 -        </condition>
   1.755 -        <condition property="do.display.browser.cl">
   1.756 -            <isset property="deploy.ant.enabled"/>
   1.757 -        </condition>
   1.758 -    </target>
   1.759 -    <target if="do.display.browser.nb" name="-display-browser-nb">
   1.760 -        <nbbrowse url="${client.url}"/>
   1.761 -    </target>
   1.762 -    <target if="do.display.browser.cl" name="-get-browser" unless="browser">
   1.763 -        <condition property="browser" value="rundll32">
   1.764 -            <os family="windows"/>
   1.765 -        </condition>
   1.766 -        <condition else="" property="browser.args" value="url.dll,FileProtocolHandler">
   1.767 -            <os family="windows"/>
   1.768 -        </condition>
   1.769 -        <condition property="browser" value="/usr/bin/open">
   1.770 -            <os family="mac"/>
   1.771 -        </condition>
   1.772 -        <property environment="env"/>
   1.773 -        <condition property="browser" value="${env.BROWSER}">
   1.774 -            <isset property="env.BROWSER"/>
   1.775 -        </condition>
   1.776 -        <condition property="browser" value="/usr/bin/firefox">
   1.777 -            <available file="/usr/bin/firefox"/>
   1.778 -        </condition>
   1.779 -        <condition property="browser" value="/usr/local/firefox/firefox">
   1.780 -            <available file="/usr/local/firefox/firefox"/>
   1.781 -        </condition>
   1.782 -        <condition property="browser" value="/usr/bin/mozilla">
   1.783 -            <available file="/usr/bin/mozilla"/>
   1.784 -        </condition>
   1.785 -        <condition property="browser" value="/usr/local/mozilla/mozilla">
   1.786 -            <available file="/usr/local/mozilla/mozilla"/>
   1.787 -        </condition>
   1.788 -        <condition property="browser" value="/usr/sfw/lib/firefox/firefox">
   1.789 -            <available file="/usr/sfw/lib/firefox/firefox"/>
   1.790 -        </condition>
   1.791 -        <condition property="browser" value="/opt/csw/bin/firefox">
   1.792 -            <available file="/opt/csw/bin/firefox"/>
   1.793 -        </condition>
   1.794 -        <condition property="browser" value="/usr/sfw/lib/mozilla/mozilla">
   1.795 -            <available file="/usr/sfw/lib/mozilla/mozilla"/>
   1.796 -        </condition>
   1.797 -        <condition property="browser" value="/opt/csw/bin/mozilla">
   1.798 -            <available file="/opt/csw/bin/mozilla"/>
   1.799 -        </condition>
   1.800 -    </target>
   1.801 -    <target depends="-get-browser" if="do.display.browser.cl" name="-display-browser-cl">
   1.802 -        <fail unless="browser">
   1.803 -                    Browser not found, cannot launch the deployed application. Try to set the BROWSER environment variable.
   1.804 -                </fail>
   1.805 -        <property name="browse.url" value="${deploy.ant.client.url}${client.urlPart}"/>
   1.806 -        <echo>Launching ${browse.url}</echo>
   1.807 -        <exec executable="${browser}" spawn="true">
   1.808 -            <arg line="${browser.args} ${browse.url}"/>
   1.809 -        </exec>
   1.810 -    </target>
   1.811 -    <target depends="init,-init-cos,compile-single" name="run-main">
   1.812 -        <fail unless="run.class">Must select one file in the IDE or set run.class</fail>
   1.813 -        <webproject1:java classname="${run.class}"/>
   1.814 -    </target>
   1.815 -    <target depends="init,compile-test-single,-pre-test-run-single" name="run-test-with-main">
   1.816 -        <fail unless="run.class">Must select one file in the IDE or set run.class</fail>
   1.817 -        <webproject1:java classname="${run.class}" classpath="${run.test.classpath}"/>
   1.818 -    </target>
   1.819 -    <!--
   1.820 -                DEBUGGING SECTION
   1.821 -            -->
   1.822 -    <target depends="init,-init-cos,compile,compile-jsps,-do-compile-single-jsp,-pre-dist,-do-tmp-dist-with-manifest,-do-tmp-dist-without-manifest" description="Debug project in IDE." if="netbeans.home" name="debug">
   1.823 -        <nbstartserver debugmode="true"/>
   1.824 -        <antcall target="connect-debugger"/>
   1.825 -        <nbdeploy clientUrlPart="${client.urlPart}" debugmode="true" forceRedeploy="true"/>
   1.826 -        <antcall target="debug-display-browser"/>
   1.827 -        <antcall target="connect-client-debugger"/>
   1.828 -    </target>
   1.829 -    <target if="do.debug.server" name="connect-debugger" unless="is.debugged">
   1.830 -        <nbjpdaconnect address="${jpda.address}" host="${jpda.host}" name="${name}" transport="${jpda.transport}">
   1.831 -            <classpath>
   1.832 -                <path path="${debug.classpath}:${j2ee.platform.classpath}"/>
   1.833 -            </classpath>
   1.834 -            <sourcepath>
   1.835 -                <path path="${web.docbase.dir}"/>
   1.836 -            </sourcepath>
   1.837 -        </nbjpdaconnect>
   1.838 -    </target>
   1.839 -    <target if="do.display.browser.debug" name="debug-display-browser">
   1.840 -        <nbbrowse url="${client.url}"/>
   1.841 -    </target>
   1.842 -    <target if="do.debug.client" name="connect-client-debugger">
   1.843 -        <webproject1:nbjsdebugstart webUrl="${client.url}"/>
   1.844 -    </target>
   1.845 -    <target depends="init,compile-test-single" if="netbeans.home" name="-debug-start-debuggee-main-test">
   1.846 -        <fail unless="debug.class">Must select one file in the IDE or set debug.class</fail>
   1.847 -        <webproject1:debug classname="${debug.class}" classpath="${debug.test.classpath}"/>
   1.848 -    </target>
   1.849 -    <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.850 -    <target depends="init,compile,compile-jsps,-do-compile-single-jsp,debug" if="netbeans.home" name="debug-single"/>
   1.851 -    <target depends="init" if="netbeans.home" name="-debug-start-debugger-main-test">
   1.852 -        <webproject1:nbjpdastart classpath="${debug.test.classpath}" name="${debug.class}"/>
   1.853 -    </target>
   1.854 -    <target depends="init" if="netbeans.home" name="-debug-start-debugger">
   1.855 -        <webproject1:nbjpdastart name="${debug.class}"/>
   1.856 -    </target>
   1.857 -    <target depends="init,compile-single" if="netbeans.home" name="-debug-start-debuggee-single">
   1.858 -        <fail unless="debug.class">Must select one file in the IDE or set debug.class</fail>
   1.859 -        <webproject1:debug classname="${debug.class}"/>
   1.860 -    </target>
   1.861 -    <target depends="init,compile-single,-debug-start-debugger,-debug-start-debuggee-single" if="netbeans.home" name="debug-single-main"/>
   1.862 -    <target depends="init" name="-pre-debug-fix">
   1.863 -        <fail unless="fix.includes">Must set fix.includes</fail>
   1.864 -        <property name="javac.includes" value="${fix.includes}.java"/>
   1.865 -    </target>
   1.866 -    <target depends="init,-pre-debug-fix,compile-single" if="netbeans.home" name="-do-debug-fix">
   1.867 -        <webproject1:nbjpdareload/>
   1.868 -    </target>
   1.869 -    <target depends="init,-pre-debug-fix,-do-debug-fix" if="netbeans.home" name="debug-fix"/>
   1.870 -    <!--
   1.871 -            =================
   1.872 -            PROFILING SECTION
   1.873 -            =================
   1.874 -            -->
   1.875 -    <target description="Profile a J2EE project in the IDE." name="profile">
   1.876 -        <condition else="start-profiled-server" property="profiler.startserver.target" value="start-profiled-server-extraargs">
   1.877 -            <isset property="profiler.info.jvmargs.extra"/>
   1.878 -        </condition>
   1.879 -        <antcall target="${profiler.startserver.target}"/>
   1.880 -        <antcall target="run"/>
   1.881 -        <antcall target="start-loadgen"/>
   1.882 -    </target>
   1.883 -    <target name="start-profiled-server">
   1.884 -        <nbstartprofiledserver forceRestart="${profiler.j2ee.serverForceRestart}" javaPlatform="${profiler.info.javaPlatform}" startupTimeout="${profiler.j2ee.serverStartupTimeout}">
   1.885 -            <jvmarg value="${profiler.info.jvmargs.agent}"/>
   1.886 -            <jvmarg value="${profiler.j2ee.agentID}"/>
   1.887 -        </nbstartprofiledserver>
   1.888 -    </target>
   1.889 -    <target name="start-profiled-server-extraargs">
   1.890 -        <nbstartprofiledserver forceRestart="${profiler.j2ee.serverForceRestart}" javaPlatform="${profiler.info.javaPlatform}" startupTimeout="${profiler.j2ee.serverStartupTimeout}">
   1.891 -            <jvmarg value="${profiler.info.jvmargs.extra}"/>
   1.892 -            <jvmarg value="${profiler.info.jvmargs.agent}"/>
   1.893 -            <jvmarg value="${profiler.j2ee.agentID}"/>
   1.894 -        </nbstartprofiledserver>
   1.895 -    </target>
   1.896 -    <target if="profiler.loadgen.path" name="start-loadgen">
   1.897 -        <loadgenstart path="${profiler.loadgen.path}"/>
   1.898 -    </target>
   1.899 -    <!--
   1.900 -                JAVADOC SECTION
   1.901 -            -->
   1.902 -    <target depends="init" if="have.sources" name="javadoc-build">
   1.903 -        <mkdir dir="${dist.javadoc.dir}"/>
   1.904 -        <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.905 -            <classpath>
   1.906 -                <path path="${javac.classpath}:${j2ee.platform.classpath}"/>
   1.907 -            </classpath>
   1.908 -            <fileset dir="${src.dir}" excludes="${excludes}" includes="${includes}">
   1.909 -                <filename name="**/*.java"/>
   1.910 -            </fileset>
   1.911 -            <fileset dir="${build.generated.sources.dir}" erroronmissingdir="false">
   1.912 -                <include name="**/*.java"/>
   1.913 -            </fileset>
   1.914 -        </javadoc>
   1.915 -        <copy todir="${dist.javadoc.dir}">
   1.916 -            <fileset dir="${src.dir}" excludes="${excludes}" includes="${includes}">
   1.917 -                <filename name="**/doc-files/**"/>
   1.918 -            </fileset>
   1.919 -            <fileset dir="${build.generated.sources.dir}" erroronmissingdir="false">
   1.920 -                <include name="**/doc-files/**"/>
   1.921 -            </fileset>
   1.922 -        </copy>
   1.923 -    </target>
   1.924 -    <target depends="init,javadoc-build" if="netbeans.home" name="javadoc-browse" unless="no.javadoc.preview">
   1.925 -        <nbbrowse file="${dist.javadoc.dir}/index.html"/>
   1.926 -    </target>
   1.927 -    <target depends="init,javadoc-build,javadoc-browse" description="Build Javadoc." name="javadoc"/>
   1.928 -    <!--
   1.929 -                
   1.930 -                JUNIT COMPILATION SECTION
   1.931 -            -->
   1.932 -    <target depends="init,compile" if="have.tests" name="-pre-pre-compile-test">
   1.933 -        <mkdir dir="${build.test.classes.dir}"/>
   1.934 -        <property name="j2ee.platform.embeddableejb.classpath" value=""/>
   1.935 -    </target>
   1.936 -    <target name="-pre-compile-test">
   1.937 -        <!-- Empty placeholder for easier customization. -->
   1.938 -        <!-- You can override this target in the ../build.xml file. -->
   1.939 -    </target>
   1.940 -    <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test" if="have.tests" name="-do-compile-test">
   1.941 -        <webproject2:javac classpath="${javac.test.classpath}:${j2ee.platform.classpath}:${j2ee.platform.embeddableejb.classpath}" debug="true" destdir="${build.test.classes.dir}" srcdir="${test.src.dir}"/>
   1.942 -        <copy todir="${build.test.classes.dir}">
   1.943 -            <fileset dir="${test.src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
   1.944 -        </copy>
   1.945 -    </target>
   1.946 -    <target name="-post-compile-test">
   1.947 -        <!-- Empty placeholder for easier customization. -->
   1.948 -        <!-- You can override this target in the ../build.xml file. -->
   1.949 -    </target>
   1.950 -    <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test,-do-compile-test,-post-compile-test" name="compile-test"/>
   1.951 -    <target name="-pre-compile-test-single">
   1.952 -        <!-- Empty placeholder for easier customization. -->
   1.953 -        <!-- You can override this target in the ../build.xml file. -->
   1.954 -    </target>
   1.955 -    <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test-single" if="have.tests" name="-do-compile-test-single">
   1.956 -        <fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail>
   1.957 -        <webproject2:javac classpath="${javac.test.classpath}:${j2ee.platform.classpath}:${j2ee.platform.embeddableejb.classpath}" debug="true" destdir="${build.test.classes.dir}" excludes="" includes="${javac.includes}" srcdir="${test.src.dir}"/>
   1.958 -        <copy todir="${build.test.classes.dir}">
   1.959 -            <fileset dir="${test.src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
   1.960 -        </copy>
   1.961 -    </target>
   1.962 -    <target name="-post-compile-test-single">
   1.963 -        <!-- Empty placeholder for easier customization. -->
   1.964 -        <!-- You can override this target in the ../build.xml file. -->
   1.965 -    </target>
   1.966 -    <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.967 -    <!--
   1.968 -                
   1.969 -                JUNIT EXECUTION SECTION
   1.970 -            -->
   1.971 -    <target depends="init" if="have.tests" name="-pre-test-run">
   1.972 -        <mkdir dir="${build.test.results.dir}"/>
   1.973 -    </target>
   1.974 -    <target depends="init,compile-test,-pre-test-run" if="have.tests" name="-do-test-run">
   1.975 -        <webproject2:junit testincludes="**/*Test.java"/>
   1.976 -    </target>
   1.977 -    <target depends="init,compile-test,-pre-test-run,-do-test-run" if="have.tests" name="-post-test-run">
   1.978 -        <fail if="tests.failed" unless="ignore.failing.tests">Some tests failed; see details above.</fail>
   1.979 -    </target>
   1.980 -    <target depends="init" if="have.tests" name="test-report"/>
   1.981 -    <target depends="init" if="netbeans.home+have.tests" name="-test-browse"/>
   1.982 -    <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.983 -    <target depends="init" if="have.tests" name="-pre-test-run-single">
   1.984 -        <mkdir dir="${build.test.results.dir}"/>
   1.985 -    </target>
   1.986 -    <target depends="init,compile-test-single,-pre-test-run-single" if="have.tests" name="-do-test-run-single">
   1.987 -        <fail unless="test.includes">Must select some files in the IDE or set test.includes</fail>
   1.988 -        <webproject2:junit excludes="" includes="${test.includes}"/>
   1.989 -    </target>
   1.990 -    <target depends="init,compile-test-single,-pre-test-run-single,-do-test-run-single" if="have.tests" name="-post-test-run-single">
   1.991 -        <fail if="tests.failed" unless="ignore.failing.tests">Some tests failed; see details above.</fail>
   1.992 -    </target>
   1.993 -    <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.994 -    <!--
   1.995 -                
   1.996 -                JUNIT DEBUGGING SECTION
   1.997 -            -->
   1.998 -    <target depends="init,compile-test" if="have.tests" name="-debug-start-debuggee-test">
   1.999 -        <fail unless="test.class">Must select one file in the IDE or set test.class</fail>
  1.1000 -        <property location="${build.test.results.dir}/TEST-${test.class}.xml" name="test.report.file"/>
  1.1001 -        <delete file="${test.report.file}"/>
  1.1002 -        <!-- must exist, otherwise the XML formatter would fail -->
  1.1003 -        <mkdir dir="${build.test.results.dir}"/>
  1.1004 -        <webproject1:debug args="${test.class}" classname="org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner" classpath="${ant.home}/lib/ant.jar:${ant.home}/lib/ant-junit.jar:${debug.test.classpath}:${j2ee.platform.embeddableejb.classpath}">
  1.1005 -            <customize>
  1.1006 -                <arg value="showoutput=true"/>
  1.1007 -                <arg value="formatter=org.apache.tools.ant.taskdefs.optional.junit.BriefJUnitResultFormatter"/>
  1.1008 -                <arg value="formatter=org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter,${test.report.file}"/>
  1.1009 -            </customize>
  1.1010 -        </webproject1:debug>
  1.1011 -    </target>
  1.1012 -    <target depends="init,compile-test" if="netbeans.home+have.tests" name="-debug-start-debugger-test">
  1.1013 -        <webproject1:nbjpdastart classpath="${debug.test.classpath}" name="${test.class}"/>
  1.1014 -    </target>
  1.1015 -    <target depends="init,compile-test,-debug-start-debugger-test,-debug-start-debuggee-test" name="debug-test"/>
  1.1016 -    <target depends="init,-pre-debug-fix,compile-test-single" if="netbeans.home" name="-do-debug-fix-test">
  1.1017 -        <webproject1:nbjpdareload dir="${build.test.classes.dir}"/>
  1.1018 -    </target>
  1.1019 -    <target depends="init,-pre-debug-fix,-do-debug-fix-test" if="netbeans.home" name="debug-fix-test"/>
  1.1020 -    <!--
  1.1021 -        =========================
  1.1022 -        TESTS PROFILING  SECTION
  1.1023 -        =========================
  1.1024 -        -->
  1.1025 -    <target depends="profile-init,compile-test-single" if="netbeans.home" name="profile-test-single">
  1.1026 -        <nbprofiledirect>
  1.1027 -            <classpath>
  1.1028 -                <path path="${run.test.classpath}"/>
  1.1029 -                <path path="${j2ee.platform.classpath}"/>
  1.1030 -            </classpath>
  1.1031 -        </nbprofiledirect>
  1.1032 -        <junit dir="${profiler.info.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" jvm="${profiler.info.jvm}" showoutput="true">
  1.1033 -            <env key="${profiler.info.pathvar}" path="${profiler.info.agentpath}:${profiler.current.path}"/>
  1.1034 -            <jvmarg value="${profiler.info.jvmargs.agent}"/>
  1.1035 -            <jvmarg line="${profiler.info.jvmargs}"/>
  1.1036 -            <test name="${profile.class}"/>
  1.1037 -            <classpath>
  1.1038 -                <path path="${run.test.classpath}"/>
  1.1039 -                <path path="${j2ee.platform.classpath}"/>
  1.1040 -            </classpath>
  1.1041 -            <syspropertyset>
  1.1042 -                <propertyref prefix="test-sys-prop."/>
  1.1043 -                <mapper from="test-sys-prop.*" to="*" type="glob"/>
  1.1044 -            </syspropertyset>
  1.1045 -            <formatter type="brief" usefile="false"/>
  1.1046 -            <formatter type="xml"/>
  1.1047 -        </junit>
  1.1048 -    </target>
  1.1049 -    <!--
  1.1050 -                
  1.1051 -                CLEANUP SECTION
  1.1052 -            -->
  1.1053 -    <target depends="init" if="no.dist.ear.dir" name="deps-clean" unless="no.deps">
  1.1054 -        <ant antfile="${project.nekurak_net-lib}/build.xml" inheritall="false" target="clean"/>
  1.1055 -    </target>
  1.1056 -    <target depends="init" name="do-clean">
  1.1057 -        <condition property="build.dir.to.clean" value="${build.web.dir}">
  1.1058 -            <isset property="dist.ear.dir"/>
  1.1059 -        </condition>
  1.1060 -        <property name="build.dir.to.clean" value="${build.web.dir}"/>
  1.1061 -        <delete includeEmptyDirs="true" quiet="true">
  1.1062 -            <fileset dir="${build.dir.to.clean}/WEB-INF/lib"/>
  1.1063 -        </delete>
  1.1064 -        <delete dir="${build.dir}"/>
  1.1065 -        <available file="${build.dir.to.clean}/WEB-INF/lib" property="status.clean-failed" type="dir"/>
  1.1066 -        <delete dir="${dist.dir}"/>
  1.1067 -    </target>
  1.1068 -    <target depends="do-clean" if="status.clean-failed" name="check-clean">
  1.1069 -        <echo message="Warning: unable to delete some files in ${build.web.dir}/WEB-INF/lib - they are probably locked by the J2EE server. "/>
  1.1070 -        <echo level="info" message="To delete all files undeploy the module from Server Registry in Runtime tab and then use Clean again."/>
  1.1071 -    </target>
  1.1072 -    <target depends="init" if="netbeans.home" name="undeploy-clean">
  1.1073 -        <nbundeploy failOnError="false" startServer="false"/>
  1.1074 -    </target>
  1.1075 -    <target name="-post-clean">
  1.1076 -        <!-- Empty placeholder for easier customization. -->
  1.1077 -        <!-- You can override this target in the ../build.xml file. -->
  1.1078 -    </target>
  1.1079 -    <target depends="init,undeploy-clean,deps-clean,do-clean,check-clean,-post-clean" description="Clean build products." name="clean"/>
  1.1080 -    <target depends="clean" description="Clean build products." name="clean-ear"/>
  1.1081 -</project>