changeset 14:bdda29b7a55b

Convert to freeform project.
author Mikhail Kryshen <mikhail@kryshen.net>
date Tue, 03 Nov 2009 03:00:18 +0300
parents 618d0df5d46c
children 7ab85cf3fcda
files .hgignore build.xml nbproject/build-impl.xml nbproject/genfiles.properties nbproject/project.properties nbproject/project.xml
diffstat 6 files changed, 57 insertions(+), 863 deletions(-) [+]
line diff
     1.1 --- a/.hgignore	Tue Nov 03 01:59:59 2009 +0300
     1.2 +++ b/.hgignore	Tue Nov 03 03:00:18 2009 +0300
     1.3 @@ -1,5 +1,12 @@
     1.4 +^build.properties$
     1.5 +^build$
     1.6 +^nbproject/private$
     1.7 +^dist/.*\.jar$
     1.8 +^.*\.tar\.(gz|bz2)$
     1.9 +
    1.10  \.orig$
    1.11  \.orig\..*$
    1.12  \.chg\..*$
    1.13  \.rej$
    1.14  \.conflict\~$
    1.15 +\~$
     2.1 --- a/build.xml	Tue Nov 03 01:59:59 2009 +0300
     2.2 +++ b/build.xml	Tue Nov 03 03:00:18 2009 +0300
     2.3 @@ -1,74 +1,62 @@
     2.4  <?xml version="1.0" encoding="UTF-8"?>
     2.5 -<!-- You may freely edit this file. See commented blocks below for -->
     2.6 -<!-- some examples of how to customize the build. -->
     2.7 -<!-- (If you delete it and reopen the project it will be recreated.) -->
     2.8 -<!-- By default, only the Clean and Build commands use this build script. -->
     2.9 -<!-- Commands such as Run, Debug, and Test only use this build script if -->
    2.10 -<!-- the Compile on Save feature is turned off for the project. -->
    2.11 -<!-- You can turn off the Compile on Save (or Deploy on Save) setting -->
    2.12 -<!-- in the project's Project Properties dialog box.-->
    2.13 -<project name="userconfig" default="default" basedir=".">
    2.14 -    <description>Builds, tests, and runs the project userconfig.</description>
    2.15 -    <import file="nbproject/build-impl.xml"/>
    2.16 -    <!--
    2.17  
    2.18 -    There exist several targets which are by default empty and which can be 
    2.19 -    used for execution of your tasks. These targets are usually executed 
    2.20 -    before and after some main targets. They are: 
    2.21 +<project name="userconfig" default="dist" basedir=".">
    2.22 +    <property file="build.properties"/>
    2.23  
    2.24 -      -pre-init:                 called before initialization of project properties
    2.25 -      -post-init:                called after initialization of project properties
    2.26 -      -pre-compile:              called before javac compilation
    2.27 -      -post-compile:             called after javac compilation
    2.28 -      -pre-compile-single:       called before javac compilation of single file
    2.29 -      -post-compile-single:      called after javac compilation of single file
    2.30 -      -pre-compile-test:         called before javac compilation of JUnit tests
    2.31 -      -post-compile-test:        called after javac compilation of JUnit tests
    2.32 -      -pre-compile-test-single:  called before javac compilation of single JUnit test
    2.33 -      -post-compile-test-single: called after javac compilation of single JUunit test
    2.34 -      -pre-jar:                  called before JAR building
    2.35 -      -post-jar:                 called after JAR building
    2.36 -      -post-clean:               called after cleaning build products
    2.37 +    <property name="src"      value="src"/>
    2.38 +    <property name="build"    value="build"/>
    2.39 +    <property name="dist"     value="dist"/>
    2.40 +    <property name="jar"      value="${dist}/${ant.project.name}.jar"/>
    2.41  
    2.42 -    (Targets beginning with '-' are not intended to be called on their own.)
    2.43 +    <property name="catalina.home" value="/usr/share/tomcat"/>
    2.44  
    2.45 -    Example of inserting an obfuscator after compilation could look like this:
    2.46 +    <property name="catalina.jar" value="${catalina.home}/lib/catalina.jar"/>
    2.47 +    <property name="tomcat-juli.jar" value="${catalina.home}/bin/tomcat-juli.jar"/>
    2.48  
    2.49 -        <target name="-post-compile">
    2.50 -            <obfuscate>
    2.51 -                <fileset dir="${build.classes.dir}"/>
    2.52 -            </obfuscate>
    2.53 -        </target>
    2.54 +    <path id="compile.classpath">
    2.55 +        <pathelement location="${catalina.jar}"/>
    2.56 +        <pathelement location="${tomcat-juli.jar}"/>
    2.57 +    </path>
    2.58  
    2.59 -    For list of available properties check the imported 
    2.60 -    nbproject/build-impl.xml file. 
    2.61 +    <target name="init">
    2.62 +        <tstamp/>
    2.63 +        <mkdir dir="${build}"/>
    2.64 +    </target>
    2.65  
    2.66 +    <target name="compile" depends="init">
    2.67 +        <javac srcdir="${src}" destdir="${build}"
    2.68 +               source="1.5" target="1.5"
    2.69 +               deprecation="on" optimize="on" debug="on">
    2.70 +            <compilerarg value="-Xlint:unchecked"/>
    2.71 +            <classpath refid="compile.classpath"/>
    2.72 +        </javac>
    2.73 +    </target>
    2.74  
    2.75 -    Another way to customize the build is by overriding existing main targets.
    2.76 -    The targets of interest are: 
    2.77 +    <target name="dist" depends="compile">
    2.78 +        <jar jarfile="${jar}">
    2.79 +            <fileset dir="${build}" includes="**/*.class"/>
    2.80 +        </jar>
    2.81 +    </target>
    2.82  
    2.83 -      -init-macrodef-javac:     defines macro for javac compilation
    2.84 -      -init-macrodef-junit:     defines macro for junit execution
    2.85 -      -init-macrodef-debug:     defines macro for class debugging
    2.86 -      -init-macrodef-java:      defines macro for class execution
    2.87 -      -do-jar-with-manifest:    JAR building (if you are using a manifest)
    2.88 -      -do-jar-without-manifest: JAR building (if you are not using a manifest)
    2.89 -      run:                      execution of project 
    2.90 -      -javadoc-build:           Javadoc generation
    2.91 -      test-report:              JUnit report generation
    2.92 +    <target name="package" depends="dist">
    2.93 +        <tar destfile="${ant.project.name}-${DSTAMP}.tar.gz"
    2.94 +             compression="gzip">
    2.95 +            <tarfileset dir="${basedir}"
    2.96 +                        prefix="${ant.project.name}-${DSTAMP}">
    2.97 +                <exclude name="${build}/**"/>
    2.98 +                <exclude name="build.properties"/>
    2.99 +                <exclude name="nbproject/**"/>
   2.100 +                <exclude name="*.tar.gz"/>
   2.101 +                <exclude name=".*/**"/>
   2.102 +                <exclude name=".*"/>
   2.103 +            </tarfileset>
   2.104 +        </tar>
   2.105 +    </target>
   2.106  
   2.107 -    An example of overriding the target for project execution could look like this:
   2.108 -
   2.109 -        <target name="run" depends="userconfig-impl.jar">
   2.110 -            <exec dir="bin" executable="launcher.exe">
   2.111 -                <arg file="${dist.jar}"/>
   2.112 -            </exec>
   2.113 -        </target>
   2.114 -
   2.115 -    Notice that the overridden target depends on the jar target and not only on 
   2.116 -    the compile target as the regular run target does. Again, for a list of available 
   2.117 -    properties which you can use, check the target you are overriding in the
   2.118 -    nbproject/build-impl.xml file. 
   2.119 -
   2.120 -    -->
   2.121 +    <target name="clean">
   2.122 +        <delete>
   2.123 +            <fileset dir="${build}" includes="**/*.class"/>
   2.124 +        </delete>
   2.125 +        <delete file="${jar}"/>
   2.126 +    </target>
   2.127  </project>
     3.1 --- a/nbproject/build-impl.xml	Tue Nov 03 01:59:59 2009 +0300
     3.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.3 @@ -1,700 +0,0 @@
     3.4 -<?xml version="1.0" encoding="UTF-8"?>
     3.5 -<!--
     3.6 -*** GENERATED FROM project.xml - DO NOT EDIT  ***
     3.7 -***         EDIT ../build.xml INSTEAD         ***
     3.8 -
     3.9 -For the purpose of easier reading the script
    3.10 -is divided into following sections:
    3.11 -
    3.12 -  - initialization
    3.13 -  - compilation
    3.14 -  - jar
    3.15 -  - execution
    3.16 -  - debugging
    3.17 -  - javadoc
    3.18 -  - junit compilation
    3.19 -  - junit execution
    3.20 -  - junit debugging
    3.21 -  - applet
    3.22 -  - cleanup
    3.23 -
    3.24 -        -->
    3.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="userconfig-impl">
    3.26 -    <fail message="Please build using Ant 1.7.1 or higher.">
    3.27 -        <condition>
    3.28 -            <not>
    3.29 -                <antversion atleast="1.7.1"/>
    3.30 -            </not>
    3.31 -        </condition>
    3.32 -    </fail>
    3.33 -    <target depends="test,jar,javadoc" description="Build and test whole project." name="default"/>
    3.34 -    <!-- 
    3.35 -                ======================
    3.36 -                INITIALIZATION SECTION 
    3.37 -                ======================
    3.38 -            -->
    3.39 -    <target name="-pre-init">
    3.40 -        <!-- Empty placeholder for easier customization. -->
    3.41 -        <!-- You can override this target in the ../build.xml file. -->
    3.42 -    </target>
    3.43 -    <target depends="-pre-init" name="-init-private">
    3.44 -        <property file="nbproject/private/config.properties"/>
    3.45 -        <property file="nbproject/private/configs/${config}.properties"/>
    3.46 -        <property file="nbproject/private/private.properties"/>
    3.47 -    </target>
    3.48 -    <target depends="-pre-init,-init-private" name="-init-user">
    3.49 -        <property file="${user.properties.file}"/>
    3.50 -        <!-- The two properties below are usually overridden -->
    3.51 -        <!-- by the active platform. Just a fallback. -->
    3.52 -        <property name="default.javac.source" value="1.4"/>
    3.53 -        <property name="default.javac.target" value="1.4"/>
    3.54 -    </target>
    3.55 -    <target depends="-pre-init,-init-private,-init-user" name="-init-project">
    3.56 -        <property file="nbproject/configs/${config}.properties"/>
    3.57 -        <property file="nbproject/project.properties"/>
    3.58 -    </target>
    3.59 -    <target depends="-pre-init,-init-private,-init-user,-init-project,-init-macrodef-property" name="-do-init">
    3.60 -        <available file="${manifest.file}" property="manifest.available"/>
    3.61 -        <condition property="manifest.available+main.class">
    3.62 -            <and>
    3.63 -                <isset property="manifest.available"/>
    3.64 -                <isset property="main.class"/>
    3.65 -                <not>
    3.66 -                    <equals arg1="${main.class}" arg2="" trim="true"/>
    3.67 -                </not>
    3.68 -            </and>
    3.69 -        </condition>
    3.70 -        <condition property="manifest.available+main.class+mkdist.available">
    3.71 -            <and>
    3.72 -                <istrue value="${manifest.available+main.class}"/>
    3.73 -                <isset property="libs.CopyLibs.classpath"/>
    3.74 -            </and>
    3.75 -        </condition>
    3.76 -        <condition property="have.tests">
    3.77 -            <or>
    3.78 -                <available file="${test.src.dir}"/>
    3.79 -            </or>
    3.80 -        </condition>
    3.81 -        <condition property="have.sources">
    3.82 -            <or>
    3.83 -                <available file="${src.dir}"/>
    3.84 -            </or>
    3.85 -        </condition>
    3.86 -        <condition property="netbeans.home+have.tests">
    3.87 -            <and>
    3.88 -                <isset property="netbeans.home"/>
    3.89 -                <isset property="have.tests"/>
    3.90 -            </and>
    3.91 -        </condition>
    3.92 -        <condition property="no.javadoc.preview">
    3.93 -            <and>
    3.94 -                <isset property="javadoc.preview"/>
    3.95 -                <isfalse value="${javadoc.preview}"/>
    3.96 -            </and>
    3.97 -        </condition>
    3.98 -        <property name="run.jvmargs" value=""/>
    3.99 -        <property name="javac.compilerargs" value=""/>
   3.100 -        <property name="work.dir" value="${basedir}"/>
   3.101 -        <condition property="no.deps">
   3.102 -            <and>
   3.103 -                <istrue value="${no.dependencies}"/>
   3.104 -            </and>
   3.105 -        </condition>
   3.106 -        <property name="javac.debug" value="true"/>
   3.107 -        <property name="javadoc.preview" value="true"/>
   3.108 -        <property name="application.args" value=""/>
   3.109 -        <property name="source.encoding" value="${file.encoding}"/>
   3.110 -        <condition property="javadoc.encoding.used" value="${javadoc.encoding}">
   3.111 -            <and>
   3.112 -                <isset property="javadoc.encoding"/>
   3.113 -                <not>
   3.114 -                    <equals arg1="${javadoc.encoding}" arg2=""/>
   3.115 -                </not>
   3.116 -            </and>
   3.117 -        </condition>
   3.118 -        <property name="javadoc.encoding.used" value="${source.encoding}"/>
   3.119 -        <property name="includes" value="**"/>
   3.120 -        <property name="excludes" value=""/>
   3.121 -        <property name="do.depend" value="false"/>
   3.122 -        <condition property="do.depend.true">
   3.123 -            <istrue value="${do.depend}"/>
   3.124 -        </condition>
   3.125 -        <condition else="" property="javac.compilerargs.jaxws" value="-Djava.endorsed.dirs='${jaxws.endorsed.dir}'">
   3.126 -            <and>
   3.127 -                <isset property="jaxws.endorsed.dir"/>
   3.128 -                <available file="nbproject/jaxws-build.xml"/>
   3.129 -            </and>
   3.130 -        </condition>
   3.131 -    </target>
   3.132 -    <target name="-post-init">
   3.133 -        <!-- Empty placeholder for easier customization. -->
   3.134 -        <!-- You can override this target in the ../build.xml file. -->
   3.135 -    </target>
   3.136 -    <target depends="-pre-init,-init-private,-init-user,-init-project,-do-init" name="-init-check">
   3.137 -        <fail unless="src.dir">Must set src.dir</fail>
   3.138 -        <fail unless="test.src.dir">Must set test.src.dir</fail>
   3.139 -        <fail unless="build.dir">Must set build.dir</fail>
   3.140 -        <fail unless="dist.dir">Must set dist.dir</fail>
   3.141 -        <fail unless="build.classes.dir">Must set build.classes.dir</fail>
   3.142 -        <fail unless="dist.javadoc.dir">Must set dist.javadoc.dir</fail>
   3.143 -        <fail unless="build.test.classes.dir">Must set build.test.classes.dir</fail>
   3.144 -        <fail unless="build.test.results.dir">Must set build.test.results.dir</fail>
   3.145 -        <fail unless="build.classes.excludes">Must set build.classes.excludes</fail>
   3.146 -        <fail unless="dist.jar">Must set dist.jar</fail>
   3.147 -    </target>
   3.148 -    <target name="-init-macrodef-property">
   3.149 -        <macrodef name="property" uri="http://www.netbeans.org/ns/j2se-project/1">
   3.150 -            <attribute name="name"/>
   3.151 -            <attribute name="value"/>
   3.152 -            <sequential>
   3.153 -                <property name="@{name}" value="${@{value}}"/>
   3.154 -            </sequential>
   3.155 -        </macrodef>
   3.156 -    </target>
   3.157 -    <target name="-init-macrodef-javac">
   3.158 -        <macrodef name="javac" uri="http://www.netbeans.org/ns/j2se-project/3">
   3.159 -            <attribute default="${src.dir}" name="srcdir"/>
   3.160 -            <attribute default="${build.classes.dir}" name="destdir"/>
   3.161 -            <attribute default="${javac.classpath}" name="classpath"/>
   3.162 -            <attribute default="${includes}" name="includes"/>
   3.163 -            <attribute default="${excludes}" name="excludes"/>
   3.164 -            <attribute default="${javac.debug}" name="debug"/>
   3.165 -            <attribute default="${empty.dir}" name="sourcepath"/>
   3.166 -            <attribute default="${empty.dir}" name="gensrcdir"/>
   3.167 -            <element name="customize" optional="true"/>
   3.168 -            <sequential>
   3.169 -                <property location="${build.dir}/empty" name="empty.dir"/>
   3.170 -                <mkdir dir="${empty.dir}"/>
   3.171 -                <javac debug="@{debug}" deprecation="${javac.deprecation}" destdir="@{destdir}" encoding="${source.encoding}" excludes="@{excludes}" includeantruntime="false" includes="@{includes}" source="${javac.source}" sourcepath="@{sourcepath}" srcdir="@{srcdir}" target="${javac.target}">
   3.172 -                    <src>
   3.173 -                        <dirset dir="@{gensrcdir}" erroronmissingdir="false">
   3.174 -                            <include name="*"/>
   3.175 -                        </dirset>
   3.176 -                    </src>
   3.177 -                    <classpath>
   3.178 -                        <path path="@{classpath}"/>
   3.179 -                    </classpath>
   3.180 -                    <compilerarg line="${javac.compilerargs} ${javac.compilerargs.jaxws}"/>
   3.181 -                    <customize/>
   3.182 -                </javac>
   3.183 -            </sequential>
   3.184 -        </macrodef>
   3.185 -        <macrodef name="depend" uri="http://www.netbeans.org/ns/j2se-project/3">
   3.186 -            <attribute default="${src.dir}" name="srcdir"/>
   3.187 -            <attribute default="${build.classes.dir}" name="destdir"/>
   3.188 -            <attribute default="${javac.classpath}" name="classpath"/>
   3.189 -            <sequential>
   3.190 -                <depend cache="${build.dir}/depcache" destdir="@{destdir}" excludes="${excludes}" includes="${includes}" srcdir="@{srcdir}">
   3.191 -                    <classpath>
   3.192 -                        <path path="@{classpath}"/>
   3.193 -                    </classpath>
   3.194 -                </depend>
   3.195 -            </sequential>
   3.196 -        </macrodef>
   3.197 -        <macrodef name="force-recompile" uri="http://www.netbeans.org/ns/j2se-project/3">
   3.198 -            <attribute default="${build.classes.dir}" name="destdir"/>
   3.199 -            <sequential>
   3.200 -                <fail unless="javac.includes">Must set javac.includes</fail>
   3.201 -                <pathconvert pathsep="," property="javac.includes.binary">
   3.202 -                    <path>
   3.203 -                        <filelist dir="@{destdir}" files="${javac.includes}"/>
   3.204 -                    </path>
   3.205 -                    <globmapper from="*.java" to="*.class"/>
   3.206 -                </pathconvert>
   3.207 -                <delete>
   3.208 -                    <files includes="${javac.includes.binary}"/>
   3.209 -                </delete>
   3.210 -            </sequential>
   3.211 -        </macrodef>
   3.212 -    </target>
   3.213 -    <target name="-init-macrodef-junit">
   3.214 -        <macrodef name="junit" uri="http://www.netbeans.org/ns/j2se-project/3">
   3.215 -            <attribute default="${includes}" name="includes"/>
   3.216 -            <attribute default="${excludes}" name="excludes"/>
   3.217 -            <attribute default="**" name="testincludes"/>
   3.218 -            <sequential>
   3.219 -                <junit dir="${work.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" showoutput="true">
   3.220 -                    <batchtest todir="${build.test.results.dir}">
   3.221 -                        <fileset dir="${test.src.dir}" excludes="@{excludes},${excludes}" includes="@{includes}">
   3.222 -                            <filename name="@{testincludes}"/>
   3.223 -                        </fileset>
   3.224 -                    </batchtest>
   3.225 -                    <classpath>
   3.226 -                        <path path="${run.test.classpath}"/>
   3.227 -                    </classpath>
   3.228 -                    <syspropertyset>
   3.229 -                        <propertyref prefix="test-sys-prop."/>
   3.230 -                        <mapper from="test-sys-prop.*" to="*" type="glob"/>
   3.231 -                    </syspropertyset>
   3.232 -                    <formatter type="brief" usefile="false"/>
   3.233 -                    <formatter type="xml"/>
   3.234 -                    <jvmarg line="${run.jvmargs}"/>
   3.235 -                </junit>
   3.236 -            </sequential>
   3.237 -        </macrodef>
   3.238 -    </target>
   3.239 -    <target depends="-init-debug-args" name="-init-macrodef-nbjpda">
   3.240 -        <macrodef name="nbjpdastart" uri="http://www.netbeans.org/ns/j2se-project/1">
   3.241 -            <attribute default="${main.class}" name="name"/>
   3.242 -            <attribute default="${debug.classpath}" name="classpath"/>
   3.243 -            <attribute default="" name="stopclassname"/>
   3.244 -            <sequential>
   3.245 -                <nbjpdastart addressproperty="jpda.address" name="@{name}" stopclassname="@{stopclassname}" transport="${debug-transport}">
   3.246 -                    <classpath>
   3.247 -                        <path path="@{classpath}"/>
   3.248 -                    </classpath>
   3.249 -                </nbjpdastart>
   3.250 -            </sequential>
   3.251 -        </macrodef>
   3.252 -        <macrodef name="nbjpdareload" uri="http://www.netbeans.org/ns/j2se-project/1">
   3.253 -            <attribute default="${build.classes.dir}" name="dir"/>
   3.254 -            <sequential>
   3.255 -                <nbjpdareload>
   3.256 -                    <fileset dir="@{dir}" includes="${fix.classes}">
   3.257 -                        <include name="${fix.includes}*.class"/>
   3.258 -                    </fileset>
   3.259 -                </nbjpdareload>
   3.260 -            </sequential>
   3.261 -        </macrodef>
   3.262 -    </target>
   3.263 -    <target name="-init-debug-args">
   3.264 -        <property name="version-output" value="java version &quot;${ant.java.version}"/>
   3.265 -        <condition property="have-jdk-older-than-1.4">
   3.266 -            <or>
   3.267 -                <contains string="${version-output}" substring="java version &quot;1.0"/>
   3.268 -                <contains string="${version-output}" substring="java version &quot;1.1"/>
   3.269 -                <contains string="${version-output}" substring="java version &quot;1.2"/>
   3.270 -                <contains string="${version-output}" substring="java version &quot;1.3"/>
   3.271 -            </or>
   3.272 -        </condition>
   3.273 -        <condition else="-Xdebug" property="debug-args-line" value="-Xdebug -Xnoagent -Djava.compiler=none">
   3.274 -            <istrue value="${have-jdk-older-than-1.4}"/>
   3.275 -        </condition>
   3.276 -        <condition else="dt_socket" property="debug-transport-by-os" value="dt_shmem">
   3.277 -            <os family="windows"/>
   3.278 -        </condition>
   3.279 -        <condition else="${debug-transport-by-os}" property="debug-transport" value="${debug.transport}">
   3.280 -            <isset property="debug.transport"/>
   3.281 -        </condition>
   3.282 -    </target>
   3.283 -    <target depends="-init-debug-args" name="-init-macrodef-debug">
   3.284 -        <macrodef name="debug" uri="http://www.netbeans.org/ns/j2se-project/3">
   3.285 -            <attribute default="${main.class}" name="classname"/>
   3.286 -            <attribute default="${debug.classpath}" name="classpath"/>
   3.287 -            <element name="customize" optional="true"/>
   3.288 -            <sequential>
   3.289 -                <java classname="@{classname}" dir="${work.dir}" fork="true">
   3.290 -                    <jvmarg line="${debug-args-line}"/>
   3.291 -                    <jvmarg value="-Xrunjdwp:transport=${debug-transport},address=${jpda.address}"/>
   3.292 -                    <jvmarg value="-Dfile.encoding=${source.encoding}"/>
   3.293 -                    <redirector errorencoding="${source.encoding}" inputencoding="${source.encoding}" outputencoding="${source.encoding}"/>
   3.294 -                    <jvmarg line="${run.jvmargs}"/>
   3.295 -                    <classpath>
   3.296 -                        <path path="@{classpath}"/>
   3.297 -                    </classpath>
   3.298 -                    <syspropertyset>
   3.299 -                        <propertyref prefix="run-sys-prop."/>
   3.300 -                        <mapper from="run-sys-prop.*" to="*" type="glob"/>
   3.301 -                    </syspropertyset>
   3.302 -                    <customize/>
   3.303 -                </java>
   3.304 -            </sequential>
   3.305 -        </macrodef>
   3.306 -    </target>
   3.307 -    <target name="-init-macrodef-java">
   3.308 -        <macrodef name="java" uri="http://www.netbeans.org/ns/j2se-project/1">
   3.309 -            <attribute default="${main.class}" name="classname"/>
   3.310 -            <attribute default="${run.classpath}" name="classpath"/>
   3.311 -            <element name="customize" optional="true"/>
   3.312 -            <sequential>
   3.313 -                <java classname="@{classname}" dir="${work.dir}" fork="true">
   3.314 -                    <jvmarg value="-Dfile.encoding=${source.encoding}"/>
   3.315 -                    <redirector errorencoding="${source.encoding}" inputencoding="${source.encoding}" outputencoding="${source.encoding}"/>
   3.316 -                    <jvmarg line="${run.jvmargs}"/>
   3.317 -                    <classpath>
   3.318 -                        <path path="@{classpath}"/>
   3.319 -                    </classpath>
   3.320 -                    <syspropertyset>
   3.321 -                        <propertyref prefix="run-sys-prop."/>
   3.322 -                        <mapper from="run-sys-prop.*" to="*" type="glob"/>
   3.323 -                    </syspropertyset>
   3.324 -                    <customize/>
   3.325 -                </java>
   3.326 -            </sequential>
   3.327 -        </macrodef>
   3.328 -    </target>
   3.329 -    <target name="-init-presetdef-jar">
   3.330 -        <presetdef name="jar" uri="http://www.netbeans.org/ns/j2se-project/1">
   3.331 -            <jar compress="${jar.compress}" jarfile="${dist.jar}">
   3.332 -                <j2seproject1:fileset dir="${build.classes.dir}"/>
   3.333 -            </jar>
   3.334 -        </presetdef>
   3.335 -    </target>
   3.336 -    <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"/>
   3.337 -    <!--
   3.338 -                ===================
   3.339 -                COMPILATION SECTION
   3.340 -                ===================
   3.341 -            -->
   3.342 -    <target depends="init" name="deps-jar" unless="no.deps"/>
   3.343 -    <target depends="init,-check-automatic-build,-clean-after-automatic-build" name="-verify-automatic-build"/>
   3.344 -    <target depends="init" name="-check-automatic-build">
   3.345 -        <available file="${build.classes.dir}/.netbeans_automatic_build" property="netbeans.automatic.build"/>
   3.346 -    </target>
   3.347 -    <target depends="init" if="netbeans.automatic.build" name="-clean-after-automatic-build">
   3.348 -        <antcall target="clean"/>
   3.349 -    </target>
   3.350 -    <target depends="init,deps-jar" name="-pre-pre-compile">
   3.351 -        <mkdir dir="${build.classes.dir}"/>
   3.352 -    </target>
   3.353 -    <target name="-pre-compile">
   3.354 -        <!-- Empty placeholder for easier customization. -->
   3.355 -        <!-- You can override this target in the ../build.xml file. -->
   3.356 -    </target>
   3.357 -    <target if="do.depend.true" name="-compile-depend">
   3.358 -        <pathconvert property="build.generated.subdirs">
   3.359 -            <dirset dir="${build.generated.sources.dir}" erroronmissingdir="false">
   3.360 -                <include name="*"/>
   3.361 -            </dirset>
   3.362 -        </pathconvert>
   3.363 -        <j2seproject3:depend srcdir="${src.dir}:${build.generated.subdirs}"/>
   3.364 -    </target>
   3.365 -    <target depends="init,deps-jar,-pre-pre-compile,-pre-compile,-compile-depend" if="have.sources" name="-do-compile">
   3.366 -        <j2seproject3:javac gensrcdir="${build.generated.sources.dir}"/>
   3.367 -        <copy todir="${build.classes.dir}">
   3.368 -            <fileset dir="${src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
   3.369 -        </copy>
   3.370 -    </target>
   3.371 -    <target name="-post-compile">
   3.372 -        <!-- Empty placeholder for easier customization. -->
   3.373 -        <!-- You can override this target in the ../build.xml file. -->
   3.374 -    </target>
   3.375 -    <target depends="init,deps-jar,-verify-automatic-build,-pre-pre-compile,-pre-compile,-do-compile,-post-compile" description="Compile project." name="compile"/>
   3.376 -    <target name="-pre-compile-single">
   3.377 -        <!-- Empty placeholder for easier customization. -->
   3.378 -        <!-- You can override this target in the ../build.xml file. -->
   3.379 -    </target>
   3.380 -    <target depends="init,deps-jar,-pre-pre-compile" name="-do-compile-single">
   3.381 -        <fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail>
   3.382 -        <j2seproject3:force-recompile/>
   3.383 -        <j2seproject3:javac excludes="" gensrcdir="${build.generated.sources.dir}" includes="${javac.includes}" sourcepath="${src.dir}"/>
   3.384 -    </target>
   3.385 -    <target name="-post-compile-single">
   3.386 -        <!-- Empty placeholder for easier customization. -->
   3.387 -        <!-- You can override this target in the ../build.xml file. -->
   3.388 -    </target>
   3.389 -    <target depends="init,deps-jar,-verify-automatic-build,-pre-pre-compile,-pre-compile-single,-do-compile-single,-post-compile-single" name="compile-single"/>
   3.390 -    <!--
   3.391 -                ====================
   3.392 -                JAR BUILDING SECTION
   3.393 -                ====================
   3.394 -            -->
   3.395 -    <target depends="init" name="-pre-pre-jar">
   3.396 -        <dirname file="${dist.jar}" property="dist.jar.dir"/>
   3.397 -        <mkdir dir="${dist.jar.dir}"/>
   3.398 -    </target>
   3.399 -    <target name="-pre-jar">
   3.400 -        <!-- Empty placeholder for easier customization. -->
   3.401 -        <!-- You can override this target in the ../build.xml file. -->
   3.402 -    </target>
   3.403 -    <target depends="init,compile,-pre-pre-jar,-pre-jar" name="-do-jar-without-manifest" unless="manifest.available">
   3.404 -        <j2seproject1:jar/>
   3.405 -    </target>
   3.406 -    <target depends="init,compile,-pre-pre-jar,-pre-jar" if="manifest.available" name="-do-jar-with-manifest" unless="manifest.available+main.class">
   3.407 -        <j2seproject1:jar manifest="${manifest.file}"/>
   3.408 -    </target>
   3.409 -    <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">
   3.410 -        <j2seproject1:jar manifest="${manifest.file}">
   3.411 -            <j2seproject1:manifest>
   3.412 -                <j2seproject1:attribute name="Main-Class" value="${main.class}"/>
   3.413 -            </j2seproject1:manifest>
   3.414 -        </j2seproject1:jar>
   3.415 -        <echo>To run this application from the command line without Ant, try:</echo>
   3.416 -        <property location="${build.classes.dir}" name="build.classes.dir.resolved"/>
   3.417 -        <property location="${dist.jar}" name="dist.jar.resolved"/>
   3.418 -        <pathconvert property="run.classpath.with.dist.jar">
   3.419 -            <path path="${run.classpath}"/>
   3.420 -            <map from="${build.classes.dir.resolved}" to="${dist.jar.resolved}"/>
   3.421 -        </pathconvert>
   3.422 -        <echo>java -cp "${run.classpath.with.dist.jar}" ${main.class}</echo>
   3.423 -    </target>
   3.424 -    <target depends="init,compile,-pre-pre-jar,-pre-jar" if="manifest.available+main.class+mkdist.available" name="-do-jar-with-libraries">
   3.425 -        <property location="${build.classes.dir}" name="build.classes.dir.resolved"/>
   3.426 -        <pathconvert property="run.classpath.without.build.classes.dir">
   3.427 -            <path path="${run.classpath}"/>
   3.428 -            <map from="${build.classes.dir.resolved}" to=""/>
   3.429 -        </pathconvert>
   3.430 -        <pathconvert pathsep=" " property="jar.classpath">
   3.431 -            <path path="${run.classpath.without.build.classes.dir}"/>
   3.432 -            <chainedmapper>
   3.433 -                <flattenmapper/>
   3.434 -                <globmapper from="*" to="lib/*"/>
   3.435 -            </chainedmapper>
   3.436 -        </pathconvert>
   3.437 -        <taskdef classname="org.netbeans.modules.java.j2seproject.copylibstask.CopyLibs" classpath="${libs.CopyLibs.classpath}" name="copylibs"/>
   3.438 -        <copylibs compress="${jar.compress}" jarfile="${dist.jar}" manifest="${manifest.file}" runtimeclasspath="${run.classpath.without.build.classes.dir}">
   3.439 -            <fileset dir="${build.classes.dir}"/>
   3.440 -            <manifest>
   3.441 -                <attribute name="Main-Class" value="${main.class}"/>
   3.442 -                <attribute name="Class-Path" value="${jar.classpath}"/>
   3.443 -            </manifest>
   3.444 -        </copylibs>
   3.445 -        <echo>To run this application from the command line without Ant, try:</echo>
   3.446 -        <property location="${dist.jar}" name="dist.jar.resolved"/>
   3.447 -        <echo>java -jar "${dist.jar.resolved}"</echo>
   3.448 -    </target>
   3.449 -    <target depends="init,compile,-pre-pre-jar,-pre-jar" if="libs.CopyLibs.classpath" name="-do-jar-with-libraries-without-manifest" unless="manifest.available+main.class">
   3.450 -        <property location="${build.classes.dir}" name="build.classes.dir.resolved"/>
   3.451 -        <pathconvert property="run.classpath.without.build.classes.dir">
   3.452 -            <path path="${run.classpath}"/>
   3.453 -            <map from="${build.classes.dir.resolved}" to=""/>
   3.454 -        </pathconvert>
   3.455 -        <pathconvert pathsep=" " property="jar.classpath">
   3.456 -            <path path="${run.classpath.without.build.classes.dir}"/>
   3.457 -            <chainedmapper>
   3.458 -                <flattenmapper/>
   3.459 -                <globmapper from="*" to="lib/*"/>
   3.460 -            </chainedmapper>
   3.461 -        </pathconvert>
   3.462 -        <taskdef classname="org.netbeans.modules.java.j2seproject.copylibstask.CopyLibs" classpath="${libs.CopyLibs.classpath}" name="copylibs"/>
   3.463 -        <copylibs compress="${jar.compress}" jarfile="${dist.jar}" runtimeclasspath="${run.classpath.without.build.classes.dir}">
   3.464 -            <fileset dir="${build.classes.dir}"/>
   3.465 -        </copylibs>
   3.466 -    </target>
   3.467 -    <target name="-post-jar">
   3.468 -        <!-- Empty placeholder for easier customization. -->
   3.469 -        <!-- You can override this target in the ../build.xml file. -->
   3.470 -    </target>
   3.471 -    <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-manifest,-post-jar" description="Build JAR." name="jar"/>
   3.472 -    <!--
   3.473 -                =================
   3.474 -                EXECUTION SECTION
   3.475 -                =================
   3.476 -            -->
   3.477 -    <target depends="init,compile" description="Run a main class." name="run">
   3.478 -        <j2seproject1:java>
   3.479 -            <customize>
   3.480 -                <arg line="${application.args}"/>
   3.481 -            </customize>
   3.482 -        </j2seproject1:java>
   3.483 -    </target>
   3.484 -    <target name="-do-not-recompile">
   3.485 -        <property name="javac.includes.binary" value=""/>
   3.486 -    </target>
   3.487 -    <target depends="init,-do-not-recompile,compile-single" name="run-single">
   3.488 -        <fail unless="run.class">Must select one file in the IDE or set run.class</fail>
   3.489 -        <j2seproject1:java classname="${run.class}"/>
   3.490 -    </target>
   3.491 -    <target depends="init,-do-not-recompile,compile-test-single" name="run-test-with-main">
   3.492 -        <fail unless="run.class">Must select one file in the IDE or set run.class</fail>
   3.493 -        <j2seproject1:java classname="${run.class}" classpath="${run.test.classpath}"/>
   3.494 -    </target>
   3.495 -    <!--
   3.496 -                =================
   3.497 -                DEBUGGING SECTION
   3.498 -                =================
   3.499 -            -->
   3.500 -    <target depends="init" if="netbeans.home" name="-debug-start-debugger">
   3.501 -        <j2seproject1:nbjpdastart name="${debug.class}"/>
   3.502 -    </target>
   3.503 -    <target depends="init" if="netbeans.home" name="-debug-start-debugger-main-test">
   3.504 -        <j2seproject1:nbjpdastart classpath="${debug.test.classpath}" name="${debug.class}"/>
   3.505 -    </target>
   3.506 -    <target depends="init,compile" name="-debug-start-debuggee">
   3.507 -        <j2seproject3:debug>
   3.508 -            <customize>
   3.509 -                <arg line="${application.args}"/>
   3.510 -            </customize>
   3.511 -        </j2seproject3:debug>
   3.512 -    </target>
   3.513 -    <target depends="init,compile,-debug-start-debugger,-debug-start-debuggee" description="Debug project in IDE." if="netbeans.home" name="debug"/>
   3.514 -    <target depends="init" if="netbeans.home" name="-debug-start-debugger-stepinto">
   3.515 -        <j2seproject1:nbjpdastart stopclassname="${main.class}"/>
   3.516 -    </target>
   3.517 -    <target depends="init,compile,-debug-start-debugger-stepinto,-debug-start-debuggee" if="netbeans.home" name="debug-stepinto"/>
   3.518 -    <target depends="init,compile-single" if="netbeans.home" name="-debug-start-debuggee-single">
   3.519 -        <fail unless="debug.class">Must select one file in the IDE or set debug.class</fail>
   3.520 -        <j2seproject3:debug classname="${debug.class}"/>
   3.521 -    </target>
   3.522 -    <target depends="init,-do-not-recompile,compile-single,-debug-start-debugger,-debug-start-debuggee-single" if="netbeans.home" name="debug-single"/>
   3.523 -    <target depends="init,compile-test-single" if="netbeans.home" name="-debug-start-debuggee-main-test">
   3.524 -        <fail unless="debug.class">Must select one file in the IDE or set debug.class</fail>
   3.525 -        <j2seproject3:debug classname="${debug.class}" classpath="${debug.test.classpath}"/>
   3.526 -    </target>
   3.527 -    <target depends="init,-do-not-recompile,compile-test-single,-debug-start-debugger-main-test,-debug-start-debuggee-main-test" if="netbeans.home" name="debug-test-with-main"/>
   3.528 -    <target depends="init" name="-pre-debug-fix">
   3.529 -        <fail unless="fix.includes">Must set fix.includes</fail>
   3.530 -        <property name="javac.includes" value="${fix.includes}.java"/>
   3.531 -    </target>
   3.532 -    <target depends="init,-pre-debug-fix,compile-single" if="netbeans.home" name="-do-debug-fix">
   3.533 -        <j2seproject1:nbjpdareload/>
   3.534 -    </target>
   3.535 -    <target depends="init,-pre-debug-fix,-do-debug-fix" if="netbeans.home" name="debug-fix"/>
   3.536 -    <!--
   3.537 -                ===============
   3.538 -                JAVADOC SECTION
   3.539 -                ===============
   3.540 -            -->
   3.541 -    <target depends="init" name="-javadoc-build">
   3.542 -        <mkdir dir="${dist.javadoc.dir}"/>
   3.543 -        <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}">
   3.544 -            <classpath>
   3.545 -                <path path="${javac.classpath}"/>
   3.546 -            </classpath>
   3.547 -            <fileset dir="${src.dir}" excludes="${excludes}" includes="${includes}">
   3.548 -                <filename name="**/*.java"/>
   3.549 -            </fileset>
   3.550 -            <fileset dir="${build.generated.sources.dir}" erroronmissingdir="false">
   3.551 -                <include name="**/*.java"/>
   3.552 -            </fileset>
   3.553 -        </javadoc>
   3.554 -    </target>
   3.555 -    <target depends="init,-javadoc-build" if="netbeans.home" name="-javadoc-browse" unless="no.javadoc.preview">
   3.556 -        <nbbrowse file="${dist.javadoc.dir}/index.html"/>
   3.557 -    </target>
   3.558 -    <target depends="init,-javadoc-build,-javadoc-browse" description="Build Javadoc." name="javadoc"/>
   3.559 -    <!--
   3.560 -                =========================
   3.561 -                JUNIT COMPILATION SECTION
   3.562 -                =========================
   3.563 -            -->
   3.564 -    <target depends="init,compile" if="have.tests" name="-pre-pre-compile-test">
   3.565 -        <mkdir dir="${build.test.classes.dir}"/>
   3.566 -    </target>
   3.567 -    <target name="-pre-compile-test">
   3.568 -        <!-- Empty placeholder for easier customization. -->
   3.569 -        <!-- You can override this target in the ../build.xml file. -->
   3.570 -    </target>
   3.571 -    <target if="do.depend.true" name="-compile-test-depend">
   3.572 -        <j2seproject3:depend classpath="${javac.test.classpath}" destdir="${build.test.classes.dir}" srcdir="${test.src.dir}"/>
   3.573 -    </target>
   3.574 -    <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test,-compile-test-depend" if="have.tests" name="-do-compile-test">
   3.575 -        <j2seproject3:javac classpath="${javac.test.classpath}" debug="true" destdir="${build.test.classes.dir}" srcdir="${test.src.dir}"/>
   3.576 -        <copy todir="${build.test.classes.dir}">
   3.577 -            <fileset dir="${test.src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
   3.578 -        </copy>
   3.579 -    </target>
   3.580 -    <target name="-post-compile-test">
   3.581 -        <!-- Empty placeholder for easier customization. -->
   3.582 -        <!-- You can override this target in the ../build.xml file. -->
   3.583 -    </target>
   3.584 -    <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test,-do-compile-test,-post-compile-test" name="compile-test"/>
   3.585 -    <target name="-pre-compile-test-single">
   3.586 -        <!-- Empty placeholder for easier customization. -->
   3.587 -        <!-- You can override this target in the ../build.xml file. -->
   3.588 -    </target>
   3.589 -    <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test-single" if="have.tests" name="-do-compile-test-single">
   3.590 -        <fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail>
   3.591 -        <j2seproject3:force-recompile destdir="${build.test.classes.dir}"/>
   3.592 -        <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}"/>
   3.593 -        <copy todir="${build.test.classes.dir}">
   3.594 -            <fileset dir="${test.src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
   3.595 -        </copy>
   3.596 -    </target>
   3.597 -    <target name="-post-compile-test-single">
   3.598 -        <!-- Empty placeholder for easier customization. -->
   3.599 -        <!-- You can override this target in the ../build.xml file. -->
   3.600 -    </target>
   3.601 -    <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test-single,-do-compile-test-single,-post-compile-test-single" name="compile-test-single"/>
   3.602 -    <!--
   3.603 -                =======================
   3.604 -                JUNIT EXECUTION SECTION
   3.605 -                =======================
   3.606 -            -->
   3.607 -    <target depends="init" if="have.tests" name="-pre-test-run">
   3.608 -        <mkdir dir="${build.test.results.dir}"/>
   3.609 -    </target>
   3.610 -    <target depends="init,compile-test,-pre-test-run" if="have.tests" name="-do-test-run">
   3.611 -        <j2seproject3:junit testincludes="**/*Test.java"/>
   3.612 -    </target>
   3.613 -    <target depends="init,compile-test,-pre-test-run,-do-test-run" if="have.tests" name="-post-test-run">
   3.614 -        <fail if="tests.failed" unless="ignore.failing.tests">Some tests failed; see details above.</fail>
   3.615 -    </target>
   3.616 -    <target depends="init" if="have.tests" name="test-report"/>
   3.617 -    <target depends="init" if="netbeans.home+have.tests" name="-test-browse"/>
   3.618 -    <target depends="init,compile-test,-pre-test-run,-do-test-run,test-report,-post-test-run,-test-browse" description="Run unit tests." name="test"/>
   3.619 -    <target depends="init" if="have.tests" name="-pre-test-run-single">
   3.620 -        <mkdir dir="${build.test.results.dir}"/>
   3.621 -    </target>
   3.622 -    <target depends="init,compile-test-single,-pre-test-run-single" if="have.tests" name="-do-test-run-single">
   3.623 -        <fail unless="test.includes">Must select some files in the IDE or set test.includes</fail>
   3.624 -        <j2seproject3:junit excludes="" includes="${test.includes}"/>
   3.625 -    </target>
   3.626 -    <target depends="init,compile-test-single,-pre-test-run-single,-do-test-run-single" if="have.tests" name="-post-test-run-single">
   3.627 -        <fail if="tests.failed" unless="ignore.failing.tests">Some tests failed; see details above.</fail>
   3.628 -    </target>
   3.629 -    <target depends="init,-do-not-recompile,compile-test-single,-pre-test-run-single,-do-test-run-single,-post-test-run-single" description="Run single unit test." name="test-single"/>
   3.630 -    <!--
   3.631 -                =======================
   3.632 -                JUNIT DEBUGGING SECTION
   3.633 -                =======================
   3.634 -            -->
   3.635 -    <target depends="init,compile-test" if="have.tests" name="-debug-start-debuggee-test">
   3.636 -        <fail unless="test.class">Must select one file in the IDE or set test.class</fail>
   3.637 -        <property location="${build.test.results.dir}/TEST-${test.class}.xml" name="test.report.file"/>
   3.638 -        <delete file="${test.report.file}"/>
   3.639 -        <mkdir dir="${build.test.results.dir}"/>
   3.640 -        <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}">
   3.641 -            <customize>
   3.642 -                <syspropertyset>
   3.643 -                    <propertyref prefix="test-sys-prop."/>
   3.644 -                    <mapper from="test-sys-prop.*" to="*" type="glob"/>
   3.645 -                </syspropertyset>
   3.646 -                <arg value="${test.class}"/>
   3.647 -                <arg value="showoutput=true"/>
   3.648 -                <arg value="formatter=org.apache.tools.ant.taskdefs.optional.junit.BriefJUnitResultFormatter"/>
   3.649 -                <arg value="formatter=org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter,${test.report.file}"/>
   3.650 -            </customize>
   3.651 -        </j2seproject3:debug>
   3.652 -    </target>
   3.653 -    <target depends="init,compile-test" if="netbeans.home+have.tests" name="-debug-start-debugger-test">
   3.654 -        <j2seproject1:nbjpdastart classpath="${debug.test.classpath}" name="${test.class}"/>
   3.655 -    </target>
   3.656 -    <target depends="init,-do-not-recompile,compile-test-single,-debug-start-debugger-test,-debug-start-debuggee-test" name="debug-test"/>
   3.657 -    <target depends="init,-pre-debug-fix,compile-test-single" if="netbeans.home" name="-do-debug-fix-test">
   3.658 -        <j2seproject1:nbjpdareload dir="${build.test.classes.dir}"/>
   3.659 -    </target>
   3.660 -    <target depends="init,-pre-debug-fix,-do-debug-fix-test" if="netbeans.home" name="debug-fix-test"/>
   3.661 -    <!--
   3.662 -                =========================
   3.663 -                APPLET EXECUTION SECTION
   3.664 -                =========================
   3.665 -            -->
   3.666 -    <target depends="init,compile-single" name="run-applet">
   3.667 -        <fail unless="applet.url">Must select one file in the IDE or set applet.url</fail>
   3.668 -        <j2seproject1:java classname="sun.applet.AppletViewer">
   3.669 -            <customize>
   3.670 -                <arg value="${applet.url}"/>
   3.671 -            </customize>
   3.672 -        </j2seproject1:java>
   3.673 -    </target>
   3.674 -    <!--
   3.675 -                =========================
   3.676 -                APPLET DEBUGGING  SECTION
   3.677 -                =========================
   3.678 -            -->
   3.679 -    <target depends="init,compile-single" if="netbeans.home" name="-debug-start-debuggee-applet">
   3.680 -        <fail unless="applet.url">Must select one file in the IDE or set applet.url</fail>
   3.681 -        <j2seproject3:debug classname="sun.applet.AppletViewer">
   3.682 -            <customize>
   3.683 -                <arg value="${applet.url}"/>
   3.684 -            </customize>
   3.685 -        </j2seproject3:debug>
   3.686 -    </target>
   3.687 -    <target depends="init,compile-single,-debug-start-debugger,-debug-start-debuggee-applet" if="netbeans.home" name="debug-applet"/>
   3.688 -    <!--
   3.689 -                ===============
   3.690 -                CLEANUP SECTION
   3.691 -                ===============
   3.692 -            -->
   3.693 -    <target depends="init" name="deps-clean" unless="no.deps"/>
   3.694 -    <target depends="init" name="-do-clean">
   3.695 -        <delete dir="${build.dir}"/>
   3.696 -        <delete dir="${dist.dir}"/>
   3.697 -    </target>
   3.698 -    <target name="-post-clean">
   3.699 -        <!-- Empty placeholder for easier customization. -->
   3.700 -        <!-- You can override this target in the ../build.xml file. -->
   3.701 -    </target>
   3.702 -    <target depends="init,deps-clean,-do-clean,-post-clean" description="Clean build products." name="clean"/>
   3.703 -</project>
     4.1 --- a/nbproject/genfiles.properties	Tue Nov 03 01:59:59 2009 +0300
     4.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.3 @@ -1,8 +0,0 @@
     4.4 -build.xml.data.CRC32=696b1cd8
     4.5 -build.xml.script.CRC32=4af43aca
     4.6 -build.xml.stylesheet.CRC32=958a1d3e@1.26.2.45
     4.7 -# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml.
     4.8 -# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you.
     4.9 -nbproject/build-impl.xml.data.CRC32=696b1cd8
    4.10 -nbproject/build-impl.xml.script.CRC32=cccb1758
    4.11 -nbproject/build-impl.xml.stylesheet.CRC32=5c621a33@1.26.2.45
     5.1 --- a/nbproject/project.properties	Tue Nov 03 01:59:59 2009 +0300
     5.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.3 @@ -1,77 +0,0 @@
     5.4 -application.title=tomcat-userconfig
     5.5 -application.vendor=kryshen
     5.6 -auxiliary.org-netbeans-modules-editor-indent.CodeStyle.project.tab-size=8
     5.7 -auxiliary.org-netbeans-modules-editor-indent.CodeStyle.project.text-limit-width=80
     5.8 -auxiliary.org-netbeans-modules-editor-indent.CodeStyle.usedProfile=default
     5.9 -build.classes.dir=${build.dir}/classes
    5.10 -build.classes.excludes=**/*.java,**/*.form
    5.11 -# This directory is removed when the project is cleaned:
    5.12 -build.dir=build
    5.13 -build.generated.dir=${build.dir}/generated
    5.14 -build.generated.sources.dir=${build.dir}/generated-sources
    5.15 -# Only compile against the classpath explicitly listed here:
    5.16 -build.sysclasspath=ignore
    5.17 -build.test.classes.dir=${build.dir}/test/classes
    5.18 -build.test.results.dir=${build.dir}/test/results
    5.19 -# Uncomment to specify the preferred debugger connection transport:
    5.20 -#debug.transport=dt_socket
    5.21 -debug.classpath=\
    5.22 -    ${run.classpath}
    5.23 -debug.test.classpath=\
    5.24 -    ${run.test.classpath}
    5.25 -# This directory is removed when the project is cleaned:
    5.26 -dist.dir=dist
    5.27 -dist.jar=${dist.dir}/userconfig.jar
    5.28 -dist.javadoc.dir=${dist.dir}/javadoc
    5.29 -excludes=
    5.30 -file.reference.catalina.jar=${var.tomcat}/lib/catalina.jar
    5.31 -file.reference.tomcat-juli.jar=${var.tomcat}/bin/tomcat-juli.jar
    5.32 -includes=**
    5.33 -jar.compress=false
    5.34 -javac.classpath=\
    5.35 -    ${file.reference.catalina.jar}:\
    5.36 -    ${file.reference.tomcat-juli.jar}
    5.37 -# Space-separated list of extra javac options
    5.38 -javac.compilerargs=-Xlint:unchecked
    5.39 -javac.deprecation=false
    5.40 -javac.source=1.5
    5.41 -javac.target=1.5
    5.42 -javac.test.classpath=\
    5.43 -    ${javac.classpath}:\
    5.44 -    ${build.classes.dir}:\
    5.45 -    ${libs.junit.classpath}:\
    5.46 -    ${libs.junit_4.classpath}
    5.47 -javadoc.additionalparam=
    5.48 -javadoc.author=false
    5.49 -javadoc.encoding=${source.encoding}
    5.50 -javadoc.noindex=false
    5.51 -javadoc.nonavbar=false
    5.52 -javadoc.notree=false
    5.53 -javadoc.private=false
    5.54 -javadoc.reference.catalina.jar=http://tomcat.apache.org/tomcat-6.0-doc/api/
    5.55 -javadoc.splitindex=true
    5.56 -javadoc.use=true
    5.57 -javadoc.version=false
    5.58 -javadoc.windowtitle=
    5.59 -jnlp.codebase.type=local
    5.60 -jnlp.codebase.url=file:/home/mikhail/projects/own/tomcat-userconfig/dist/
    5.61 -jnlp.descriptor=application
    5.62 -jnlp.enabled=false
    5.63 -jnlp.offline-allowed=false
    5.64 -jnlp.signed=false
    5.65 -meta.inf.dir=${src.dir}/META-INF
    5.66 -platform.active=default_platform
    5.67 -run.classpath=\
    5.68 -    ${javac.classpath}:\
    5.69 -    ${build.classes.dir}
    5.70 -# Space-separated list of JVM arguments used when running the project
    5.71 -# (you may also define separate properties like run-sys-prop.name=value instead of -Dname=value
    5.72 -# or test-sys-prop.name=value to set system properties for unit tests):
    5.73 -run.jvmargs=
    5.74 -run.test.classpath=\
    5.75 -    ${javac.test.classpath}:\
    5.76 -    ${build.test.classes.dir}
    5.77 -source.encoding=UTF-8
    5.78 -source.reference.catalina.jar=${var.tomcat-src}/!/apache-tomcat-6.0.20-src/java/
    5.79 -src.dir=src
    5.80 -test.src.dir=test
     6.1 --- a/nbproject/project.xml	Tue Nov 03 01:59:59 2009 +0300
     6.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.3 @@ -1,16 +0,0 @@
     6.4 -<?xml version="1.0" encoding="UTF-8"?>
     6.5 -<project xmlns="http://www.netbeans.org/ns/project/1">
     6.6 -    <type>org.netbeans.modules.java.j2seproject</type>
     6.7 -    <configuration>
     6.8 -        <data xmlns="http://www.netbeans.org/ns/j2se-project/3">
     6.9 -            <name>userconfig</name>
    6.10 -            <minimum-ant-version>1.6.5</minimum-ant-version>
    6.11 -            <source-roots>
    6.12 -                <root id="src.dir"/>
    6.13 -            </source-roots>
    6.14 -            <test-roots>
    6.15 -                <root id="test.src.dir"/>
    6.16 -            </test-roots>
    6.17 -        </data>
    6.18 -    </configuration>
    6.19 -</project>