java/rozsirene-atributy-jedit/nbproject/build-impl.xml
branchv_0
changeset 18 6864cc4e6027
child 26 706d4c013bf1
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/java/rozsirene-atributy-jedit/nbproject/build-impl.xml	Sat Aug 18 13:22:45 2012 +0200
     1.3 @@ -0,0 +1,1067 @@
     1.4 +<?xml version="1.0" encoding="UTF-8"?>
     1.5 +<!--
     1.6 +*** GENERATED FROM project.xml - DO NOT EDIT  ***
     1.7 +***         EDIT ../build.xml INSTEAD         ***
     1.8 +
     1.9 +For the purpose of easier reading the script
    1.10 +is divided into following sections:
    1.11 +
    1.12 +  - initialization
    1.13 +  - compilation
    1.14 +  - jar
    1.15 +  - execution
    1.16 +  - debugging
    1.17 +  - javadoc
    1.18 +  - junit compilation
    1.19 +  - junit execution
    1.20 +  - junit debugging
    1.21 +  - applet
    1.22 +  - cleanup
    1.23 +
    1.24 +        -->
    1.25 +<project xmlns:j2seproject1="http://www.netbeans.org/ns/j2se-project/1" xmlns:j2seproject3="http://www.netbeans.org/ns/j2se-project/3" xmlns:jaxrpc="http://www.netbeans.org/ns/j2se-project/jax-rpc" basedir=".." default="default" name="rozsirene-atributy-jedit-impl">
    1.26 +    <fail message="Please build using Ant 1.8.0 or higher.">
    1.27 +        <condition>
    1.28 +            <not>
    1.29 +                <antversion atleast="1.8.0"/>
    1.30 +            </not>
    1.31 +        </condition>
    1.32 +    </fail>
    1.33 +    <target depends="test,jar,javadoc" description="Build and test whole project." name="default"/>
    1.34 +    <!-- 
    1.35 +                ======================
    1.36 +                INITIALIZATION SECTION 
    1.37 +                ======================
    1.38 +            -->
    1.39 +    <target name="-pre-init">
    1.40 +        <!-- Empty placeholder for easier customization. -->
    1.41 +        <!-- You can override this target in the ../build.xml file. -->
    1.42 +    </target>
    1.43 +    <target depends="-pre-init" name="-init-private">
    1.44 +        <property file="nbproject/private/config.properties"/>
    1.45 +        <property file="nbproject/private/configs/${config}.properties"/>
    1.46 +        <property file="nbproject/private/private.properties"/>
    1.47 +    </target>
    1.48 +    <target depends="-pre-init,-init-private" name="-init-user">
    1.49 +        <property file="${user.properties.file}"/>
    1.50 +        <!-- The two properties below are usually overridden -->
    1.51 +        <!-- by the active platform. Just a fallback. -->
    1.52 +        <property name="default.javac.source" value="1.4"/>
    1.53 +        <property name="default.javac.target" value="1.4"/>
    1.54 +    </target>
    1.55 +    <target depends="-pre-init,-init-private,-init-user" name="-init-project">
    1.56 +        <property file="nbproject/configs/${config}.properties"/>
    1.57 +        <property file="nbproject/project.properties"/>
    1.58 +    </target>
    1.59 +    <target depends="-pre-init,-init-private,-init-user,-init-project,-init-macrodef-property" name="-do-init">
    1.60 +        <available file="${manifest.file}" property="manifest.available"/>
    1.61 +        <condition property="splashscreen.available">
    1.62 +            <and>
    1.63 +                <not>
    1.64 +                    <equals arg1="${application.splash}" arg2="" trim="true"/>
    1.65 +                </not>
    1.66 +                <available file="${application.splash}"/>
    1.67 +            </and>
    1.68 +        </condition>
    1.69 +        <condition property="main.class.available">
    1.70 +            <and>
    1.71 +                <isset property="main.class"/>
    1.72 +                <not>
    1.73 +                    <equals arg1="${main.class}" arg2="" trim="true"/>
    1.74 +                </not>
    1.75 +            </and>
    1.76 +        </condition>
    1.77 +        <condition property="manifest.available+main.class">
    1.78 +            <and>
    1.79 +                <isset property="manifest.available"/>
    1.80 +                <isset property="main.class.available"/>
    1.81 +            </and>
    1.82 +        </condition>
    1.83 +        <condition property="do.archive">
    1.84 +            <not>
    1.85 +                <istrue value="${jar.archive.disabled}"/>
    1.86 +            </not>
    1.87 +        </condition>
    1.88 +        <condition property="do.mkdist">
    1.89 +            <and>
    1.90 +                <isset property="do.archive"/>
    1.91 +                <isset property="libs.CopyLibs.classpath"/>
    1.92 +                <not>
    1.93 +                    <istrue value="${mkdist.disabled}"/>
    1.94 +                </not>
    1.95 +            </and>
    1.96 +        </condition>
    1.97 +        <condition property="manifest.available+main.class+mkdist.available">
    1.98 +            <and>
    1.99 +                <istrue value="${manifest.available+main.class}"/>
   1.100 +                <isset property="do.mkdist"/>
   1.101 +            </and>
   1.102 +        </condition>
   1.103 +        <condition property="do.archive+manifest.available">
   1.104 +            <and>
   1.105 +                <isset property="manifest.available"/>
   1.106 +                <istrue value="${do.archive}"/>
   1.107 +            </and>
   1.108 +        </condition>
   1.109 +        <condition property="do.archive+main.class.available">
   1.110 +            <and>
   1.111 +                <isset property="main.class.available"/>
   1.112 +                <istrue value="${do.archive}"/>
   1.113 +            </and>
   1.114 +        </condition>
   1.115 +        <condition property="do.archive+splashscreen.available">
   1.116 +            <and>
   1.117 +                <isset property="splashscreen.available"/>
   1.118 +                <istrue value="${do.archive}"/>
   1.119 +            </and>
   1.120 +        </condition>
   1.121 +        <condition property="do.archive+manifest.available+main.class">
   1.122 +            <and>
   1.123 +                <istrue value="${manifest.available+main.class}"/>
   1.124 +                <istrue value="${do.archive}"/>
   1.125 +            </and>
   1.126 +        </condition>
   1.127 +        <condition property="manifest.available-mkdist.available">
   1.128 +            <or>
   1.129 +                <istrue value="${manifest.available}"/>
   1.130 +                <isset property="do.mkdist"/>
   1.131 +            </or>
   1.132 +        </condition>
   1.133 +        <condition property="manifest.available+main.class-mkdist.available">
   1.134 +            <or>
   1.135 +                <istrue value="${manifest.available+main.class}"/>
   1.136 +                <isset property="do.mkdist"/>
   1.137 +            </or>
   1.138 +        </condition>
   1.139 +        <condition property="have.tests">
   1.140 +            <or>
   1.141 +                <available file="${test.src.dir}"/>
   1.142 +            </or>
   1.143 +        </condition>
   1.144 +        <condition property="have.sources">
   1.145 +            <or>
   1.146 +                <available file="${src.dir}"/>
   1.147 +            </or>
   1.148 +        </condition>
   1.149 +        <condition property="netbeans.home+have.tests">
   1.150 +            <and>
   1.151 +                <isset property="netbeans.home"/>
   1.152 +                <isset property="have.tests"/>
   1.153 +            </and>
   1.154 +        </condition>
   1.155 +        <condition property="no.javadoc.preview">
   1.156 +            <and>
   1.157 +                <isset property="javadoc.preview"/>
   1.158 +                <isfalse value="${javadoc.preview}"/>
   1.159 +            </and>
   1.160 +        </condition>
   1.161 +        <property name="run.jvmargs" value=""/>
   1.162 +        <property name="javac.compilerargs" value=""/>
   1.163 +        <property name="work.dir" value="${basedir}"/>
   1.164 +        <condition property="no.deps">
   1.165 +            <and>
   1.166 +                <istrue value="${no.dependencies}"/>
   1.167 +            </and>
   1.168 +        </condition>
   1.169 +        <property name="javac.debug" value="true"/>
   1.170 +        <property name="javadoc.preview" value="true"/>
   1.171 +        <property name="application.args" value=""/>
   1.172 +        <property name="source.encoding" value="${file.encoding}"/>
   1.173 +        <property name="runtime.encoding" value="${source.encoding}"/>
   1.174 +        <condition property="javadoc.encoding.used" value="${javadoc.encoding}">
   1.175 +            <and>
   1.176 +                <isset property="javadoc.encoding"/>
   1.177 +                <not>
   1.178 +                    <equals arg1="${javadoc.encoding}" arg2=""/>
   1.179 +                </not>
   1.180 +            </and>
   1.181 +        </condition>
   1.182 +        <property name="javadoc.encoding.used" value="${source.encoding}"/>
   1.183 +        <property name="includes" value="**"/>
   1.184 +        <property name="excludes" value=""/>
   1.185 +        <property name="do.depend" value="false"/>
   1.186 +        <condition property="do.depend.true">
   1.187 +            <istrue value="${do.depend}"/>
   1.188 +        </condition>
   1.189 +        <path id="endorsed.classpath.path" path="${endorsed.classpath}"/>
   1.190 +        <condition else="" property="endorsed.classpath.cmd.line.arg" value="-Xbootclasspath/p:'${toString:endorsed.classpath.path}'">
   1.191 +            <length length="0" string="${endorsed.classpath}" when="greater"/>
   1.192 +        </condition>
   1.193 +        <condition else="false" property="jdkBug6558476">
   1.194 +            <and>
   1.195 +                <matches pattern="1\.[56]" string="${java.specification.version}"/>
   1.196 +                <not>
   1.197 +                    <os family="unix"/>
   1.198 +                </not>
   1.199 +            </and>
   1.200 +        </condition>
   1.201 +        <property name="javac.fork" value="${jdkBug6558476}"/>
   1.202 +        <property name="jar.index" value="false"/>
   1.203 +        <property name="jar.index.metainf" value="${jar.index}"/>
   1.204 +        <property name="copylibs.rebase" value="true"/>
   1.205 +        <available file="${meta.inf.dir}/persistence.xml" property="has.persistence.xml"/>
   1.206 +    </target>
   1.207 +    <target name="-post-init">
   1.208 +        <!-- Empty placeholder for easier customization. -->
   1.209 +        <!-- You can override this target in the ../build.xml file. -->
   1.210 +    </target>
   1.211 +    <target depends="-pre-init,-init-private,-init-user,-init-project,-do-init" name="-init-check">
   1.212 +        <fail unless="src.dir">Must set src.dir</fail>
   1.213 +        <fail unless="test.src.dir">Must set test.src.dir</fail>
   1.214 +        <fail unless="build.dir">Must set build.dir</fail>
   1.215 +        <fail unless="dist.dir">Must set dist.dir</fail>
   1.216 +        <fail unless="build.classes.dir">Must set build.classes.dir</fail>
   1.217 +        <fail unless="dist.javadoc.dir">Must set dist.javadoc.dir</fail>
   1.218 +        <fail unless="build.test.classes.dir">Must set build.test.classes.dir</fail>
   1.219 +        <fail unless="build.test.results.dir">Must set build.test.results.dir</fail>
   1.220 +        <fail unless="build.classes.excludes">Must set build.classes.excludes</fail>
   1.221 +        <fail unless="dist.jar">Must set dist.jar</fail>
   1.222 +    </target>
   1.223 +    <target name="-init-macrodef-property">
   1.224 +        <macrodef name="property" uri="http://www.netbeans.org/ns/j2se-project/1">
   1.225 +            <attribute name="name"/>
   1.226 +            <attribute name="value"/>
   1.227 +            <sequential>
   1.228 +                <property name="@{name}" value="${@{value}}"/>
   1.229 +            </sequential>
   1.230 +        </macrodef>
   1.231 +    </target>
   1.232 +    <target depends="-init-ap-cmdline-properties" if="ap.supported.internal" name="-init-macrodef-javac-with-processors">
   1.233 +        <macrodef name="javac" uri="http://www.netbeans.org/ns/j2se-project/3">
   1.234 +            <attribute default="${src.dir}" name="srcdir"/>
   1.235 +            <attribute default="${build.classes.dir}" name="destdir"/>
   1.236 +            <attribute default="${javac.classpath}" name="classpath"/>
   1.237 +            <attribute default="${javac.processorpath}" name="processorpath"/>
   1.238 +            <attribute default="${build.generated.sources.dir}/ap-source-output" name="apgeneratedsrcdir"/>
   1.239 +            <attribute default="${includes}" name="includes"/>
   1.240 +            <attribute default="${excludes}" name="excludes"/>
   1.241 +            <attribute default="${javac.debug}" name="debug"/>
   1.242 +            <attribute default="${empty.dir}" name="sourcepath"/>
   1.243 +            <attribute default="${empty.dir}" name="gensrcdir"/>
   1.244 +            <element name="customize" optional="true"/>
   1.245 +            <sequential>
   1.246 +                <property location="${build.dir}/empty" name="empty.dir"/>
   1.247 +                <mkdir dir="${empty.dir}"/>
   1.248 +                <mkdir dir="@{apgeneratedsrcdir}"/>
   1.249 +                <javac debug="@{debug}" deprecation="${javac.deprecation}" destdir="@{destdir}" encoding="${source.encoding}" excludes="@{excludes}" fork="${javac.fork}" includeantruntime="false" includes="@{includes}" source="${javac.source}" sourcepath="@{sourcepath}" srcdir="@{srcdir}" target="${javac.target}" tempdir="${java.io.tmpdir}">
   1.250 +                    <src>
   1.251 +                        <dirset dir="@{gensrcdir}" erroronmissingdir="false">
   1.252 +                            <include name="*"/>
   1.253 +                        </dirset>
   1.254 +                    </src>
   1.255 +                    <classpath>
   1.256 +                        <path path="@{classpath}"/>
   1.257 +                    </classpath>
   1.258 +                    <compilerarg line="${endorsed.classpath.cmd.line.arg}"/>
   1.259 +                    <compilerarg line="${javac.compilerargs}"/>
   1.260 +                    <compilerarg value="-processorpath"/>
   1.261 +                    <compilerarg path="@{processorpath}:${empty.dir}"/>
   1.262 +                    <compilerarg line="${ap.processors.internal}"/>
   1.263 +                    <compilerarg line="${annotation.processing.processor.options}"/>
   1.264 +                    <compilerarg value="-s"/>
   1.265 +                    <compilerarg path="@{apgeneratedsrcdir}"/>
   1.266 +                    <compilerarg line="${ap.proc.none.internal}"/>
   1.267 +                    <customize/>
   1.268 +                </javac>
   1.269 +            </sequential>
   1.270 +        </macrodef>
   1.271 +    </target>
   1.272 +    <target depends="-init-ap-cmdline-properties" name="-init-macrodef-javac-without-processors" unless="ap.supported.internal">
   1.273 +        <macrodef name="javac" uri="http://www.netbeans.org/ns/j2se-project/3">
   1.274 +            <attribute default="${src.dir}" name="srcdir"/>
   1.275 +            <attribute default="${build.classes.dir}" name="destdir"/>
   1.276 +            <attribute default="${javac.classpath}" name="classpath"/>
   1.277 +            <attribute default="${javac.processorpath}" name="processorpath"/>
   1.278 +            <attribute default="${build.generated.sources.dir}/ap-source-output" name="apgeneratedsrcdir"/>
   1.279 +            <attribute default="${includes}" name="includes"/>
   1.280 +            <attribute default="${excludes}" name="excludes"/>
   1.281 +            <attribute default="${javac.debug}" name="debug"/>
   1.282 +            <attribute default="${empty.dir}" name="sourcepath"/>
   1.283 +            <attribute default="${empty.dir}" name="gensrcdir"/>
   1.284 +            <element name="customize" optional="true"/>
   1.285 +            <sequential>
   1.286 +                <property location="${build.dir}/empty" name="empty.dir"/>
   1.287 +                <mkdir dir="${empty.dir}"/>
   1.288 +                <javac debug="@{debug}" deprecation="${javac.deprecation}" destdir="@{destdir}" encoding="${source.encoding}" excludes="@{excludes}" fork="${javac.fork}" includeantruntime="false" includes="@{includes}" source="${javac.source}" sourcepath="@{sourcepath}" srcdir="@{srcdir}" target="${javac.target}" tempdir="${java.io.tmpdir}">
   1.289 +                    <src>
   1.290 +                        <dirset dir="@{gensrcdir}" erroronmissingdir="false">
   1.291 +                            <include name="*"/>
   1.292 +                        </dirset>
   1.293 +                    </src>
   1.294 +                    <classpath>
   1.295 +                        <path path="@{classpath}"/>
   1.296 +                    </classpath>
   1.297 +                    <compilerarg line="${endorsed.classpath.cmd.line.arg}"/>
   1.298 +                    <compilerarg line="${javac.compilerargs}"/>
   1.299 +                    <customize/>
   1.300 +                </javac>
   1.301 +            </sequential>
   1.302 +        </macrodef>
   1.303 +    </target>
   1.304 +    <target depends="-init-macrodef-javac-with-processors,-init-macrodef-javac-without-processors" name="-init-macrodef-javac">
   1.305 +        <macrodef name="depend" uri="http://www.netbeans.org/ns/j2se-project/3">
   1.306 +            <attribute default="${src.dir}" name="srcdir"/>
   1.307 +            <attribute default="${build.classes.dir}" name="destdir"/>
   1.308 +            <attribute default="${javac.classpath}" name="classpath"/>
   1.309 +            <sequential>
   1.310 +                <depend cache="${build.dir}/depcache" destdir="@{destdir}" excludes="${excludes}" includes="${includes}" srcdir="@{srcdir}">
   1.311 +                    <classpath>
   1.312 +                        <path path="@{classpath}"/>
   1.313 +                    </classpath>
   1.314 +                </depend>
   1.315 +            </sequential>
   1.316 +        </macrodef>
   1.317 +        <macrodef name="force-recompile" uri="http://www.netbeans.org/ns/j2se-project/3">
   1.318 +            <attribute default="${build.classes.dir}" name="destdir"/>
   1.319 +            <sequential>
   1.320 +                <fail unless="javac.includes">Must set javac.includes</fail>
   1.321 +                <pathconvert pathsep="${line.separator}" property="javac.includes.binary">
   1.322 +                    <path>
   1.323 +                        <filelist dir="@{destdir}" files="${javac.includes}"/>
   1.324 +                    </path>
   1.325 +                    <globmapper from="*.java" to="*.class"/>
   1.326 +                </pathconvert>
   1.327 +                <tempfile deleteonexit="true" property="javac.includesfile.binary"/>
   1.328 +                <echo file="${javac.includesfile.binary}" message="${javac.includes.binary}"/>
   1.329 +                <delete>
   1.330 +                    <files includesfile="${javac.includesfile.binary}"/>
   1.331 +                </delete>
   1.332 +                <delete>
   1.333 +                    <fileset file="${javac.includesfile.binary}"/>
   1.334 +                </delete>
   1.335 +            </sequential>
   1.336 +        </macrodef>
   1.337 +    </target>
   1.338 +    <target name="-init-macrodef-junit">
   1.339 +        <macrodef name="junit" uri="http://www.netbeans.org/ns/j2se-project/3">
   1.340 +            <attribute default="${includes}" name="includes"/>
   1.341 +            <attribute default="${excludes}" name="excludes"/>
   1.342 +            <attribute default="**" name="testincludes"/>
   1.343 +            <sequential>
   1.344 +                <property name="junit.forkmode" value="perTest"/>
   1.345 +                <junit dir="${work.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" forkmode="${junit.forkmode}" showoutput="true" tempdir="${build.dir}">
   1.346 +                    <batchtest todir="${build.test.results.dir}">
   1.347 +                        <fileset dir="${test.src.dir}" excludes="@{excludes},${excludes}" includes="@{includes}">
   1.348 +                            <filename name="@{testincludes}"/>
   1.349 +                        </fileset>
   1.350 +                    </batchtest>
   1.351 +                    <classpath>
   1.352 +                        <path path="${run.test.classpath}"/>
   1.353 +                    </classpath>
   1.354 +                    <syspropertyset>
   1.355 +                        <propertyref prefix="test-sys-prop."/>
   1.356 +                        <mapper from="test-sys-prop.*" to="*" type="glob"/>
   1.357 +                    </syspropertyset>
   1.358 +                    <formatter type="brief" usefile="false"/>
   1.359 +                    <formatter type="xml"/>
   1.360 +                    <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
   1.361 +                    <jvmarg value="-ea"/>
   1.362 +                    <jvmarg line="${run.jvmargs}"/>
   1.363 +                </junit>
   1.364 +            </sequential>
   1.365 +        </macrodef>
   1.366 +    </target>
   1.367 +    <target depends="-profile-pre-init, init, -profile-post-init, -profile-init-macrodef-profile, -profile-init-check" name="profile-init"/>
   1.368 +    <target name="-profile-pre-init">
   1.369 +        <!-- Empty placeholder for easier customization. -->
   1.370 +        <!-- You can override this target in the ../build.xml file. -->
   1.371 +    </target>
   1.372 +    <target name="-profile-post-init">
   1.373 +        <!-- Empty placeholder for easier customization. -->
   1.374 +        <!-- You can override this target in the ../build.xml file. -->
   1.375 +    </target>
   1.376 +    <target name="-profile-init-macrodef-profile">
   1.377 +        <macrodef name="resolve">
   1.378 +            <attribute name="name"/>
   1.379 +            <attribute name="value"/>
   1.380 +            <sequential>
   1.381 +                <property name="@{name}" value="${env.@{value}}"/>
   1.382 +            </sequential>
   1.383 +        </macrodef>
   1.384 +        <macrodef name="profile">
   1.385 +            <attribute default="${main.class}" name="classname"/>
   1.386 +            <element name="customize" optional="true"/>
   1.387 +            <sequential>
   1.388 +                <property environment="env"/>
   1.389 +                <resolve name="profiler.current.path" value="${profiler.info.pathvar}"/>
   1.390 +                <java classname="@{classname}" dir="${profiler.info.dir}" fork="true" jvm="${profiler.info.jvm}">
   1.391 +                    <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
   1.392 +                    <jvmarg value="${profiler.info.jvmargs.agent}"/>
   1.393 +                    <jvmarg line="${profiler.info.jvmargs}"/>
   1.394 +                    <env key="${profiler.info.pathvar}" path="${profiler.info.agentpath}:${profiler.current.path}"/>
   1.395 +                    <arg line="${application.args}"/>
   1.396 +                    <classpath>
   1.397 +                        <path path="${run.classpath}"/>
   1.398 +                    </classpath>
   1.399 +                    <syspropertyset>
   1.400 +                        <propertyref prefix="run-sys-prop."/>
   1.401 +                        <mapper from="run-sys-prop.*" to="*" type="glob"/>
   1.402 +                    </syspropertyset>
   1.403 +                    <customize/>
   1.404 +                </java>
   1.405 +            </sequential>
   1.406 +        </macrodef>
   1.407 +    </target>
   1.408 +    <target depends="-profile-pre-init, init, -profile-post-init, -profile-init-macrodef-profile" name="-profile-init-check">
   1.409 +        <fail unless="profiler.info.jvm">Must set JVM to use for profiling in profiler.info.jvm</fail>
   1.410 +        <fail unless="profiler.info.jvmargs.agent">Must set profiler agent JVM arguments in profiler.info.jvmargs.agent</fail>
   1.411 +    </target>
   1.412 +    <target depends="-init-debug-args" name="-init-macrodef-nbjpda">
   1.413 +        <macrodef name="nbjpdastart" uri="http://www.netbeans.org/ns/j2se-project/1">
   1.414 +            <attribute default="${main.class}" name="name"/>
   1.415 +            <attribute default="${debug.classpath}" name="classpath"/>
   1.416 +            <attribute default="" name="stopclassname"/>
   1.417 +            <sequential>
   1.418 +                <nbjpdastart addressproperty="jpda.address" name="@{name}" stopclassname="@{stopclassname}" transport="${debug-transport}">
   1.419 +                    <classpath>
   1.420 +                        <path path="@{classpath}"/>
   1.421 +                    </classpath>
   1.422 +                </nbjpdastart>
   1.423 +            </sequential>
   1.424 +        </macrodef>
   1.425 +        <macrodef name="nbjpdareload" uri="http://www.netbeans.org/ns/j2se-project/1">
   1.426 +            <attribute default="${build.classes.dir}" name="dir"/>
   1.427 +            <sequential>
   1.428 +                <nbjpdareload>
   1.429 +                    <fileset dir="@{dir}" includes="${fix.classes}">
   1.430 +                        <include name="${fix.includes}*.class"/>
   1.431 +                    </fileset>
   1.432 +                </nbjpdareload>
   1.433 +            </sequential>
   1.434 +        </macrodef>
   1.435 +    </target>
   1.436 +    <target name="-init-debug-args">
   1.437 +        <property name="version-output" value="java version &quot;${ant.java.version}"/>
   1.438 +        <condition property="have-jdk-older-than-1.4">
   1.439 +            <or>
   1.440 +                <contains string="${version-output}" substring="java version &quot;1.0"/>
   1.441 +                <contains string="${version-output}" substring="java version &quot;1.1"/>
   1.442 +                <contains string="${version-output}" substring="java version &quot;1.2"/>
   1.443 +                <contains string="${version-output}" substring="java version &quot;1.3"/>
   1.444 +            </or>
   1.445 +        </condition>
   1.446 +        <condition else="-Xdebug" property="debug-args-line" value="-Xdebug -Xnoagent -Djava.compiler=none">
   1.447 +            <istrue value="${have-jdk-older-than-1.4}"/>
   1.448 +        </condition>
   1.449 +        <condition else="dt_socket" property="debug-transport-by-os" value="dt_shmem">
   1.450 +            <os family="windows"/>
   1.451 +        </condition>
   1.452 +        <condition else="${debug-transport-by-os}" property="debug-transport" value="${debug.transport}">
   1.453 +            <isset property="debug.transport"/>
   1.454 +        </condition>
   1.455 +    </target>
   1.456 +    <target depends="-init-debug-args" name="-init-macrodef-debug">
   1.457 +        <macrodef name="debug" uri="http://www.netbeans.org/ns/j2se-project/3">
   1.458 +            <attribute default="${main.class}" name="classname"/>
   1.459 +            <attribute default="${debug.classpath}" name="classpath"/>
   1.460 +            <element name="customize" optional="true"/>
   1.461 +            <sequential>
   1.462 +                <java classname="@{classname}" dir="${work.dir}" fork="true">
   1.463 +                    <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
   1.464 +                    <jvmarg line="${debug-args-line}"/>
   1.465 +                    <jvmarg value="-Xrunjdwp:transport=${debug-transport},address=${jpda.address}"/>
   1.466 +                    <jvmarg value="-Dfile.encoding=${runtime.encoding}"/>
   1.467 +                    <redirector errorencoding="${runtime.encoding}" inputencoding="${runtime.encoding}" outputencoding="${runtime.encoding}"/>
   1.468 +                    <jvmarg line="${run.jvmargs}"/>
   1.469 +                    <classpath>
   1.470 +                        <path path="@{classpath}"/>
   1.471 +                    </classpath>
   1.472 +                    <syspropertyset>
   1.473 +                        <propertyref prefix="run-sys-prop."/>
   1.474 +                        <mapper from="run-sys-prop.*" to="*" type="glob"/>
   1.475 +                    </syspropertyset>
   1.476 +                    <customize/>
   1.477 +                </java>
   1.478 +            </sequential>
   1.479 +        </macrodef>
   1.480 +    </target>
   1.481 +    <target name="-init-macrodef-java">
   1.482 +        <macrodef name="java" uri="http://www.netbeans.org/ns/j2se-project/1">
   1.483 +            <attribute default="${main.class}" name="classname"/>
   1.484 +            <attribute default="${run.classpath}" name="classpath"/>
   1.485 +            <element name="customize" optional="true"/>
   1.486 +            <sequential>
   1.487 +                <java classname="@{classname}" dir="${work.dir}" fork="true">
   1.488 +                    <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
   1.489 +                    <jvmarg value="-Dfile.encoding=${runtime.encoding}"/>
   1.490 +                    <redirector errorencoding="${runtime.encoding}" inputencoding="${runtime.encoding}" outputencoding="${runtime.encoding}"/>
   1.491 +                    <jvmarg line="${run.jvmargs}"/>
   1.492 +                    <classpath>
   1.493 +                        <path path="@{classpath}"/>
   1.494 +                    </classpath>
   1.495 +                    <syspropertyset>
   1.496 +                        <propertyref prefix="run-sys-prop."/>
   1.497 +                        <mapper from="run-sys-prop.*" to="*" type="glob"/>
   1.498 +                    </syspropertyset>
   1.499 +                    <customize/>
   1.500 +                </java>
   1.501 +            </sequential>
   1.502 +        </macrodef>
   1.503 +    </target>
   1.504 +    <target name="-init-macrodef-copylibs">
   1.505 +        <macrodef name="copylibs" uri="http://www.netbeans.org/ns/j2se-project/3">
   1.506 +            <attribute default="${manifest.file}" name="manifest"/>
   1.507 +            <element name="customize" optional="true"/>
   1.508 +            <sequential>
   1.509 +                <property location="${build.classes.dir}" name="build.classes.dir.resolved"/>
   1.510 +                <pathconvert property="run.classpath.without.build.classes.dir">
   1.511 +                    <path path="${run.classpath}"/>
   1.512 +                    <map from="${build.classes.dir.resolved}" to=""/>
   1.513 +                </pathconvert>
   1.514 +                <pathconvert pathsep=" " property="jar.classpath">
   1.515 +                    <path path="${run.classpath.without.build.classes.dir}"/>
   1.516 +                    <chainedmapper>
   1.517 +                        <flattenmapper/>
   1.518 +                        <globmapper from="*" to="lib/*"/>
   1.519 +                    </chainedmapper>
   1.520 +                </pathconvert>
   1.521 +                <taskdef classname="org.netbeans.modules.java.j2seproject.copylibstask.CopyLibs" classpath="${libs.CopyLibs.classpath}" name="copylibs"/>
   1.522 +                <copylibs compress="${jar.compress}" index="${jar.index}" indexMetaInf="${jar.index.metainf}" jarfile="${dist.jar}" manifest="@{manifest}" rebase="${copylibs.rebase}" runtimeclasspath="${run.classpath.without.build.classes.dir}">
   1.523 +                    <fileset dir="${build.classes.dir}"/>
   1.524 +                    <manifest>
   1.525 +                        <attribute name="Class-Path" value="${jar.classpath}"/>
   1.526 +                        <customize/>
   1.527 +                    </manifest>
   1.528 +                </copylibs>
   1.529 +            </sequential>
   1.530 +        </macrodef>
   1.531 +    </target>
   1.532 +    <target name="-init-presetdef-jar">
   1.533 +        <presetdef name="jar" uri="http://www.netbeans.org/ns/j2se-project/1">
   1.534 +            <jar compress="${jar.compress}" index="${jar.index}" jarfile="${dist.jar}">
   1.535 +                <j2seproject1:fileset dir="${build.classes.dir}"/>
   1.536 +            </jar>
   1.537 +        </presetdef>
   1.538 +    </target>
   1.539 +    <target name="-init-ap-cmdline-properties">
   1.540 +        <property name="annotation.processing.enabled" value="true"/>
   1.541 +        <property name="annotation.processing.processors.list" value=""/>
   1.542 +        <property name="annotation.processing.processor.options" value=""/>
   1.543 +        <property name="annotation.processing.run.all.processors" value="true"/>
   1.544 +        <property name="javac.processorpath" value="${javac.classpath}"/>
   1.545 +        <property name="javac.test.processorpath" value="${javac.test.classpath}"/>
   1.546 +        <condition property="ap.supported.internal" value="true">
   1.547 +            <not>
   1.548 +                <matches pattern="1\.[0-5](\..*)?" string="${javac.source}"/>
   1.549 +            </not>
   1.550 +        </condition>
   1.551 +    </target>
   1.552 +    <target depends="-init-ap-cmdline-properties" if="ap.supported.internal" name="-init-ap-cmdline-supported">
   1.553 +        <condition else="" property="ap.processors.internal" value="-processor ${annotation.processing.processors.list}">
   1.554 +            <isfalse value="${annotation.processing.run.all.processors}"/>
   1.555 +        </condition>
   1.556 +        <condition else="" property="ap.proc.none.internal" value="-proc:none">
   1.557 +            <isfalse value="${annotation.processing.enabled}"/>
   1.558 +        </condition>
   1.559 +    </target>
   1.560 +    <target depends="-init-ap-cmdline-properties,-init-ap-cmdline-supported" name="-init-ap-cmdline">
   1.561 +        <property name="ap.cmd.line.internal" value=""/>
   1.562 +    </target>
   1.563 +    <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"/>
   1.564 +    <!--
   1.565 +                ===================
   1.566 +                COMPILATION SECTION
   1.567 +                ===================
   1.568 +            -->
   1.569 +    <target name="-deps-jar-init" unless="built-jar.properties">
   1.570 +        <property location="${build.dir}/built-jar.properties" name="built-jar.properties"/>
   1.571 +        <delete file="${built-jar.properties}" quiet="true"/>
   1.572 +    </target>
   1.573 +    <target if="already.built.jar.${basedir}" name="-warn-already-built-jar">
   1.574 +        <echo level="warn" message="Cycle detected: rozsirene-atributy-jedit was already built"/>
   1.575 +    </target>
   1.576 +    <target depends="init,-deps-jar-init" name="deps-jar" unless="no.deps">
   1.577 +        <mkdir dir="${build.dir}"/>
   1.578 +        <touch file="${built-jar.properties}" verbose="false"/>
   1.579 +        <property file="${built-jar.properties}" prefix="already.built.jar."/>
   1.580 +        <antcall target="-warn-already-built-jar"/>
   1.581 +        <propertyfile file="${built-jar.properties}">
   1.582 +            <entry key="${basedir}" value=""/>
   1.583 +        </propertyfile>
   1.584 +        <antcall target="-maybe-call-dep">
   1.585 +            <param name="call.built.properties" value="${built-jar.properties}"/>
   1.586 +            <param location="${project.rozsirene-atributy}" name="call.subproject"/>
   1.587 +            <param location="${project.rozsirene-atributy}/build.xml" name="call.script"/>
   1.588 +            <param name="call.target" value="jar"/>
   1.589 +            <param name="transfer.built-jar.properties" value="${built-jar.properties}"/>
   1.590 +        </antcall>
   1.591 +    </target>
   1.592 +    <target depends="init,-check-automatic-build,-clean-after-automatic-build" name="-verify-automatic-build"/>
   1.593 +    <target depends="init" name="-check-automatic-build">
   1.594 +        <available file="${build.classes.dir}/.netbeans_automatic_build" property="netbeans.automatic.build"/>
   1.595 +    </target>
   1.596 +    <target depends="init" if="netbeans.automatic.build" name="-clean-after-automatic-build">
   1.597 +        <antcall target="clean"/>
   1.598 +    </target>
   1.599 +    <target depends="init,deps-jar" name="-pre-pre-compile">
   1.600 +        <mkdir dir="${build.classes.dir}"/>
   1.601 +    </target>
   1.602 +    <target name="-pre-compile">
   1.603 +        <!-- Empty placeholder for easier customization. -->
   1.604 +        <!-- You can override this target in the ../build.xml file. -->
   1.605 +    </target>
   1.606 +    <target if="do.depend.true" name="-compile-depend">
   1.607 +        <pathconvert property="build.generated.subdirs">
   1.608 +            <dirset dir="${build.generated.sources.dir}" erroronmissingdir="false">
   1.609 +                <include name="*"/>
   1.610 +            </dirset>
   1.611 +        </pathconvert>
   1.612 +        <j2seproject3:depend srcdir="${src.dir}:${build.generated.subdirs}"/>
   1.613 +    </target>
   1.614 +    <target depends="init,deps-jar,-pre-pre-compile,-pre-compile, -copy-persistence-xml,-compile-depend" if="have.sources" name="-do-compile">
   1.615 +        <j2seproject3:javac gensrcdir="${build.generated.sources.dir}"/>
   1.616 +        <copy todir="${build.classes.dir}">
   1.617 +            <fileset dir="${src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
   1.618 +        </copy>
   1.619 +    </target>
   1.620 +    <target if="has.persistence.xml" name="-copy-persistence-xml">
   1.621 +        <mkdir dir="${build.classes.dir}/META-INF"/>
   1.622 +        <copy todir="${build.classes.dir}/META-INF">
   1.623 +            <fileset dir="${meta.inf.dir}" includes="persistence.xml"/>
   1.624 +        </copy>
   1.625 +    </target>
   1.626 +    <target name="-post-compile">
   1.627 +        <!-- Empty placeholder for easier customization. -->
   1.628 +        <!-- You can override this target in the ../build.xml file. -->
   1.629 +    </target>
   1.630 +    <target depends="init,deps-jar,-verify-automatic-build,-pre-pre-compile,-pre-compile,-do-compile,-post-compile" description="Compile project." name="compile"/>
   1.631 +    <target name="-pre-compile-single">
   1.632 +        <!-- Empty placeholder for easier customization. -->
   1.633 +        <!-- You can override this target in the ../build.xml file. -->
   1.634 +    </target>
   1.635 +    <target depends="init,deps-jar,-pre-pre-compile" name="-do-compile-single">
   1.636 +        <fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail>
   1.637 +        <j2seproject3:force-recompile/>
   1.638 +        <j2seproject3:javac excludes="" gensrcdir="${build.generated.sources.dir}" includes="${javac.includes}" sourcepath="${src.dir}"/>
   1.639 +    </target>
   1.640 +    <target name="-post-compile-single">
   1.641 +        <!-- Empty placeholder for easier customization. -->
   1.642 +        <!-- You can override this target in the ../build.xml file. -->
   1.643 +    </target>
   1.644 +    <target depends="init,deps-jar,-verify-automatic-build,-pre-pre-compile,-pre-compile-single,-do-compile-single,-post-compile-single" name="compile-single"/>
   1.645 +    <!--
   1.646 +                ====================
   1.647 +                JAR BUILDING SECTION
   1.648 +                ====================
   1.649 +            -->
   1.650 +    <target depends="init" name="-pre-pre-jar">
   1.651 +        <dirname file="${dist.jar}" property="dist.jar.dir"/>
   1.652 +        <mkdir dir="${dist.jar.dir}"/>
   1.653 +    </target>
   1.654 +    <target name="-pre-jar">
   1.655 +        <!-- Empty placeholder for easier customization. -->
   1.656 +        <!-- You can override this target in the ../build.xml file. -->
   1.657 +    </target>
   1.658 +    <target depends="init,compile,-pre-pre-jar,-pre-jar" if="do.archive" name="-do-jar-without-manifest" unless="manifest.available-mkdist.available">
   1.659 +        <j2seproject1:jar/>
   1.660 +    </target>
   1.661 +    <target depends="init,compile,-pre-pre-jar,-pre-jar" if="do.archive+manifest.available" name="-do-jar-with-manifest" unless="manifest.available+main.class-mkdist.available">
   1.662 +        <j2seproject1:jar manifest="${manifest.file}"/>
   1.663 +    </target>
   1.664 +    <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">
   1.665 +        <j2seproject1:jar manifest="${manifest.file}">
   1.666 +            <j2seproject1:manifest>
   1.667 +                <j2seproject1:attribute name="Main-Class" value="${main.class}"/>
   1.668 +            </j2seproject1:manifest>
   1.669 +        </j2seproject1:jar>
   1.670 +        <echo level="info">To run this application from the command line without Ant, try:</echo>
   1.671 +        <property location="${build.classes.dir}" name="build.classes.dir.resolved"/>
   1.672 +        <property location="${dist.jar}" name="dist.jar.resolved"/>
   1.673 +        <pathconvert property="run.classpath.with.dist.jar">
   1.674 +            <path path="${run.classpath}"/>
   1.675 +            <map from="${build.classes.dir.resolved}" to="${dist.jar.resolved}"/>
   1.676 +        </pathconvert>
   1.677 +        <echo level="info">java -cp "${run.classpath.with.dist.jar}" ${main.class}</echo>
   1.678 +    </target>
   1.679 +    <target depends="init" if="do.archive" name="-do-jar-with-libraries-create-manifest" unless="manifest.available">
   1.680 +        <tempfile deleteonexit="true" destdir="${build.dir}" property="tmp.manifest.file"/>
   1.681 +        <touch file="${tmp.manifest.file}" verbose="false"/>
   1.682 +    </target>
   1.683 +    <target depends="init" if="do.archive+manifest.available" name="-do-jar-with-libraries-copy-manifest">
   1.684 +        <tempfile deleteonexit="true" destdir="${build.dir}" property="tmp.manifest.file"/>
   1.685 +        <copy file="${manifest.file}" tofile="${tmp.manifest.file}"/>
   1.686 +    </target>
   1.687 +    <target depends="init,-do-jar-with-libraries-create-manifest,-do-jar-with-libraries-copy-manifest" if="do.archive+main.class.available" name="-do-jar-with-libraries-set-main">
   1.688 +        <manifest file="${tmp.manifest.file}" mode="update">
   1.689 +            <attribute name="Main-Class" value="${main.class}"/>
   1.690 +        </manifest>
   1.691 +    </target>
   1.692 +    <target depends="init,-do-jar-with-libraries-create-manifest,-do-jar-with-libraries-copy-manifest" if="do.archive+splashscreen.available" name="-do-jar-with-libraries-set-splashscreen">
   1.693 +        <basename file="${application.splash}" property="splashscreen.basename"/>
   1.694 +        <mkdir dir="${build.classes.dir}/META-INF"/>
   1.695 +        <copy failonerror="false" file="${application.splash}" todir="${build.classes.dir}/META-INF"/>
   1.696 +        <manifest file="${tmp.manifest.file}" mode="update">
   1.697 +            <attribute name="SplashScreen-Image" value="META-INF/${splashscreen.basename}"/>
   1.698 +        </manifest>
   1.699 +    </target>
   1.700 +    <target depends="init,-init-macrodef-copylibs,compile,-pre-pre-jar,-pre-jar,-do-jar-with-libraries-create-manifest,-do-jar-with-libraries-copy-manifest,-do-jar-with-libraries-set-main,-do-jar-with-libraries-set-splashscreen" if="do.mkdist" name="-do-jar-with-libraries-pack">
   1.701 +        <j2seproject3:copylibs manifest="${tmp.manifest.file}"/>
   1.702 +        <echo level="info">To run this application from the command line without Ant, try:</echo>
   1.703 +        <property location="${dist.jar}" name="dist.jar.resolved"/>
   1.704 +        <echo level="info">java -jar "${dist.jar.resolved}"</echo>
   1.705 +    </target>
   1.706 +    <target depends="-do-jar-with-libraries-pack" if="do.archive" name="-do-jar-with-libraries-delete-manifest">
   1.707 +        <delete>
   1.708 +            <fileset file="${tmp.manifest.file}"/>
   1.709 +        </delete>
   1.710 +    </target>
   1.711 +    <target depends="init,compile,-pre-pre-jar,-pre-jar,-do-jar-with-libraries-create-manifest,-do-jar-with-libraries-copy-manifest,-do-jar-with-libraries-set-main,-do-jar-with-libraries-set-splashscreen,-do-jar-with-libraries-pack,-do-jar-with-libraries-delete-manifest" name="-do-jar-with-libraries"/>
   1.712 +    <target name="-post-jar">
   1.713 +        <!-- Empty placeholder for easier customization. -->
   1.714 +        <!-- You can override this target in the ../build.xml file. -->
   1.715 +    </target>
   1.716 +    <target depends="init,compile,-pre-jar,-do-jar-with-manifest,-do-jar-without-manifest,-do-jar-with-mainclass,-do-jar-with-libraries,-post-jar" description="Build JAR." name="jar"/>
   1.717 +    <!--
   1.718 +                =================
   1.719 +                EXECUTION SECTION
   1.720 +                =================
   1.721 +            -->
   1.722 +    <target depends="init,compile" description="Run a main class." name="run">
   1.723 +        <j2seproject1:java>
   1.724 +            <customize>
   1.725 +                <arg line="${application.args}"/>
   1.726 +            </customize>
   1.727 +        </j2seproject1:java>
   1.728 +    </target>
   1.729 +    <target name="-do-not-recompile">
   1.730 +        <property name="javac.includes.binary" value=""/>
   1.731 +    </target>
   1.732 +    <target depends="init,compile-single" name="run-single">
   1.733 +        <fail unless="run.class">Must select one file in the IDE or set run.class</fail>
   1.734 +        <j2seproject1:java classname="${run.class}"/>
   1.735 +    </target>
   1.736 +    <target depends="init,compile-test-single" name="run-test-with-main">
   1.737 +        <fail unless="run.class">Must select one file in the IDE or set run.class</fail>
   1.738 +        <j2seproject1:java classname="${run.class}" classpath="${run.test.classpath}"/>
   1.739 +    </target>
   1.740 +    <!--
   1.741 +                =================
   1.742 +                DEBUGGING SECTION
   1.743 +                =================
   1.744 +            -->
   1.745 +    <target depends="init" if="netbeans.home" name="-debug-start-debugger">
   1.746 +        <j2seproject1:nbjpdastart name="${debug.class}"/>
   1.747 +    </target>
   1.748 +    <target depends="init" if="netbeans.home" name="-debug-start-debugger-main-test">
   1.749 +        <j2seproject1:nbjpdastart classpath="${debug.test.classpath}" name="${debug.class}"/>
   1.750 +    </target>
   1.751 +    <target depends="init,compile" name="-debug-start-debuggee">
   1.752 +        <j2seproject3:debug>
   1.753 +            <customize>
   1.754 +                <arg line="${application.args}"/>
   1.755 +            </customize>
   1.756 +        </j2seproject3:debug>
   1.757 +    </target>
   1.758 +    <target depends="init,compile,-debug-start-debugger,-debug-start-debuggee" description="Debug project in IDE." if="netbeans.home" name="debug"/>
   1.759 +    <target depends="init" if="netbeans.home" name="-debug-start-debugger-stepinto">
   1.760 +        <j2seproject1:nbjpdastart stopclassname="${main.class}"/>
   1.761 +    </target>
   1.762 +    <target depends="init,compile,-debug-start-debugger-stepinto,-debug-start-debuggee" if="netbeans.home" name="debug-stepinto"/>
   1.763 +    <target depends="init,compile-single" if="netbeans.home" name="-debug-start-debuggee-single">
   1.764 +        <fail unless="debug.class">Must select one file in the IDE or set debug.class</fail>
   1.765 +        <j2seproject3:debug classname="${debug.class}"/>
   1.766 +    </target>
   1.767 +    <target depends="init,compile-single,-debug-start-debugger,-debug-start-debuggee-single" if="netbeans.home" name="debug-single"/>
   1.768 +    <target depends="init,compile-test-single" if="netbeans.home" name="-debug-start-debuggee-main-test">
   1.769 +        <fail unless="debug.class">Must select one file in the IDE or set debug.class</fail>
   1.770 +        <j2seproject3:debug classname="${debug.class}" classpath="${debug.test.classpath}"/>
   1.771 +    </target>
   1.772 +    <target depends="init,compile-test-single,-debug-start-debugger-main-test,-debug-start-debuggee-main-test" if="netbeans.home" name="debug-test-with-main"/>
   1.773 +    <target depends="init" name="-pre-debug-fix">
   1.774 +        <fail unless="fix.includes">Must set fix.includes</fail>
   1.775 +        <property name="javac.includes" value="${fix.includes}.java"/>
   1.776 +    </target>
   1.777 +    <target depends="init,-pre-debug-fix,compile-single" if="netbeans.home" name="-do-debug-fix">
   1.778 +        <j2seproject1:nbjpdareload/>
   1.779 +    </target>
   1.780 +    <target depends="init,-pre-debug-fix,-do-debug-fix" if="netbeans.home" name="debug-fix"/>
   1.781 +    <!--
   1.782 +                =================
   1.783 +                PROFILING SECTION
   1.784 +                =================
   1.785 +            -->
   1.786 +    <target depends="profile-init,compile" description="Profile a project in the IDE." if="netbeans.home" name="profile">
   1.787 +        <nbprofiledirect>
   1.788 +            <classpath>
   1.789 +                <path path="${run.classpath}"/>
   1.790 +            </classpath>
   1.791 +        </nbprofiledirect>
   1.792 +        <profile/>
   1.793 +    </target>
   1.794 +    <target depends="profile-init,compile-single" description="Profile a selected class in the IDE." if="netbeans.home" name="profile-single">
   1.795 +        <fail unless="profile.class">Must select one file in the IDE or set profile.class</fail>
   1.796 +        <nbprofiledirect>
   1.797 +            <classpath>
   1.798 +                <path path="${run.classpath}"/>
   1.799 +            </classpath>
   1.800 +        </nbprofiledirect>
   1.801 +        <profile classname="${profile.class}"/>
   1.802 +    </target>
   1.803 +    <!--
   1.804 +                =========================
   1.805 +                APPLET PROFILING  SECTION
   1.806 +                =========================
   1.807 +            -->
   1.808 +    <target depends="profile-init,compile-single" if="netbeans.home" name="profile-applet">
   1.809 +        <nbprofiledirect>
   1.810 +            <classpath>
   1.811 +                <path path="${run.classpath}"/>
   1.812 +            </classpath>
   1.813 +        </nbprofiledirect>
   1.814 +        <profile classname="sun.applet.AppletViewer">
   1.815 +            <customize>
   1.816 +                <arg value="${applet.url}"/>
   1.817 +            </customize>
   1.818 +        </profile>
   1.819 +    </target>
   1.820 +    <!--
   1.821 +                =========================
   1.822 +                TESTS PROFILING  SECTION
   1.823 +                =========================
   1.824 +            -->
   1.825 +    <target depends="profile-init,compile-test-single" if="netbeans.home" name="profile-test-single">
   1.826 +        <nbprofiledirect>
   1.827 +            <classpath>
   1.828 +                <path path="${run.test.classpath}"/>
   1.829 +            </classpath>
   1.830 +        </nbprofiledirect>
   1.831 +        <junit dir="${profiler.info.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" jvm="${profiler.info.jvm}" showoutput="true">
   1.832 +            <env key="${profiler.info.pathvar}" path="${profiler.info.agentpath}:${profiler.current.path}"/>
   1.833 +            <jvmarg value="${profiler.info.jvmargs.agent}"/>
   1.834 +            <jvmarg line="${profiler.info.jvmargs}"/>
   1.835 +            <test name="${profile.class}"/>
   1.836 +            <classpath>
   1.837 +                <path path="${run.test.classpath}"/>
   1.838 +            </classpath>
   1.839 +            <syspropertyset>
   1.840 +                <propertyref prefix="test-sys-prop."/>
   1.841 +                <mapper from="test-sys-prop.*" to="*" type="glob"/>
   1.842 +            </syspropertyset>
   1.843 +            <formatter type="brief" usefile="false"/>
   1.844 +            <formatter type="xml"/>
   1.845 +        </junit>
   1.846 +    </target>
   1.847 +    <!--
   1.848 +                ===============
   1.849 +                JAVADOC SECTION
   1.850 +                ===============
   1.851 +            -->
   1.852 +    <target depends="init" if="have.sources" name="-javadoc-build">
   1.853 +        <mkdir dir="${dist.javadoc.dir}"/>
   1.854 +        <condition else="" property="javadoc.endorsed.classpath.cmd.line.arg" value="-J${endorsed.classpath.cmd.line.arg}">
   1.855 +            <and>
   1.856 +                <isset property="endorsed.classpath.cmd.line.arg"/>
   1.857 +                <not>
   1.858 +                    <equals arg1="${endorsed.classpath.cmd.line.arg}" arg2=""/>
   1.859 +                </not>
   1.860 +            </and>
   1.861 +        </condition>
   1.862 +        <javadoc additionalparam="${javadoc.additionalparam}" author="${javadoc.author}" charset="UTF-8" destdir="${dist.javadoc.dir}" docencoding="UTF-8" encoding="${javadoc.encoding.used}" failonerror="true" noindex="${javadoc.noindex}" nonavbar="${javadoc.nonavbar}" notree="${javadoc.notree}" private="${javadoc.private}" source="${javac.source}" splitindex="${javadoc.splitindex}" use="${javadoc.use}" useexternalfile="true" version="${javadoc.version}" windowtitle="${javadoc.windowtitle}">
   1.863 +            <classpath>
   1.864 +                <path path="${javac.classpath}"/>
   1.865 +            </classpath>
   1.866 +            <fileset dir="${src.dir}" excludes="*.java,${excludes}" includes="${includes}">
   1.867 +                <filename name="**/*.java"/>
   1.868 +            </fileset>
   1.869 +            <fileset dir="${build.generated.sources.dir}" erroronmissingdir="false">
   1.870 +                <include name="**/*.java"/>
   1.871 +                <exclude name="*.java"/>
   1.872 +            </fileset>
   1.873 +            <arg line="${javadoc.endorsed.classpath.cmd.line.arg}"/>
   1.874 +        </javadoc>
   1.875 +        <copy todir="${dist.javadoc.dir}">
   1.876 +            <fileset dir="${src.dir}" excludes="${excludes}" includes="${includes}">
   1.877 +                <filename name="**/doc-files/**"/>
   1.878 +            </fileset>
   1.879 +            <fileset dir="${build.generated.sources.dir}" erroronmissingdir="false">
   1.880 +                <include name="**/doc-files/**"/>
   1.881 +            </fileset>
   1.882 +        </copy>
   1.883 +    </target>
   1.884 +    <target depends="init,-javadoc-build" if="netbeans.home" name="-javadoc-browse" unless="no.javadoc.preview">
   1.885 +        <nbbrowse file="${dist.javadoc.dir}/index.html"/>
   1.886 +    </target>
   1.887 +    <target depends="init,-javadoc-build,-javadoc-browse" description="Build Javadoc." name="javadoc"/>
   1.888 +    <!--
   1.889 +                =========================
   1.890 +                JUNIT COMPILATION SECTION
   1.891 +                =========================
   1.892 +            -->
   1.893 +    <target depends="init,compile" if="have.tests" name="-pre-pre-compile-test">
   1.894 +        <mkdir dir="${build.test.classes.dir}"/>
   1.895 +    </target>
   1.896 +    <target name="-pre-compile-test">
   1.897 +        <!-- Empty placeholder for easier customization. -->
   1.898 +        <!-- You can override this target in the ../build.xml file. -->
   1.899 +    </target>
   1.900 +    <target if="do.depend.true" name="-compile-test-depend">
   1.901 +        <j2seproject3:depend classpath="${javac.test.classpath}" destdir="${build.test.classes.dir}" srcdir="${test.src.dir}"/>
   1.902 +    </target>
   1.903 +    <target depends="init,deps-jar,compile,-pre-pre-compile-test,-pre-compile-test,-compile-test-depend" if="have.tests" name="-do-compile-test">
   1.904 +        <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}"/>
   1.905 +        <copy todir="${build.test.classes.dir}">
   1.906 +            <fileset dir="${test.src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
   1.907 +        </copy>
   1.908 +    </target>
   1.909 +    <target name="-post-compile-test">
   1.910 +        <!-- Empty placeholder for easier customization. -->
   1.911 +        <!-- You can override this target in the ../build.xml file. -->
   1.912 +    </target>
   1.913 +    <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test,-do-compile-test,-post-compile-test" name="compile-test"/>
   1.914 +    <target name="-pre-compile-test-single">
   1.915 +        <!-- Empty placeholder for easier customization. -->
   1.916 +        <!-- You can override this target in the ../build.xml file. -->
   1.917 +    </target>
   1.918 +    <target depends="init,deps-jar,compile,-pre-pre-compile-test,-pre-compile-test-single" if="have.tests" name="-do-compile-test-single">
   1.919 +        <fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail>
   1.920 +        <j2seproject3:force-recompile destdir="${build.test.classes.dir}"/>
   1.921 +        <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}"/>
   1.922 +        <copy todir="${build.test.classes.dir}">
   1.923 +            <fileset dir="${test.src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
   1.924 +        </copy>
   1.925 +    </target>
   1.926 +    <target name="-post-compile-test-single">
   1.927 +        <!-- Empty placeholder for easier customization. -->
   1.928 +        <!-- You can override this target in the ../build.xml file. -->
   1.929 +    </target>
   1.930 +    <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test-single,-do-compile-test-single,-post-compile-test-single" name="compile-test-single"/>
   1.931 +    <!--
   1.932 +                =======================
   1.933 +                JUNIT EXECUTION SECTION
   1.934 +                =======================
   1.935 +            -->
   1.936 +    <target depends="init" if="have.tests" name="-pre-test-run">
   1.937 +        <mkdir dir="${build.test.results.dir}"/>
   1.938 +    </target>
   1.939 +    <target depends="init,compile-test,-pre-test-run" if="have.tests" name="-do-test-run">
   1.940 +        <j2seproject3:junit testincludes="**/*Test.java"/>
   1.941 +    </target>
   1.942 +    <target depends="init,compile-test,-pre-test-run,-do-test-run" if="have.tests" name="-post-test-run">
   1.943 +        <fail if="tests.failed" unless="ignore.failing.tests">Some tests failed; see details above.</fail>
   1.944 +    </target>
   1.945 +    <target depends="init" if="have.tests" name="test-report"/>
   1.946 +    <target depends="init" if="netbeans.home+have.tests" name="-test-browse"/>
   1.947 +    <target depends="init,compile-test,-pre-test-run,-do-test-run,test-report,-post-test-run,-test-browse" description="Run unit tests." name="test"/>
   1.948 +    <target depends="init" if="have.tests" name="-pre-test-run-single">
   1.949 +        <mkdir dir="${build.test.results.dir}"/>
   1.950 +    </target>
   1.951 +    <target depends="init,compile-test-single,-pre-test-run-single" if="have.tests" name="-do-test-run-single">
   1.952 +        <fail unless="test.includes">Must select some files in the IDE or set test.includes</fail>
   1.953 +        <j2seproject3:junit excludes="" includes="${test.includes}"/>
   1.954 +    </target>
   1.955 +    <target depends="init,compile-test-single,-pre-test-run-single,-do-test-run-single" if="have.tests" name="-post-test-run-single">
   1.956 +        <fail if="tests.failed" unless="ignore.failing.tests">Some tests failed; see details above.</fail>
   1.957 +    </target>
   1.958 +    <target depends="init,compile-test-single,-pre-test-run-single,-do-test-run-single,-post-test-run-single" description="Run single unit test." name="test-single"/>
   1.959 +    <!--
   1.960 +                =======================
   1.961 +                JUNIT DEBUGGING SECTION
   1.962 +                =======================
   1.963 +            -->
   1.964 +    <target depends="init,compile-test" if="have.tests" name="-debug-start-debuggee-test">
   1.965 +        <fail unless="test.class">Must select one file in the IDE or set test.class</fail>
   1.966 +        <property location="${build.test.results.dir}/TEST-${test.class}.xml" name="test.report.file"/>
   1.967 +        <delete file="${test.report.file}"/>
   1.968 +        <mkdir dir="${build.test.results.dir}"/>
   1.969 +        <j2seproject3:debug classname="org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner" classpath="${ant.home}/lib/ant.jar:${ant.home}/lib/ant-junit.jar:${debug.test.classpath}">
   1.970 +            <customize>
   1.971 +                <syspropertyset>
   1.972 +                    <propertyref prefix="test-sys-prop."/>
   1.973 +                    <mapper from="test-sys-prop.*" to="*" type="glob"/>
   1.974 +                </syspropertyset>
   1.975 +                <arg value="${test.class}"/>
   1.976 +                <arg value="showoutput=true"/>
   1.977 +                <arg value="formatter=org.apache.tools.ant.taskdefs.optional.junit.BriefJUnitResultFormatter"/>
   1.978 +                <arg value="formatter=org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter,${test.report.file}"/>
   1.979 +            </customize>
   1.980 +        </j2seproject3:debug>
   1.981 +    </target>
   1.982 +    <target depends="init,compile-test" if="netbeans.home+have.tests" name="-debug-start-debugger-test">
   1.983 +        <j2seproject1:nbjpdastart classpath="${debug.test.classpath}" name="${test.class}"/>
   1.984 +    </target>
   1.985 +    <target depends="init,compile-test-single,-debug-start-debugger-test,-debug-start-debuggee-test" name="debug-test"/>
   1.986 +    <target depends="init,-pre-debug-fix,compile-test-single" if="netbeans.home" name="-do-debug-fix-test">
   1.987 +        <j2seproject1:nbjpdareload dir="${build.test.classes.dir}"/>
   1.988 +    </target>
   1.989 +    <target depends="init,-pre-debug-fix,-do-debug-fix-test" if="netbeans.home" name="debug-fix-test"/>
   1.990 +    <!--
   1.991 +                =========================
   1.992 +                APPLET EXECUTION SECTION
   1.993 +                =========================
   1.994 +            -->
   1.995 +    <target depends="init,compile-single" name="run-applet">
   1.996 +        <fail unless="applet.url">Must select one file in the IDE or set applet.url</fail>
   1.997 +        <j2seproject1:java classname="sun.applet.AppletViewer">
   1.998 +            <customize>
   1.999 +                <arg value="${applet.url}"/>
  1.1000 +            </customize>
  1.1001 +        </j2seproject1:java>
  1.1002 +    </target>
  1.1003 +    <!--
  1.1004 +                =========================
  1.1005 +                APPLET DEBUGGING  SECTION
  1.1006 +                =========================
  1.1007 +            -->
  1.1008 +    <target depends="init,compile-single" if="netbeans.home" name="-debug-start-debuggee-applet">
  1.1009 +        <fail unless="applet.url">Must select one file in the IDE or set applet.url</fail>
  1.1010 +        <j2seproject3:debug classname="sun.applet.AppletViewer">
  1.1011 +            <customize>
  1.1012 +                <arg value="${applet.url}"/>
  1.1013 +            </customize>
  1.1014 +        </j2seproject3:debug>
  1.1015 +    </target>
  1.1016 +    <target depends="init,compile-single,-debug-start-debugger,-debug-start-debuggee-applet" if="netbeans.home" name="debug-applet"/>
  1.1017 +    <!--
  1.1018 +                ===============
  1.1019 +                CLEANUP SECTION
  1.1020 +                ===============
  1.1021 +            -->
  1.1022 +    <target name="-deps-clean-init" unless="built-clean.properties">
  1.1023 +        <property location="${build.dir}/built-clean.properties" name="built-clean.properties"/>
  1.1024 +        <delete file="${built-clean.properties}" quiet="true"/>
  1.1025 +    </target>
  1.1026 +    <target if="already.built.clean.${basedir}" name="-warn-already-built-clean">
  1.1027 +        <echo level="warn" message="Cycle detected: rozsirene-atributy-jedit was already built"/>
  1.1028 +    </target>
  1.1029 +    <target depends="init,-deps-clean-init" name="deps-clean" unless="no.deps">
  1.1030 +        <mkdir dir="${build.dir}"/>
  1.1031 +        <touch file="${built-clean.properties}" verbose="false"/>
  1.1032 +        <property file="${built-clean.properties}" prefix="already.built.clean."/>
  1.1033 +        <antcall target="-warn-already-built-clean"/>
  1.1034 +        <propertyfile file="${built-clean.properties}">
  1.1035 +            <entry key="${basedir}" value=""/>
  1.1036 +        </propertyfile>
  1.1037 +        <antcall target="-maybe-call-dep">
  1.1038 +            <param name="call.built.properties" value="${built-clean.properties}"/>
  1.1039 +            <param location="${project.rozsirene-atributy}" name="call.subproject"/>
  1.1040 +            <param location="${project.rozsirene-atributy}/build.xml" name="call.script"/>
  1.1041 +            <param name="call.target" value="clean"/>
  1.1042 +            <param name="transfer.built-clean.properties" value="${built-clean.properties}"/>
  1.1043 +        </antcall>
  1.1044 +    </target>
  1.1045 +    <target depends="init" name="-do-clean">
  1.1046 +        <delete dir="${build.dir}"/>
  1.1047 +        <delete dir="${dist.dir}" followsymlinks="false" includeemptydirs="true"/>
  1.1048 +    </target>
  1.1049 +    <target name="-post-clean">
  1.1050 +        <!-- Empty placeholder for easier customization. -->
  1.1051 +        <!-- You can override this target in the ../build.xml file. -->
  1.1052 +    </target>
  1.1053 +    <target depends="init,deps-clean,-do-clean,-post-clean" description="Clean build products." name="clean"/>
  1.1054 +    <target name="-check-call-dep">
  1.1055 +        <property file="${call.built.properties}" prefix="already.built."/>
  1.1056 +        <condition property="should.call.dep">
  1.1057 +            <not>
  1.1058 +                <isset property="already.built.${call.subproject}"/>
  1.1059 +            </not>
  1.1060 +        </condition>
  1.1061 +    </target>
  1.1062 +    <target depends="-check-call-dep" if="should.call.dep" name="-maybe-call-dep">
  1.1063 +        <ant antfile="${call.script}" inheritall="false" target="${call.target}">
  1.1064 +            <propertyset>
  1.1065 +                <propertyref prefix="transfer."/>
  1.1066 +                <mapper from="transfer.*" to="*" type="glob"/>
  1.1067 +            </propertyset>
  1.1068 +        </ant>
  1.1069 +    </target>
  1.1070 +</project>