projekt v netbeans + hgignore
authorFrantišek Kučera <franta-hg@frantovo.cz>
Wed Dec 15 16:51:01 2010 +0100 (2010-12-15)
changeset 1ef690c6b88c2
parent 0 c4d7c3cadf72
child 2 7cafdce717dd
projekt v netbeans + hgignore
.hgignore
java/rozsirene-atributy/manifest.mf
java/rozsirene-atributy/nbproject/build-impl.xml
java/rozsirene-atributy/nbproject/genfiles.properties
java/rozsirene-atributy/nbproject/project.properties
java/rozsirene-atributy/nbproject/project.xml
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/.hgignore	Wed Dec 15 16:51:01 2010 +0100
     1.3 @@ -0,0 +1,3 @@
     1.4 +java/rozsirene-atributy/dist/*
     1.5 +java/rozsirene-atributy/build/*
     1.6 +java/rozsirene-atributy/nbproject/private/*
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/java/rozsirene-atributy/manifest.mf	Wed Dec 15 16:51:01 2010 +0100
     2.3 @@ -0,0 +1,3 @@
     2.4 +Manifest-Version: 1.0
     2.5 +X-COMMENT: Main-Class will be added automatically by build
     2.6 +
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/java/rozsirene-atributy/nbproject/build-impl.xml	Wed Dec 15 16:51:01 2010 +0100
     3.3 @@ -0,0 +1,891 @@
     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="rozsirene-atributy-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 +        <available file="${application.splash}" property="splashscreen.available"/>
    3.62 +        <condition property="main.class.available">
    3.63 +            <and>
    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">
    3.71 +            <and>
    3.72 +                <isset property="manifest.available"/>
    3.73 +                <isset property="main.class.available"/>
    3.74 +            </and>
    3.75 +        </condition>
    3.76 +        <condition property="do.mkdist">
    3.77 +            <and>
    3.78 +                <isset property="libs.CopyLibs.classpath"/>
    3.79 +                <not>
    3.80 +                    <istrue value="${mkdist.disabled}"/>
    3.81 +                </not>
    3.82 +            </and>
    3.83 +        </condition>
    3.84 +        <condition property="manifest.available+main.class+mkdist.available">
    3.85 +            <and>
    3.86 +                <istrue value="${manifest.available+main.class}"/>
    3.87 +                <isset property="do.mkdist"/>
    3.88 +            </and>
    3.89 +        </condition>
    3.90 +        <condition property="manifest.available+main.class+mkdist.available+splashscreen.available">
    3.91 +            <and>
    3.92 +                <istrue value="${manifest.available+main.class+mkdist.available}"/>
    3.93 +                <istrue value="${splashscreen.available}"/>
    3.94 +            </and>
    3.95 +        </condition>
    3.96 +        <condition property="do.archive">
    3.97 +            <not>
    3.98 +                <istrue value="${jar.archive.disabled}"/>
    3.99 +            </not>
   3.100 +        </condition>
   3.101 +        <condition property="do.archive+manifest.available">
   3.102 +            <and>
   3.103 +                <isset property="manifest.available"/>
   3.104 +                <istrue value="${do.archive}"/>
   3.105 +            </and>
   3.106 +        </condition>
   3.107 +        <condition property="do.archive+manifest.available+main.class">
   3.108 +            <and>
   3.109 +                <istrue value="${manifest.available+main.class}"/>
   3.110 +                <istrue value="${do.archive}"/>
   3.111 +            </and>
   3.112 +        </condition>
   3.113 +        <condition property="do.archive+manifest.available+main.class+mkdist.available">
   3.114 +            <and>
   3.115 +                <istrue value="${manifest.available+main.class+mkdist.available}"/>
   3.116 +                <istrue value="${do.archive}"/>
   3.117 +            </and>
   3.118 +        </condition>
   3.119 +        <condition property="do.archive+manifest.available+main.class+mkdist.available+splashscreen.available">
   3.120 +            <and>
   3.121 +                <istrue value="${manifest.available+main.class+mkdist.available+splashscreen.available}"/>
   3.122 +                <istrue value="${do.archive}"/>
   3.123 +            </and>
   3.124 +        </condition>
   3.125 +        <condition property="have.tests">
   3.126 +            <or>
   3.127 +                <available file="${test.src.dir}"/>
   3.128 +            </or>
   3.129 +        </condition>
   3.130 +        <condition property="have.sources">
   3.131 +            <or>
   3.132 +                <available file="${src.dir}"/>
   3.133 +            </or>
   3.134 +        </condition>
   3.135 +        <condition property="netbeans.home+have.tests">
   3.136 +            <and>
   3.137 +                <isset property="netbeans.home"/>
   3.138 +                <isset property="have.tests"/>
   3.139 +            </and>
   3.140 +        </condition>
   3.141 +        <condition property="no.javadoc.preview">
   3.142 +            <and>
   3.143 +                <isset property="javadoc.preview"/>
   3.144 +                <isfalse value="${javadoc.preview}"/>
   3.145 +            </and>
   3.146 +        </condition>
   3.147 +        <property name="run.jvmargs" value=""/>
   3.148 +        <property name="javac.compilerargs" value=""/>
   3.149 +        <property name="work.dir" value="${basedir}"/>
   3.150 +        <condition property="no.deps">
   3.151 +            <and>
   3.152 +                <istrue value="${no.dependencies}"/>
   3.153 +            </and>
   3.154 +        </condition>
   3.155 +        <property name="javac.debug" value="true"/>
   3.156 +        <property name="javadoc.preview" value="true"/>
   3.157 +        <property name="application.args" value=""/>
   3.158 +        <property name="source.encoding" value="${file.encoding}"/>
   3.159 +        <property name="runtime.encoding" value="${source.encoding}"/>
   3.160 +        <condition property="javadoc.encoding.used" value="${javadoc.encoding}">
   3.161 +            <and>
   3.162 +                <isset property="javadoc.encoding"/>
   3.163 +                <not>
   3.164 +                    <equals arg1="${javadoc.encoding}" arg2=""/>
   3.165 +                </not>
   3.166 +            </and>
   3.167 +        </condition>
   3.168 +        <property name="javadoc.encoding.used" value="${source.encoding}"/>
   3.169 +        <property name="includes" value="**"/>
   3.170 +        <property name="excludes" value=""/>
   3.171 +        <property name="do.depend" value="false"/>
   3.172 +        <condition property="do.depend.true">
   3.173 +            <istrue value="${do.depend}"/>
   3.174 +        </condition>
   3.175 +        <path id="endorsed.classpath.path" path="${endorsed.classpath}"/>
   3.176 +        <condition else="" property="endorsed.classpath.cmd.line.arg" value="-Xbootclasspath/p:'${toString:endorsed.classpath.path}'">
   3.177 +            <length length="0" string="${endorsed.classpath}" when="greater"/>
   3.178 +        </condition>
   3.179 +        <property name="javac.fork" value="false"/>
   3.180 +        <property name="jar.index" value="false"/>
   3.181 +        <available file="${meta.inf.dir}/persistence.xml" property="has.persistence.xml"/>
   3.182 +    </target>
   3.183 +    <target name="-post-init">
   3.184 +        <!-- Empty placeholder for easier customization. -->
   3.185 +        <!-- You can override this target in the ../build.xml file. -->
   3.186 +    </target>
   3.187 +    <target depends="-pre-init,-init-private,-init-user,-init-project,-do-init" name="-init-check">
   3.188 +        <fail unless="src.dir">Must set src.dir</fail>
   3.189 +        <fail unless="test.src.dir">Must set test.src.dir</fail>
   3.190 +        <fail unless="build.dir">Must set build.dir</fail>
   3.191 +        <fail unless="dist.dir">Must set dist.dir</fail>
   3.192 +        <fail unless="build.classes.dir">Must set build.classes.dir</fail>
   3.193 +        <fail unless="dist.javadoc.dir">Must set dist.javadoc.dir</fail>
   3.194 +        <fail unless="build.test.classes.dir">Must set build.test.classes.dir</fail>
   3.195 +        <fail unless="build.test.results.dir">Must set build.test.results.dir</fail>
   3.196 +        <fail unless="build.classes.excludes">Must set build.classes.excludes</fail>
   3.197 +        <fail unless="dist.jar">Must set dist.jar</fail>
   3.198 +    </target>
   3.199 +    <target name="-init-macrodef-property">
   3.200 +        <macrodef name="property" uri="http://www.netbeans.org/ns/j2se-project/1">
   3.201 +            <attribute name="name"/>
   3.202 +            <attribute name="value"/>
   3.203 +            <sequential>
   3.204 +                <property name="@{name}" value="${@{value}}"/>
   3.205 +            </sequential>
   3.206 +        </macrodef>
   3.207 +    </target>
   3.208 +    <target depends="-init-ap-cmdline-properties" if="ap.supported.internal" name="-init-macrodef-javac-with-processors">
   3.209 +        <macrodef name="javac" uri="http://www.netbeans.org/ns/j2se-project/3">
   3.210 +            <attribute default="${src.dir}" name="srcdir"/>
   3.211 +            <attribute default="${build.classes.dir}" name="destdir"/>
   3.212 +            <attribute default="${javac.classpath}" name="classpath"/>
   3.213 +            <attribute default="${javac.processorpath}" name="processorpath"/>
   3.214 +            <attribute default="${build.generated.sources.dir}/ap-source-output" name="apgeneratedsrcdir"/>
   3.215 +            <attribute default="${includes}" name="includes"/>
   3.216 +            <attribute default="${excludes}" name="excludes"/>
   3.217 +            <attribute default="${javac.debug}" name="debug"/>
   3.218 +            <attribute default="${empty.dir}" name="sourcepath"/>
   3.219 +            <attribute default="${empty.dir}" name="gensrcdir"/>
   3.220 +            <element name="customize" optional="true"/>
   3.221 +            <sequential>
   3.222 +                <property location="${build.dir}/empty" name="empty.dir"/>
   3.223 +                <mkdir dir="${empty.dir}"/>
   3.224 +                <mkdir dir="@{apgeneratedsrcdir}"/>
   3.225 +                <javac debug="@{debug}" deprecation="${javac.deprecation}" destdir="@{destdir}" encoding="${source.encoding}" excludes="@{excludes}" fork="${javac.fork}" includeantruntime="false" includes="@{includes}" source="${javac.source}" sourcepath="@{sourcepath}" srcdir="@{srcdir}" target="${javac.target}" tempdir="${java.io.tmpdir}">
   3.226 +                    <src>
   3.227 +                        <dirset dir="@{gensrcdir}" erroronmissingdir="false">
   3.228 +                            <include name="*"/>
   3.229 +                        </dirset>
   3.230 +                    </src>
   3.231 +                    <classpath>
   3.232 +                        <path path="@{classpath}"/>
   3.233 +                    </classpath>
   3.234 +                    <compilerarg line="${endorsed.classpath.cmd.line.arg}"/>
   3.235 +                    <compilerarg line="${javac.compilerargs}"/>
   3.236 +                    <compilerarg value="-processorpath"/>
   3.237 +                    <compilerarg path="@{processorpath}:${empty.dir}"/>
   3.238 +                    <compilerarg line="${ap.processors.internal}"/>
   3.239 +                    <compilerarg line="${annotation.processing.processor.options}"/>
   3.240 +                    <compilerarg value="-s"/>
   3.241 +                    <compilerarg path="@{apgeneratedsrcdir}"/>
   3.242 +                    <compilerarg line="${ap.proc.none.internal}"/>
   3.243 +                    <customize/>
   3.244 +                </javac>
   3.245 +            </sequential>
   3.246 +        </macrodef>
   3.247 +    </target>
   3.248 +    <target depends="-init-ap-cmdline-properties" name="-init-macrodef-javac-without-processors" unless="ap.supported.internal">
   3.249 +        <macrodef name="javac" uri="http://www.netbeans.org/ns/j2se-project/3">
   3.250 +            <attribute default="${src.dir}" name="srcdir"/>
   3.251 +            <attribute default="${build.classes.dir}" name="destdir"/>
   3.252 +            <attribute default="${javac.classpath}" name="classpath"/>
   3.253 +            <attribute default="${javac.processorpath}" name="processorpath"/>
   3.254 +            <attribute default="${build.generated.sources.dir}/ap-source-output" name="apgeneratedsrcdir"/>
   3.255 +            <attribute default="${includes}" name="includes"/>
   3.256 +            <attribute default="${excludes}" name="excludes"/>
   3.257 +            <attribute default="${javac.debug}" name="debug"/>
   3.258 +            <attribute default="${empty.dir}" name="sourcepath"/>
   3.259 +            <attribute default="${empty.dir}" name="gensrcdir"/>
   3.260 +            <element name="customize" optional="true"/>
   3.261 +            <sequential>
   3.262 +                <property location="${build.dir}/empty" name="empty.dir"/>
   3.263 +                <mkdir dir="${empty.dir}"/>
   3.264 +                <javac debug="@{debug}" deprecation="${javac.deprecation}" destdir="@{destdir}" encoding="${source.encoding}" excludes="@{excludes}" fork="${javac.fork}" includeantruntime="false" includes="@{includes}" source="${javac.source}" sourcepath="@{sourcepath}" srcdir="@{srcdir}" target="${javac.target}" tempdir="${java.io.tmpdir}">
   3.265 +                    <src>
   3.266 +                        <dirset dir="@{gensrcdir}" erroronmissingdir="false">
   3.267 +                            <include name="*"/>
   3.268 +                        </dirset>
   3.269 +                    </src>
   3.270 +                    <classpath>
   3.271 +                        <path path="@{classpath}"/>
   3.272 +                    </classpath>
   3.273 +                    <compilerarg line="${endorsed.classpath.cmd.line.arg}"/>
   3.274 +                    <compilerarg line="${javac.compilerargs}"/>
   3.275 +                    <customize/>
   3.276 +                </javac>
   3.277 +            </sequential>
   3.278 +        </macrodef>
   3.279 +    </target>
   3.280 +    <target depends="-init-macrodef-javac-with-processors,-init-macrodef-javac-without-processors" name="-init-macrodef-javac">
   3.281 +        <macrodef name="depend" uri="http://www.netbeans.org/ns/j2se-project/3">
   3.282 +            <attribute default="${src.dir}" name="srcdir"/>
   3.283 +            <attribute default="${build.classes.dir}" name="destdir"/>
   3.284 +            <attribute default="${javac.classpath}" name="classpath"/>
   3.285 +            <sequential>
   3.286 +                <depend cache="${build.dir}/depcache" destdir="@{destdir}" excludes="${excludes}" includes="${includes}" srcdir="@{srcdir}">
   3.287 +                    <classpath>
   3.288 +                        <path path="@{classpath}"/>
   3.289 +                    </classpath>
   3.290 +                </depend>
   3.291 +            </sequential>
   3.292 +        </macrodef>
   3.293 +        <macrodef name="force-recompile" uri="http://www.netbeans.org/ns/j2se-project/3">
   3.294 +            <attribute default="${build.classes.dir}" name="destdir"/>
   3.295 +            <sequential>
   3.296 +                <fail unless="javac.includes">Must set javac.includes</fail>
   3.297 +                <pathconvert pathsep="," property="javac.includes.binary">
   3.298 +                    <path>
   3.299 +                        <filelist dir="@{destdir}" files="${javac.includes}"/>
   3.300 +                    </path>
   3.301 +                    <globmapper from="*.java" to="*.class"/>
   3.302 +                </pathconvert>
   3.303 +                <delete>
   3.304 +                    <files includes="${javac.includes.binary}"/>
   3.305 +                </delete>
   3.306 +            </sequential>
   3.307 +        </macrodef>
   3.308 +    </target>
   3.309 +    <target name="-init-macrodef-junit">
   3.310 +        <macrodef name="junit" uri="http://www.netbeans.org/ns/j2se-project/3">
   3.311 +            <attribute default="${includes}" name="includes"/>
   3.312 +            <attribute default="${excludes}" name="excludes"/>
   3.313 +            <attribute default="**" name="testincludes"/>
   3.314 +            <sequential>
   3.315 +                <junit dir="${work.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" showoutput="true" tempdir="${build.dir}">
   3.316 +                    <batchtest todir="${build.test.results.dir}">
   3.317 +                        <fileset dir="${test.src.dir}" excludes="@{excludes},${excludes}" includes="@{includes}">
   3.318 +                            <filename name="@{testincludes}"/>
   3.319 +                        </fileset>
   3.320 +                    </batchtest>
   3.321 +                    <classpath>
   3.322 +                        <path path="${run.test.classpath}"/>
   3.323 +                    </classpath>
   3.324 +                    <syspropertyset>
   3.325 +                        <propertyref prefix="test-sys-prop."/>
   3.326 +                        <mapper from="test-sys-prop.*" to="*" type="glob"/>
   3.327 +                    </syspropertyset>
   3.328 +                    <formatter type="brief" usefile="false"/>
   3.329 +                    <formatter type="xml"/>
   3.330 +                    <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
   3.331 +                    <jvmarg line="${run.jvmargs}"/>
   3.332 +                </junit>
   3.333 +            </sequential>
   3.334 +        </macrodef>
   3.335 +    </target>
   3.336 +    <target depends="-init-debug-args" name="-init-macrodef-nbjpda">
   3.337 +        <macrodef name="nbjpdastart" uri="http://www.netbeans.org/ns/j2se-project/1">
   3.338 +            <attribute default="${main.class}" name="name"/>
   3.339 +            <attribute default="${debug.classpath}" name="classpath"/>
   3.340 +            <attribute default="" name="stopclassname"/>
   3.341 +            <sequential>
   3.342 +                <nbjpdastart addressproperty="jpda.address" name="@{name}" stopclassname="@{stopclassname}" transport="${debug-transport}">
   3.343 +                    <classpath>
   3.344 +                        <path path="@{classpath}"/>
   3.345 +                    </classpath>
   3.346 +                </nbjpdastart>
   3.347 +            </sequential>
   3.348 +        </macrodef>
   3.349 +        <macrodef name="nbjpdareload" uri="http://www.netbeans.org/ns/j2se-project/1">
   3.350 +            <attribute default="${build.classes.dir}" name="dir"/>
   3.351 +            <sequential>
   3.352 +                <nbjpdareload>
   3.353 +                    <fileset dir="@{dir}" includes="${fix.classes}">
   3.354 +                        <include name="${fix.includes}*.class"/>
   3.355 +                    </fileset>
   3.356 +                </nbjpdareload>
   3.357 +            </sequential>
   3.358 +        </macrodef>
   3.359 +    </target>
   3.360 +    <target name="-init-debug-args">
   3.361 +        <property name="version-output" value="java version &quot;${ant.java.version}"/>
   3.362 +        <condition property="have-jdk-older-than-1.4">
   3.363 +            <or>
   3.364 +                <contains string="${version-output}" substring="java version &quot;1.0"/>
   3.365 +                <contains string="${version-output}" substring="java version &quot;1.1"/>
   3.366 +                <contains string="${version-output}" substring="java version &quot;1.2"/>
   3.367 +                <contains string="${version-output}" substring="java version &quot;1.3"/>
   3.368 +            </or>
   3.369 +        </condition>
   3.370 +        <condition else="-Xdebug" property="debug-args-line" value="-Xdebug -Xnoagent -Djava.compiler=none">
   3.371 +            <istrue value="${have-jdk-older-than-1.4}"/>
   3.372 +        </condition>
   3.373 +        <condition else="dt_socket" property="debug-transport-by-os" value="dt_shmem">
   3.374 +            <os family="windows"/>
   3.375 +        </condition>
   3.376 +        <condition else="${debug-transport-by-os}" property="debug-transport" value="${debug.transport}">
   3.377 +            <isset property="debug.transport"/>
   3.378 +        </condition>
   3.379 +    </target>
   3.380 +    <target depends="-init-debug-args" name="-init-macrodef-debug">
   3.381 +        <macrodef name="debug" uri="http://www.netbeans.org/ns/j2se-project/3">
   3.382 +            <attribute default="${main.class}" name="classname"/>
   3.383 +            <attribute default="${debug.classpath}" name="classpath"/>
   3.384 +            <element name="customize" optional="true"/>
   3.385 +            <sequential>
   3.386 +                <java classname="@{classname}" dir="${work.dir}" fork="true">
   3.387 +                    <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
   3.388 +                    <jvmarg line="${debug-args-line}"/>
   3.389 +                    <jvmarg value="-Xrunjdwp:transport=${debug-transport},address=${jpda.address}"/>
   3.390 +                    <jvmarg value="-Dfile.encoding=${runtime.encoding}"/>
   3.391 +                    <redirector errorencoding="${runtime.encoding}" inputencoding="${runtime.encoding}" outputencoding="${runtime.encoding}"/>
   3.392 +                    <jvmarg line="${run.jvmargs}"/>
   3.393 +                    <classpath>
   3.394 +                        <path path="@{classpath}"/>
   3.395 +                    </classpath>
   3.396 +                    <syspropertyset>
   3.397 +                        <propertyref prefix="run-sys-prop."/>
   3.398 +                        <mapper from="run-sys-prop.*" to="*" type="glob"/>
   3.399 +                    </syspropertyset>
   3.400 +                    <customize/>
   3.401 +                </java>
   3.402 +            </sequential>
   3.403 +        </macrodef>
   3.404 +    </target>
   3.405 +    <target name="-init-macrodef-java">
   3.406 +        <macrodef name="java" uri="http://www.netbeans.org/ns/j2se-project/1">
   3.407 +            <attribute default="${main.class}" name="classname"/>
   3.408 +            <attribute default="${run.classpath}" name="classpath"/>
   3.409 +            <element name="customize" optional="true"/>
   3.410 +            <sequential>
   3.411 +                <java classname="@{classname}" dir="${work.dir}" fork="true">
   3.412 +                    <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
   3.413 +                    <jvmarg value="-Dfile.encoding=${runtime.encoding}"/>
   3.414 +                    <redirector errorencoding="${runtime.encoding}" inputencoding="${runtime.encoding}" outputencoding="${runtime.encoding}"/>
   3.415 +                    <jvmarg line="${run.jvmargs}"/>
   3.416 +                    <classpath>
   3.417 +                        <path path="@{classpath}"/>
   3.418 +                    </classpath>
   3.419 +                    <syspropertyset>
   3.420 +                        <propertyref prefix="run-sys-prop."/>
   3.421 +                        <mapper from="run-sys-prop.*" to="*" type="glob"/>
   3.422 +                    </syspropertyset>
   3.423 +                    <customize/>
   3.424 +                </java>
   3.425 +            </sequential>
   3.426 +        </macrodef>
   3.427 +    </target>
   3.428 +    <target name="-init-macrodef-copylibs">
   3.429 +        <macrodef name="copylibs" uri="http://www.netbeans.org/ns/j2se-project/3">
   3.430 +            <element name="customize" optional="true"/>
   3.431 +            <sequential>
   3.432 +                <property location="${build.classes.dir}" name="build.classes.dir.resolved"/>
   3.433 +                <pathconvert property="run.classpath.without.build.classes.dir">
   3.434 +                    <path path="${run.classpath}"/>
   3.435 +                    <map from="${build.classes.dir.resolved}" to=""/>
   3.436 +                </pathconvert>
   3.437 +                <pathconvert pathsep=" " property="jar.classpath">
   3.438 +                    <path path="${run.classpath.without.build.classes.dir}"/>
   3.439 +                    <chainedmapper>
   3.440 +                        <flattenmapper/>
   3.441 +                        <globmapper from="*" to="lib/*"/>
   3.442 +                    </chainedmapper>
   3.443 +                </pathconvert>
   3.444 +                <taskdef classname="org.netbeans.modules.java.j2seproject.copylibstask.CopyLibs" classpath="${libs.CopyLibs.classpath}" name="copylibs"/>
   3.445 +                <copylibs compress="${jar.compress}" index="${jar.index}" jarfile="${dist.jar}" manifest="${manifest.file}" runtimeclasspath="${run.classpath.without.build.classes.dir}">
   3.446 +                    <fileset dir="${build.classes.dir}"/>
   3.447 +                    <manifest>
   3.448 +                        <attribute name="Class-Path" value="${jar.classpath}"/>
   3.449 +                        <customize/>
   3.450 +                    </manifest>
   3.451 +                </copylibs>
   3.452 +            </sequential>
   3.453 +        </macrodef>
   3.454 +    </target>
   3.455 +    <target name="-init-presetdef-jar">
   3.456 +        <presetdef name="jar" uri="http://www.netbeans.org/ns/j2se-project/1">
   3.457 +            <jar compress="${jar.compress}" index="${jar.index}" jarfile="${dist.jar}">
   3.458 +                <j2seproject1:fileset dir="${build.classes.dir}"/>
   3.459 +            </jar>
   3.460 +        </presetdef>
   3.461 +    </target>
   3.462 +    <target name="-init-ap-cmdline-properties">
   3.463 +        <property name="annotation.processing.enabled" value="true"/>
   3.464 +        <property name="annotation.processing.processors.list" value=""/>
   3.465 +        <property name="annotation.processing.processor.options" value=""/>
   3.466 +        <property name="annotation.processing.run.all.processors" value="true"/>
   3.467 +        <property name="javac.processorpath" value="${javac.classpath}"/>
   3.468 +        <property name="javac.test.processorpath" value="${javac.test.classpath}"/>
   3.469 +        <condition property="ap.supported.internal" value="true">
   3.470 +            <not>
   3.471 +                <matches pattern="1\.[0-5](\..*)?" string="${javac.source}"/>
   3.472 +            </not>
   3.473 +        </condition>
   3.474 +    </target>
   3.475 +    <target depends="-init-ap-cmdline-properties" if="ap.supported.internal" name="-init-ap-cmdline-supported">
   3.476 +        <condition else="" property="ap.processors.internal" value="-processor ${annotation.processing.processors.list}">
   3.477 +            <isfalse value="${annotation.processing.run.all.processors}"/>
   3.478 +        </condition>
   3.479 +        <condition else="" property="ap.proc.none.internal" value="-proc:none">
   3.480 +            <isfalse value="${annotation.processing.enabled}"/>
   3.481 +        </condition>
   3.482 +    </target>
   3.483 +    <target depends="-init-ap-cmdline-properties,-init-ap-cmdline-supported" name="-init-ap-cmdline">
   3.484 +        <property name="ap.cmd.line.internal" value=""/>
   3.485 +    </target>
   3.486 +    <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,-init-ap-cmdline" name="init"/>
   3.487 +    <!--
   3.488 +                ===================
   3.489 +                COMPILATION SECTION
   3.490 +                ===================
   3.491 +            -->
   3.492 +    <target name="-deps-jar-init" unless="built-jar.properties">
   3.493 +        <property location="${build.dir}/built-jar.properties" name="built-jar.properties"/>
   3.494 +        <delete file="${built-jar.properties}" quiet="true"/>
   3.495 +    </target>
   3.496 +    <target if="already.built.jar.${basedir}" name="-warn-already-built-jar">
   3.497 +        <echo level="warn" message="Cycle detected: rozsirene-atributy was already built"/>
   3.498 +    </target>
   3.499 +    <target depends="init,-deps-jar-init" name="deps-jar" unless="no.deps">
   3.500 +        <mkdir dir="${build.dir}"/>
   3.501 +        <touch file="${built-jar.properties}" verbose="false"/>
   3.502 +        <property file="${built-jar.properties}" prefix="already.built.jar."/>
   3.503 +        <antcall target="-warn-already-built-jar"/>
   3.504 +        <propertyfile file="${built-jar.properties}">
   3.505 +            <entry key="${basedir}" value=""/>
   3.506 +        </propertyfile>
   3.507 +    </target>
   3.508 +    <target depends="init,-check-automatic-build,-clean-after-automatic-build" name="-verify-automatic-build"/>
   3.509 +    <target depends="init" name="-check-automatic-build">
   3.510 +        <available file="${build.classes.dir}/.netbeans_automatic_build" property="netbeans.automatic.build"/>
   3.511 +    </target>
   3.512 +    <target depends="init" if="netbeans.automatic.build" name="-clean-after-automatic-build">
   3.513 +        <antcall target="clean"/>
   3.514 +    </target>
   3.515 +    <target depends="init,deps-jar" name="-pre-pre-compile">
   3.516 +        <mkdir dir="${build.classes.dir}"/>
   3.517 +    </target>
   3.518 +    <target name="-pre-compile">
   3.519 +        <!-- Empty placeholder for easier customization. -->
   3.520 +        <!-- You can override this target in the ../build.xml file. -->
   3.521 +    </target>
   3.522 +    <target if="do.depend.true" name="-compile-depend">
   3.523 +        <pathconvert property="build.generated.subdirs">
   3.524 +            <dirset dir="${build.generated.sources.dir}" erroronmissingdir="false">
   3.525 +                <include name="*"/>
   3.526 +            </dirset>
   3.527 +        </pathconvert>
   3.528 +        <j2seproject3:depend srcdir="${src.dir}:${build.generated.subdirs}"/>
   3.529 +    </target>
   3.530 +    <target depends="init,deps-jar,-pre-pre-compile,-pre-compile, -copy-persistence-xml,-compile-depend" if="have.sources" name="-do-compile">
   3.531 +        <j2seproject3:javac gensrcdir="${build.generated.sources.dir}"/>
   3.532 +        <copy todir="${build.classes.dir}">
   3.533 +            <fileset dir="${src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
   3.534 +        </copy>
   3.535 +    </target>
   3.536 +    <target if="has.persistence.xml" name="-copy-persistence-xml">
   3.537 +        <mkdir dir="${build.classes.dir}/META-INF"/>
   3.538 +        <copy todir="${build.classes.dir}/META-INF">
   3.539 +            <fileset dir="${meta.inf.dir}" includes="persistence.xml"/>
   3.540 +        </copy>
   3.541 +    </target>
   3.542 +    <target name="-post-compile">
   3.543 +        <!-- Empty placeholder for easier customization. -->
   3.544 +        <!-- You can override this target in the ../build.xml file. -->
   3.545 +    </target>
   3.546 +    <target depends="init,deps-jar,-verify-automatic-build,-pre-pre-compile,-pre-compile,-do-compile,-post-compile" description="Compile project." name="compile"/>
   3.547 +    <target name="-pre-compile-single">
   3.548 +        <!-- Empty placeholder for easier customization. -->
   3.549 +        <!-- You can override this target in the ../build.xml file. -->
   3.550 +    </target>
   3.551 +    <target depends="init,deps-jar,-pre-pre-compile" name="-do-compile-single">
   3.552 +        <fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail>
   3.553 +        <j2seproject3:force-recompile/>
   3.554 +        <j2seproject3:javac excludes="" gensrcdir="${build.generated.sources.dir}" includes="${javac.includes}" sourcepath="${src.dir}"/>
   3.555 +    </target>
   3.556 +    <target name="-post-compile-single">
   3.557 +        <!-- Empty placeholder for easier customization. -->
   3.558 +        <!-- You can override this target in the ../build.xml file. -->
   3.559 +    </target>
   3.560 +    <target depends="init,deps-jar,-verify-automatic-build,-pre-pre-compile,-pre-compile-single,-do-compile-single,-post-compile-single" name="compile-single"/>
   3.561 +    <!--
   3.562 +                ====================
   3.563 +                JAR BUILDING SECTION
   3.564 +                ====================
   3.565 +            -->
   3.566 +    <target depends="init" name="-pre-pre-jar">
   3.567 +        <dirname file="${dist.jar}" property="dist.jar.dir"/>
   3.568 +        <mkdir dir="${dist.jar.dir}"/>
   3.569 +    </target>
   3.570 +    <target name="-pre-jar">
   3.571 +        <!-- Empty placeholder for easier customization. -->
   3.572 +        <!-- You can override this target in the ../build.xml file. -->
   3.573 +    </target>
   3.574 +    <target depends="init,compile,-pre-pre-jar,-pre-jar" if="do.archive" name="-do-jar-without-manifest" unless="manifest.available">
   3.575 +        <j2seproject1:jar/>
   3.576 +    </target>
   3.577 +    <target depends="init,compile,-pre-pre-jar,-pre-jar" if="do.archive+manifest.available" name="-do-jar-with-manifest" unless="manifest.available+main.class">
   3.578 +        <j2seproject1:jar manifest="${manifest.file}"/>
   3.579 +    </target>
   3.580 +    <target depends="init,compile,-pre-pre-jar,-pre-jar" if="do.archive+manifest.available+main.class" name="-do-jar-with-mainclass" unless="manifest.available+main.class+mkdist.available">
   3.581 +        <j2seproject1:jar manifest="${manifest.file}">
   3.582 +            <j2seproject1:manifest>
   3.583 +                <j2seproject1:attribute name="Main-Class" value="${main.class}"/>
   3.584 +            </j2seproject1:manifest>
   3.585 +        </j2seproject1:jar>
   3.586 +        <echo>To run this application from the command line without Ant, try:</echo>
   3.587 +        <property location="${build.classes.dir}" name="build.classes.dir.resolved"/>
   3.588 +        <property location="${dist.jar}" name="dist.jar.resolved"/>
   3.589 +        <pathconvert property="run.classpath.with.dist.jar">
   3.590 +            <path path="${run.classpath}"/>
   3.591 +            <map from="${build.classes.dir.resolved}" to="${dist.jar.resolved}"/>
   3.592 +        </pathconvert>
   3.593 +        <echo>java -cp "${run.classpath.with.dist.jar}" ${main.class}</echo>
   3.594 +    </target>
   3.595 +    <target depends="init,compile,-pre-pre-jar,-pre-jar,-init-macrodef-copylibs" if="do.archive+manifest.available+main.class+mkdist.available+splashscreen.available" name="-do-jar-with-libraries-and-splashscreen">
   3.596 +        <basename file="${application.splash}" property="splashscreen.basename"/>
   3.597 +        <mkdir dir="${build.classes.dir}/META-INF"/>
   3.598 +        <copy failonerror="false" file="${application.splash}" todir="${build.classes.dir}/META-INF"/>
   3.599 +        <j2seproject3:copylibs>
   3.600 +            <customize>
   3.601 +                <attribute name="Main-Class" value="${main.class}"/>
   3.602 +                <attribute name="SplashScreen-Image" value="META-INF/${splashscreen.basename}"/>
   3.603 +            </customize>
   3.604 +        </j2seproject3:copylibs>
   3.605 +        <echo>To run this application from the command line without Ant, try:</echo>
   3.606 +        <property location="${dist.jar}" name="dist.jar.resolved"/>
   3.607 +        <echo>java -jar "${dist.jar.resolved}"</echo>
   3.608 +    </target>
   3.609 +    <target depends="init,compile,-pre-pre-jar,-pre-jar,-init-macrodef-copylibs" if="do.archive+manifest.available+main.class+mkdist.available" name="-do-jar-with-libraries" unless="splashscreen.available">
   3.610 +        <j2seproject3:copylibs>
   3.611 +            <customize>
   3.612 +                <attribute name="Main-Class" value="${main.class}"/>
   3.613 +            </customize>
   3.614 +        </j2seproject3:copylibs>
   3.615 +        <echo>To run this application from the command line without Ant, try:</echo>
   3.616 +        <property location="${dist.jar}" name="dist.jar.resolved"/>
   3.617 +        <echo>java -jar "${dist.jar.resolved}"</echo>
   3.618 +    </target>
   3.619 +    <target name="-post-jar">
   3.620 +        <!-- Empty placeholder for easier customization. -->
   3.621 +        <!-- You can override this target in the ../build.xml file. -->
   3.622 +    </target>
   3.623 +    <target depends="init,compile,-pre-jar,-do-jar-with-manifest,-do-jar-without-manifest,-do-jar-with-mainclass,-do-jar-with-libraries-and-splashscreen,-do-jar-with-libraries,-post-jar" description="Build JAR." name="jar"/>
   3.624 +    <!--
   3.625 +                =================
   3.626 +                EXECUTION SECTION
   3.627 +                =================
   3.628 +            -->
   3.629 +    <target depends="init,compile" description="Run a main class." name="run">
   3.630 +        <j2seproject1:java>
   3.631 +            <customize>
   3.632 +                <arg line="${application.args}"/>
   3.633 +            </customize>
   3.634 +        </j2seproject1:java>
   3.635 +    </target>
   3.636 +    <target name="-do-not-recompile">
   3.637 +        <property name="javac.includes.binary" value=""/>
   3.638 +    </target>
   3.639 +    <target depends="init,compile-single" name="run-single">
   3.640 +        <fail unless="run.class">Must select one file in the IDE or set run.class</fail>
   3.641 +        <j2seproject1:java classname="${run.class}"/>
   3.642 +    </target>
   3.643 +    <target depends="init,compile-test-single" name="run-test-with-main">
   3.644 +        <fail unless="run.class">Must select one file in the IDE or set run.class</fail>
   3.645 +        <j2seproject1:java classname="${run.class}" classpath="${run.test.classpath}"/>
   3.646 +    </target>
   3.647 +    <!--
   3.648 +                =================
   3.649 +                DEBUGGING SECTION
   3.650 +                =================
   3.651 +            -->
   3.652 +    <target depends="init" if="netbeans.home" name="-debug-start-debugger">
   3.653 +        <j2seproject1:nbjpdastart name="${debug.class}"/>
   3.654 +    </target>
   3.655 +    <target depends="init" if="netbeans.home" name="-debug-start-debugger-main-test">
   3.656 +        <j2seproject1:nbjpdastart classpath="${debug.test.classpath}" name="${debug.class}"/>
   3.657 +    </target>
   3.658 +    <target depends="init,compile" name="-debug-start-debuggee">
   3.659 +        <j2seproject3:debug>
   3.660 +            <customize>
   3.661 +                <arg line="${application.args}"/>
   3.662 +            </customize>
   3.663 +        </j2seproject3:debug>
   3.664 +    </target>
   3.665 +    <target depends="init,compile,-debug-start-debugger,-debug-start-debuggee" description="Debug project in IDE." if="netbeans.home" name="debug"/>
   3.666 +    <target depends="init" if="netbeans.home" name="-debug-start-debugger-stepinto">
   3.667 +        <j2seproject1:nbjpdastart stopclassname="${main.class}"/>
   3.668 +    </target>
   3.669 +    <target depends="init,compile,-debug-start-debugger-stepinto,-debug-start-debuggee" if="netbeans.home" name="debug-stepinto"/>
   3.670 +    <target depends="init,compile-single" if="netbeans.home" name="-debug-start-debuggee-single">
   3.671 +        <fail unless="debug.class">Must select one file in the IDE or set debug.class</fail>
   3.672 +        <j2seproject3:debug classname="${debug.class}"/>
   3.673 +    </target>
   3.674 +    <target depends="init,compile-single,-debug-start-debugger,-debug-start-debuggee-single" if="netbeans.home" name="debug-single"/>
   3.675 +    <target depends="init,compile-test-single" if="netbeans.home" name="-debug-start-debuggee-main-test">
   3.676 +        <fail unless="debug.class">Must select one file in the IDE or set debug.class</fail>
   3.677 +        <j2seproject3:debug classname="${debug.class}" classpath="${debug.test.classpath}"/>
   3.678 +    </target>
   3.679 +    <target depends="init,compile-test-single,-debug-start-debugger-main-test,-debug-start-debuggee-main-test" if="netbeans.home" name="debug-test-with-main"/>
   3.680 +    <target depends="init" name="-pre-debug-fix">
   3.681 +        <fail unless="fix.includes">Must set fix.includes</fail>
   3.682 +        <property name="javac.includes" value="${fix.includes}.java"/>
   3.683 +    </target>
   3.684 +    <target depends="init,-pre-debug-fix,compile-single" if="netbeans.home" name="-do-debug-fix">
   3.685 +        <j2seproject1:nbjpdareload/>
   3.686 +    </target>
   3.687 +    <target depends="init,-pre-debug-fix,-do-debug-fix" if="netbeans.home" name="debug-fix"/>
   3.688 +    <!--
   3.689 +                ===============
   3.690 +                JAVADOC SECTION
   3.691 +                ===============
   3.692 +            -->
   3.693 +    <target depends="init" if="have.sources" name="-javadoc-build">
   3.694 +        <mkdir dir="${dist.javadoc.dir}"/>
   3.695 +        <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.696 +            <classpath>
   3.697 +                <path path="${javac.classpath}"/>
   3.698 +            </classpath>
   3.699 +            <fileset dir="${src.dir}" excludes="${excludes}" includes="${includes}">
   3.700 +                <filename name="**/*.java"/>
   3.701 +            </fileset>
   3.702 +            <fileset dir="${build.generated.sources.dir}" erroronmissingdir="false">
   3.703 +                <include name="**/*.java"/>
   3.704 +            </fileset>
   3.705 +        </javadoc>
   3.706 +        <copy todir="${dist.javadoc.dir}">
   3.707 +            <fileset dir="${src.dir}" excludes="${excludes}" includes="${includes}">
   3.708 +                <filename name="**/doc-files/**"/>
   3.709 +            </fileset>
   3.710 +            <fileset dir="${build.generated.sources.dir}" erroronmissingdir="false">
   3.711 +                <include name="**/doc-files/**"/>
   3.712 +            </fileset>
   3.713 +        </copy>
   3.714 +    </target>
   3.715 +    <target depends="init,-javadoc-build" if="netbeans.home" name="-javadoc-browse" unless="no.javadoc.preview">
   3.716 +        <nbbrowse file="${dist.javadoc.dir}/index.html"/>
   3.717 +    </target>
   3.718 +    <target depends="init,-javadoc-build,-javadoc-browse" description="Build Javadoc." name="javadoc"/>
   3.719 +    <!--
   3.720 +                =========================
   3.721 +                JUNIT COMPILATION SECTION
   3.722 +                =========================
   3.723 +            -->
   3.724 +    <target depends="init,compile" if="have.tests" name="-pre-pre-compile-test">
   3.725 +        <mkdir dir="${build.test.classes.dir}"/>
   3.726 +    </target>
   3.727 +    <target name="-pre-compile-test">
   3.728 +        <!-- Empty placeholder for easier customization. -->
   3.729 +        <!-- You can override this target in the ../build.xml file. -->
   3.730 +    </target>
   3.731 +    <target if="do.depend.true" name="-compile-test-depend">
   3.732 +        <j2seproject3:depend classpath="${javac.test.classpath}" destdir="${build.test.classes.dir}" srcdir="${test.src.dir}"/>
   3.733 +    </target>
   3.734 +    <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test,-compile-test-depend" if="have.tests" name="-do-compile-test">
   3.735 +        <j2seproject3:javac apgeneratedsrcdir="${build.test.classes.dir}" classpath="${javac.test.classpath}" debug="true" destdir="${build.test.classes.dir}" processorpath="${javac.test.processorpath}" srcdir="${test.src.dir}"/>
   3.736 +        <copy todir="${build.test.classes.dir}">
   3.737 +            <fileset dir="${test.src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
   3.738 +        </copy>
   3.739 +    </target>
   3.740 +    <target name="-post-compile-test">
   3.741 +        <!-- Empty placeholder for easier customization. -->
   3.742 +        <!-- You can override this target in the ../build.xml file. -->
   3.743 +    </target>
   3.744 +    <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test,-do-compile-test,-post-compile-test" name="compile-test"/>
   3.745 +    <target name="-pre-compile-test-single">
   3.746 +        <!-- Empty placeholder for easier customization. -->
   3.747 +        <!-- You can override this target in the ../build.xml file. -->
   3.748 +    </target>
   3.749 +    <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test-single" if="have.tests" name="-do-compile-test-single">
   3.750 +        <fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail>
   3.751 +        <j2seproject3:force-recompile destdir="${build.test.classes.dir}"/>
   3.752 +        <j2seproject3:javac apgeneratedsrcdir="${build.test.classes.dir}" classpath="${javac.test.classpath}" debug="true" destdir="${build.test.classes.dir}" excludes="" includes="${javac.includes}" processorpath="${javac.test.processorpath}" sourcepath="${test.src.dir}" srcdir="${test.src.dir}"/>
   3.753 +        <copy todir="${build.test.classes.dir}">
   3.754 +            <fileset dir="${test.src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
   3.755 +        </copy>
   3.756 +    </target>
   3.757 +    <target name="-post-compile-test-single">
   3.758 +        <!-- Empty placeholder for easier customization. -->
   3.759 +        <!-- You can override this target in the ../build.xml file. -->
   3.760 +    </target>
   3.761 +    <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.762 +    <!--
   3.763 +                =======================
   3.764 +                JUNIT EXECUTION SECTION
   3.765 +                =======================
   3.766 +            -->
   3.767 +    <target depends="init" if="have.tests" name="-pre-test-run">
   3.768 +        <mkdir dir="${build.test.results.dir}"/>
   3.769 +    </target>
   3.770 +    <target depends="init,compile-test,-pre-test-run" if="have.tests" name="-do-test-run">
   3.771 +        <j2seproject3:junit testincludes="**/*Test.java"/>
   3.772 +    </target>
   3.773 +    <target depends="init,compile-test,-pre-test-run,-do-test-run" if="have.tests" name="-post-test-run">
   3.774 +        <fail if="tests.failed" unless="ignore.failing.tests">Some tests failed; see details above.</fail>
   3.775 +    </target>
   3.776 +    <target depends="init" if="have.tests" name="test-report"/>
   3.777 +    <target depends="init" if="netbeans.home+have.tests" name="-test-browse"/>
   3.778 +    <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.779 +    <target depends="init" if="have.tests" name="-pre-test-run-single">
   3.780 +        <mkdir dir="${build.test.results.dir}"/>
   3.781 +    </target>
   3.782 +    <target depends="init,compile-test-single,-pre-test-run-single" if="have.tests" name="-do-test-run-single">
   3.783 +        <fail unless="test.includes">Must select some files in the IDE or set test.includes</fail>
   3.784 +        <j2seproject3:junit excludes="" includes="${test.includes}"/>
   3.785 +    </target>
   3.786 +    <target depends="init,compile-test-single,-pre-test-run-single,-do-test-run-single" if="have.tests" name="-post-test-run-single">
   3.787 +        <fail if="tests.failed" unless="ignore.failing.tests">Some tests failed; see details above.</fail>
   3.788 +    </target>
   3.789 +    <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"/>
   3.790 +    <!--
   3.791 +                =======================
   3.792 +                JUNIT DEBUGGING SECTION
   3.793 +                =======================
   3.794 +            -->
   3.795 +    <target depends="init,compile-test" if="have.tests" name="-debug-start-debuggee-test">
   3.796 +        <fail unless="test.class">Must select one file in the IDE or set test.class</fail>
   3.797 +        <property location="${build.test.results.dir}/TEST-${test.class}.xml" name="test.report.file"/>
   3.798 +        <delete file="${test.report.file}"/>
   3.799 +        <mkdir dir="${build.test.results.dir}"/>
   3.800 +        <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.801 +            <customize>
   3.802 +                <syspropertyset>
   3.803 +                    <propertyref prefix="test-sys-prop."/>
   3.804 +                    <mapper from="test-sys-prop.*" to="*" type="glob"/>
   3.805 +                </syspropertyset>
   3.806 +                <arg value="${test.class}"/>
   3.807 +                <arg value="showoutput=true"/>
   3.808 +                <arg value="formatter=org.apache.tools.ant.taskdefs.optional.junit.BriefJUnitResultFormatter"/>
   3.809 +                <arg value="formatter=org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter,${test.report.file}"/>
   3.810 +            </customize>
   3.811 +        </j2seproject3:debug>
   3.812 +    </target>
   3.813 +    <target depends="init,compile-test" if="netbeans.home+have.tests" name="-debug-start-debugger-test">
   3.814 +        <j2seproject1:nbjpdastart classpath="${debug.test.classpath}" name="${test.class}"/>
   3.815 +    </target>
   3.816 +    <target depends="init,compile-test-single,-debug-start-debugger-test,-debug-start-debuggee-test" name="debug-test"/>
   3.817 +    <target depends="init,-pre-debug-fix,compile-test-single" if="netbeans.home" name="-do-debug-fix-test">
   3.818 +        <j2seproject1:nbjpdareload dir="${build.test.classes.dir}"/>
   3.819 +    </target>
   3.820 +    <target depends="init,-pre-debug-fix,-do-debug-fix-test" if="netbeans.home" name="debug-fix-test"/>
   3.821 +    <!--
   3.822 +                =========================
   3.823 +                APPLET EXECUTION SECTION
   3.824 +                =========================
   3.825 +            -->
   3.826 +    <target depends="init,compile-single" name="run-applet">
   3.827 +        <fail unless="applet.url">Must select one file in the IDE or set applet.url</fail>
   3.828 +        <j2seproject1:java classname="sun.applet.AppletViewer">
   3.829 +            <customize>
   3.830 +                <arg value="${applet.url}"/>
   3.831 +            </customize>
   3.832 +        </j2seproject1:java>
   3.833 +    </target>
   3.834 +    <!--
   3.835 +                =========================
   3.836 +                APPLET DEBUGGING  SECTION
   3.837 +                =========================
   3.838 +            -->
   3.839 +    <target depends="init,compile-single" if="netbeans.home" name="-debug-start-debuggee-applet">
   3.840 +        <fail unless="applet.url">Must select one file in the IDE or set applet.url</fail>
   3.841 +        <j2seproject3:debug classname="sun.applet.AppletViewer">
   3.842 +            <customize>
   3.843 +                <arg value="${applet.url}"/>
   3.844 +            </customize>
   3.845 +        </j2seproject3:debug>
   3.846 +    </target>
   3.847 +    <target depends="init,compile-single,-debug-start-debugger,-debug-start-debuggee-applet" if="netbeans.home" name="debug-applet"/>
   3.848 +    <!--
   3.849 +                ===============
   3.850 +                CLEANUP SECTION
   3.851 +                ===============
   3.852 +            -->
   3.853 +    <target name="-deps-clean-init" unless="built-clean.properties">
   3.854 +        <property location="${build.dir}/built-clean.properties" name="built-clean.properties"/>
   3.855 +        <delete file="${built-clean.properties}" quiet="true"/>
   3.856 +    </target>
   3.857 +    <target if="already.built.clean.${basedir}" name="-warn-already-built-clean">
   3.858 +        <echo level="warn" message="Cycle detected: rozsirene-atributy was already built"/>
   3.859 +    </target>
   3.860 +    <target depends="init,-deps-clean-init" name="deps-clean" unless="no.deps">
   3.861 +        <mkdir dir="${build.dir}"/>
   3.862 +        <touch file="${built-clean.properties}" verbose="false"/>
   3.863 +        <property file="${built-clean.properties}" prefix="already.built.clean."/>
   3.864 +        <antcall target="-warn-already-built-clean"/>
   3.865 +        <propertyfile file="${built-clean.properties}">
   3.866 +            <entry key="${basedir}" value=""/>
   3.867 +        </propertyfile>
   3.868 +    </target>
   3.869 +    <target depends="init" name="-do-clean">
   3.870 +        <delete dir="${build.dir}"/>
   3.871 +        <delete dir="${dist.dir}" followsymlinks="false" includeemptydirs="true"/>
   3.872 +    </target>
   3.873 +    <target name="-post-clean">
   3.874 +        <!-- Empty placeholder for easier customization. -->
   3.875 +        <!-- You can override this target in the ../build.xml file. -->
   3.876 +    </target>
   3.877 +    <target depends="init,deps-clean,-do-clean,-post-clean" description="Clean build products." name="clean"/>
   3.878 +    <target name="-check-call-dep">
   3.879 +        <property file="${call.built.properties}" prefix="already.built."/>
   3.880 +        <condition property="should.call.dep">
   3.881 +            <not>
   3.882 +                <isset property="already.built.${call.subproject}"/>
   3.883 +            </not>
   3.884 +        </condition>
   3.885 +    </target>
   3.886 +    <target depends="-check-call-dep" if="should.call.dep" name="-maybe-call-dep">
   3.887 +        <ant antfile="${call.script}" inheritall="false" target="${call.target}">
   3.888 +            <propertyset>
   3.889 +                <propertyref prefix="transfer."/>
   3.890 +                <mapper from="transfer.*" to="*" type="glob"/>
   3.891 +            </propertyset>
   3.892 +        </ant>
   3.893 +    </target>
   3.894 +</project>
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/java/rozsirene-atributy/nbproject/genfiles.properties	Wed Dec 15 16:51:01 2010 +0100
     4.3 @@ -0,0 +1,8 @@
     4.4 +build.xml.data.CRC32=ca43bb03
     4.5 +build.xml.script.CRC32=ece139f4
     4.6 +build.xml.stylesheet.CRC32=28e38971@1.38.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=ca43bb03
    4.10 +nbproject/build-impl.xml.script.CRC32=26a8ec24
    4.11 +nbproject/build-impl.xml.stylesheet.CRC32=f33e10ff@1.38.2.45
     5.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.2 +++ b/java/rozsirene-atributy/nbproject/project.properties	Wed Dec 15 16:51:01 2010 +0100
     5.3 @@ -0,0 +1,82 @@
     5.4 +annotation.processing.enabled=true
     5.5 +annotation.processing.enabled.in.editor=false
     5.6 +annotation.processing.run.all.processors=true
     5.7 +annotation.processing.source.output=${build.generated.sources.dir}/ap-source-output
     5.8 +application.title=rozsirene-atributy
     5.9 +application.vendor=fiki
    5.10 +build.classes.dir=${build.dir}/classes
    5.11 +build.classes.excludes=**/*.java,**/*.form
    5.12 +# This directory is removed when the project is cleaned:
    5.13 +build.dir=build
    5.14 +build.generated.dir=${build.dir}/generated
    5.15 +build.generated.sources.dir=${build.dir}/generated-sources
    5.16 +# Only compile against the classpath explicitly listed here:
    5.17 +build.sysclasspath=ignore
    5.18 +build.test.classes.dir=${build.dir}/test/classes
    5.19 +build.test.results.dir=${build.dir}/test/results
    5.20 +# Uncomment to specify the preferred debugger connection transport:
    5.21 +#debug.transport=dt_socket
    5.22 +debug.classpath=\
    5.23 +    ${run.classpath}
    5.24 +debug.test.classpath=\
    5.25 +    ${run.test.classpath}
    5.26 +# This directory is removed when the project is cleaned:
    5.27 +dist.dir=dist
    5.28 +dist.jar=${dist.dir}/rozsirene-atributy.jar
    5.29 +dist.javadoc.dir=${dist.dir}/javadoc
    5.30 +endorsed.classpath=
    5.31 +excludes=
    5.32 +includes=**
    5.33 +jar.archive.disabled=${jnlp.enabled}
    5.34 +jar.compress=false
    5.35 +jar.index=${jnlp.enabled}
    5.36 +javac.classpath=
    5.37 +# Space-separated list of extra javac options
    5.38 +javac.compilerargs=
    5.39 +javac.deprecation=false
    5.40 +javac.processorpath=\
    5.41 +    ${javac.classpath}
    5.42 +javac.source=1.5
    5.43 +javac.target=1.5
    5.44 +javac.test.classpath=\
    5.45 +    ${javac.classpath}:\
    5.46 +    ${build.classes.dir}:\
    5.47 +    ${libs.junit.classpath}:\
    5.48 +    ${libs.junit_4.classpath}
    5.49 +javac.test.processorpath=\
    5.50 +    ${javac.test.classpath}
    5.51 +javadoc.additionalparam=
    5.52 +javadoc.author=false
    5.53 +javadoc.encoding=${source.encoding}
    5.54 +javadoc.noindex=false
    5.55 +javadoc.nonavbar=false
    5.56 +javadoc.notree=false
    5.57 +javadoc.private=false
    5.58 +javadoc.splitindex=true
    5.59 +javadoc.use=true
    5.60 +javadoc.version=false
    5.61 +javadoc.windowtitle=
    5.62 +jnlp.codebase.type=user
    5.63 +jnlp.codebase.user=
    5.64 +jnlp.descriptor=application
    5.65 +jnlp.enabled=false
    5.66 +jnlp.mixed.code=defaut
    5.67 +jnlp.offline-allowed=false
    5.68 +jnlp.signed=false
    5.69 +main.class=
    5.70 +manifest.file=manifest.mf
    5.71 +meta.inf.dir=${src.dir}/META-INF
    5.72 +platform.active=default_platform
    5.73 +run.classpath=\
    5.74 +    ${javac.classpath}:\
    5.75 +    ${build.classes.dir}
    5.76 +# Space-separated list of JVM arguments used when running the project
    5.77 +# (you may also define separate properties like run-sys-prop.name=value instead of -Dname=value
    5.78 +# or test-sys-prop.name=value to set system properties for unit tests):
    5.79 +run.jvmargs=
    5.80 +run.test.classpath=\
    5.81 +    ${javac.test.classpath}:\
    5.82 +    ${build.test.classes.dir}
    5.83 +source.encoding=UTF-8
    5.84 +src.dir=src
    5.85 +test.src.dir=test
     6.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.2 +++ b/java/rozsirene-atributy/nbproject/project.xml	Wed Dec 15 16:51:01 2010 +0100
     6.3 @@ -0,0 +1,15 @@
     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>rozsirene-atributy</name>
    6.10 +            <source-roots>
    6.11 +                <root id="src.dir"/>
    6.12 +            </source-roots>
    6.13 +            <test-roots>
    6.14 +                <root id="test.src.dir"/>
    6.15 +            </test-roots>
    6.16 +        </data>
    6.17 +    </configuration>
    6.18 +</project>