přesun pluginu pro jEdit do složky extra v_0
authorFrantišek Kučera <franta-hg@frantovo.cz>
Sat, 16 Dec 2023 19:09:35 +0100
branchv_0
changeset 3841e91ea94acb
parent 37 9abe4cd1f308
child 39 ec0e970e0830
přesun pluginu pro jEdit do složky extra
extra/rozsirene-atributy-jedit/build.xml
extra/rozsirene-atributy-jedit/nbproject/build-impl.xml
extra/rozsirene-atributy-jedit/nbproject/genfiles.properties
extra/rozsirene-atributy-jedit/nbproject/project.properties
extra/rozsirene-atributy-jedit/nbproject/project.xml
extra/rozsirene-atributy-jedit/src/RozsireneAtributy.props
extra/rozsirene-atributy-jedit/src/actions.xml
extra/rozsirene-atributy-jedit/src/cz/frantovo/rozsireneAtributy/jedit/DokovatelnyPanel.java
extra/rozsirene-atributy-jedit/src/cz/frantovo/rozsireneAtributy/jedit/Plugin.java
extra/rozsirene-atributy-jedit/src/dockables.xml
java/rozsirene-atributy-jedit/build.xml
java/rozsirene-atributy-jedit/nbproject/build-impl.xml
java/rozsirene-atributy-jedit/nbproject/genfiles.properties
java/rozsirene-atributy-jedit/nbproject/project.properties
java/rozsirene-atributy-jedit/nbproject/project.xml
java/rozsirene-atributy-jedit/src/RozsireneAtributy.props
java/rozsirene-atributy-jedit/src/actions.xml
java/rozsirene-atributy-jedit/src/cz/frantovo/rozsireneAtributy/jedit/DokovatelnyPanel.java
java/rozsirene-atributy-jedit/src/cz/frantovo/rozsireneAtributy/jedit/Plugin.java
java/rozsirene-atributy-jedit/src/dockables.xml
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/extra/rozsirene-atributy-jedit/build.xml	Sat Dec 16 19:09:35 2023 +0100
     1.3 @@ -0,0 +1,12 @@
     1.4 +<?xml version="1.0" encoding="UTF-8"?>
     1.5 +<project name="rozsirene-atributy-jedit" default="default" basedir=".">
     1.6 +	<description>Builds, tests, and runs the project rozsirene-atributy-jedit.</description>
     1.7 +	<import file="nbproject/build-impl.xml"/>
     1.8 +	
     1.9 +	<target name="-pre-jar" description="Nakopíruje zkompilované třídy z rozsirene-atributy do JARu modulu pro jEdit.">
    1.10 +		<copy todir="${build.classes.dir}">
    1.11 +			<fileset dir="${build.classes.dir}/../../../rozsirene-atributy/build/classes/"/>
    1.12 +		</copy>
    1.13 +	</target>
    1.14 +	
    1.15 +</project>
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/extra/rozsirene-atributy-jedit/nbproject/build-impl.xml	Sat Dec 16 19:09:35 2023 +0100
     2.3 @@ -0,0 +1,1436 @@
     2.4 +<?xml version="1.0" encoding="UTF-8"?>
     2.5 +<!--
     2.6 +*** GENERATED FROM project.xml - DO NOT EDIT  ***
     2.7 +***         EDIT ../build.xml INSTEAD         ***
     2.8 +
     2.9 +For the purpose of easier reading the script
    2.10 +is divided into following sections:
    2.11 +
    2.12 +  - initialization
    2.13 +  - compilation
    2.14 +  - jar
    2.15 +  - execution
    2.16 +  - debugging
    2.17 +  - javadoc
    2.18 +  - test compilation
    2.19 +  - test execution
    2.20 +  - test debugging
    2.21 +  - applet
    2.22 +  - cleanup
    2.23 +
    2.24 +        -->
    2.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">
    2.26 +    <fail message="Please build using Ant 1.8.0 or higher.">
    2.27 +        <condition>
    2.28 +            <not>
    2.29 +                <antversion atleast="1.8.0"/>
    2.30 +            </not>
    2.31 +        </condition>
    2.32 +    </fail>
    2.33 +    <target depends="test,jar,javadoc" description="Build and test whole project." name="default"/>
    2.34 +    <!-- 
    2.35 +                ======================
    2.36 +                INITIALIZATION SECTION 
    2.37 +                ======================
    2.38 +            -->
    2.39 +    <target name="-pre-init">
    2.40 +        <!-- Empty placeholder for easier customization. -->
    2.41 +        <!-- You can override this target in the ../build.xml file. -->
    2.42 +    </target>
    2.43 +    <target depends="-pre-init" name="-init-private">
    2.44 +        <property file="nbproject/private/config.properties"/>
    2.45 +        <property file="nbproject/private/configs/${config}.properties"/>
    2.46 +        <property file="nbproject/private/private.properties"/>
    2.47 +    </target>
    2.48 +    <target depends="-pre-init,-init-private" name="-init-user">
    2.49 +        <property file="${user.properties.file}"/>
    2.50 +        <!-- The two properties below are usually overridden -->
    2.51 +        <!-- by the active platform. Just a fallback. -->
    2.52 +        <property name="default.javac.source" value="1.6"/>
    2.53 +        <property name="default.javac.target" value="1.6"/>
    2.54 +    </target>
    2.55 +    <target depends="-pre-init,-init-private,-init-user" name="-init-project">
    2.56 +        <property file="nbproject/configs/${config}.properties"/>
    2.57 +        <property file="nbproject/project.properties"/>
    2.58 +    </target>
    2.59 +    <target depends="-pre-init,-init-private,-init-user,-init-project,-init-macrodef-property" name="-do-init">
    2.60 +        <property name="platform.java" value="${java.home}/bin/java"/>
    2.61 +        <available file="${manifest.file}" property="manifest.available"/>
    2.62 +        <condition property="splashscreen.available">
    2.63 +            <and>
    2.64 +                <not>
    2.65 +                    <equals arg1="${application.splash}" arg2="" trim="true"/>
    2.66 +                </not>
    2.67 +                <available file="${application.splash}"/>
    2.68 +            </and>
    2.69 +        </condition>
    2.70 +        <condition property="main.class.available">
    2.71 +            <and>
    2.72 +                <isset property="main.class"/>
    2.73 +                <not>
    2.74 +                    <equals arg1="${main.class}" arg2="" trim="true"/>
    2.75 +                </not>
    2.76 +            </and>
    2.77 +        </condition>
    2.78 +        <condition property="profile.available">
    2.79 +            <and>
    2.80 +                <isset property="javac.profile"/>
    2.81 +                <length length="0" string="${javac.profile}" when="greater"/>
    2.82 +                <matches pattern="((1\.[89])|9)(\..*)?" string="${javac.source}"/>
    2.83 +            </and>
    2.84 +        </condition>
    2.85 +        <condition property="do.archive">
    2.86 +            <or>
    2.87 +                <not>
    2.88 +                    <istrue value="${jar.archive.disabled}"/>
    2.89 +                </not>
    2.90 +                <istrue value="${not.archive.disabled}"/>
    2.91 +            </or>
    2.92 +        </condition>
    2.93 +        <condition property="do.mkdist">
    2.94 +            <and>
    2.95 +                <isset property="do.archive"/>
    2.96 +                <isset property="libs.CopyLibs.classpath"/>
    2.97 +                <not>
    2.98 +                    <istrue value="${mkdist.disabled}"/>
    2.99 +                </not>
   2.100 +            </and>
   2.101 +        </condition>
   2.102 +        <condition property="do.archive+manifest.available">
   2.103 +            <and>
   2.104 +                <isset property="manifest.available"/>
   2.105 +                <istrue value="${do.archive}"/>
   2.106 +            </and>
   2.107 +        </condition>
   2.108 +        <condition property="do.archive+main.class.available">
   2.109 +            <and>
   2.110 +                <isset property="main.class.available"/>
   2.111 +                <istrue value="${do.archive}"/>
   2.112 +            </and>
   2.113 +        </condition>
   2.114 +        <condition property="do.archive+splashscreen.available">
   2.115 +            <and>
   2.116 +                <isset property="splashscreen.available"/>
   2.117 +                <istrue value="${do.archive}"/>
   2.118 +            </and>
   2.119 +        </condition>
   2.120 +        <condition property="do.archive+profile.available">
   2.121 +            <and>
   2.122 +                <isset property="profile.available"/>
   2.123 +                <istrue value="${do.archive}"/>
   2.124 +            </and>
   2.125 +        </condition>
   2.126 +        <condition property="have.tests">
   2.127 +            <or>
   2.128 +                <available file="${test.src.dir}"/>
   2.129 +            </or>
   2.130 +        </condition>
   2.131 +        <condition property="have.sources">
   2.132 +            <or>
   2.133 +                <available file="${src.dir}"/>
   2.134 +            </or>
   2.135 +        </condition>
   2.136 +        <condition property="netbeans.home+have.tests">
   2.137 +            <and>
   2.138 +                <isset property="netbeans.home"/>
   2.139 +                <isset property="have.tests"/>
   2.140 +            </and>
   2.141 +        </condition>
   2.142 +        <condition property="no.javadoc.preview">
   2.143 +            <and>
   2.144 +                <isset property="javadoc.preview"/>
   2.145 +                <isfalse value="${javadoc.preview}"/>
   2.146 +            </and>
   2.147 +        </condition>
   2.148 +        <property name="run.jvmargs" value=""/>
   2.149 +        <property name="run.jvmargs.ide" value=""/>
   2.150 +        <property name="javac.compilerargs" value=""/>
   2.151 +        <property name="work.dir" value="${basedir}"/>
   2.152 +        <condition property="no.deps">
   2.153 +            <and>
   2.154 +                <istrue value="${no.dependencies}"/>
   2.155 +            </and>
   2.156 +        </condition>
   2.157 +        <property name="javac.debug" value="true"/>
   2.158 +        <property name="javadoc.preview" value="true"/>
   2.159 +        <property name="application.args" value=""/>
   2.160 +        <property name="source.encoding" value="${file.encoding}"/>
   2.161 +        <property name="runtime.encoding" value="${source.encoding}"/>
   2.162 +        <property name="manifest.encoding" value="${source.encoding}"/>
   2.163 +        <condition property="javadoc.encoding.used" value="${javadoc.encoding}">
   2.164 +            <and>
   2.165 +                <isset property="javadoc.encoding"/>
   2.166 +                <not>
   2.167 +                    <equals arg1="${javadoc.encoding}" arg2=""/>
   2.168 +                </not>
   2.169 +            </and>
   2.170 +        </condition>
   2.171 +        <property name="javadoc.encoding.used" value="${source.encoding}"/>
   2.172 +        <property name="includes" value="**"/>
   2.173 +        <property name="excludes" value=""/>
   2.174 +        <property name="do.depend" value="false"/>
   2.175 +        <condition property="do.depend.true">
   2.176 +            <istrue value="${do.depend}"/>
   2.177 +        </condition>
   2.178 +        <path id="endorsed.classpath.path" path="${endorsed.classpath}"/>
   2.179 +        <condition else="" property="endorsed.classpath.cmd.line.arg" value="-Xbootclasspath/p:'${toString:endorsed.classpath.path}'">
   2.180 +            <and>
   2.181 +                <isset property="endorsed.classpath"/>
   2.182 +                <not>
   2.183 +                    <equals arg1="${endorsed.classpath}" arg2="" trim="true"/>
   2.184 +                </not>
   2.185 +            </and>
   2.186 +        </condition>
   2.187 +        <condition else="" property="javac.profile.cmd.line.arg" value="-profile ${javac.profile}">
   2.188 +            <isset property="profile.available"/>
   2.189 +        </condition>
   2.190 +        <condition else="false" property="jdkBug6558476">
   2.191 +            <and>
   2.192 +                <matches pattern="1\.[56]" string="${java.specification.version}"/>
   2.193 +                <not>
   2.194 +                    <os family="unix"/>
   2.195 +                </not>
   2.196 +            </and>
   2.197 +        </condition>
   2.198 +        <condition else="false" property="javac.fork">
   2.199 +            <or>
   2.200 +                <istrue value="${jdkBug6558476}"/>
   2.201 +                <istrue value="${javac.external.vm}"/>
   2.202 +            </or>
   2.203 +        </condition>
   2.204 +        <property name="jar.index" value="false"/>
   2.205 +        <property name="jar.index.metainf" value="${jar.index}"/>
   2.206 +        <property name="copylibs.rebase" value="true"/>
   2.207 +        <available file="${meta.inf.dir}/persistence.xml" property="has.persistence.xml"/>
   2.208 +        <condition property="junit.available">
   2.209 +            <or>
   2.210 +                <available classname="org.junit.Test" classpath="${run.test.classpath}"/>
   2.211 +                <available classname="junit.framework.Test" classpath="${run.test.classpath}"/>
   2.212 +            </or>
   2.213 +        </condition>
   2.214 +        <condition property="testng.available">
   2.215 +            <available classname="org.testng.annotations.Test" classpath="${run.test.classpath}"/>
   2.216 +        </condition>
   2.217 +        <condition property="junit+testng.available">
   2.218 +            <and>
   2.219 +                <istrue value="${junit.available}"/>
   2.220 +                <istrue value="${testng.available}"/>
   2.221 +            </and>
   2.222 +        </condition>
   2.223 +        <condition else="testng" property="testng.mode" value="mixed">
   2.224 +            <istrue value="${junit+testng.available}"/>
   2.225 +        </condition>
   2.226 +        <condition else="" property="testng.debug.mode" value="-mixed">
   2.227 +            <istrue value="${junit+testng.available}"/>
   2.228 +        </condition>
   2.229 +        <property name="java.failonerror" value="true"/>
   2.230 +    </target>
   2.231 +    <target name="-post-init">
   2.232 +        <!-- Empty placeholder for easier customization. -->
   2.233 +        <!-- You can override this target in the ../build.xml file. -->
   2.234 +    </target>
   2.235 +    <target depends="-pre-init,-init-private,-init-user,-init-project,-do-init" name="-init-check">
   2.236 +        <fail unless="src.dir">Must set src.dir</fail>
   2.237 +        <fail unless="test.src.dir">Must set test.src.dir</fail>
   2.238 +        <fail unless="build.dir">Must set build.dir</fail>
   2.239 +        <fail unless="dist.dir">Must set dist.dir</fail>
   2.240 +        <fail unless="build.classes.dir">Must set build.classes.dir</fail>
   2.241 +        <fail unless="dist.javadoc.dir">Must set dist.javadoc.dir</fail>
   2.242 +        <fail unless="build.test.classes.dir">Must set build.test.classes.dir</fail>
   2.243 +        <fail unless="build.test.results.dir">Must set build.test.results.dir</fail>
   2.244 +        <fail unless="build.classes.excludes">Must set build.classes.excludes</fail>
   2.245 +        <fail unless="dist.jar">Must set dist.jar</fail>
   2.246 +    </target>
   2.247 +    <target name="-init-macrodef-property">
   2.248 +        <macrodef name="property" uri="http://www.netbeans.org/ns/j2se-project/1">
   2.249 +            <attribute name="name"/>
   2.250 +            <attribute name="value"/>
   2.251 +            <sequential>
   2.252 +                <property name="@{name}" value="${@{value}}"/>
   2.253 +            </sequential>
   2.254 +        </macrodef>
   2.255 +    </target>
   2.256 +    <target depends="-init-ap-cmdline-properties" if="ap.supported.internal" name="-init-macrodef-javac-with-processors">
   2.257 +        <macrodef name="javac" uri="http://www.netbeans.org/ns/j2se-project/3">
   2.258 +            <attribute default="${src.dir}" name="srcdir"/>
   2.259 +            <attribute default="${build.classes.dir}" name="destdir"/>
   2.260 +            <attribute default="${javac.classpath}" name="classpath"/>
   2.261 +            <attribute default="${javac.processorpath}" name="processorpath"/>
   2.262 +            <attribute default="${build.generated.sources.dir}/ap-source-output" name="apgeneratedsrcdir"/>
   2.263 +            <attribute default="${includes}" name="includes"/>
   2.264 +            <attribute default="${excludes}" name="excludes"/>
   2.265 +            <attribute default="${javac.debug}" name="debug"/>
   2.266 +            <attribute default="${empty.dir}" name="sourcepath"/>
   2.267 +            <attribute default="${empty.dir}" name="gensrcdir"/>
   2.268 +            <element name="customize" optional="true"/>
   2.269 +            <sequential>
   2.270 +                <property location="${build.dir}/empty" name="empty.dir"/>
   2.271 +                <mkdir dir="${empty.dir}"/>
   2.272 +                <mkdir dir="@{apgeneratedsrcdir}"/>
   2.273 +                <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}">
   2.274 +                    <src>
   2.275 +                        <dirset dir="@{gensrcdir}" erroronmissingdir="false">
   2.276 +                            <include name="*"/>
   2.277 +                        </dirset>
   2.278 +                    </src>
   2.279 +                    <classpath>
   2.280 +                        <path path="@{classpath}"/>
   2.281 +                    </classpath>
   2.282 +                    <compilerarg line="${endorsed.classpath.cmd.line.arg}"/>
   2.283 +                    <compilerarg line="${javac.profile.cmd.line.arg}"/>
   2.284 +                    <compilerarg line="${javac.compilerargs}"/>
   2.285 +                    <compilerarg value="-processorpath"/>
   2.286 +                    <compilerarg path="@{processorpath}:${empty.dir}"/>
   2.287 +                    <compilerarg line="${ap.processors.internal}"/>
   2.288 +                    <compilerarg line="${annotation.processing.processor.options}"/>
   2.289 +                    <compilerarg value="-s"/>
   2.290 +                    <compilerarg path="@{apgeneratedsrcdir}"/>
   2.291 +                    <compilerarg line="${ap.proc.none.internal}"/>
   2.292 +                    <customize/>
   2.293 +                </javac>
   2.294 +            </sequential>
   2.295 +        </macrodef>
   2.296 +    </target>
   2.297 +    <target depends="-init-ap-cmdline-properties" name="-init-macrodef-javac-without-processors" unless="ap.supported.internal">
   2.298 +        <macrodef name="javac" uri="http://www.netbeans.org/ns/j2se-project/3">
   2.299 +            <attribute default="${src.dir}" name="srcdir"/>
   2.300 +            <attribute default="${build.classes.dir}" name="destdir"/>
   2.301 +            <attribute default="${javac.classpath}" name="classpath"/>
   2.302 +            <attribute default="${javac.processorpath}" name="processorpath"/>
   2.303 +            <attribute default="${build.generated.sources.dir}/ap-source-output" name="apgeneratedsrcdir"/>
   2.304 +            <attribute default="${includes}" name="includes"/>
   2.305 +            <attribute default="${excludes}" name="excludes"/>
   2.306 +            <attribute default="${javac.debug}" name="debug"/>
   2.307 +            <attribute default="${empty.dir}" name="sourcepath"/>
   2.308 +            <attribute default="${empty.dir}" name="gensrcdir"/>
   2.309 +            <element name="customize" optional="true"/>
   2.310 +            <sequential>
   2.311 +                <property location="${build.dir}/empty" name="empty.dir"/>
   2.312 +                <mkdir dir="${empty.dir}"/>
   2.313 +                <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}">
   2.314 +                    <src>
   2.315 +                        <dirset dir="@{gensrcdir}" erroronmissingdir="false">
   2.316 +                            <include name="*"/>
   2.317 +                        </dirset>
   2.318 +                    </src>
   2.319 +                    <classpath>
   2.320 +                        <path path="@{classpath}"/>
   2.321 +                    </classpath>
   2.322 +                    <compilerarg line="${endorsed.classpath.cmd.line.arg}"/>
   2.323 +                    <compilerarg line="${javac.profile.cmd.line.arg}"/>
   2.324 +                    <compilerarg line="${javac.compilerargs}"/>
   2.325 +                    <customize/>
   2.326 +                </javac>
   2.327 +            </sequential>
   2.328 +        </macrodef>
   2.329 +    </target>
   2.330 +    <target depends="-init-macrodef-javac-with-processors,-init-macrodef-javac-without-processors" name="-init-macrodef-javac">
   2.331 +        <macrodef name="depend" uri="http://www.netbeans.org/ns/j2se-project/3">
   2.332 +            <attribute default="${src.dir}" name="srcdir"/>
   2.333 +            <attribute default="${build.classes.dir}" name="destdir"/>
   2.334 +            <attribute default="${javac.classpath}" name="classpath"/>
   2.335 +            <sequential>
   2.336 +                <depend cache="${build.dir}/depcache" destdir="@{destdir}" excludes="${excludes}" includes="${includes}" srcdir="@{srcdir}">
   2.337 +                    <classpath>
   2.338 +                        <path path="@{classpath}"/>
   2.339 +                    </classpath>
   2.340 +                </depend>
   2.341 +            </sequential>
   2.342 +        </macrodef>
   2.343 +        <macrodef name="force-recompile" uri="http://www.netbeans.org/ns/j2se-project/3">
   2.344 +            <attribute default="${build.classes.dir}" name="destdir"/>
   2.345 +            <sequential>
   2.346 +                <fail unless="javac.includes">Must set javac.includes</fail>
   2.347 +                <pathconvert pathsep="${line.separator}" property="javac.includes.binary">
   2.348 +                    <path>
   2.349 +                        <filelist dir="@{destdir}" files="${javac.includes}"/>
   2.350 +                    </path>
   2.351 +                    <globmapper from="*.java" to="*.class"/>
   2.352 +                </pathconvert>
   2.353 +                <tempfile deleteonexit="true" property="javac.includesfile.binary"/>
   2.354 +                <echo file="${javac.includesfile.binary}" message="${javac.includes.binary}"/>
   2.355 +                <delete>
   2.356 +                    <files includesfile="${javac.includesfile.binary}"/>
   2.357 +                </delete>
   2.358 +                <delete>
   2.359 +                    <fileset file="${javac.includesfile.binary}"/>
   2.360 +                </delete>
   2.361 +            </sequential>
   2.362 +        </macrodef>
   2.363 +    </target>
   2.364 +    <target if="${junit.available}" name="-init-macrodef-junit-init">
   2.365 +        <condition else="false" property="nb.junit.batch" value="true">
   2.366 +            <and>
   2.367 +                <istrue value="${junit.available}"/>
   2.368 +                <not>
   2.369 +                    <isset property="test.method"/>
   2.370 +                </not>
   2.371 +            </and>
   2.372 +        </condition>
   2.373 +        <condition else="false" property="nb.junit.single" value="true">
   2.374 +            <and>
   2.375 +                <istrue value="${junit.available}"/>
   2.376 +                <isset property="test.method"/>
   2.377 +            </and>
   2.378 +        </condition>
   2.379 +    </target>
   2.380 +    <target name="-init-test-properties">
   2.381 +        <property name="test.binaryincludes" value="&lt;nothing&gt;"/>
   2.382 +        <property name="test.binarytestincludes" value=""/>
   2.383 +        <property name="test.binaryexcludes" value=""/>
   2.384 +    </target>
   2.385 +    <target if="${nb.junit.single}" name="-init-macrodef-junit-single" unless="${nb.junit.batch}">
   2.386 +        <macrodef name="junit" uri="http://www.netbeans.org/ns/j2se-project/3">
   2.387 +            <attribute default="${includes}" name="includes"/>
   2.388 +            <attribute default="${excludes}" name="excludes"/>
   2.389 +            <attribute default="**" name="testincludes"/>
   2.390 +            <attribute default="" name="testmethods"/>
   2.391 +            <element name="customize" optional="true"/>
   2.392 +            <sequential>
   2.393 +                <property name="junit.forkmode" value="perTest"/>
   2.394 +                <junit dir="${work.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" forkmode="${junit.forkmode}" showoutput="true" tempdir="${build.dir}">
   2.395 +                    <test methods="@{testmethods}" name="@{testincludes}" todir="${build.test.results.dir}"/>
   2.396 +                    <syspropertyset>
   2.397 +                        <propertyref prefix="test-sys-prop."/>
   2.398 +                        <mapper from="test-sys-prop.*" to="*" type="glob"/>
   2.399 +                    </syspropertyset>
   2.400 +                    <formatter type="brief" usefile="false"/>
   2.401 +                    <formatter type="xml"/>
   2.402 +                    <jvmarg value="-ea"/>
   2.403 +                    <customize/>
   2.404 +                </junit>
   2.405 +            </sequential>
   2.406 +        </macrodef>
   2.407 +    </target>
   2.408 +    <target depends="-init-test-properties" if="${nb.junit.batch}" name="-init-macrodef-junit-batch" unless="${nb.junit.single}">
   2.409 +        <macrodef name="junit" uri="http://www.netbeans.org/ns/j2se-project/3">
   2.410 +            <attribute default="${includes}" name="includes"/>
   2.411 +            <attribute default="${excludes}" name="excludes"/>
   2.412 +            <attribute default="**" name="testincludes"/>
   2.413 +            <attribute default="" name="testmethods"/>
   2.414 +            <element name="customize" optional="true"/>
   2.415 +            <sequential>
   2.416 +                <property name="junit.forkmode" value="perTest"/>
   2.417 +                <junit dir="${work.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" forkmode="${junit.forkmode}" showoutput="true" tempdir="${build.dir}">
   2.418 +                    <batchtest todir="${build.test.results.dir}">
   2.419 +                        <fileset dir="${test.src.dir}" excludes="@{excludes},${excludes}" includes="@{includes}">
   2.420 +                            <filename name="@{testincludes}"/>
   2.421 +                        </fileset>
   2.422 +                        <fileset dir="${build.test.classes.dir}" excludes="@{excludes},${excludes},${test.binaryexcludes}" includes="${test.binaryincludes}">
   2.423 +                            <filename name="${test.binarytestincludes}"/>
   2.424 +                        </fileset>
   2.425 +                    </batchtest>
   2.426 +                    <syspropertyset>
   2.427 +                        <propertyref prefix="test-sys-prop."/>
   2.428 +                        <mapper from="test-sys-prop.*" to="*" type="glob"/>
   2.429 +                    </syspropertyset>
   2.430 +                    <formatter type="brief" usefile="false"/>
   2.431 +                    <formatter type="xml"/>
   2.432 +                    <jvmarg value="-ea"/>
   2.433 +                    <customize/>
   2.434 +                </junit>
   2.435 +            </sequential>
   2.436 +        </macrodef>
   2.437 +    </target>
   2.438 +    <target depends="-init-macrodef-junit-init,-init-macrodef-junit-single, -init-macrodef-junit-batch" if="${junit.available}" name="-init-macrodef-junit"/>
   2.439 +    <target if="${testng.available}" name="-init-macrodef-testng">
   2.440 +        <macrodef name="testng" uri="http://www.netbeans.org/ns/j2se-project/3">
   2.441 +            <attribute default="${includes}" name="includes"/>
   2.442 +            <attribute default="${excludes}" name="excludes"/>
   2.443 +            <attribute default="**" name="testincludes"/>
   2.444 +            <attribute default="" name="testmethods"/>
   2.445 +            <element name="customize" optional="true"/>
   2.446 +            <sequential>
   2.447 +                <condition else="" property="testng.methods.arg" value="@{testincludes}.@{testmethods}">
   2.448 +                    <isset property="test.method"/>
   2.449 +                </condition>
   2.450 +                <union id="test.set">
   2.451 +                    <fileset dir="${test.src.dir}" excludes="@{excludes},**/*.xml,${excludes}" includes="@{includes}">
   2.452 +                        <filename name="@{testincludes}"/>
   2.453 +                    </fileset>
   2.454 +                </union>
   2.455 +                <taskdef classname="org.testng.TestNGAntTask" classpath="${run.test.classpath}" name="testng"/>
   2.456 +                <testng classfilesetref="test.set" failureProperty="tests.failed" listeners="org.testng.reporters.VerboseReporter" methods="${testng.methods.arg}" mode="${testng.mode}" outputdir="${build.test.results.dir}" suitename="rozsirene-atributy-jedit" testname="TestNG tests" workingDir="${work.dir}">
   2.457 +                    <xmlfileset dir="${build.test.classes.dir}" includes="@{testincludes}"/>
   2.458 +                    <propertyset>
   2.459 +                        <propertyref prefix="test-sys-prop."/>
   2.460 +                        <mapper from="test-sys-prop.*" to="*" type="glob"/>
   2.461 +                    </propertyset>
   2.462 +                    <customize/>
   2.463 +                </testng>
   2.464 +            </sequential>
   2.465 +        </macrodef>
   2.466 +    </target>
   2.467 +    <target name="-init-macrodef-test-impl">
   2.468 +        <macrodef name="test-impl" uri="http://www.netbeans.org/ns/j2se-project/3">
   2.469 +            <attribute default="${includes}" name="includes"/>
   2.470 +            <attribute default="${excludes}" name="excludes"/>
   2.471 +            <attribute default="**" name="testincludes"/>
   2.472 +            <attribute default="" name="testmethods"/>
   2.473 +            <element implicit="true" name="customize" optional="true"/>
   2.474 +            <sequential>
   2.475 +                <echo>No tests executed.</echo>
   2.476 +            </sequential>
   2.477 +        </macrodef>
   2.478 +    </target>
   2.479 +    <target depends="-init-macrodef-junit" if="${junit.available}" name="-init-macrodef-junit-impl">
   2.480 +        <macrodef name="test-impl" uri="http://www.netbeans.org/ns/j2se-project/3">
   2.481 +            <attribute default="${includes}" name="includes"/>
   2.482 +            <attribute default="${excludes}" name="excludes"/>
   2.483 +            <attribute default="**" name="testincludes"/>
   2.484 +            <attribute default="" name="testmethods"/>
   2.485 +            <element implicit="true" name="customize" optional="true"/>
   2.486 +            <sequential>
   2.487 +                <j2seproject3:junit excludes="@{excludes}" includes="@{includes}" testincludes="@{testincludes}" testmethods="@{testmethods}">
   2.488 +                    <customize/>
   2.489 +                </j2seproject3:junit>
   2.490 +            </sequential>
   2.491 +        </macrodef>
   2.492 +    </target>
   2.493 +    <target depends="-init-macrodef-testng" if="${testng.available}" name="-init-macrodef-testng-impl">
   2.494 +        <macrodef name="test-impl" uri="http://www.netbeans.org/ns/j2se-project/3">
   2.495 +            <attribute default="${includes}" name="includes"/>
   2.496 +            <attribute default="${excludes}" name="excludes"/>
   2.497 +            <attribute default="**" name="testincludes"/>
   2.498 +            <attribute default="" name="testmethods"/>
   2.499 +            <element implicit="true" name="customize" optional="true"/>
   2.500 +            <sequential>
   2.501 +                <j2seproject3:testng excludes="@{excludes}" includes="@{includes}" testincludes="@{testincludes}" testmethods="@{testmethods}">
   2.502 +                    <customize/>
   2.503 +                </j2seproject3:testng>
   2.504 +            </sequential>
   2.505 +        </macrodef>
   2.506 +    </target>
   2.507 +    <target depends="-init-macrodef-test-impl,-init-macrodef-junit-impl,-init-macrodef-testng-impl" name="-init-macrodef-test">
   2.508 +        <macrodef name="test" uri="http://www.netbeans.org/ns/j2se-project/3">
   2.509 +            <attribute default="${includes}" name="includes"/>
   2.510 +            <attribute default="${excludes}" name="excludes"/>
   2.511 +            <attribute default="**" name="testincludes"/>
   2.512 +            <attribute default="" name="testmethods"/>
   2.513 +            <sequential>
   2.514 +                <j2seproject3:test-impl excludes="@{excludes}" includes="@{includes}" testincludes="@{testincludes}" testmethods="@{testmethods}">
   2.515 +                    <customize>
   2.516 +                        <classpath>
   2.517 +                            <path path="${run.test.classpath}"/>
   2.518 +                        </classpath>
   2.519 +                        <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
   2.520 +                        <jvmarg line="${run.jvmargs}"/>
   2.521 +                        <jvmarg line="${run.jvmargs.ide}"/>
   2.522 +                    </customize>
   2.523 +                </j2seproject3:test-impl>
   2.524 +            </sequential>
   2.525 +        </macrodef>
   2.526 +    </target>
   2.527 +    <target if="${junit.available}" name="-init-macrodef-junit-debug" unless="${nb.junit.batch}">
   2.528 +        <macrodef name="junit-debug" uri="http://www.netbeans.org/ns/j2se-project/3">
   2.529 +            <attribute default="${includes}" name="includes"/>
   2.530 +            <attribute default="${excludes}" name="excludes"/>
   2.531 +            <attribute default="**" name="testincludes"/>
   2.532 +            <attribute default="" name="testmethods"/>
   2.533 +            <element name="customize" optional="true"/>
   2.534 +            <sequential>
   2.535 +                <property name="junit.forkmode" value="perTest"/>
   2.536 +                <junit dir="${work.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" forkmode="${junit.forkmode}" showoutput="true" tempdir="${build.dir}">
   2.537 +                    <test methods="@{testmethods}" name="@{testincludes}" todir="${build.test.results.dir}"/>
   2.538 +                    <syspropertyset>
   2.539 +                        <propertyref prefix="test-sys-prop."/>
   2.540 +                        <mapper from="test-sys-prop.*" to="*" type="glob"/>
   2.541 +                    </syspropertyset>
   2.542 +                    <formatter type="brief" usefile="false"/>
   2.543 +                    <formatter type="xml"/>
   2.544 +                    <jvmarg value="-ea"/>
   2.545 +                    <jvmarg line="${debug-args-line}"/>
   2.546 +                    <jvmarg value="-Xrunjdwp:transport=${debug-transport},address=${jpda.address}"/>
   2.547 +                    <customize/>
   2.548 +                </junit>
   2.549 +            </sequential>
   2.550 +        </macrodef>
   2.551 +    </target>
   2.552 +    <target depends="-init-test-properties" if="${nb.junit.batch}" name="-init-macrodef-junit-debug-batch">
   2.553 +        <macrodef name="junit-debug" uri="http://www.netbeans.org/ns/j2se-project/3">
   2.554 +            <attribute default="${includes}" name="includes"/>
   2.555 +            <attribute default="${excludes}" name="excludes"/>
   2.556 +            <attribute default="**" name="testincludes"/>
   2.557 +            <attribute default="" name="testmethods"/>
   2.558 +            <element name="customize" optional="true"/>
   2.559 +            <sequential>
   2.560 +                <property name="junit.forkmode" value="perTest"/>
   2.561 +                <junit dir="${work.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" forkmode="${junit.forkmode}" showoutput="true" tempdir="${build.dir}">
   2.562 +                    <batchtest todir="${build.test.results.dir}">
   2.563 +                        <fileset dir="${test.src.dir}" excludes="@{excludes},${excludes}" includes="@{includes}">
   2.564 +                            <filename name="@{testincludes}"/>
   2.565 +                        </fileset>
   2.566 +                        <fileset dir="${build.test.classes.dir}" excludes="@{excludes},${excludes},${test.binaryexcludes}" includes="${test.binaryincludes}">
   2.567 +                            <filename name="${test.binarytestincludes}"/>
   2.568 +                        </fileset>
   2.569 +                    </batchtest>
   2.570 +                    <syspropertyset>
   2.571 +                        <propertyref prefix="test-sys-prop."/>
   2.572 +                        <mapper from="test-sys-prop.*" to="*" type="glob"/>
   2.573 +                    </syspropertyset>
   2.574 +                    <formatter type="brief" usefile="false"/>
   2.575 +                    <formatter type="xml"/>
   2.576 +                    <jvmarg value="-ea"/>
   2.577 +                    <jvmarg line="${debug-args-line}"/>
   2.578 +                    <jvmarg value="-Xrunjdwp:transport=${debug-transport},address=${jpda.address}"/>
   2.579 +                    <customize/>
   2.580 +                </junit>
   2.581 +            </sequential>
   2.582 +        </macrodef>
   2.583 +    </target>
   2.584 +    <target depends="-init-macrodef-junit-debug,-init-macrodef-junit-debug-batch" if="${junit.available}" name="-init-macrodef-junit-debug-impl">
   2.585 +        <macrodef name="test-debug-impl" uri="http://www.netbeans.org/ns/j2se-project/3">
   2.586 +            <attribute default="${includes}" name="includes"/>
   2.587 +            <attribute default="${excludes}" name="excludes"/>
   2.588 +            <attribute default="**" name="testincludes"/>
   2.589 +            <attribute default="" name="testmethods"/>
   2.590 +            <element implicit="true" name="customize" optional="true"/>
   2.591 +            <sequential>
   2.592 +                <j2seproject3:junit-debug excludes="@{excludes}" includes="@{includes}" testincludes="@{testincludes}" testmethods="@{testmethods}">
   2.593 +                    <customize/>
   2.594 +                </j2seproject3:junit-debug>
   2.595 +            </sequential>
   2.596 +        </macrodef>
   2.597 +    </target>
   2.598 +    <target if="${testng.available}" name="-init-macrodef-testng-debug">
   2.599 +        <macrodef name="testng-debug" uri="http://www.netbeans.org/ns/j2se-project/3">
   2.600 +            <attribute default="${main.class}" name="testClass"/>
   2.601 +            <attribute default="" name="testMethod"/>
   2.602 +            <element name="customize2" optional="true"/>
   2.603 +            <sequential>
   2.604 +                <condition else="-testclass @{testClass}" property="test.class.or.method" value="-methods @{testClass}.@{testMethod}">
   2.605 +                    <isset property="test.method"/>
   2.606 +                </condition>
   2.607 +                <condition else="-suitename rozsirene-atributy-jedit -testname @{testClass} ${test.class.or.method}" property="testng.cmd.args" value="@{testClass}">
   2.608 +                    <matches pattern=".*\.xml" string="@{testClass}"/>
   2.609 +                </condition>
   2.610 +                <delete dir="${build.test.results.dir}" quiet="true"/>
   2.611 +                <mkdir dir="${build.test.results.dir}"/>
   2.612 +                <j2seproject3:debug classname="org.testng.TestNG" classpath="${debug.test.classpath}">
   2.613 +                    <customize>
   2.614 +                        <customize2/>
   2.615 +                        <jvmarg value="-ea"/>
   2.616 +                        <arg line="${testng.debug.mode}"/>
   2.617 +                        <arg line="-d ${build.test.results.dir}"/>
   2.618 +                        <arg line="-listener org.testng.reporters.VerboseReporter"/>
   2.619 +                        <arg line="${testng.cmd.args}"/>
   2.620 +                    </customize>
   2.621 +                </j2seproject3:debug>
   2.622 +            </sequential>
   2.623 +        </macrodef>
   2.624 +    </target>
   2.625 +    <target depends="-init-macrodef-testng-debug" if="${testng.available}" name="-init-macrodef-testng-debug-impl">
   2.626 +        <macrodef name="testng-debug-impl" uri="http://www.netbeans.org/ns/j2se-project/3">
   2.627 +            <attribute default="${main.class}" name="testClass"/>
   2.628 +            <attribute default="" name="testMethod"/>
   2.629 +            <element implicit="true" name="customize2" optional="true"/>
   2.630 +            <sequential>
   2.631 +                <j2seproject3:testng-debug testClass="@{testClass}" testMethod="@{testMethod}">
   2.632 +                    <customize2/>
   2.633 +                </j2seproject3:testng-debug>
   2.634 +            </sequential>
   2.635 +        </macrodef>
   2.636 +    </target>
   2.637 +    <target depends="-init-macrodef-junit-debug-impl" if="${junit.available}" name="-init-macrodef-test-debug-junit">
   2.638 +        <macrodef name="test-debug" uri="http://www.netbeans.org/ns/j2se-project/3">
   2.639 +            <attribute default="${includes}" name="includes"/>
   2.640 +            <attribute default="${excludes}" name="excludes"/>
   2.641 +            <attribute default="**" name="testincludes"/>
   2.642 +            <attribute default="" name="testmethods"/>
   2.643 +            <attribute default="${main.class}" name="testClass"/>
   2.644 +            <attribute default="" name="testMethod"/>
   2.645 +            <sequential>
   2.646 +                <j2seproject3:test-debug-impl excludes="@{excludes}" includes="@{includes}" testincludes="@{testincludes}" testmethods="@{testmethods}">
   2.647 +                    <customize>
   2.648 +                        <classpath>
   2.649 +                            <path path="${run.test.classpath}"/>
   2.650 +                        </classpath>
   2.651 +                        <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
   2.652 +                        <jvmarg line="${run.jvmargs}"/>
   2.653 +                        <jvmarg line="${run.jvmargs.ide}"/>
   2.654 +                    </customize>
   2.655 +                </j2seproject3:test-debug-impl>
   2.656 +            </sequential>
   2.657 +        </macrodef>
   2.658 +    </target>
   2.659 +    <target depends="-init-macrodef-testng-debug-impl" if="${testng.available}" name="-init-macrodef-test-debug-testng">
   2.660 +        <macrodef name="test-debug" uri="http://www.netbeans.org/ns/j2se-project/3">
   2.661 +            <attribute default="${includes}" name="includes"/>
   2.662 +            <attribute default="${excludes}" name="excludes"/>
   2.663 +            <attribute default="**" name="testincludes"/>
   2.664 +            <attribute default="" name="testmethods"/>
   2.665 +            <attribute default="${main.class}" name="testClass"/>
   2.666 +            <attribute default="" name="testMethod"/>
   2.667 +            <sequential>
   2.668 +                <j2seproject3:testng-debug-impl testClass="@{testClass}" testMethod="@{testMethod}">
   2.669 +                    <customize2>
   2.670 +                        <syspropertyset>
   2.671 +                            <propertyref prefix="test-sys-prop."/>
   2.672 +                            <mapper from="test-sys-prop.*" to="*" type="glob"/>
   2.673 +                        </syspropertyset>
   2.674 +                    </customize2>
   2.675 +                </j2seproject3:testng-debug-impl>
   2.676 +            </sequential>
   2.677 +        </macrodef>
   2.678 +    </target>
   2.679 +    <target depends="-init-macrodef-test-debug-junit,-init-macrodef-test-debug-testng" name="-init-macrodef-test-debug"/>
   2.680 +    <!--
   2.681 +                pre NB7.2 profiling section; consider it deprecated
   2.682 +            -->
   2.683 +    <target depends="-profile-pre-init, init, -profile-post-init, -profile-init-macrodef-profile, -profile-init-check" if="profiler.info.jvmargs.agent" name="profile-init"/>
   2.684 +    <target if="profiler.info.jvmargs.agent" name="-profile-pre-init">
   2.685 +        <!-- Empty placeholder for easier customization. -->
   2.686 +        <!-- You can override this target in the ../build.xml file. -->
   2.687 +    </target>
   2.688 +    <target if="profiler.info.jvmargs.agent" name="-profile-post-init">
   2.689 +        <!-- Empty placeholder for easier customization. -->
   2.690 +        <!-- You can override this target in the ../build.xml file. -->
   2.691 +    </target>
   2.692 +    <target if="profiler.info.jvmargs.agent" name="-profile-init-macrodef-profile">
   2.693 +        <macrodef name="resolve">
   2.694 +            <attribute name="name"/>
   2.695 +            <attribute name="value"/>
   2.696 +            <sequential>
   2.697 +                <property name="@{name}" value="${env.@{value}}"/>
   2.698 +            </sequential>
   2.699 +        </macrodef>
   2.700 +        <macrodef name="profile">
   2.701 +            <attribute default="${main.class}" name="classname"/>
   2.702 +            <element name="customize" optional="true"/>
   2.703 +            <sequential>
   2.704 +                <property environment="env"/>
   2.705 +                <resolve name="profiler.current.path" value="${profiler.info.pathvar}"/>
   2.706 +                <java classname="@{classname}" dir="${profiler.info.dir}" failonerror="${java.failonerror}" fork="true" jvm="${profiler.info.jvm}">
   2.707 +                    <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
   2.708 +                    <jvmarg value="${profiler.info.jvmargs.agent}"/>
   2.709 +                    <jvmarg line="${profiler.info.jvmargs}"/>
   2.710 +                    <env key="${profiler.info.pathvar}" path="${profiler.info.agentpath}:${profiler.current.path}"/>
   2.711 +                    <arg line="${application.args}"/>
   2.712 +                    <classpath>
   2.713 +                        <path path="${run.classpath}"/>
   2.714 +                    </classpath>
   2.715 +                    <syspropertyset>
   2.716 +                        <propertyref prefix="run-sys-prop."/>
   2.717 +                        <mapper from="run-sys-prop.*" to="*" type="glob"/>
   2.718 +                    </syspropertyset>
   2.719 +                    <customize/>
   2.720 +                </java>
   2.721 +            </sequential>
   2.722 +        </macrodef>
   2.723 +    </target>
   2.724 +    <target depends="-profile-pre-init, init, -profile-post-init, -profile-init-macrodef-profile" if="profiler.info.jvmargs.agent" name="-profile-init-check">
   2.725 +        <fail unless="profiler.info.jvm">Must set JVM to use for profiling in profiler.info.jvm</fail>
   2.726 +        <fail unless="profiler.info.jvmargs.agent">Must set profiler agent JVM arguments in profiler.info.jvmargs.agent</fail>
   2.727 +    </target>
   2.728 +    <!--
   2.729 +                end of pre NB7.2 profiling section
   2.730 +            -->
   2.731 +    <target depends="-init-debug-args" name="-init-macrodef-nbjpda">
   2.732 +        <macrodef name="nbjpdastart" uri="http://www.netbeans.org/ns/j2se-project/1">
   2.733 +            <attribute default="${main.class}" name="name"/>
   2.734 +            <attribute default="${debug.classpath}" name="classpath"/>
   2.735 +            <attribute default="" name="stopclassname"/>
   2.736 +            <sequential>
   2.737 +                <nbjpdastart addressproperty="jpda.address" name="@{name}" stopclassname="@{stopclassname}" transport="${debug-transport}">
   2.738 +                    <classpath>
   2.739 +                        <path path="@{classpath}"/>
   2.740 +                    </classpath>
   2.741 +                </nbjpdastart>
   2.742 +            </sequential>
   2.743 +        </macrodef>
   2.744 +        <macrodef name="nbjpdareload" uri="http://www.netbeans.org/ns/j2se-project/1">
   2.745 +            <attribute default="${build.classes.dir}" name="dir"/>
   2.746 +            <sequential>
   2.747 +                <nbjpdareload>
   2.748 +                    <fileset dir="@{dir}" includes="${fix.classes}">
   2.749 +                        <include name="${fix.includes}*.class"/>
   2.750 +                    </fileset>
   2.751 +                </nbjpdareload>
   2.752 +            </sequential>
   2.753 +        </macrodef>
   2.754 +    </target>
   2.755 +    <target name="-init-debug-args">
   2.756 +        <property name="version-output" value="java version &quot;${ant.java.version}"/>
   2.757 +        <condition property="have-jdk-older-than-1.4">
   2.758 +            <or>
   2.759 +                <contains string="${version-output}" substring="java version &quot;1.0"/>
   2.760 +                <contains string="${version-output}" substring="java version &quot;1.1"/>
   2.761 +                <contains string="${version-output}" substring="java version &quot;1.2"/>
   2.762 +                <contains string="${version-output}" substring="java version &quot;1.3"/>
   2.763 +            </or>
   2.764 +        </condition>
   2.765 +        <condition else="-Xdebug" property="debug-args-line" value="-Xdebug -Xnoagent -Djava.compiler=none">
   2.766 +            <istrue value="${have-jdk-older-than-1.4}"/>
   2.767 +        </condition>
   2.768 +        <condition else="dt_socket" property="debug-transport-by-os" value="dt_shmem">
   2.769 +            <os family="windows"/>
   2.770 +        </condition>
   2.771 +        <condition else="${debug-transport-by-os}" property="debug-transport" value="${debug.transport}">
   2.772 +            <isset property="debug.transport"/>
   2.773 +        </condition>
   2.774 +    </target>
   2.775 +    <target depends="-init-debug-args" name="-init-macrodef-debug">
   2.776 +        <macrodef name="debug" uri="http://www.netbeans.org/ns/j2se-project/3">
   2.777 +            <attribute default="${main.class}" name="classname"/>
   2.778 +            <attribute default="${debug.classpath}" name="classpath"/>
   2.779 +            <element name="customize" optional="true"/>
   2.780 +            <sequential>
   2.781 +                <java classname="@{classname}" dir="${work.dir}" failonerror="${java.failonerror}" fork="true">
   2.782 +                    <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
   2.783 +                    <jvmarg line="${debug-args-line}"/>
   2.784 +                    <jvmarg value="-Xrunjdwp:transport=${debug-transport},address=${jpda.address}"/>
   2.785 +                    <jvmarg value="-Dfile.encoding=${runtime.encoding}"/>
   2.786 +                    <redirector errorencoding="${runtime.encoding}" inputencoding="${runtime.encoding}" outputencoding="${runtime.encoding}"/>
   2.787 +                    <jvmarg line="${run.jvmargs}"/>
   2.788 +                    <jvmarg line="${run.jvmargs.ide}"/>
   2.789 +                    <classpath>
   2.790 +                        <path path="@{classpath}"/>
   2.791 +                    </classpath>
   2.792 +                    <syspropertyset>
   2.793 +                        <propertyref prefix="run-sys-prop."/>
   2.794 +                        <mapper from="run-sys-prop.*" to="*" type="glob"/>
   2.795 +                    </syspropertyset>
   2.796 +                    <customize/>
   2.797 +                </java>
   2.798 +            </sequential>
   2.799 +        </macrodef>
   2.800 +    </target>
   2.801 +    <target name="-init-macrodef-java">
   2.802 +        <macrodef name="java" uri="http://www.netbeans.org/ns/j2se-project/1">
   2.803 +            <attribute default="${main.class}" name="classname"/>
   2.804 +            <attribute default="${run.classpath}" name="classpath"/>
   2.805 +            <attribute default="jvm" name="jvm"/>
   2.806 +            <element name="customize" optional="true"/>
   2.807 +            <sequential>
   2.808 +                <java classname="@{classname}" dir="${work.dir}" failonerror="${java.failonerror}" fork="true">
   2.809 +                    <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
   2.810 +                    <jvmarg value="-Dfile.encoding=${runtime.encoding}"/>
   2.811 +                    <redirector errorencoding="${runtime.encoding}" inputencoding="${runtime.encoding}" outputencoding="${runtime.encoding}"/>
   2.812 +                    <jvmarg line="${run.jvmargs}"/>
   2.813 +                    <jvmarg line="${run.jvmargs.ide}"/>
   2.814 +                    <classpath>
   2.815 +                        <path path="@{classpath}"/>
   2.816 +                    </classpath>
   2.817 +                    <syspropertyset>
   2.818 +                        <propertyref prefix="run-sys-prop."/>
   2.819 +                        <mapper from="run-sys-prop.*" to="*" type="glob"/>
   2.820 +                    </syspropertyset>
   2.821 +                    <customize/>
   2.822 +                </java>
   2.823 +            </sequential>
   2.824 +        </macrodef>
   2.825 +    </target>
   2.826 +    <target name="-init-macrodef-copylibs">
   2.827 +        <macrodef name="copylibs" uri="http://www.netbeans.org/ns/j2se-project/3">
   2.828 +            <attribute default="${manifest.file}" name="manifest"/>
   2.829 +            <element name="customize" optional="true"/>
   2.830 +            <sequential>
   2.831 +                <property location="${build.classes.dir}" name="build.classes.dir.resolved"/>
   2.832 +                <pathconvert property="run.classpath.without.build.classes.dir">
   2.833 +                    <path path="${run.classpath}"/>
   2.834 +                    <map from="${build.classes.dir.resolved}" to=""/>
   2.835 +                </pathconvert>
   2.836 +                <pathconvert pathsep=" " property="jar.classpath">
   2.837 +                    <path path="${run.classpath.without.build.classes.dir}"/>
   2.838 +                    <chainedmapper>
   2.839 +                        <flattenmapper/>
   2.840 +                        <filtermapper>
   2.841 +                            <replacestring from=" " to="%20"/>
   2.842 +                        </filtermapper>
   2.843 +                        <globmapper from="*" to="lib/*"/>
   2.844 +                    </chainedmapper>
   2.845 +                </pathconvert>
   2.846 +                <taskdef classname="org.netbeans.modules.java.j2seproject.copylibstask.CopyLibs" classpath="${libs.CopyLibs.classpath}" name="copylibs"/>
   2.847 +                <copylibs compress="${jar.compress}" excludeFromCopy="${copylibs.excludes}" index="${jar.index}" indexMetaInf="${jar.index.metainf}" jarfile="${dist.jar}" manifest="@{manifest}" manifestencoding="UTF-8" rebase="${copylibs.rebase}" runtimeclasspath="${run.classpath.without.build.classes.dir}">
   2.848 +                    <fileset dir="${build.classes.dir}" excludes="${dist.archive.excludes}"/>
   2.849 +                    <manifest>
   2.850 +                        <attribute name="Class-Path" value="${jar.classpath}"/>
   2.851 +                        <customize/>
   2.852 +                    </manifest>
   2.853 +                </copylibs>
   2.854 +            </sequential>
   2.855 +        </macrodef>
   2.856 +    </target>
   2.857 +    <target name="-init-presetdef-jar">
   2.858 +        <presetdef name="jar" uri="http://www.netbeans.org/ns/j2se-project/1">
   2.859 +            <jar compress="${jar.compress}" index="${jar.index}" jarfile="${dist.jar}" manifestencoding="UTF-8">
   2.860 +                <j2seproject1:fileset dir="${build.classes.dir}" excludes="${dist.archive.excludes}"/>
   2.861 +            </jar>
   2.862 +        </presetdef>
   2.863 +    </target>
   2.864 +    <target name="-init-ap-cmdline-properties">
   2.865 +        <property name="annotation.processing.enabled" value="true"/>
   2.866 +        <property name="annotation.processing.processors.list" value=""/>
   2.867 +        <property name="annotation.processing.processor.options" value=""/>
   2.868 +        <property name="annotation.processing.run.all.processors" value="true"/>
   2.869 +        <property name="javac.processorpath" value="${javac.classpath}"/>
   2.870 +        <property name="javac.test.processorpath" value="${javac.test.classpath}"/>
   2.871 +        <condition property="ap.supported.internal" value="true">
   2.872 +            <not>
   2.873 +                <matches pattern="1\.[0-5](\..*)?" string="${javac.source}"/>
   2.874 +            </not>
   2.875 +        </condition>
   2.876 +    </target>
   2.877 +    <target depends="-init-ap-cmdline-properties" if="ap.supported.internal" name="-init-ap-cmdline-supported">
   2.878 +        <condition else="" property="ap.processors.internal" value="-processor ${annotation.processing.processors.list}">
   2.879 +            <isfalse value="${annotation.processing.run.all.processors}"/>
   2.880 +        </condition>
   2.881 +        <condition else="" property="ap.proc.none.internal" value="-proc:none">
   2.882 +            <isfalse value="${annotation.processing.enabled}"/>
   2.883 +        </condition>
   2.884 +    </target>
   2.885 +    <target depends="-init-ap-cmdline-properties,-init-ap-cmdline-supported" name="-init-ap-cmdline">
   2.886 +        <property name="ap.cmd.line.internal" value=""/>
   2.887 +    </target>
   2.888 +    <target depends="-pre-init,-init-private,-init-user,-init-project,-do-init,-post-init,-init-check,-init-macrodef-property,-init-macrodef-javac,-init-macrodef-test,-init-macrodef-test-debug,-init-macrodef-nbjpda,-init-macrodef-debug,-init-macrodef-java,-init-presetdef-jar,-init-ap-cmdline" name="init"/>
   2.889 +    <!--
   2.890 +                ===================
   2.891 +                COMPILATION SECTION
   2.892 +                ===================
   2.893 +            -->
   2.894 +    <target name="-deps-jar-init" unless="built-jar.properties">
   2.895 +        <property location="${build.dir}/built-jar.properties" name="built-jar.properties"/>
   2.896 +        <delete file="${built-jar.properties}" quiet="true"/>
   2.897 +    </target>
   2.898 +    <target if="already.built.jar.${basedir}" name="-warn-already-built-jar">
   2.899 +        <echo level="warn" message="Cycle detected: rozsirene-atributy-jedit was already built"/>
   2.900 +    </target>
   2.901 +    <target depends="init,-deps-jar-init" name="deps-jar" unless="no.deps">
   2.902 +        <mkdir dir="${build.dir}"/>
   2.903 +        <touch file="${built-jar.properties}" verbose="false"/>
   2.904 +        <property file="${built-jar.properties}" prefix="already.built.jar."/>
   2.905 +        <antcall target="-warn-already-built-jar"/>
   2.906 +        <propertyfile file="${built-jar.properties}">
   2.907 +            <entry key="${basedir}" value=""/>
   2.908 +        </propertyfile>
   2.909 +        <antcall target="-maybe-call-dep">
   2.910 +            <param name="call.built.properties" value="${built-jar.properties}"/>
   2.911 +            <param location="${project.rozsirene-atributy}" name="call.subproject"/>
   2.912 +            <param location="${project.rozsirene-atributy}/build.xml" name="call.script"/>
   2.913 +            <param name="call.target" value="jar"/>
   2.914 +            <param name="transfer.built-jar.properties" value="${built-jar.properties}"/>
   2.915 +            <param name="transfer.not.archive.disabled" value="true"/>
   2.916 +        </antcall>
   2.917 +    </target>
   2.918 +    <target depends="init,-check-automatic-build,-clean-after-automatic-build" name="-verify-automatic-build"/>
   2.919 +    <target depends="init" name="-check-automatic-build">
   2.920 +        <available file="${build.classes.dir}/.netbeans_automatic_build" property="netbeans.automatic.build"/>
   2.921 +    </target>
   2.922 +    <target depends="init" if="netbeans.automatic.build" name="-clean-after-automatic-build">
   2.923 +        <antcall target="clean"/>
   2.924 +    </target>
   2.925 +    <target depends="init,deps-jar" name="-pre-pre-compile">
   2.926 +        <mkdir dir="${build.classes.dir}"/>
   2.927 +    </target>
   2.928 +    <target name="-pre-compile">
   2.929 +        <!-- Empty placeholder for easier customization. -->
   2.930 +        <!-- You can override this target in the ../build.xml file. -->
   2.931 +    </target>
   2.932 +    <target if="do.depend.true" name="-compile-depend">
   2.933 +        <pathconvert property="build.generated.subdirs">
   2.934 +            <dirset dir="${build.generated.sources.dir}" erroronmissingdir="false">
   2.935 +                <include name="*"/>
   2.936 +            </dirset>
   2.937 +        </pathconvert>
   2.938 +        <j2seproject3:depend srcdir="${src.dir}:${build.generated.subdirs}"/>
   2.939 +    </target>
   2.940 +    <target depends="init,deps-jar,-pre-pre-compile,-pre-compile, -copy-persistence-xml,-compile-depend" if="have.sources" name="-do-compile">
   2.941 +        <j2seproject3:javac gensrcdir="${build.generated.sources.dir}"/>
   2.942 +        <copy todir="${build.classes.dir}">
   2.943 +            <fileset dir="${src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
   2.944 +        </copy>
   2.945 +    </target>
   2.946 +    <target if="has.persistence.xml" name="-copy-persistence-xml">
   2.947 +        <mkdir dir="${build.classes.dir}/META-INF"/>
   2.948 +        <copy todir="${build.classes.dir}/META-INF">
   2.949 +            <fileset dir="${meta.inf.dir}" includes="persistence.xml orm.xml"/>
   2.950 +        </copy>
   2.951 +    </target>
   2.952 +    <target name="-post-compile">
   2.953 +        <!-- Empty placeholder for easier customization. -->
   2.954 +        <!-- You can override this target in the ../build.xml file. -->
   2.955 +    </target>
   2.956 +    <target depends="init,deps-jar,-verify-automatic-build,-pre-pre-compile,-pre-compile,-do-compile,-post-compile" description="Compile project." name="compile"/>
   2.957 +    <target name="-pre-compile-single">
   2.958 +        <!-- Empty placeholder for easier customization. -->
   2.959 +        <!-- You can override this target in the ../build.xml file. -->
   2.960 +    </target>
   2.961 +    <target depends="init,deps-jar,-pre-pre-compile" name="-do-compile-single">
   2.962 +        <fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail>
   2.963 +        <j2seproject3:force-recompile/>
   2.964 +        <j2seproject3:javac excludes="" gensrcdir="${build.generated.sources.dir}" includes="${javac.includes}" sourcepath="${src.dir}"/>
   2.965 +    </target>
   2.966 +    <target name="-post-compile-single">
   2.967 +        <!-- Empty placeholder for easier customization. -->
   2.968 +        <!-- You can override this target in the ../build.xml file. -->
   2.969 +    </target>
   2.970 +    <target depends="init,deps-jar,-verify-automatic-build,-pre-pre-compile,-pre-compile-single,-do-compile-single,-post-compile-single" name="compile-single"/>
   2.971 +    <!--
   2.972 +                ====================
   2.973 +                JAR BUILDING SECTION
   2.974 +                ====================
   2.975 +            -->
   2.976 +    <target depends="init" name="-pre-pre-jar">
   2.977 +        <dirname file="${dist.jar}" property="dist.jar.dir"/>
   2.978 +        <mkdir dir="${dist.jar.dir}"/>
   2.979 +    </target>
   2.980 +    <target name="-pre-jar">
   2.981 +        <!-- Empty placeholder for easier customization. -->
   2.982 +        <!-- You can override this target in the ../build.xml file. -->
   2.983 +    </target>
   2.984 +    <target depends="init" if="do.archive" name="-do-jar-create-manifest" unless="manifest.available">
   2.985 +        <tempfile deleteonexit="true" destdir="${build.dir}" property="tmp.manifest.file"/>
   2.986 +        <touch file="${tmp.manifest.file}" verbose="false"/>
   2.987 +    </target>
   2.988 +    <target depends="init" if="do.archive+manifest.available" name="-do-jar-copy-manifest">
   2.989 +        <tempfile deleteonexit="true" destdir="${build.dir}" property="tmp.manifest.file"/>
   2.990 +        <copy encoding="${manifest.encoding}" file="${manifest.file}" outputencoding="UTF-8" tofile="${tmp.manifest.file}"/>
   2.991 +    </target>
   2.992 +    <target depends="init,-do-jar-create-manifest,-do-jar-copy-manifest" if="do.archive+main.class.available" name="-do-jar-set-mainclass">
   2.993 +        <manifest encoding="UTF-8" file="${tmp.manifest.file}" mode="update">
   2.994 +            <attribute name="Main-Class" value="${main.class}"/>
   2.995 +        </manifest>
   2.996 +    </target>
   2.997 +    <target depends="init,-do-jar-create-manifest,-do-jar-copy-manifest" if="do.archive+profile.available" name="-do-jar-set-profile">
   2.998 +        <manifest encoding="UTF-8" file="${tmp.manifest.file}" mode="update">
   2.999 +            <attribute name="Profile" value="${javac.profile}"/>
  2.1000 +        </manifest>
  2.1001 +    </target>
  2.1002 +    <target depends="init,-do-jar-create-manifest,-do-jar-copy-manifest" if="do.archive+splashscreen.available" name="-do-jar-set-splashscreen">
  2.1003 +        <basename file="${application.splash}" property="splashscreen.basename"/>
  2.1004 +        <mkdir dir="${build.classes.dir}/META-INF"/>
  2.1005 +        <copy failonerror="false" file="${application.splash}" todir="${build.classes.dir}/META-INF"/>
  2.1006 +        <manifest encoding="UTF-8" file="${tmp.manifest.file}" mode="update">
  2.1007 +            <attribute name="SplashScreen-Image" value="META-INF/${splashscreen.basename}"/>
  2.1008 +        </manifest>
  2.1009 +    </target>
  2.1010 +    <target depends="init,-init-macrodef-copylibs,compile,-pre-pre-jar,-pre-jar,-do-jar-create-manifest,-do-jar-copy-manifest,-do-jar-set-mainclass,-do-jar-set-profile,-do-jar-set-splashscreen" if="do.mkdist" name="-do-jar-copylibs">
  2.1011 +        <j2seproject3:copylibs manifest="${tmp.manifest.file}"/>
  2.1012 +        <echo level="info">To run this application from the command line without Ant, try:</echo>
  2.1013 +        <property location="${dist.jar}" name="dist.jar.resolved"/>
  2.1014 +        <echo level="info">java -jar "${dist.jar.resolved}"</echo>
  2.1015 +    </target>
  2.1016 +    <target depends="init,compile,-pre-pre-jar,-pre-jar,-do-jar-create-manifest,-do-jar-copy-manifest,-do-jar-set-mainclass,-do-jar-set-profile,-do-jar-set-splashscreen" if="do.archive" name="-do-jar-jar" unless="do.mkdist">
  2.1017 +        <j2seproject1:jar manifest="${tmp.manifest.file}"/>
  2.1018 +        <property location="${build.classes.dir}" name="build.classes.dir.resolved"/>
  2.1019 +        <property location="${dist.jar}" name="dist.jar.resolved"/>
  2.1020 +        <pathconvert property="run.classpath.with.dist.jar">
  2.1021 +            <path path="${run.classpath}"/>
  2.1022 +            <map from="${build.classes.dir.resolved}" to="${dist.jar.resolved}"/>
  2.1023 +        </pathconvert>
  2.1024 +        <condition else="" property="jar.usage.message" value="To run this application from the command line without Ant, try:${line.separator}${platform.java} -cp ${run.classpath.with.dist.jar} ${main.class}">
  2.1025 +            <isset property="main.class.available"/>
  2.1026 +        </condition>
  2.1027 +        <condition else="debug" property="jar.usage.level" value="info">
  2.1028 +            <isset property="main.class.available"/>
  2.1029 +        </condition>
  2.1030 +        <echo level="${jar.usage.level}" message="${jar.usage.message}"/>
  2.1031 +    </target>
  2.1032 +    <target depends="-do-jar-copylibs" if="do.archive" name="-do-jar-delete-manifest">
  2.1033 +        <delete>
  2.1034 +            <fileset file="${tmp.manifest.file}"/>
  2.1035 +        </delete>
  2.1036 +    </target>
  2.1037 +    <target depends="init,compile,-pre-pre-jar,-pre-jar,-do-jar-create-manifest,-do-jar-copy-manifest,-do-jar-set-mainclass,-do-jar-set-profile,-do-jar-set-splashscreen,-do-jar-jar,-do-jar-delete-manifest" name="-do-jar-without-libraries"/>
  2.1038 +    <target depends="init,compile,-pre-pre-jar,-pre-jar,-do-jar-create-manifest,-do-jar-copy-manifest,-do-jar-set-mainclass,-do-jar-set-profile,-do-jar-set-splashscreen,-do-jar-copylibs,-do-jar-delete-manifest" name="-do-jar-with-libraries"/>
  2.1039 +    <target name="-post-jar">
  2.1040 +        <!-- Empty placeholder for easier customization. -->
  2.1041 +        <!-- You can override this target in the ../build.xml file. -->
  2.1042 +    </target>
  2.1043 +    <target depends="init,compile,-pre-jar,-do-jar-without-libraries,-do-jar-with-libraries,-post-jar" name="-do-jar"/>
  2.1044 +    <target depends="init,compile,-pre-jar,-do-jar,-post-jar" description="Build JAR." name="jar"/>
  2.1045 +    <!--
  2.1046 +                =================
  2.1047 +                EXECUTION SECTION
  2.1048 +                =================
  2.1049 +            -->
  2.1050 +    <target depends="init,compile" description="Run a main class." name="run">
  2.1051 +        <j2seproject1:java>
  2.1052 +            <customize>
  2.1053 +                <arg line="${application.args}"/>
  2.1054 +            </customize>
  2.1055 +        </j2seproject1:java>
  2.1056 +    </target>
  2.1057 +    <target name="-do-not-recompile">
  2.1058 +        <property name="javac.includes.binary" value=""/>
  2.1059 +    </target>
  2.1060 +    <target depends="init,compile-single" name="run-single">
  2.1061 +        <fail unless="run.class">Must select one file in the IDE or set run.class</fail>
  2.1062 +        <j2seproject1:java classname="${run.class}"/>
  2.1063 +    </target>
  2.1064 +    <target depends="init,compile-test-single" name="run-test-with-main">
  2.1065 +        <fail unless="run.class">Must select one file in the IDE or set run.class</fail>
  2.1066 +        <j2seproject1:java classname="${run.class}" classpath="${run.test.classpath}"/>
  2.1067 +    </target>
  2.1068 +    <!--
  2.1069 +                =================
  2.1070 +                DEBUGGING SECTION
  2.1071 +                =================
  2.1072 +            -->
  2.1073 +    <target depends="init" if="netbeans.home" name="-debug-start-debugger">
  2.1074 +        <j2seproject1:nbjpdastart name="${debug.class}"/>
  2.1075 +    </target>
  2.1076 +    <target depends="init" if="netbeans.home" name="-debug-start-debugger-main-test">
  2.1077 +        <j2seproject1:nbjpdastart classpath="${debug.test.classpath}" name="${debug.class}"/>
  2.1078 +    </target>
  2.1079 +    <target depends="init,compile" name="-debug-start-debuggee">
  2.1080 +        <j2seproject3:debug>
  2.1081 +            <customize>
  2.1082 +                <arg line="${application.args}"/>
  2.1083 +            </customize>
  2.1084 +        </j2seproject3:debug>
  2.1085 +    </target>
  2.1086 +    <target depends="init,compile,-debug-start-debugger,-debug-start-debuggee" description="Debug project in IDE." if="netbeans.home" name="debug"/>
  2.1087 +    <target depends="init" if="netbeans.home" name="-debug-start-debugger-stepinto">
  2.1088 +        <j2seproject1:nbjpdastart stopclassname="${main.class}"/>
  2.1089 +    </target>
  2.1090 +    <target depends="init,compile,-debug-start-debugger-stepinto,-debug-start-debuggee" if="netbeans.home" name="debug-stepinto"/>
  2.1091 +    <target depends="init,compile-single" if="netbeans.home" name="-debug-start-debuggee-single">
  2.1092 +        <fail unless="debug.class">Must select one file in the IDE or set debug.class</fail>
  2.1093 +        <j2seproject3:debug classname="${debug.class}"/>
  2.1094 +    </target>
  2.1095 +    <target depends="init,compile-single,-debug-start-debugger,-debug-start-debuggee-single" if="netbeans.home" name="debug-single"/>
  2.1096 +    <target depends="init,compile-test-single" if="netbeans.home" name="-debug-start-debuggee-main-test">
  2.1097 +        <fail unless="debug.class">Must select one file in the IDE or set debug.class</fail>
  2.1098 +        <j2seproject3:debug classname="${debug.class}" classpath="${debug.test.classpath}"/>
  2.1099 +    </target>
  2.1100 +    <target depends="init,compile-test-single,-debug-start-debugger-main-test,-debug-start-debuggee-main-test" if="netbeans.home" name="debug-test-with-main"/>
  2.1101 +    <target depends="init" name="-pre-debug-fix">
  2.1102 +        <fail unless="fix.includes">Must set fix.includes</fail>
  2.1103 +        <property name="javac.includes" value="${fix.includes}.java"/>
  2.1104 +    </target>
  2.1105 +    <target depends="init,-pre-debug-fix,compile-single" if="netbeans.home" name="-do-debug-fix">
  2.1106 +        <j2seproject1:nbjpdareload/>
  2.1107 +    </target>
  2.1108 +    <target depends="init,-pre-debug-fix,-do-debug-fix" if="netbeans.home" name="debug-fix"/>
  2.1109 +    <!--
  2.1110 +                =================
  2.1111 +                PROFILING SECTION
  2.1112 +                =================
  2.1113 +            -->
  2.1114 +    <!--
  2.1115 +                pre NB7.2 profiler integration
  2.1116 +            -->
  2.1117 +    <target depends="profile-init,compile" description="Profile a project in the IDE." if="profiler.info.jvmargs.agent" name="-profile-pre72">
  2.1118 +        <fail unless="netbeans.home">This target only works when run from inside the NetBeans IDE.</fail>
  2.1119 +        <nbprofiledirect>
  2.1120 +            <classpath>
  2.1121 +                <path path="${run.classpath}"/>
  2.1122 +            </classpath>
  2.1123 +        </nbprofiledirect>
  2.1124 +        <profile/>
  2.1125 +    </target>
  2.1126 +    <target depends="profile-init,compile-single" description="Profile a selected class in the IDE." if="profiler.info.jvmargs.agent" name="-profile-single-pre72">
  2.1127 +        <fail unless="profile.class">Must select one file in the IDE or set profile.class</fail>
  2.1128 +        <fail unless="netbeans.home">This target only works when run from inside the NetBeans IDE.</fail>
  2.1129 +        <nbprofiledirect>
  2.1130 +            <classpath>
  2.1131 +                <path path="${run.classpath}"/>
  2.1132 +            </classpath>
  2.1133 +        </nbprofiledirect>
  2.1134 +        <profile classname="${profile.class}"/>
  2.1135 +    </target>
  2.1136 +    <target depends="profile-init,compile-single" if="profiler.info.jvmargs.agent" name="-profile-applet-pre72">
  2.1137 +        <fail unless="netbeans.home">This target only works when run from inside the NetBeans IDE.</fail>
  2.1138 +        <nbprofiledirect>
  2.1139 +            <classpath>
  2.1140 +                <path path="${run.classpath}"/>
  2.1141 +            </classpath>
  2.1142 +        </nbprofiledirect>
  2.1143 +        <profile classname="sun.applet.AppletViewer">
  2.1144 +            <customize>
  2.1145 +                <arg value="${applet.url}"/>
  2.1146 +            </customize>
  2.1147 +        </profile>
  2.1148 +    </target>
  2.1149 +    <target depends="profile-init,compile-test-single" if="profiler.info.jvmargs.agent" name="-profile-test-single-pre72">
  2.1150 +        <fail unless="netbeans.home">This target only works when run from inside the NetBeans IDE.</fail>
  2.1151 +        <nbprofiledirect>
  2.1152 +            <classpath>
  2.1153 +                <path path="${run.test.classpath}"/>
  2.1154 +            </classpath>
  2.1155 +        </nbprofiledirect>
  2.1156 +        <junit dir="${profiler.info.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" jvm="${profiler.info.jvm}" showoutput="true">
  2.1157 +            <env key="${profiler.info.pathvar}" path="${profiler.info.agentpath}:${profiler.current.path}"/>
  2.1158 +            <jvmarg value="${profiler.info.jvmargs.agent}"/>
  2.1159 +            <jvmarg line="${profiler.info.jvmargs}"/>
  2.1160 +            <test name="${profile.class}"/>
  2.1161 +            <classpath>
  2.1162 +                <path path="${run.test.classpath}"/>
  2.1163 +            </classpath>
  2.1164 +            <syspropertyset>
  2.1165 +                <propertyref prefix="test-sys-prop."/>
  2.1166 +                <mapper from="test-sys-prop.*" to="*" type="glob"/>
  2.1167 +            </syspropertyset>
  2.1168 +            <formatter type="brief" usefile="false"/>
  2.1169 +            <formatter type="xml"/>
  2.1170 +        </junit>
  2.1171 +    </target>
  2.1172 +    <!--
  2.1173 +                end of pre NB72 profiling section
  2.1174 +            -->
  2.1175 +    <target if="netbeans.home" name="-profile-check">
  2.1176 +        <condition property="profiler.configured">
  2.1177 +            <or>
  2.1178 +                <contains casesensitive="true" string="${run.jvmargs.ide}" substring="-agentpath:"/>
  2.1179 +                <contains casesensitive="true" string="${run.jvmargs.ide}" substring="-javaagent:"/>
  2.1180 +            </or>
  2.1181 +        </condition>
  2.1182 +    </target>
  2.1183 +    <target depends="-profile-check,-profile-pre72" description="Profile a project in the IDE." if="profiler.configured" name="profile" unless="profiler.info.jvmargs.agent">
  2.1184 +        <startprofiler/>
  2.1185 +        <antcall target="run"/>
  2.1186 +    </target>
  2.1187 +    <target depends="-profile-check,-profile-single-pre72" description="Profile a selected class in the IDE." if="profiler.configured" name="profile-single" unless="profiler.info.jvmargs.agent">
  2.1188 +        <fail unless="run.class">Must select one file in the IDE or set run.class</fail>
  2.1189 +        <startprofiler/>
  2.1190 +        <antcall target="run-single"/>
  2.1191 +    </target>
  2.1192 +    <target depends="-profile-test-single-pre72" description="Profile a selected test in the IDE." name="profile-test-single"/>
  2.1193 +    <target depends="-profile-check" description="Profile a selected test in the IDE." if="profiler.configured" name="profile-test" unless="profiler.info.jvmargs">
  2.1194 +        <fail unless="test.includes">Must select some files in the IDE or set test.includes</fail>
  2.1195 +        <startprofiler/>
  2.1196 +        <antcall target="test-single"/>
  2.1197 +    </target>
  2.1198 +    <target depends="-profile-check" description="Profile a selected class in the IDE." if="profiler.configured" name="profile-test-with-main">
  2.1199 +        <fail unless="run.class">Must select one file in the IDE or set run.class</fail>
  2.1200 +        <startprofiler/>
  2.1201 +        <antcall target="run-test-with-main"/>
  2.1202 +    </target>
  2.1203 +    <target depends="-profile-check,-profile-applet-pre72" if="profiler.configured" name="profile-applet" unless="profiler.info.jvmargs.agent">
  2.1204 +        <fail unless="applet.url">Must select one file in the IDE or set applet.url</fail>
  2.1205 +        <startprofiler/>
  2.1206 +        <antcall target="run-applet"/>
  2.1207 +    </target>
  2.1208 +    <!--
  2.1209 +                ===============
  2.1210 +                JAVADOC SECTION
  2.1211 +                ===============
  2.1212 +            -->
  2.1213 +    <target depends="init" if="have.sources" name="-javadoc-build">
  2.1214 +        <mkdir dir="${dist.javadoc.dir}"/>
  2.1215 +        <condition else="" property="javadoc.endorsed.classpath.cmd.line.arg" value="-J${endorsed.classpath.cmd.line.arg}">
  2.1216 +            <and>
  2.1217 +                <isset property="endorsed.classpath.cmd.line.arg"/>
  2.1218 +                <not>
  2.1219 +                    <equals arg1="${endorsed.classpath.cmd.line.arg}" arg2=""/>
  2.1220 +                </not>
  2.1221 +            </and>
  2.1222 +        </condition>
  2.1223 +        <condition else="" property="bug5101868workaround" value="*.java">
  2.1224 +            <matches pattern="1\.[56](\..*)?" string="${java.version}"/>
  2.1225 +        </condition>
  2.1226 +        <javadoc additionalparam="-J-Dfile.encoding=${file.encoding} ${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}">
  2.1227 +            <classpath>
  2.1228 +                <path path="${javac.classpath}"/>
  2.1229 +            </classpath>
  2.1230 +            <fileset dir="${src.dir}" excludes="${bug5101868workaround},${excludes}" includes="${includes}">
  2.1231 +                <filename name="**/*.java"/>
  2.1232 +            </fileset>
  2.1233 +            <fileset dir="${build.generated.sources.dir}" erroronmissingdir="false">
  2.1234 +                <include name="**/*.java"/>
  2.1235 +                <exclude name="*.java"/>
  2.1236 +            </fileset>
  2.1237 +            <arg line="${javadoc.endorsed.classpath.cmd.line.arg}"/>
  2.1238 +        </javadoc>
  2.1239 +        <copy todir="${dist.javadoc.dir}">
  2.1240 +            <fileset dir="${src.dir}" excludes="${excludes}" includes="${includes}">
  2.1241 +                <filename name="**/doc-files/**"/>
  2.1242 +            </fileset>
  2.1243 +            <fileset dir="${build.generated.sources.dir}" erroronmissingdir="false">
  2.1244 +                <include name="**/doc-files/**"/>
  2.1245 +            </fileset>
  2.1246 +        </copy>
  2.1247 +    </target>
  2.1248 +    <target depends="init,-javadoc-build" if="netbeans.home" name="-javadoc-browse" unless="no.javadoc.preview">
  2.1249 +        <nbbrowse file="${dist.javadoc.dir}/index.html"/>
  2.1250 +    </target>
  2.1251 +    <target depends="init,-javadoc-build,-javadoc-browse" description="Build Javadoc." name="javadoc"/>
  2.1252 +    <!--
  2.1253 +                =========================
  2.1254 +                TEST COMPILATION SECTION
  2.1255 +                =========================
  2.1256 +            -->
  2.1257 +    <target depends="init,compile" if="have.tests" name="-pre-pre-compile-test">
  2.1258 +        <mkdir dir="${build.test.classes.dir}"/>
  2.1259 +    </target>
  2.1260 +    <target name="-pre-compile-test">
  2.1261 +        <!-- Empty placeholder for easier customization. -->
  2.1262 +        <!-- You can override this target in the ../build.xml file. -->
  2.1263 +    </target>
  2.1264 +    <target if="do.depend.true" name="-compile-test-depend">
  2.1265 +        <j2seproject3:depend classpath="${javac.test.classpath}" destdir="${build.test.classes.dir}" srcdir="${test.src.dir}"/>
  2.1266 +    </target>
  2.1267 +    <target depends="init,deps-jar,compile,-pre-pre-compile-test,-pre-compile-test,-compile-test-depend" if="have.tests" name="-do-compile-test">
  2.1268 +        <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}"/>
  2.1269 +        <copy todir="${build.test.classes.dir}">
  2.1270 +            <fileset dir="${test.src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
  2.1271 +        </copy>
  2.1272 +    </target>
  2.1273 +    <target name="-post-compile-test">
  2.1274 +        <!-- Empty placeholder for easier customization. -->
  2.1275 +        <!-- You can override this target in the ../build.xml file. -->
  2.1276 +    </target>
  2.1277 +    <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test,-do-compile-test,-post-compile-test" name="compile-test"/>
  2.1278 +    <target name="-pre-compile-test-single">
  2.1279 +        <!-- Empty placeholder for easier customization. -->
  2.1280 +        <!-- You can override this target in the ../build.xml file. -->
  2.1281 +    </target>
  2.1282 +    <target depends="init,deps-jar,compile,-pre-pre-compile-test,-pre-compile-test-single" if="have.tests" name="-do-compile-test-single">
  2.1283 +        <fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail>
  2.1284 +        <j2seproject3:force-recompile destdir="${build.test.classes.dir}"/>
  2.1285 +        <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}"/>
  2.1286 +        <copy todir="${build.test.classes.dir}">
  2.1287 +            <fileset dir="${test.src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
  2.1288 +        </copy>
  2.1289 +    </target>
  2.1290 +    <target name="-post-compile-test-single">
  2.1291 +        <!-- Empty placeholder for easier customization. -->
  2.1292 +        <!-- You can override this target in the ../build.xml file. -->
  2.1293 +    </target>
  2.1294 +    <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test-single,-do-compile-test-single,-post-compile-test-single" name="compile-test-single"/>
  2.1295 +    <!--
  2.1296 +                =======================
  2.1297 +                TEST EXECUTION SECTION
  2.1298 +                =======================
  2.1299 +            -->
  2.1300 +    <target depends="init" if="have.tests" name="-pre-test-run">
  2.1301 +        <mkdir dir="${build.test.results.dir}"/>
  2.1302 +    </target>
  2.1303 +    <target depends="init,compile-test,-pre-test-run" if="have.tests" name="-do-test-run">
  2.1304 +        <j2seproject3:test includes="${includes}" testincludes="**/*Test.java"/>
  2.1305 +    </target>
  2.1306 +    <target depends="init,compile-test,-pre-test-run,-do-test-run" if="have.tests" name="-post-test-run">
  2.1307 +        <fail if="tests.failed" unless="ignore.failing.tests">Some tests failed; see details above.</fail>
  2.1308 +    </target>
  2.1309 +    <target depends="init" if="have.tests" name="test-report"/>
  2.1310 +    <target depends="init" if="netbeans.home+have.tests" name="-test-browse"/>
  2.1311 +    <target depends="init,compile-test,-pre-test-run,-do-test-run,test-report,-post-test-run,-test-browse" description="Run unit tests." name="test"/>
  2.1312 +    <target depends="init" if="have.tests" name="-pre-test-run-single">
  2.1313 +        <mkdir dir="${build.test.results.dir}"/>
  2.1314 +    </target>
  2.1315 +    <target depends="init,compile-test-single,-pre-test-run-single" if="have.tests" name="-do-test-run-single">
  2.1316 +        <fail unless="test.includes">Must select some files in the IDE or set test.includes</fail>
  2.1317 +        <j2seproject3:test excludes="" includes="${test.includes}" testincludes="${test.includes}"/>
  2.1318 +    </target>
  2.1319 +    <target depends="init,compile-test-single,-pre-test-run-single,-do-test-run-single" if="have.tests" name="-post-test-run-single">
  2.1320 +        <fail if="tests.failed" unless="ignore.failing.tests">Some tests failed; see details above.</fail>
  2.1321 +    </target>
  2.1322 +    <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"/>
  2.1323 +    <target depends="init,compile-test-single,-pre-test-run-single" if="have.tests" name="-do-test-run-single-method">
  2.1324 +        <fail unless="test.class">Must select some files in the IDE or set test.class</fail>
  2.1325 +        <fail unless="test.method">Must select some method in the IDE or set test.method</fail>
  2.1326 +        <j2seproject3:test excludes="" includes="${javac.includes}" testincludes="${test.class}" testmethods="${test.method}"/>
  2.1327 +    </target>
  2.1328 +    <target depends="init,compile-test-single,-pre-test-run-single,-do-test-run-single-method" if="have.tests" name="-post-test-run-single-method">
  2.1329 +        <fail if="tests.failed" unless="ignore.failing.tests">Some tests failed; see details above.</fail>
  2.1330 +    </target>
  2.1331 +    <target depends="init,compile-test-single,-pre-test-run-single,-do-test-run-single-method,-post-test-run-single-method" description="Run single unit test." name="test-single-method"/>
  2.1332 +    <!--
  2.1333 +                =======================
  2.1334 +                TEST DEBUGGING SECTION
  2.1335 +                =======================
  2.1336 +            -->
  2.1337 +    <target depends="init,compile-test-single,-pre-test-run-single" if="have.tests" name="-debug-start-debuggee-test">
  2.1338 +        <fail unless="test.class">Must select one file in the IDE or set test.class</fail>
  2.1339 +        <j2seproject3:test-debug excludes="" includes="${javac.includes}" testClass="${test.class}" testincludes="${javac.includes}"/>
  2.1340 +    </target>
  2.1341 +    <target depends="init,compile-test-single,-pre-test-run-single" if="have.tests" name="-debug-start-debuggee-test-method">
  2.1342 +        <fail unless="test.class">Must select one file in the IDE or set test.class</fail>
  2.1343 +        <fail unless="test.method">Must select some method in the IDE or set test.method</fail>
  2.1344 +        <j2seproject3:test-debug excludes="" includes="${javac.includes}" testClass="${test.class}" testMethod="${test.method}" testincludes="${test.class}" testmethods="${test.method}"/>
  2.1345 +    </target>
  2.1346 +    <target depends="init,compile-test" if="netbeans.home+have.tests" name="-debug-start-debugger-test">
  2.1347 +        <j2seproject1:nbjpdastart classpath="${debug.test.classpath}" name="${test.class}"/>
  2.1348 +    </target>
  2.1349 +    <target depends="init,compile-test-single,-debug-start-debugger-test,-debug-start-debuggee-test" name="debug-test"/>
  2.1350 +    <target depends="init,compile-test-single,-debug-start-debugger-test,-debug-start-debuggee-test-method" name="debug-test-method"/>
  2.1351 +    <target depends="init,-pre-debug-fix,compile-test-single" if="netbeans.home" name="-do-debug-fix-test">
  2.1352 +        <j2seproject1:nbjpdareload dir="${build.test.classes.dir}"/>
  2.1353 +    </target>
  2.1354 +    <target depends="init,-pre-debug-fix,-do-debug-fix-test" if="netbeans.home" name="debug-fix-test"/>
  2.1355 +    <!--
  2.1356 +                =========================
  2.1357 +                APPLET EXECUTION SECTION
  2.1358 +                =========================
  2.1359 +            -->
  2.1360 +    <target depends="init,compile-single" name="run-applet">
  2.1361 +        <fail unless="applet.url">Must select one file in the IDE or set applet.url</fail>
  2.1362 +        <j2seproject1:java classname="sun.applet.AppletViewer">
  2.1363 +            <customize>
  2.1364 +                <arg value="${applet.url}"/>
  2.1365 +            </customize>
  2.1366 +        </j2seproject1:java>
  2.1367 +    </target>
  2.1368 +    <!--
  2.1369 +                =========================
  2.1370 +                APPLET DEBUGGING  SECTION
  2.1371 +                =========================
  2.1372 +            -->
  2.1373 +    <target depends="init,compile-single" if="netbeans.home" name="-debug-start-debuggee-applet">
  2.1374 +        <fail unless="applet.url">Must select one file in the IDE or set applet.url</fail>
  2.1375 +        <j2seproject3:debug classname="sun.applet.AppletViewer">
  2.1376 +            <customize>
  2.1377 +                <arg value="${applet.url}"/>
  2.1378 +            </customize>
  2.1379 +        </j2seproject3:debug>
  2.1380 +    </target>
  2.1381 +    <target depends="init,compile-single,-debug-start-debugger,-debug-start-debuggee-applet" if="netbeans.home" name="debug-applet"/>
  2.1382 +    <!--
  2.1383 +                ===============
  2.1384 +                CLEANUP SECTION
  2.1385 +                ===============
  2.1386 +            -->
  2.1387 +    <target name="-deps-clean-init" unless="built-clean.properties">
  2.1388 +        <property location="${build.dir}/built-clean.properties" name="built-clean.properties"/>
  2.1389 +        <delete file="${built-clean.properties}" quiet="true"/>
  2.1390 +    </target>
  2.1391 +    <target if="already.built.clean.${basedir}" name="-warn-already-built-clean">
  2.1392 +        <echo level="warn" message="Cycle detected: rozsirene-atributy-jedit was already built"/>
  2.1393 +    </target>
  2.1394 +    <target depends="init,-deps-clean-init" name="deps-clean" unless="no.deps">
  2.1395 +        <mkdir dir="${build.dir}"/>
  2.1396 +        <touch file="${built-clean.properties}" verbose="false"/>
  2.1397 +        <property file="${built-clean.properties}" prefix="already.built.clean."/>
  2.1398 +        <antcall target="-warn-already-built-clean"/>
  2.1399 +        <propertyfile file="${built-clean.properties}">
  2.1400 +            <entry key="${basedir}" value=""/>
  2.1401 +        </propertyfile>
  2.1402 +        <antcall target="-maybe-call-dep">
  2.1403 +            <param name="call.built.properties" value="${built-clean.properties}"/>
  2.1404 +            <param location="${project.rozsirene-atributy}" name="call.subproject"/>
  2.1405 +            <param location="${project.rozsirene-atributy}/build.xml" name="call.script"/>
  2.1406 +            <param name="call.target" value="clean"/>
  2.1407 +            <param name="transfer.built-clean.properties" value="${built-clean.properties}"/>
  2.1408 +            <param name="transfer.not.archive.disabled" value="true"/>
  2.1409 +        </antcall>
  2.1410 +    </target>
  2.1411 +    <target depends="init" name="-do-clean">
  2.1412 +        <delete dir="${build.dir}"/>
  2.1413 +        <delete dir="${dist.dir}" followsymlinks="false" includeemptydirs="true"/>
  2.1414 +    </target>
  2.1415 +    <target name="-post-clean">
  2.1416 +        <!-- Empty placeholder for easier customization. -->
  2.1417 +        <!-- You can override this target in the ../build.xml file. -->
  2.1418 +    </target>
  2.1419 +    <target depends="init,deps-clean,-do-clean,-post-clean" description="Clean build products." name="clean"/>
  2.1420 +    <target name="-check-call-dep">
  2.1421 +        <property file="${call.built.properties}" prefix="already.built."/>
  2.1422 +        <condition property="should.call.dep">
  2.1423 +            <and>
  2.1424 +                <not>
  2.1425 +                    <isset property="already.built.${call.subproject}"/>
  2.1426 +                </not>
  2.1427 +                <available file="${call.script}"/>
  2.1428 +            </and>
  2.1429 +        </condition>
  2.1430 +    </target>
  2.1431 +    <target depends="-check-call-dep" if="should.call.dep" name="-maybe-call-dep">
  2.1432 +        <ant antfile="${call.script}" inheritall="false" target="${call.target}">
  2.1433 +            <propertyset>
  2.1434 +                <propertyref prefix="transfer."/>
  2.1435 +                <mapper from="transfer.*" to="*" type="glob"/>
  2.1436 +            </propertyset>
  2.1437 +        </ant>
  2.1438 +    </target>
  2.1439 +</project>
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/extra/rozsirene-atributy-jedit/nbproject/genfiles.properties	Sat Dec 16 19:09:35 2023 +0100
     3.3 @@ -0,0 +1,8 @@
     3.4 +build.xml.data.CRC32=7277d265
     3.5 +build.xml.script.CRC32=adeb86a8
     3.6 +build.xml.stylesheet.CRC32=28e38971@1.50.3.46
     3.7 +# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml.
     3.8 +# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you.
     3.9 +nbproject/build-impl.xml.data.CRC32=7277d265
    3.10 +nbproject/build-impl.xml.script.CRC32=ba482802
    3.11 +nbproject/build-impl.xml.stylesheet.CRC32=830a3534@1.80.1.48
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/extra/rozsirene-atributy-jedit/nbproject/project.properties	Sat Dec 16 19:09:35 2023 +0100
     4.3 @@ -0,0 +1,87 @@
     4.4 +annotation.processing.enabled=true
     4.5 +annotation.processing.enabled.in.editor=false
     4.6 +annotation.processing.processors.list=
     4.7 +annotation.processing.run.all.processors=true
     4.8 +annotation.processing.source.output=${build.generated.sources.dir}/ap-source-output
     4.9 +application.title=rozsirene-atributy-jedit
    4.10 +application.vendor=fiki
    4.11 +build.classes.dir=${build.dir}/classes
    4.12 +build.classes.excludes=**/*.java,**/*.form
    4.13 +# This directory is removed when the project is cleaned:
    4.14 +build.dir=build
    4.15 +build.generated.dir=${build.dir}/generated
    4.16 +build.generated.sources.dir=${build.dir}/generated-sources
    4.17 +# Only compile against the classpath explicitly listed here:
    4.18 +build.sysclasspath=ignore
    4.19 +build.test.classes.dir=${build.dir}/test/classes
    4.20 +build.test.results.dir=${build.dir}/test/results
    4.21 +# Uncomment to specify the preferred debugger connection transport:
    4.22 +#debug.transport=dt_socket
    4.23 +debug.classpath=\
    4.24 +    ${run.classpath}
    4.25 +debug.test.classpath=\
    4.26 +    ${run.test.classpath}
    4.27 +# This directory is removed when the project is cleaned:
    4.28 +dist.dir=dist
    4.29 +dist.jar=${dist.dir}/rozsirene-atributy-jedit.jar
    4.30 +dist.javadoc.dir=${dist.dir}/javadoc
    4.31 +endorsed.classpath=
    4.32 +excludes=
    4.33 +file.reference.jedit.jar=/usr/share/jedit/jedit.jar
    4.34 +includes=**
    4.35 +jar.archive.disabled=${jnlp.enabled}
    4.36 +jar.compress=false
    4.37 +jar.index=${jnlp.enabled}
    4.38 +javac.classpath=\
    4.39 +    ${file.reference.jedit.jar}:\
    4.40 +    ${reference.rozsirene-atributy.jar}
    4.41 +# Space-separated list of extra javac options
    4.42 +javac.compilerargs=
    4.43 +javac.deprecation=false
    4.44 +javac.processorpath=\
    4.45 +    ${javac.classpath}
    4.46 +javac.source=1.7
    4.47 +javac.target=1.7
    4.48 +javac.test.classpath=\
    4.49 +    ${javac.classpath}:\
    4.50 +    ${build.classes.dir}
    4.51 +javac.test.processorpath=\
    4.52 +    ${javac.test.classpath}
    4.53 +javadoc.additionalparam=
    4.54 +javadoc.author=false
    4.55 +javadoc.encoding=${source.encoding}
    4.56 +javadoc.noindex=false
    4.57 +javadoc.nonavbar=false
    4.58 +javadoc.notree=false
    4.59 +javadoc.private=false
    4.60 +javadoc.splitindex=true
    4.61 +javadoc.use=true
    4.62 +javadoc.version=false
    4.63 +javadoc.windowtitle=
    4.64 +jnlp.codebase.type=no.codebase
    4.65 +jnlp.descriptor=application
    4.66 +jnlp.enabled=false
    4.67 +jnlp.mixed.code=default
    4.68 +jnlp.offline-allowed=false
    4.69 +jnlp.signed=false
    4.70 +jnlp.signing=
    4.71 +jnlp.signing.alias=
    4.72 +jnlp.signing.keystore=
    4.73 +meta.inf.dir=${src.dir}/META-INF
    4.74 +mkdist.disabled=true
    4.75 +platform.active=default_platform
    4.76 +project.rozsirene-atributy=../rozsirene-atributy
    4.77 +reference.rozsirene-atributy.jar=${project.rozsirene-atributy}/dist/rozsirene-atributy.jar
    4.78 +run.classpath=\
    4.79 +    ${javac.classpath}:\
    4.80 +    ${build.classes.dir}
    4.81 +# Space-separated list of JVM arguments used when running the project
    4.82 +# (you may also define separate properties like run-sys-prop.name=value instead of -Dname=value
    4.83 +# or test-sys-prop.name=value to set system properties for unit tests):
    4.84 +run.jvmargs=
    4.85 +run.test.classpath=\
    4.86 +    ${javac.test.classpath}:\
    4.87 +    ${build.test.classes.dir}
    4.88 +source.encoding=UTF-8
    4.89 +src.dir=src
    4.90 +test.src.dir=test
     5.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.2 +++ b/extra/rozsirene-atributy-jedit/nbproject/project.xml	Sat Dec 16 19:09:35 2023 +0100
     5.3 @@ -0,0 +1,25 @@
     5.4 +<?xml version="1.0" encoding="UTF-8"?>
     5.5 +<project xmlns="http://www.netbeans.org/ns/project/1">
     5.6 +    <type>org.netbeans.modules.java.j2seproject</type>
     5.7 +    <configuration>
     5.8 +        <data xmlns="http://www.netbeans.org/ns/j2se-project/3">
     5.9 +            <name>rozsirene-atributy-jedit</name>
    5.10 +            <source-roots>
    5.11 +                <root id="src.dir"/>
    5.12 +            </source-roots>
    5.13 +            <test-roots>
    5.14 +                <root id="test.src.dir"/>
    5.15 +            </test-roots>
    5.16 +        </data>
    5.17 +        <references xmlns="http://www.netbeans.org/ns/ant-project-references/1">
    5.18 +            <reference>
    5.19 +                <foreign-project>rozsirene-atributy</foreign-project>
    5.20 +                <artifact-type>jar</artifact-type>
    5.21 +                <script>build.xml</script>
    5.22 +                <target>jar</target>
    5.23 +                <clean-target>clean</clean-target>
    5.24 +                <id>jar</id>
    5.25 +            </reference>
    5.26 +        </references>
    5.27 +    </configuration>
    5.28 +</project>
     6.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.2 +++ b/extra/rozsirene-atributy-jedit/src/RozsireneAtributy.props	Sat Dec 16 19:09:35 2023 +0100
     6.3 @@ -0,0 +1,21 @@
     6.4 +plugin.cz.frantovo.rozsireneAtributy.jedit.Plugin.activate=defer
     6.5 +plugin.cz.frantovo.rozsireneAtributy.jedit.Plugin.name=Roz\u0161\u00ed\u0159en\u00e9 atributy
     6.6 +plugin.cz.frantovo.rozsireneAtributy.jedit.Plugin.author=Franti\u0161ek Ku\u010dera
     6.7 +plugin.cz.frantovo.rozsireneAtributy.jedit.Plugin.version=0.1
     6.8 +
     6.9 +plugin.cz.frantovo.rozsireneAtributy.jedit.Plugin.depend.0=jedit 04.00.00.00
    6.10 +#Pot\u0159eba kv\u016fli API pro pr\u00e1ci s roz\u0161\u00ed\u0159en\u00fdmi atributy soubor\u016f
    6.11 +plugin.cz.frantovo.rozsireneAtributy.jedit.Plugin.depend.1=jdk 1.7
    6.12 +plugin.cz.frantovo.rozsireneAtributy.jedit.Plugin.description=Slou\u017e\u00ed k zobrazov\u00e1n\u00ed a editaci roz\u0161\u00ed\u0159en\u00fdch atribut\u016f upravovan\u00e9ho souboru.
    6.13 +plugin.cz.frantovo.rozsireneAtributy.jedit.Plugin.usePluginHome=true
    6.14 +
    6.15 +rozsireneAtributy-panel.name.label=Roz\u0161\u00ed\u0159en\u00e9 atributy 1
    6.16 +#N\u00e1zev panelu
    6.17 +rozsireneAtributy-panel.title=Roz\u0161\u00ed\u0159en\u00e9 atributy
    6.18 +
    6.19 +plugin.cz.frantovo.rozsireneAtributy.jedit.Plugin.menu=rozsireneAtributy-zobrazit
    6.20 +
    6.21 +
    6.22 +rozsireneAtributy.label=Roz\u0161\u00ed\u0159en\u00e9 atributy 4
    6.23 +#Polo\u017eka v nab\u00eddce
    6.24 +rozsireneAtributy-zobrazit.label=Zobrazit panel
     7.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     7.2 +++ b/extra/rozsirene-atributy-jedit/src/actions.xml	Sat Dec 16 19:09:35 2023 +0100
     7.3 @@ -0,0 +1,8 @@
     7.4 +<!DOCTYPE ACTIONS SYSTEM "actions.dtd">
     7.5 +<ACTIONS>
     7.6 +	<ACTION NAME="rozsireneAtributy-zobrazit">
     7.7 +		<CODE>
     7.8 +			wm.addDockableWindow("rozsireneAtributy-panel");
     7.9 +		</CODE>
    7.10 +	</ACTION>
    7.11 +</ACTIONS>
    7.12 \ No newline at end of file
     8.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     8.2 +++ b/extra/rozsirene-atributy-jedit/src/cz/frantovo/rozsireneAtributy/jedit/DokovatelnyPanel.java	Sat Dec 16 19:09:35 2023 +0100
     8.3 @@ -0,0 +1,140 @@
     8.4 +/**
     8.5 + * Rozšířené atributy – program na správu rozšířených atributů souborů
     8.6 + * Copyright © 2012 František Kučera (frantovo.cz)
     8.7 + *
     8.8 + * This program is free software: you can redistribute it and/or modify
     8.9 + * it under the terms of the GNU General Public License as published by
    8.10 + * the Free Software Foundation, either version 3 of the License.
    8.11 + *
    8.12 + * This program is distributed in the hope that it will be useful,
    8.13 + * but WITHOUT ANY WARRANTY; without even the implied warranty of
    8.14 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
    8.15 + * GNU General Public License for more details.
    8.16 + *
    8.17 + * You should have received a copy of the GNU General Public License
    8.18 + * along with this program. If not, see <http://www.gnu.org/licenses/>.
    8.19 + */
    8.20 +package cz.frantovo.rozsireneAtributy.jedit;
    8.21 +
    8.22 +import cz.frantovo.rozsireneAtributy.gui.Model;
    8.23 +import cz.frantovo.rozsireneAtributy.gui.Panel;
    8.24 +import java.awt.BorderLayout;
    8.25 +import java.io.File;
    8.26 +import java.io.IOException;
    8.27 +import java.util.logging.Level;
    8.28 +import java.util.logging.Logger;
    8.29 +import javax.swing.JOptionPane;
    8.30 +import javax.swing.JPanel;
    8.31 +import org.gjt.sp.jedit.Buffer;
    8.32 +import org.gjt.sp.jedit.EBComponent;
    8.33 +import org.gjt.sp.jedit.EBMessage;
    8.34 +import org.gjt.sp.jedit.EditBus;
    8.35 +import org.gjt.sp.jedit.View;
    8.36 +import org.gjt.sp.jedit.msg.EditPaneUpdate;
    8.37 +
    8.38 +/**
    8.39 + *
    8.40 + * @author Ing. František Kučera (frantovo.cz)
    8.41 + */
    8.42 +public class DokovatelnyPanel extends JPanel implements EBComponent {
    8.43 +
    8.44 +	private static final Logger log = Logger
    8.45 +		.getLogger(DokovatelnyPanel.class.getName());
    8.46 +	private View view;
    8.47 +	private Panel panel;
    8.48 +
    8.49 +	public DokovatelnyPanel(final View view, final String position) {
    8.50 +		this.view = view;
    8.51 +		setLayout(new BorderLayout());
    8.52 +		změňSoubor(view.getBuffer(), false);
    8.53 +	}
    8.54 +
    8.55 +	/**
    8.56 +	 * Zaregistrujeme se, aby nám chodily události editoru.
    8.57 +	 */
    8.58 +	@Override
    8.59 +	public void addNotify() {
    8.60 +		super.addNotify();
    8.61 +		EditBus.addToBus(this);
    8.62 +	}
    8.63 +
    8.64 +	/**
    8.65 +	 * @see #addNotify()
    8.66 +	 */
    8.67 +	@Override
    8.68 +	public void removeNotify() {
    8.69 +		super.removeNotify();
    8.70 +		EditBus.removeFromBus(this);
    8.71 +	}
    8.72 +
    8.73 +	/**
    8.74 +	 * Zpracujeme události editoru. Zajímá nás přepnutí na jiný soubor – abychom
    8.75 +	 * pro něj zobrazili atributy.
    8.76 +	 *
    8.77 +	 * @param událost událost editoru
    8.78 +	 */
    8.79 +	@Override
    8.80 +	public void handleMessage(EBMessage událost) {
    8.81 +		try {
    8.82 +			if (událost instanceof EditPaneUpdate) {
    8.83 +				EditPaneUpdate epu = (EditPaneUpdate) událost;
    8.84 +				// Chodí nám všechny události
    8.85 +				// – potřebujeme filtrovat jen ty pro naše okno.
    8.86 +				if (view == epu.getEditPane().getView()) {
    8.87 +					// zajímá nás jen přepnutí souboru
    8.88 +					if (epu.getWhat() == EditPaneUpdate.BUFFER_CHANGED) {
    8.89 +						/**
    8.90 +						 * TODO: je soubor nově otevřený?
    8.91 +						 */
    8.92 +						změňSoubor(view.getBuffer(),
    8.93 +							epu.getWhat() == EditPaneUpdate.CREATED);
    8.94 +					}
    8.95 +				}
    8.96 +			}
    8.97 +			// událost instanceof BufferUpdate
    8.98 +			// událost instanceof PropertiesChanged
    8.99 +		} catch (Exception e) {
   8.100 +			log.log(Level.WARNING, "Chyba při zpracování: " + událost, e);
   8.101 +		}
   8.102 +
   8.103 +	}
   8.104 +
   8.105 +	private void změňSoubor(Buffer b, boolean využijAtributy) {
   8.106 +		try {
   8.107 +			File s = new File(b.getPath());
   8.108 +
   8.109 +			if (s.isFile() && s.canRead()) {
   8.110 +				Model m = new Model(s);
   8.111 +
   8.112 +				if (panel == null) {
   8.113 +					panel = new Panel(m);
   8.114 +					removeAll();
   8.115 +					add(panel, BorderLayout.CENTER);
   8.116 +				} else {
   8.117 +					panel.setModel(m);
   8.118 +				}
   8.119 +
   8.120 +				if (využijAtributy) {
   8.121 +					využijAtributy(m, b);
   8.122 +				}
   8.123 +
   8.124 +			} else {
   8.125 +				// TODO: zobrazit chybu
   8.126 +				log.log(Level.WARNING,
   8.127 +					"Soubor neexistuje nebo nemáme práva na čtení: {0}", s);
   8.128 +			}
   8.129 +		} catch (IOException e) {
   8.130 +			log.log(Level.WARNING, "Chyba při změně souboru.", e);
   8.131 +		}
   8.132 +	}
   8.133 +
   8.134 +	/**
   8.135 +	 * Nastaví jEdit podle atributů daného souboru: - odsazování - kódování
   8.136 +	 *
   8.137 +	 * @param m model obsahující atributy
   8.138 +	 * @param b soubor otevřený v editoru
   8.139 +	 */
   8.140 +	private void využijAtributy(Model m, Buffer b) {
   8.141 +		JOptionPane.showMessageDialog(panel, "Nový soubor!");
   8.142 +	}
   8.143 +}
     9.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     9.2 +++ b/extra/rozsirene-atributy-jedit/src/cz/frantovo/rozsireneAtributy/jedit/Plugin.java	Sat Dec 16 19:09:35 2023 +0100
     9.3 @@ -0,0 +1,42 @@
     9.4 +/**
     9.5 + * Rozšířené atributy – program na správu rozšířených atributů souborů
     9.6 + * Copyright © 2012 František Kučera (frantovo.cz)
     9.7 + * 
     9.8 + * This program is free software: you can redistribute it and/or modify
     9.9 + * it under the terms of the GNU General Public License as published by
    9.10 + * the Free Software Foundation, either version 3 of the License.
    9.11 + * 
    9.12 + * This program is distributed in the hope that it will be useful,
    9.13 + * but WITHOUT ANY WARRANTY; without even the implied warranty of
    9.14 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    9.15 + * GNU General Public License for more details.
    9.16 + * 
    9.17 + * You should have received a copy of the GNU General Public License
    9.18 + * along with this program.  If not, see <http://www.gnu.org/licenses/>.
    9.19 + */
    9.20 +package cz.frantovo.rozsireneAtributy.jedit;
    9.21 +
    9.22 +import org.gjt.sp.jedit.EBMessage;
    9.23 +import org.gjt.sp.jedit.EBPlugin;
    9.24 +
    9.25 +/**
    9.26 + *
    9.27 + * @author Ing. František Kučera (frantovo.cz)
    9.28 + */
    9.29 +public class Plugin extends EBPlugin {
    9.30 +
    9.31 +	@Override
    9.32 +	public void start() {
    9.33 +		super.start();
    9.34 +	}
    9.35 +
    9.36 +	@Override
    9.37 +	public void stop() {
    9.38 +		super.stop();
    9.39 +	}
    9.40 +
    9.41 +	@Override
    9.42 +	public void handleMessage(EBMessage message) {
    9.43 +		super.handleMessage(message);
    9.44 +	}
    9.45 +}
    10.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    10.2 +++ b/extra/rozsirene-atributy-jedit/src/dockables.xml	Sat Dec 16 19:09:35 2023 +0100
    10.3 @@ -0,0 +1,7 @@
    10.4 +<?xml version="1.0" encoding="UTF-8"?>
    10.5 +<!DOCTYPE DOCKABLES SYSTEM "dockables.dtd">
    10.6 +<DOCKABLES>
    10.7 +  <DOCKABLE NAME="rozsireneAtributy-panel">
    10.8 +    new cz.frantovo.rozsireneAtributy.jedit.DokovatelnyPanel(view, position);
    10.9 +  </DOCKABLE>
   10.10 +</DOCKABLES>
    11.1 --- a/java/rozsirene-atributy-jedit/build.xml	Sat Dec 16 14:48:17 2023 +0100
    11.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    11.3 @@ -1,12 +0,0 @@
    11.4 -<?xml version="1.0" encoding="UTF-8"?>
    11.5 -<project name="rozsirene-atributy-jedit" default="default" basedir=".">
    11.6 -	<description>Builds, tests, and runs the project rozsirene-atributy-jedit.</description>
    11.7 -	<import file="nbproject/build-impl.xml"/>
    11.8 -	
    11.9 -	<target name="-pre-jar" description="Nakopíruje zkompilované třídy z rozsirene-atributy do JARu modulu pro jEdit.">
   11.10 -		<copy todir="${build.classes.dir}">
   11.11 -			<fileset dir="${build.classes.dir}/../../../rozsirene-atributy/build/classes/"/>
   11.12 -		</copy>
   11.13 -	</target>
   11.14 -	
   11.15 -</project>
    12.1 --- a/java/rozsirene-atributy-jedit/nbproject/build-impl.xml	Sat Dec 16 14:48:17 2023 +0100
    12.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    12.3 @@ -1,1436 +0,0 @@
    12.4 -<?xml version="1.0" encoding="UTF-8"?>
    12.5 -<!--
    12.6 -*** GENERATED FROM project.xml - DO NOT EDIT  ***
    12.7 -***         EDIT ../build.xml INSTEAD         ***
    12.8 -
    12.9 -For the purpose of easier reading the script
   12.10 -is divided into following sections:
   12.11 -
   12.12 -  - initialization
   12.13 -  - compilation
   12.14 -  - jar
   12.15 -  - execution
   12.16 -  - debugging
   12.17 -  - javadoc
   12.18 -  - test compilation
   12.19 -  - test execution
   12.20 -  - test debugging
   12.21 -  - applet
   12.22 -  - cleanup
   12.23 -
   12.24 -        -->
   12.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">
   12.26 -    <fail message="Please build using Ant 1.8.0 or higher.">
   12.27 -        <condition>
   12.28 -            <not>
   12.29 -                <antversion atleast="1.8.0"/>
   12.30 -            </not>
   12.31 -        </condition>
   12.32 -    </fail>
   12.33 -    <target depends="test,jar,javadoc" description="Build and test whole project." name="default"/>
   12.34 -    <!-- 
   12.35 -                ======================
   12.36 -                INITIALIZATION SECTION 
   12.37 -                ======================
   12.38 -            -->
   12.39 -    <target name="-pre-init">
   12.40 -        <!-- Empty placeholder for easier customization. -->
   12.41 -        <!-- You can override this target in the ../build.xml file. -->
   12.42 -    </target>
   12.43 -    <target depends="-pre-init" name="-init-private">
   12.44 -        <property file="nbproject/private/config.properties"/>
   12.45 -        <property file="nbproject/private/configs/${config}.properties"/>
   12.46 -        <property file="nbproject/private/private.properties"/>
   12.47 -    </target>
   12.48 -    <target depends="-pre-init,-init-private" name="-init-user">
   12.49 -        <property file="${user.properties.file}"/>
   12.50 -        <!-- The two properties below are usually overridden -->
   12.51 -        <!-- by the active platform. Just a fallback. -->
   12.52 -        <property name="default.javac.source" value="1.6"/>
   12.53 -        <property name="default.javac.target" value="1.6"/>
   12.54 -    </target>
   12.55 -    <target depends="-pre-init,-init-private,-init-user" name="-init-project">
   12.56 -        <property file="nbproject/configs/${config}.properties"/>
   12.57 -        <property file="nbproject/project.properties"/>
   12.58 -    </target>
   12.59 -    <target depends="-pre-init,-init-private,-init-user,-init-project,-init-macrodef-property" name="-do-init">
   12.60 -        <property name="platform.java" value="${java.home}/bin/java"/>
   12.61 -        <available file="${manifest.file}" property="manifest.available"/>
   12.62 -        <condition property="splashscreen.available">
   12.63 -            <and>
   12.64 -                <not>
   12.65 -                    <equals arg1="${application.splash}" arg2="" trim="true"/>
   12.66 -                </not>
   12.67 -                <available file="${application.splash}"/>
   12.68 -            </and>
   12.69 -        </condition>
   12.70 -        <condition property="main.class.available">
   12.71 -            <and>
   12.72 -                <isset property="main.class"/>
   12.73 -                <not>
   12.74 -                    <equals arg1="${main.class}" arg2="" trim="true"/>
   12.75 -                </not>
   12.76 -            </and>
   12.77 -        </condition>
   12.78 -        <condition property="profile.available">
   12.79 -            <and>
   12.80 -                <isset property="javac.profile"/>
   12.81 -                <length length="0" string="${javac.profile}" when="greater"/>
   12.82 -                <matches pattern="((1\.[89])|9)(\..*)?" string="${javac.source}"/>
   12.83 -            </and>
   12.84 -        </condition>
   12.85 -        <condition property="do.archive">
   12.86 -            <or>
   12.87 -                <not>
   12.88 -                    <istrue value="${jar.archive.disabled}"/>
   12.89 -                </not>
   12.90 -                <istrue value="${not.archive.disabled}"/>
   12.91 -            </or>
   12.92 -        </condition>
   12.93 -        <condition property="do.mkdist">
   12.94 -            <and>
   12.95 -                <isset property="do.archive"/>
   12.96 -                <isset property="libs.CopyLibs.classpath"/>
   12.97 -                <not>
   12.98 -                    <istrue value="${mkdist.disabled}"/>
   12.99 -                </not>
  12.100 -            </and>
  12.101 -        </condition>
  12.102 -        <condition property="do.archive+manifest.available">
  12.103 -            <and>
  12.104 -                <isset property="manifest.available"/>
  12.105 -                <istrue value="${do.archive}"/>
  12.106 -            </and>
  12.107 -        </condition>
  12.108 -        <condition property="do.archive+main.class.available">
  12.109 -            <and>
  12.110 -                <isset property="main.class.available"/>
  12.111 -                <istrue value="${do.archive}"/>
  12.112 -            </and>
  12.113 -        </condition>
  12.114 -        <condition property="do.archive+splashscreen.available">
  12.115 -            <and>
  12.116 -                <isset property="splashscreen.available"/>
  12.117 -                <istrue value="${do.archive}"/>
  12.118 -            </and>
  12.119 -        </condition>
  12.120 -        <condition property="do.archive+profile.available">
  12.121 -            <and>
  12.122 -                <isset property="profile.available"/>
  12.123 -                <istrue value="${do.archive}"/>
  12.124 -            </and>
  12.125 -        </condition>
  12.126 -        <condition property="have.tests">
  12.127 -            <or>
  12.128 -                <available file="${test.src.dir}"/>
  12.129 -            </or>
  12.130 -        </condition>
  12.131 -        <condition property="have.sources">
  12.132 -            <or>
  12.133 -                <available file="${src.dir}"/>
  12.134 -            </or>
  12.135 -        </condition>
  12.136 -        <condition property="netbeans.home+have.tests">
  12.137 -            <and>
  12.138 -                <isset property="netbeans.home"/>
  12.139 -                <isset property="have.tests"/>
  12.140 -            </and>
  12.141 -        </condition>
  12.142 -        <condition property="no.javadoc.preview">
  12.143 -            <and>
  12.144 -                <isset property="javadoc.preview"/>
  12.145 -                <isfalse value="${javadoc.preview}"/>
  12.146 -            </and>
  12.147 -        </condition>
  12.148 -        <property name="run.jvmargs" value=""/>
  12.149 -        <property name="run.jvmargs.ide" value=""/>
  12.150 -        <property name="javac.compilerargs" value=""/>
  12.151 -        <property name="work.dir" value="${basedir}"/>
  12.152 -        <condition property="no.deps">
  12.153 -            <and>
  12.154 -                <istrue value="${no.dependencies}"/>
  12.155 -            </and>
  12.156 -        </condition>
  12.157 -        <property name="javac.debug" value="true"/>
  12.158 -        <property name="javadoc.preview" value="true"/>
  12.159 -        <property name="application.args" value=""/>
  12.160 -        <property name="source.encoding" value="${file.encoding}"/>
  12.161 -        <property name="runtime.encoding" value="${source.encoding}"/>
  12.162 -        <property name="manifest.encoding" value="${source.encoding}"/>
  12.163 -        <condition property="javadoc.encoding.used" value="${javadoc.encoding}">
  12.164 -            <and>
  12.165 -                <isset property="javadoc.encoding"/>
  12.166 -                <not>
  12.167 -                    <equals arg1="${javadoc.encoding}" arg2=""/>
  12.168 -                </not>
  12.169 -            </and>
  12.170 -        </condition>
  12.171 -        <property name="javadoc.encoding.used" value="${source.encoding}"/>
  12.172 -        <property name="includes" value="**"/>
  12.173 -        <property name="excludes" value=""/>
  12.174 -        <property name="do.depend" value="false"/>
  12.175 -        <condition property="do.depend.true">
  12.176 -            <istrue value="${do.depend}"/>
  12.177 -        </condition>
  12.178 -        <path id="endorsed.classpath.path" path="${endorsed.classpath}"/>
  12.179 -        <condition else="" property="endorsed.classpath.cmd.line.arg" value="-Xbootclasspath/p:'${toString:endorsed.classpath.path}'">
  12.180 -            <and>
  12.181 -                <isset property="endorsed.classpath"/>
  12.182 -                <not>
  12.183 -                    <equals arg1="${endorsed.classpath}" arg2="" trim="true"/>
  12.184 -                </not>
  12.185 -            </and>
  12.186 -        </condition>
  12.187 -        <condition else="" property="javac.profile.cmd.line.arg" value="-profile ${javac.profile}">
  12.188 -            <isset property="profile.available"/>
  12.189 -        </condition>
  12.190 -        <condition else="false" property="jdkBug6558476">
  12.191 -            <and>
  12.192 -                <matches pattern="1\.[56]" string="${java.specification.version}"/>
  12.193 -                <not>
  12.194 -                    <os family="unix"/>
  12.195 -                </not>
  12.196 -            </and>
  12.197 -        </condition>
  12.198 -        <condition else="false" property="javac.fork">
  12.199 -            <or>
  12.200 -                <istrue value="${jdkBug6558476}"/>
  12.201 -                <istrue value="${javac.external.vm}"/>
  12.202 -            </or>
  12.203 -        </condition>
  12.204 -        <property name="jar.index" value="false"/>
  12.205 -        <property name="jar.index.metainf" value="${jar.index}"/>
  12.206 -        <property name="copylibs.rebase" value="true"/>
  12.207 -        <available file="${meta.inf.dir}/persistence.xml" property="has.persistence.xml"/>
  12.208 -        <condition property="junit.available">
  12.209 -            <or>
  12.210 -                <available classname="org.junit.Test" classpath="${run.test.classpath}"/>
  12.211 -                <available classname="junit.framework.Test" classpath="${run.test.classpath}"/>
  12.212 -            </or>
  12.213 -        </condition>
  12.214 -        <condition property="testng.available">
  12.215 -            <available classname="org.testng.annotations.Test" classpath="${run.test.classpath}"/>
  12.216 -        </condition>
  12.217 -        <condition property="junit+testng.available">
  12.218 -            <and>
  12.219 -                <istrue value="${junit.available}"/>
  12.220 -                <istrue value="${testng.available}"/>
  12.221 -            </and>
  12.222 -        </condition>
  12.223 -        <condition else="testng" property="testng.mode" value="mixed">
  12.224 -            <istrue value="${junit+testng.available}"/>
  12.225 -        </condition>
  12.226 -        <condition else="" property="testng.debug.mode" value="-mixed">
  12.227 -            <istrue value="${junit+testng.available}"/>
  12.228 -        </condition>
  12.229 -        <property name="java.failonerror" value="true"/>
  12.230 -    </target>
  12.231 -    <target name="-post-init">
  12.232 -        <!-- Empty placeholder for easier customization. -->
  12.233 -        <!-- You can override this target in the ../build.xml file. -->
  12.234 -    </target>
  12.235 -    <target depends="-pre-init,-init-private,-init-user,-init-project,-do-init" name="-init-check">
  12.236 -        <fail unless="src.dir">Must set src.dir</fail>
  12.237 -        <fail unless="test.src.dir">Must set test.src.dir</fail>
  12.238 -        <fail unless="build.dir">Must set build.dir</fail>
  12.239 -        <fail unless="dist.dir">Must set dist.dir</fail>
  12.240 -        <fail unless="build.classes.dir">Must set build.classes.dir</fail>
  12.241 -        <fail unless="dist.javadoc.dir">Must set dist.javadoc.dir</fail>
  12.242 -        <fail unless="build.test.classes.dir">Must set build.test.classes.dir</fail>
  12.243 -        <fail unless="build.test.results.dir">Must set build.test.results.dir</fail>
  12.244 -        <fail unless="build.classes.excludes">Must set build.classes.excludes</fail>
  12.245 -        <fail unless="dist.jar">Must set dist.jar</fail>
  12.246 -    </target>
  12.247 -    <target name="-init-macrodef-property">
  12.248 -        <macrodef name="property" uri="http://www.netbeans.org/ns/j2se-project/1">
  12.249 -            <attribute name="name"/>
  12.250 -            <attribute name="value"/>
  12.251 -            <sequential>
  12.252 -                <property name="@{name}" value="${@{value}}"/>
  12.253 -            </sequential>
  12.254 -        </macrodef>
  12.255 -    </target>
  12.256 -    <target depends="-init-ap-cmdline-properties" if="ap.supported.internal" name="-init-macrodef-javac-with-processors">
  12.257 -        <macrodef name="javac" uri="http://www.netbeans.org/ns/j2se-project/3">
  12.258 -            <attribute default="${src.dir}" name="srcdir"/>
  12.259 -            <attribute default="${build.classes.dir}" name="destdir"/>
  12.260 -            <attribute default="${javac.classpath}" name="classpath"/>
  12.261 -            <attribute default="${javac.processorpath}" name="processorpath"/>
  12.262 -            <attribute default="${build.generated.sources.dir}/ap-source-output" name="apgeneratedsrcdir"/>
  12.263 -            <attribute default="${includes}" name="includes"/>
  12.264 -            <attribute default="${excludes}" name="excludes"/>
  12.265 -            <attribute default="${javac.debug}" name="debug"/>
  12.266 -            <attribute default="${empty.dir}" name="sourcepath"/>
  12.267 -            <attribute default="${empty.dir}" name="gensrcdir"/>
  12.268 -            <element name="customize" optional="true"/>
  12.269 -            <sequential>
  12.270 -                <property location="${build.dir}/empty" name="empty.dir"/>
  12.271 -                <mkdir dir="${empty.dir}"/>
  12.272 -                <mkdir dir="@{apgeneratedsrcdir}"/>
  12.273 -                <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}">
  12.274 -                    <src>
  12.275 -                        <dirset dir="@{gensrcdir}" erroronmissingdir="false">
  12.276 -                            <include name="*"/>
  12.277 -                        </dirset>
  12.278 -                    </src>
  12.279 -                    <classpath>
  12.280 -                        <path path="@{classpath}"/>
  12.281 -                    </classpath>
  12.282 -                    <compilerarg line="${endorsed.classpath.cmd.line.arg}"/>
  12.283 -                    <compilerarg line="${javac.profile.cmd.line.arg}"/>
  12.284 -                    <compilerarg line="${javac.compilerargs}"/>
  12.285 -                    <compilerarg value="-processorpath"/>
  12.286 -                    <compilerarg path="@{processorpath}:${empty.dir}"/>
  12.287 -                    <compilerarg line="${ap.processors.internal}"/>
  12.288 -                    <compilerarg line="${annotation.processing.processor.options}"/>
  12.289 -                    <compilerarg value="-s"/>
  12.290 -                    <compilerarg path="@{apgeneratedsrcdir}"/>
  12.291 -                    <compilerarg line="${ap.proc.none.internal}"/>
  12.292 -                    <customize/>
  12.293 -                </javac>
  12.294 -            </sequential>
  12.295 -        </macrodef>
  12.296 -    </target>
  12.297 -    <target depends="-init-ap-cmdline-properties" name="-init-macrodef-javac-without-processors" unless="ap.supported.internal">
  12.298 -        <macrodef name="javac" uri="http://www.netbeans.org/ns/j2se-project/3">
  12.299 -            <attribute default="${src.dir}" name="srcdir"/>
  12.300 -            <attribute default="${build.classes.dir}" name="destdir"/>
  12.301 -            <attribute default="${javac.classpath}" name="classpath"/>
  12.302 -            <attribute default="${javac.processorpath}" name="processorpath"/>
  12.303 -            <attribute default="${build.generated.sources.dir}/ap-source-output" name="apgeneratedsrcdir"/>
  12.304 -            <attribute default="${includes}" name="includes"/>
  12.305 -            <attribute default="${excludes}" name="excludes"/>
  12.306 -            <attribute default="${javac.debug}" name="debug"/>
  12.307 -            <attribute default="${empty.dir}" name="sourcepath"/>
  12.308 -            <attribute default="${empty.dir}" name="gensrcdir"/>
  12.309 -            <element name="customize" optional="true"/>
  12.310 -            <sequential>
  12.311 -                <property location="${build.dir}/empty" name="empty.dir"/>
  12.312 -                <mkdir dir="${empty.dir}"/>
  12.313 -                <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}">
  12.314 -                    <src>
  12.315 -                        <dirset dir="@{gensrcdir}" erroronmissingdir="false">
  12.316 -                            <include name="*"/>
  12.317 -                        </dirset>
  12.318 -                    </src>
  12.319 -                    <classpath>
  12.320 -                        <path path="@{classpath}"/>
  12.321 -                    </classpath>
  12.322 -                    <compilerarg line="${endorsed.classpath.cmd.line.arg}"/>
  12.323 -                    <compilerarg line="${javac.profile.cmd.line.arg}"/>
  12.324 -                    <compilerarg line="${javac.compilerargs}"/>
  12.325 -                    <customize/>
  12.326 -                </javac>
  12.327 -            </sequential>
  12.328 -        </macrodef>
  12.329 -    </target>
  12.330 -    <target depends="-init-macrodef-javac-with-processors,-init-macrodef-javac-without-processors" name="-init-macrodef-javac">
  12.331 -        <macrodef name="depend" uri="http://www.netbeans.org/ns/j2se-project/3">
  12.332 -            <attribute default="${src.dir}" name="srcdir"/>
  12.333 -            <attribute default="${build.classes.dir}" name="destdir"/>
  12.334 -            <attribute default="${javac.classpath}" name="classpath"/>
  12.335 -            <sequential>
  12.336 -                <depend cache="${build.dir}/depcache" destdir="@{destdir}" excludes="${excludes}" includes="${includes}" srcdir="@{srcdir}">
  12.337 -                    <classpath>
  12.338 -                        <path path="@{classpath}"/>
  12.339 -                    </classpath>
  12.340 -                </depend>
  12.341 -            </sequential>
  12.342 -        </macrodef>
  12.343 -        <macrodef name="force-recompile" uri="http://www.netbeans.org/ns/j2se-project/3">
  12.344 -            <attribute default="${build.classes.dir}" name="destdir"/>
  12.345 -            <sequential>
  12.346 -                <fail unless="javac.includes">Must set javac.includes</fail>
  12.347 -                <pathconvert pathsep="${line.separator}" property="javac.includes.binary">
  12.348 -                    <path>
  12.349 -                        <filelist dir="@{destdir}" files="${javac.includes}"/>
  12.350 -                    </path>
  12.351 -                    <globmapper from="*.java" to="*.class"/>
  12.352 -                </pathconvert>
  12.353 -                <tempfile deleteonexit="true" property="javac.includesfile.binary"/>
  12.354 -                <echo file="${javac.includesfile.binary}" message="${javac.includes.binary}"/>
  12.355 -                <delete>
  12.356 -                    <files includesfile="${javac.includesfile.binary}"/>
  12.357 -                </delete>
  12.358 -                <delete>
  12.359 -                    <fileset file="${javac.includesfile.binary}"/>
  12.360 -                </delete>
  12.361 -            </sequential>
  12.362 -        </macrodef>
  12.363 -    </target>
  12.364 -    <target if="${junit.available}" name="-init-macrodef-junit-init">
  12.365 -        <condition else="false" property="nb.junit.batch" value="true">
  12.366 -            <and>
  12.367 -                <istrue value="${junit.available}"/>
  12.368 -                <not>
  12.369 -                    <isset property="test.method"/>
  12.370 -                </not>
  12.371 -            </and>
  12.372 -        </condition>
  12.373 -        <condition else="false" property="nb.junit.single" value="true">
  12.374 -            <and>
  12.375 -                <istrue value="${junit.available}"/>
  12.376 -                <isset property="test.method"/>
  12.377 -            </and>
  12.378 -        </condition>
  12.379 -    </target>
  12.380 -    <target name="-init-test-properties">
  12.381 -        <property name="test.binaryincludes" value="&lt;nothing&gt;"/>
  12.382 -        <property name="test.binarytestincludes" value=""/>
  12.383 -        <property name="test.binaryexcludes" value=""/>
  12.384 -    </target>
  12.385 -    <target if="${nb.junit.single}" name="-init-macrodef-junit-single" unless="${nb.junit.batch}">
  12.386 -        <macrodef name="junit" uri="http://www.netbeans.org/ns/j2se-project/3">
  12.387 -            <attribute default="${includes}" name="includes"/>
  12.388 -            <attribute default="${excludes}" name="excludes"/>
  12.389 -            <attribute default="**" name="testincludes"/>
  12.390 -            <attribute default="" name="testmethods"/>
  12.391 -            <element name="customize" optional="true"/>
  12.392 -            <sequential>
  12.393 -                <property name="junit.forkmode" value="perTest"/>
  12.394 -                <junit dir="${work.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" forkmode="${junit.forkmode}" showoutput="true" tempdir="${build.dir}">
  12.395 -                    <test methods="@{testmethods}" name="@{testincludes}" todir="${build.test.results.dir}"/>
  12.396 -                    <syspropertyset>
  12.397 -                        <propertyref prefix="test-sys-prop."/>
  12.398 -                        <mapper from="test-sys-prop.*" to="*" type="glob"/>
  12.399 -                    </syspropertyset>
  12.400 -                    <formatter type="brief" usefile="false"/>
  12.401 -                    <formatter type="xml"/>
  12.402 -                    <jvmarg value="-ea"/>
  12.403 -                    <customize/>
  12.404 -                </junit>
  12.405 -            </sequential>
  12.406 -        </macrodef>
  12.407 -    </target>
  12.408 -    <target depends="-init-test-properties" if="${nb.junit.batch}" name="-init-macrodef-junit-batch" unless="${nb.junit.single}">
  12.409 -        <macrodef name="junit" uri="http://www.netbeans.org/ns/j2se-project/3">
  12.410 -            <attribute default="${includes}" name="includes"/>
  12.411 -            <attribute default="${excludes}" name="excludes"/>
  12.412 -            <attribute default="**" name="testincludes"/>
  12.413 -            <attribute default="" name="testmethods"/>
  12.414 -            <element name="customize" optional="true"/>
  12.415 -            <sequential>
  12.416 -                <property name="junit.forkmode" value="perTest"/>
  12.417 -                <junit dir="${work.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" forkmode="${junit.forkmode}" showoutput="true" tempdir="${build.dir}">
  12.418 -                    <batchtest todir="${build.test.results.dir}">
  12.419 -                        <fileset dir="${test.src.dir}" excludes="@{excludes},${excludes}" includes="@{includes}">
  12.420 -                            <filename name="@{testincludes}"/>
  12.421 -                        </fileset>
  12.422 -                        <fileset dir="${build.test.classes.dir}" excludes="@{excludes},${excludes},${test.binaryexcludes}" includes="${test.binaryincludes}">
  12.423 -                            <filename name="${test.binarytestincludes}"/>
  12.424 -                        </fileset>
  12.425 -                    </batchtest>
  12.426 -                    <syspropertyset>
  12.427 -                        <propertyref prefix="test-sys-prop."/>
  12.428 -                        <mapper from="test-sys-prop.*" to="*" type="glob"/>
  12.429 -                    </syspropertyset>
  12.430 -                    <formatter type="brief" usefile="false"/>
  12.431 -                    <formatter type="xml"/>
  12.432 -                    <jvmarg value="-ea"/>
  12.433 -                    <customize/>
  12.434 -                </junit>
  12.435 -            </sequential>
  12.436 -        </macrodef>
  12.437 -    </target>
  12.438 -    <target depends="-init-macrodef-junit-init,-init-macrodef-junit-single, -init-macrodef-junit-batch" if="${junit.available}" name="-init-macrodef-junit"/>
  12.439 -    <target if="${testng.available}" name="-init-macrodef-testng">
  12.440 -        <macrodef name="testng" uri="http://www.netbeans.org/ns/j2se-project/3">
  12.441 -            <attribute default="${includes}" name="includes"/>
  12.442 -            <attribute default="${excludes}" name="excludes"/>
  12.443 -            <attribute default="**" name="testincludes"/>
  12.444 -            <attribute default="" name="testmethods"/>
  12.445 -            <element name="customize" optional="true"/>
  12.446 -            <sequential>
  12.447 -                <condition else="" property="testng.methods.arg" value="@{testincludes}.@{testmethods}">
  12.448 -                    <isset property="test.method"/>
  12.449 -                </condition>
  12.450 -                <union id="test.set">
  12.451 -                    <fileset dir="${test.src.dir}" excludes="@{excludes},**/*.xml,${excludes}" includes="@{includes}">
  12.452 -                        <filename name="@{testincludes}"/>
  12.453 -                    </fileset>
  12.454 -                </union>
  12.455 -                <taskdef classname="org.testng.TestNGAntTask" classpath="${run.test.classpath}" name="testng"/>
  12.456 -                <testng classfilesetref="test.set" failureProperty="tests.failed" listeners="org.testng.reporters.VerboseReporter" methods="${testng.methods.arg}" mode="${testng.mode}" outputdir="${build.test.results.dir}" suitename="rozsirene-atributy-jedit" testname="TestNG tests" workingDir="${work.dir}">
  12.457 -                    <xmlfileset dir="${build.test.classes.dir}" includes="@{testincludes}"/>
  12.458 -                    <propertyset>
  12.459 -                        <propertyref prefix="test-sys-prop."/>
  12.460 -                        <mapper from="test-sys-prop.*" to="*" type="glob"/>
  12.461 -                    </propertyset>
  12.462 -                    <customize/>
  12.463 -                </testng>
  12.464 -            </sequential>
  12.465 -        </macrodef>
  12.466 -    </target>
  12.467 -    <target name="-init-macrodef-test-impl">
  12.468 -        <macrodef name="test-impl" uri="http://www.netbeans.org/ns/j2se-project/3">
  12.469 -            <attribute default="${includes}" name="includes"/>
  12.470 -            <attribute default="${excludes}" name="excludes"/>
  12.471 -            <attribute default="**" name="testincludes"/>
  12.472 -            <attribute default="" name="testmethods"/>
  12.473 -            <element implicit="true" name="customize" optional="true"/>
  12.474 -            <sequential>
  12.475 -                <echo>No tests executed.</echo>
  12.476 -            </sequential>
  12.477 -        </macrodef>
  12.478 -    </target>
  12.479 -    <target depends="-init-macrodef-junit" if="${junit.available}" name="-init-macrodef-junit-impl">
  12.480 -        <macrodef name="test-impl" uri="http://www.netbeans.org/ns/j2se-project/3">
  12.481 -            <attribute default="${includes}" name="includes"/>
  12.482 -            <attribute default="${excludes}" name="excludes"/>
  12.483 -            <attribute default="**" name="testincludes"/>
  12.484 -            <attribute default="" name="testmethods"/>
  12.485 -            <element implicit="true" name="customize" optional="true"/>
  12.486 -            <sequential>
  12.487 -                <j2seproject3:junit excludes="@{excludes}" includes="@{includes}" testincludes="@{testincludes}" testmethods="@{testmethods}">
  12.488 -                    <customize/>
  12.489 -                </j2seproject3:junit>
  12.490 -            </sequential>
  12.491 -        </macrodef>
  12.492 -    </target>
  12.493 -    <target depends="-init-macrodef-testng" if="${testng.available}" name="-init-macrodef-testng-impl">
  12.494 -        <macrodef name="test-impl" uri="http://www.netbeans.org/ns/j2se-project/3">
  12.495 -            <attribute default="${includes}" name="includes"/>
  12.496 -            <attribute default="${excludes}" name="excludes"/>
  12.497 -            <attribute default="**" name="testincludes"/>
  12.498 -            <attribute default="" name="testmethods"/>
  12.499 -            <element implicit="true" name="customize" optional="true"/>
  12.500 -            <sequential>
  12.501 -                <j2seproject3:testng excludes="@{excludes}" includes="@{includes}" testincludes="@{testincludes}" testmethods="@{testmethods}">
  12.502 -                    <customize/>
  12.503 -                </j2seproject3:testng>
  12.504 -            </sequential>
  12.505 -        </macrodef>
  12.506 -    </target>
  12.507 -    <target depends="-init-macrodef-test-impl,-init-macrodef-junit-impl,-init-macrodef-testng-impl" name="-init-macrodef-test">
  12.508 -        <macrodef name="test" uri="http://www.netbeans.org/ns/j2se-project/3">
  12.509 -            <attribute default="${includes}" name="includes"/>
  12.510 -            <attribute default="${excludes}" name="excludes"/>
  12.511 -            <attribute default="**" name="testincludes"/>
  12.512 -            <attribute default="" name="testmethods"/>
  12.513 -            <sequential>
  12.514 -                <j2seproject3:test-impl excludes="@{excludes}" includes="@{includes}" testincludes="@{testincludes}" testmethods="@{testmethods}">
  12.515 -                    <customize>
  12.516 -                        <classpath>
  12.517 -                            <path path="${run.test.classpath}"/>
  12.518 -                        </classpath>
  12.519 -                        <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
  12.520 -                        <jvmarg line="${run.jvmargs}"/>
  12.521 -                        <jvmarg line="${run.jvmargs.ide}"/>
  12.522 -                    </customize>
  12.523 -                </j2seproject3:test-impl>
  12.524 -            </sequential>
  12.525 -        </macrodef>
  12.526 -    </target>
  12.527 -    <target if="${junit.available}" name="-init-macrodef-junit-debug" unless="${nb.junit.batch}">
  12.528 -        <macrodef name="junit-debug" uri="http://www.netbeans.org/ns/j2se-project/3">
  12.529 -            <attribute default="${includes}" name="includes"/>
  12.530 -            <attribute default="${excludes}" name="excludes"/>
  12.531 -            <attribute default="**" name="testincludes"/>
  12.532 -            <attribute default="" name="testmethods"/>
  12.533 -            <element name="customize" optional="true"/>
  12.534 -            <sequential>
  12.535 -                <property name="junit.forkmode" value="perTest"/>
  12.536 -                <junit dir="${work.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" forkmode="${junit.forkmode}" showoutput="true" tempdir="${build.dir}">
  12.537 -                    <test methods="@{testmethods}" name="@{testincludes}" todir="${build.test.results.dir}"/>
  12.538 -                    <syspropertyset>
  12.539 -                        <propertyref prefix="test-sys-prop."/>
  12.540 -                        <mapper from="test-sys-prop.*" to="*" type="glob"/>
  12.541 -                    </syspropertyset>
  12.542 -                    <formatter type="brief" usefile="false"/>
  12.543 -                    <formatter type="xml"/>
  12.544 -                    <jvmarg value="-ea"/>
  12.545 -                    <jvmarg line="${debug-args-line}"/>
  12.546 -                    <jvmarg value="-Xrunjdwp:transport=${debug-transport},address=${jpda.address}"/>
  12.547 -                    <customize/>
  12.548 -                </junit>
  12.549 -            </sequential>
  12.550 -        </macrodef>
  12.551 -    </target>
  12.552 -    <target depends="-init-test-properties" if="${nb.junit.batch}" name="-init-macrodef-junit-debug-batch">
  12.553 -        <macrodef name="junit-debug" uri="http://www.netbeans.org/ns/j2se-project/3">
  12.554 -            <attribute default="${includes}" name="includes"/>
  12.555 -            <attribute default="${excludes}" name="excludes"/>
  12.556 -            <attribute default="**" name="testincludes"/>
  12.557 -            <attribute default="" name="testmethods"/>
  12.558 -            <element name="customize" optional="true"/>
  12.559 -            <sequential>
  12.560 -                <property name="junit.forkmode" value="perTest"/>
  12.561 -                <junit dir="${work.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" forkmode="${junit.forkmode}" showoutput="true" tempdir="${build.dir}">
  12.562 -                    <batchtest todir="${build.test.results.dir}">
  12.563 -                        <fileset dir="${test.src.dir}" excludes="@{excludes},${excludes}" includes="@{includes}">
  12.564 -                            <filename name="@{testincludes}"/>
  12.565 -                        </fileset>
  12.566 -                        <fileset dir="${build.test.classes.dir}" excludes="@{excludes},${excludes},${test.binaryexcludes}" includes="${test.binaryincludes}">
  12.567 -                            <filename name="${test.binarytestincludes}"/>
  12.568 -                        </fileset>
  12.569 -                    </batchtest>
  12.570 -                    <syspropertyset>
  12.571 -                        <propertyref prefix="test-sys-prop."/>
  12.572 -                        <mapper from="test-sys-prop.*" to="*" type="glob"/>
  12.573 -                    </syspropertyset>
  12.574 -                    <formatter type="brief" usefile="false"/>
  12.575 -                    <formatter type="xml"/>
  12.576 -                    <jvmarg value="-ea"/>
  12.577 -                    <jvmarg line="${debug-args-line}"/>
  12.578 -                    <jvmarg value="-Xrunjdwp:transport=${debug-transport},address=${jpda.address}"/>
  12.579 -                    <customize/>
  12.580 -                </junit>
  12.581 -            </sequential>
  12.582 -        </macrodef>
  12.583 -    </target>
  12.584 -    <target depends="-init-macrodef-junit-debug,-init-macrodef-junit-debug-batch" if="${junit.available}" name="-init-macrodef-junit-debug-impl">
  12.585 -        <macrodef name="test-debug-impl" uri="http://www.netbeans.org/ns/j2se-project/3">
  12.586 -            <attribute default="${includes}" name="includes"/>
  12.587 -            <attribute default="${excludes}" name="excludes"/>
  12.588 -            <attribute default="**" name="testincludes"/>
  12.589 -            <attribute default="" name="testmethods"/>
  12.590 -            <element implicit="true" name="customize" optional="true"/>
  12.591 -            <sequential>
  12.592 -                <j2seproject3:junit-debug excludes="@{excludes}" includes="@{includes}" testincludes="@{testincludes}" testmethods="@{testmethods}">
  12.593 -                    <customize/>
  12.594 -                </j2seproject3:junit-debug>
  12.595 -            </sequential>
  12.596 -        </macrodef>
  12.597 -    </target>
  12.598 -    <target if="${testng.available}" name="-init-macrodef-testng-debug">
  12.599 -        <macrodef name="testng-debug" uri="http://www.netbeans.org/ns/j2se-project/3">
  12.600 -            <attribute default="${main.class}" name="testClass"/>
  12.601 -            <attribute default="" name="testMethod"/>
  12.602 -            <element name="customize2" optional="true"/>
  12.603 -            <sequential>
  12.604 -                <condition else="-testclass @{testClass}" property="test.class.or.method" value="-methods @{testClass}.@{testMethod}">
  12.605 -                    <isset property="test.method"/>
  12.606 -                </condition>
  12.607 -                <condition else="-suitename rozsirene-atributy-jedit -testname @{testClass} ${test.class.or.method}" property="testng.cmd.args" value="@{testClass}">
  12.608 -                    <matches pattern=".*\.xml" string="@{testClass}"/>
  12.609 -                </condition>
  12.610 -                <delete dir="${build.test.results.dir}" quiet="true"/>
  12.611 -                <mkdir dir="${build.test.results.dir}"/>
  12.612 -                <j2seproject3:debug classname="org.testng.TestNG" classpath="${debug.test.classpath}">
  12.613 -                    <customize>
  12.614 -                        <customize2/>
  12.615 -                        <jvmarg value="-ea"/>
  12.616 -                        <arg line="${testng.debug.mode}"/>
  12.617 -                        <arg line="-d ${build.test.results.dir}"/>
  12.618 -                        <arg line="-listener org.testng.reporters.VerboseReporter"/>
  12.619 -                        <arg line="${testng.cmd.args}"/>
  12.620 -                    </customize>
  12.621 -                </j2seproject3:debug>
  12.622 -            </sequential>
  12.623 -        </macrodef>
  12.624 -    </target>
  12.625 -    <target depends="-init-macrodef-testng-debug" if="${testng.available}" name="-init-macrodef-testng-debug-impl">
  12.626 -        <macrodef name="testng-debug-impl" uri="http://www.netbeans.org/ns/j2se-project/3">
  12.627 -            <attribute default="${main.class}" name="testClass"/>
  12.628 -            <attribute default="" name="testMethod"/>
  12.629 -            <element implicit="true" name="customize2" optional="true"/>
  12.630 -            <sequential>
  12.631 -                <j2seproject3:testng-debug testClass="@{testClass}" testMethod="@{testMethod}">
  12.632 -                    <customize2/>
  12.633 -                </j2seproject3:testng-debug>
  12.634 -            </sequential>
  12.635 -        </macrodef>
  12.636 -    </target>
  12.637 -    <target depends="-init-macrodef-junit-debug-impl" if="${junit.available}" name="-init-macrodef-test-debug-junit">
  12.638 -        <macrodef name="test-debug" uri="http://www.netbeans.org/ns/j2se-project/3">
  12.639 -            <attribute default="${includes}" name="includes"/>
  12.640 -            <attribute default="${excludes}" name="excludes"/>
  12.641 -            <attribute default="**" name="testincludes"/>
  12.642 -            <attribute default="" name="testmethods"/>
  12.643 -            <attribute default="${main.class}" name="testClass"/>
  12.644 -            <attribute default="" name="testMethod"/>
  12.645 -            <sequential>
  12.646 -                <j2seproject3:test-debug-impl excludes="@{excludes}" includes="@{includes}" testincludes="@{testincludes}" testmethods="@{testmethods}">
  12.647 -                    <customize>
  12.648 -                        <classpath>
  12.649 -                            <path path="${run.test.classpath}"/>
  12.650 -                        </classpath>
  12.651 -                        <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
  12.652 -                        <jvmarg line="${run.jvmargs}"/>
  12.653 -                        <jvmarg line="${run.jvmargs.ide}"/>
  12.654 -                    </customize>
  12.655 -                </j2seproject3:test-debug-impl>
  12.656 -            </sequential>
  12.657 -        </macrodef>
  12.658 -    </target>
  12.659 -    <target depends="-init-macrodef-testng-debug-impl" if="${testng.available}" name="-init-macrodef-test-debug-testng">
  12.660 -        <macrodef name="test-debug" uri="http://www.netbeans.org/ns/j2se-project/3">
  12.661 -            <attribute default="${includes}" name="includes"/>
  12.662 -            <attribute default="${excludes}" name="excludes"/>
  12.663 -            <attribute default="**" name="testincludes"/>
  12.664 -            <attribute default="" name="testmethods"/>
  12.665 -            <attribute default="${main.class}" name="testClass"/>
  12.666 -            <attribute default="" name="testMethod"/>
  12.667 -            <sequential>
  12.668 -                <j2seproject3:testng-debug-impl testClass="@{testClass}" testMethod="@{testMethod}">
  12.669 -                    <customize2>
  12.670 -                        <syspropertyset>
  12.671 -                            <propertyref prefix="test-sys-prop."/>
  12.672 -                            <mapper from="test-sys-prop.*" to="*" type="glob"/>
  12.673 -                        </syspropertyset>
  12.674 -                    </customize2>
  12.675 -                </j2seproject3:testng-debug-impl>
  12.676 -            </sequential>
  12.677 -        </macrodef>
  12.678 -    </target>
  12.679 -    <target depends="-init-macrodef-test-debug-junit,-init-macrodef-test-debug-testng" name="-init-macrodef-test-debug"/>
  12.680 -    <!--
  12.681 -                pre NB7.2 profiling section; consider it deprecated
  12.682 -            -->
  12.683 -    <target depends="-profile-pre-init, init, -profile-post-init, -profile-init-macrodef-profile, -profile-init-check" if="profiler.info.jvmargs.agent" name="profile-init"/>
  12.684 -    <target if="profiler.info.jvmargs.agent" name="-profile-pre-init">
  12.685 -        <!-- Empty placeholder for easier customization. -->
  12.686 -        <!-- You can override this target in the ../build.xml file. -->
  12.687 -    </target>
  12.688 -    <target if="profiler.info.jvmargs.agent" name="-profile-post-init">
  12.689 -        <!-- Empty placeholder for easier customization. -->
  12.690 -        <!-- You can override this target in the ../build.xml file. -->
  12.691 -    </target>
  12.692 -    <target if="profiler.info.jvmargs.agent" name="-profile-init-macrodef-profile">
  12.693 -        <macrodef name="resolve">
  12.694 -            <attribute name="name"/>
  12.695 -            <attribute name="value"/>
  12.696 -            <sequential>
  12.697 -                <property name="@{name}" value="${env.@{value}}"/>
  12.698 -            </sequential>
  12.699 -        </macrodef>
  12.700 -        <macrodef name="profile">
  12.701 -            <attribute default="${main.class}" name="classname"/>
  12.702 -            <element name="customize" optional="true"/>
  12.703 -            <sequential>
  12.704 -                <property environment="env"/>
  12.705 -                <resolve name="profiler.current.path" value="${profiler.info.pathvar}"/>
  12.706 -                <java classname="@{classname}" dir="${profiler.info.dir}" failonerror="${java.failonerror}" fork="true" jvm="${profiler.info.jvm}">
  12.707 -                    <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
  12.708 -                    <jvmarg value="${profiler.info.jvmargs.agent}"/>
  12.709 -                    <jvmarg line="${profiler.info.jvmargs}"/>
  12.710 -                    <env key="${profiler.info.pathvar}" path="${profiler.info.agentpath}:${profiler.current.path}"/>
  12.711 -                    <arg line="${application.args}"/>
  12.712 -                    <classpath>
  12.713 -                        <path path="${run.classpath}"/>
  12.714 -                    </classpath>
  12.715 -                    <syspropertyset>
  12.716 -                        <propertyref prefix="run-sys-prop."/>
  12.717 -                        <mapper from="run-sys-prop.*" to="*" type="glob"/>
  12.718 -                    </syspropertyset>
  12.719 -                    <customize/>
  12.720 -                </java>
  12.721 -            </sequential>
  12.722 -        </macrodef>
  12.723 -    </target>
  12.724 -    <target depends="-profile-pre-init, init, -profile-post-init, -profile-init-macrodef-profile" if="profiler.info.jvmargs.agent" name="-profile-init-check">
  12.725 -        <fail unless="profiler.info.jvm">Must set JVM to use for profiling in profiler.info.jvm</fail>
  12.726 -        <fail unless="profiler.info.jvmargs.agent">Must set profiler agent JVM arguments in profiler.info.jvmargs.agent</fail>
  12.727 -    </target>
  12.728 -    <!--
  12.729 -                end of pre NB7.2 profiling section
  12.730 -            -->
  12.731 -    <target depends="-init-debug-args" name="-init-macrodef-nbjpda">
  12.732 -        <macrodef name="nbjpdastart" uri="http://www.netbeans.org/ns/j2se-project/1">
  12.733 -            <attribute default="${main.class}" name="name"/>
  12.734 -            <attribute default="${debug.classpath}" name="classpath"/>
  12.735 -            <attribute default="" name="stopclassname"/>
  12.736 -            <sequential>
  12.737 -                <nbjpdastart addressproperty="jpda.address" name="@{name}" stopclassname="@{stopclassname}" transport="${debug-transport}">
  12.738 -                    <classpath>
  12.739 -                        <path path="@{classpath}"/>
  12.740 -                    </classpath>
  12.741 -                </nbjpdastart>
  12.742 -            </sequential>
  12.743 -        </macrodef>
  12.744 -        <macrodef name="nbjpdareload" uri="http://www.netbeans.org/ns/j2se-project/1">
  12.745 -            <attribute default="${build.classes.dir}" name="dir"/>
  12.746 -            <sequential>
  12.747 -                <nbjpdareload>
  12.748 -                    <fileset dir="@{dir}" includes="${fix.classes}">
  12.749 -                        <include name="${fix.includes}*.class"/>
  12.750 -                    </fileset>
  12.751 -                </nbjpdareload>
  12.752 -            </sequential>
  12.753 -        </macrodef>
  12.754 -    </target>
  12.755 -    <target name="-init-debug-args">
  12.756 -        <property name="version-output" value="java version &quot;${ant.java.version}"/>
  12.757 -        <condition property="have-jdk-older-than-1.4">
  12.758 -            <or>
  12.759 -                <contains string="${version-output}" substring="java version &quot;1.0"/>
  12.760 -                <contains string="${version-output}" substring="java version &quot;1.1"/>
  12.761 -                <contains string="${version-output}" substring="java version &quot;1.2"/>
  12.762 -                <contains string="${version-output}" substring="java version &quot;1.3"/>
  12.763 -            </or>
  12.764 -        </condition>
  12.765 -        <condition else="-Xdebug" property="debug-args-line" value="-Xdebug -Xnoagent -Djava.compiler=none">
  12.766 -            <istrue value="${have-jdk-older-than-1.4}"/>
  12.767 -        </condition>
  12.768 -        <condition else="dt_socket" property="debug-transport-by-os" value="dt_shmem">
  12.769 -            <os family="windows"/>
  12.770 -        </condition>
  12.771 -        <condition else="${debug-transport-by-os}" property="debug-transport" value="${debug.transport}">
  12.772 -            <isset property="debug.transport"/>
  12.773 -        </condition>
  12.774 -    </target>
  12.775 -    <target depends="-init-debug-args" name="-init-macrodef-debug">
  12.776 -        <macrodef name="debug" uri="http://www.netbeans.org/ns/j2se-project/3">
  12.777 -            <attribute default="${main.class}" name="classname"/>
  12.778 -            <attribute default="${debug.classpath}" name="classpath"/>
  12.779 -            <element name="customize" optional="true"/>
  12.780 -            <sequential>
  12.781 -                <java classname="@{classname}" dir="${work.dir}" failonerror="${java.failonerror}" fork="true">
  12.782 -                    <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
  12.783 -                    <jvmarg line="${debug-args-line}"/>
  12.784 -                    <jvmarg value="-Xrunjdwp:transport=${debug-transport},address=${jpda.address}"/>
  12.785 -                    <jvmarg value="-Dfile.encoding=${runtime.encoding}"/>
  12.786 -                    <redirector errorencoding="${runtime.encoding}" inputencoding="${runtime.encoding}" outputencoding="${runtime.encoding}"/>
  12.787 -                    <jvmarg line="${run.jvmargs}"/>
  12.788 -                    <jvmarg line="${run.jvmargs.ide}"/>
  12.789 -                    <classpath>
  12.790 -                        <path path="@{classpath}"/>
  12.791 -                    </classpath>
  12.792 -                    <syspropertyset>
  12.793 -                        <propertyref prefix="run-sys-prop."/>
  12.794 -                        <mapper from="run-sys-prop.*" to="*" type="glob"/>
  12.795 -                    </syspropertyset>
  12.796 -                    <customize/>
  12.797 -                </java>
  12.798 -            </sequential>
  12.799 -        </macrodef>
  12.800 -    </target>
  12.801 -    <target name="-init-macrodef-java">
  12.802 -        <macrodef name="java" uri="http://www.netbeans.org/ns/j2se-project/1">
  12.803 -            <attribute default="${main.class}" name="classname"/>
  12.804 -            <attribute default="${run.classpath}" name="classpath"/>
  12.805 -            <attribute default="jvm" name="jvm"/>
  12.806 -            <element name="customize" optional="true"/>
  12.807 -            <sequential>
  12.808 -                <java classname="@{classname}" dir="${work.dir}" failonerror="${java.failonerror}" fork="true">
  12.809 -                    <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
  12.810 -                    <jvmarg value="-Dfile.encoding=${runtime.encoding}"/>
  12.811 -                    <redirector errorencoding="${runtime.encoding}" inputencoding="${runtime.encoding}" outputencoding="${runtime.encoding}"/>
  12.812 -                    <jvmarg line="${run.jvmargs}"/>
  12.813 -                    <jvmarg line="${run.jvmargs.ide}"/>
  12.814 -                    <classpath>
  12.815 -                        <path path="@{classpath}"/>
  12.816 -                    </classpath>
  12.817 -                    <syspropertyset>
  12.818 -                        <propertyref prefix="run-sys-prop."/>
  12.819 -                        <mapper from="run-sys-prop.*" to="*" type="glob"/>
  12.820 -                    </syspropertyset>
  12.821 -                    <customize/>
  12.822 -                </java>
  12.823 -            </sequential>
  12.824 -        </macrodef>
  12.825 -    </target>
  12.826 -    <target name="-init-macrodef-copylibs">
  12.827 -        <macrodef name="copylibs" uri="http://www.netbeans.org/ns/j2se-project/3">
  12.828 -            <attribute default="${manifest.file}" name="manifest"/>
  12.829 -            <element name="customize" optional="true"/>
  12.830 -            <sequential>
  12.831 -                <property location="${build.classes.dir}" name="build.classes.dir.resolved"/>
  12.832 -                <pathconvert property="run.classpath.without.build.classes.dir">
  12.833 -                    <path path="${run.classpath}"/>
  12.834 -                    <map from="${build.classes.dir.resolved}" to=""/>
  12.835 -                </pathconvert>
  12.836 -                <pathconvert pathsep=" " property="jar.classpath">
  12.837 -                    <path path="${run.classpath.without.build.classes.dir}"/>
  12.838 -                    <chainedmapper>
  12.839 -                        <flattenmapper/>
  12.840 -                        <filtermapper>
  12.841 -                            <replacestring from=" " to="%20"/>
  12.842 -                        </filtermapper>
  12.843 -                        <globmapper from="*" to="lib/*"/>
  12.844 -                    </chainedmapper>
  12.845 -                </pathconvert>
  12.846 -                <taskdef classname="org.netbeans.modules.java.j2seproject.copylibstask.CopyLibs" classpath="${libs.CopyLibs.classpath}" name="copylibs"/>
  12.847 -                <copylibs compress="${jar.compress}" excludeFromCopy="${copylibs.excludes}" index="${jar.index}" indexMetaInf="${jar.index.metainf}" jarfile="${dist.jar}" manifest="@{manifest}" manifestencoding="UTF-8" rebase="${copylibs.rebase}" runtimeclasspath="${run.classpath.without.build.classes.dir}">
  12.848 -                    <fileset dir="${build.classes.dir}" excludes="${dist.archive.excludes}"/>
  12.849 -                    <manifest>
  12.850 -                        <attribute name="Class-Path" value="${jar.classpath}"/>
  12.851 -                        <customize/>
  12.852 -                    </manifest>
  12.853 -                </copylibs>
  12.854 -            </sequential>
  12.855 -        </macrodef>
  12.856 -    </target>
  12.857 -    <target name="-init-presetdef-jar">
  12.858 -        <presetdef name="jar" uri="http://www.netbeans.org/ns/j2se-project/1">
  12.859 -            <jar compress="${jar.compress}" index="${jar.index}" jarfile="${dist.jar}" manifestencoding="UTF-8">
  12.860 -                <j2seproject1:fileset dir="${build.classes.dir}" excludes="${dist.archive.excludes}"/>
  12.861 -            </jar>
  12.862 -        </presetdef>
  12.863 -    </target>
  12.864 -    <target name="-init-ap-cmdline-properties">
  12.865 -        <property name="annotation.processing.enabled" value="true"/>
  12.866 -        <property name="annotation.processing.processors.list" value=""/>
  12.867 -        <property name="annotation.processing.processor.options" value=""/>
  12.868 -        <property name="annotation.processing.run.all.processors" value="true"/>
  12.869 -        <property name="javac.processorpath" value="${javac.classpath}"/>
  12.870 -        <property name="javac.test.processorpath" value="${javac.test.classpath}"/>
  12.871 -        <condition property="ap.supported.internal" value="true">
  12.872 -            <not>
  12.873 -                <matches pattern="1\.[0-5](\..*)?" string="${javac.source}"/>
  12.874 -            </not>
  12.875 -        </condition>
  12.876 -    </target>
  12.877 -    <target depends="-init-ap-cmdline-properties" if="ap.supported.internal" name="-init-ap-cmdline-supported">
  12.878 -        <condition else="" property="ap.processors.internal" value="-processor ${annotation.processing.processors.list}">
  12.879 -            <isfalse value="${annotation.processing.run.all.processors}"/>
  12.880 -        </condition>
  12.881 -        <condition else="" property="ap.proc.none.internal" value="-proc:none">
  12.882 -            <isfalse value="${annotation.processing.enabled}"/>
  12.883 -        </condition>
  12.884 -    </target>
  12.885 -    <target depends="-init-ap-cmdline-properties,-init-ap-cmdline-supported" name="-init-ap-cmdline">
  12.886 -        <property name="ap.cmd.line.internal" value=""/>
  12.887 -    </target>
  12.888 -    <target depends="-pre-init,-init-private,-init-user,-init-project,-do-init,-post-init,-init-check,-init-macrodef-property,-init-macrodef-javac,-init-macrodef-test,-init-macrodef-test-debug,-init-macrodef-nbjpda,-init-macrodef-debug,-init-macrodef-java,-init-presetdef-jar,-init-ap-cmdline" name="init"/>
  12.889 -    <!--
  12.890 -                ===================
  12.891 -                COMPILATION SECTION
  12.892 -                ===================
  12.893 -            -->
  12.894 -    <target name="-deps-jar-init" unless="built-jar.properties">
  12.895 -        <property location="${build.dir}/built-jar.properties" name="built-jar.properties"/>
  12.896 -        <delete file="${built-jar.properties}" quiet="true"/>
  12.897 -    </target>
  12.898 -    <target if="already.built.jar.${basedir}" name="-warn-already-built-jar">
  12.899 -        <echo level="warn" message="Cycle detected: rozsirene-atributy-jedit was already built"/>
  12.900 -    </target>
  12.901 -    <target depends="init,-deps-jar-init" name="deps-jar" unless="no.deps">
  12.902 -        <mkdir dir="${build.dir}"/>
  12.903 -        <touch file="${built-jar.properties}" verbose="false"/>
  12.904 -        <property file="${built-jar.properties}" prefix="already.built.jar."/>
  12.905 -        <antcall target="-warn-already-built-jar"/>
  12.906 -        <propertyfile file="${built-jar.properties}">
  12.907 -            <entry key="${basedir}" value=""/>
  12.908 -        </propertyfile>
  12.909 -        <antcall target="-maybe-call-dep">
  12.910 -            <param name="call.built.properties" value="${built-jar.properties}"/>
  12.911 -            <param location="${project.rozsirene-atributy}" name="call.subproject"/>
  12.912 -            <param location="${project.rozsirene-atributy}/build.xml" name="call.script"/>
  12.913 -            <param name="call.target" value="jar"/>
  12.914 -            <param name="transfer.built-jar.properties" value="${built-jar.properties}"/>
  12.915 -            <param name="transfer.not.archive.disabled" value="true"/>
  12.916 -        </antcall>
  12.917 -    </target>
  12.918 -    <target depends="init,-check-automatic-build,-clean-after-automatic-build" name="-verify-automatic-build"/>
  12.919 -    <target depends="init" name="-check-automatic-build">
  12.920 -        <available file="${build.classes.dir}/.netbeans_automatic_build" property="netbeans.automatic.build"/>
  12.921 -    </target>
  12.922 -    <target depends="init" if="netbeans.automatic.build" name="-clean-after-automatic-build">
  12.923 -        <antcall target="clean"/>
  12.924 -    </target>
  12.925 -    <target depends="init,deps-jar" name="-pre-pre-compile">
  12.926 -        <mkdir dir="${build.classes.dir}"/>
  12.927 -    </target>
  12.928 -    <target name="-pre-compile">
  12.929 -        <!-- Empty placeholder for easier customization. -->
  12.930 -        <!-- You can override this target in the ../build.xml file. -->
  12.931 -    </target>
  12.932 -    <target if="do.depend.true" name="-compile-depend">
  12.933 -        <pathconvert property="build.generated.subdirs">
  12.934 -            <dirset dir="${build.generated.sources.dir}" erroronmissingdir="false">
  12.935 -                <include name="*"/>
  12.936 -            </dirset>
  12.937 -        </pathconvert>
  12.938 -        <j2seproject3:depend srcdir="${src.dir}:${build.generated.subdirs}"/>
  12.939 -    </target>
  12.940 -    <target depends="init,deps-jar,-pre-pre-compile,-pre-compile, -copy-persistence-xml,-compile-depend" if="have.sources" name="-do-compile">
  12.941 -        <j2seproject3:javac gensrcdir="${build.generated.sources.dir}"/>
  12.942 -        <copy todir="${build.classes.dir}">
  12.943 -            <fileset dir="${src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
  12.944 -        </copy>
  12.945 -    </target>
  12.946 -    <target if="has.persistence.xml" name="-copy-persistence-xml">
  12.947 -        <mkdir dir="${build.classes.dir}/META-INF"/>
  12.948 -        <copy todir="${build.classes.dir}/META-INF">
  12.949 -            <fileset dir="${meta.inf.dir}" includes="persistence.xml orm.xml"/>
  12.950 -        </copy>
  12.951 -    </target>
  12.952 -    <target name="-post-compile">
  12.953 -        <!-- Empty placeholder for easier customization. -->
  12.954 -        <!-- You can override this target in the ../build.xml file. -->
  12.955 -    </target>
  12.956 -    <target depends="init,deps-jar,-verify-automatic-build,-pre-pre-compile,-pre-compile,-do-compile,-post-compile" description="Compile project." name="compile"/>
  12.957 -    <target name="-pre-compile-single">
  12.958 -        <!-- Empty placeholder for easier customization. -->
  12.959 -        <!-- You can override this target in the ../build.xml file. -->
  12.960 -    </target>
  12.961 -    <target depends="init,deps-jar,-pre-pre-compile" name="-do-compile-single">
  12.962 -        <fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail>
  12.963 -        <j2seproject3:force-recompile/>
  12.964 -        <j2seproject3:javac excludes="" gensrcdir="${build.generated.sources.dir}" includes="${javac.includes}" sourcepath="${src.dir}"/>
  12.965 -    </target>
  12.966 -    <target name="-post-compile-single">
  12.967 -        <!-- Empty placeholder for easier customization. -->
  12.968 -        <!-- You can override this target in the ../build.xml file. -->
  12.969 -    </target>
  12.970 -    <target depends="init,deps-jar,-verify-automatic-build,-pre-pre-compile,-pre-compile-single,-do-compile-single,-post-compile-single" name="compile-single"/>
  12.971 -    <!--
  12.972 -                ====================
  12.973 -                JAR BUILDING SECTION
  12.974 -                ====================
  12.975 -            -->
  12.976 -    <target depends="init" name="-pre-pre-jar">
  12.977 -        <dirname file="${dist.jar}" property="dist.jar.dir"/>
  12.978 -        <mkdir dir="${dist.jar.dir}"/>
  12.979 -    </target>
  12.980 -    <target name="-pre-jar">
  12.981 -        <!-- Empty placeholder for easier customization. -->
  12.982 -        <!-- You can override this target in the ../build.xml file. -->
  12.983 -    </target>
  12.984 -    <target depends="init" if="do.archive" name="-do-jar-create-manifest" unless="manifest.available">
  12.985 -        <tempfile deleteonexit="true" destdir="${build.dir}" property="tmp.manifest.file"/>
  12.986 -        <touch file="${tmp.manifest.file}" verbose="false"/>
  12.987 -    </target>
  12.988 -    <target depends="init" if="do.archive+manifest.available" name="-do-jar-copy-manifest">
  12.989 -        <tempfile deleteonexit="true" destdir="${build.dir}" property="tmp.manifest.file"/>
  12.990 -        <copy encoding="${manifest.encoding}" file="${manifest.file}" outputencoding="UTF-8" tofile="${tmp.manifest.file}"/>
  12.991 -    </target>
  12.992 -    <target depends="init,-do-jar-create-manifest,-do-jar-copy-manifest" if="do.archive+main.class.available" name="-do-jar-set-mainclass">
  12.993 -        <manifest encoding="UTF-8" file="${tmp.manifest.file}" mode="update">
  12.994 -            <attribute name="Main-Class" value="${main.class}"/>
  12.995 -        </manifest>
  12.996 -    </target>
  12.997 -    <target depends="init,-do-jar-create-manifest,-do-jar-copy-manifest" if="do.archive+profile.available" name="-do-jar-set-profile">
  12.998 -        <manifest encoding="UTF-8" file="${tmp.manifest.file}" mode="update">
  12.999 -            <attribute name="Profile" value="${javac.profile}"/>
 12.1000 -        </manifest>
 12.1001 -    </target>
 12.1002 -    <target depends="init,-do-jar-create-manifest,-do-jar-copy-manifest" if="do.archive+splashscreen.available" name="-do-jar-set-splashscreen">
 12.1003 -        <basename file="${application.splash}" property="splashscreen.basename"/>
 12.1004 -        <mkdir dir="${build.classes.dir}/META-INF"/>
 12.1005 -        <copy failonerror="false" file="${application.splash}" todir="${build.classes.dir}/META-INF"/>
 12.1006 -        <manifest encoding="UTF-8" file="${tmp.manifest.file}" mode="update">
 12.1007 -            <attribute name="SplashScreen-Image" value="META-INF/${splashscreen.basename}"/>
 12.1008 -        </manifest>
 12.1009 -    </target>
 12.1010 -    <target depends="init,-init-macrodef-copylibs,compile,-pre-pre-jar,-pre-jar,-do-jar-create-manifest,-do-jar-copy-manifest,-do-jar-set-mainclass,-do-jar-set-profile,-do-jar-set-splashscreen" if="do.mkdist" name="-do-jar-copylibs">
 12.1011 -        <j2seproject3:copylibs manifest="${tmp.manifest.file}"/>
 12.1012 -        <echo level="info">To run this application from the command line without Ant, try:</echo>
 12.1013 -        <property location="${dist.jar}" name="dist.jar.resolved"/>
 12.1014 -        <echo level="info">java -jar "${dist.jar.resolved}"</echo>
 12.1015 -    </target>
 12.1016 -    <target depends="init,compile,-pre-pre-jar,-pre-jar,-do-jar-create-manifest,-do-jar-copy-manifest,-do-jar-set-mainclass,-do-jar-set-profile,-do-jar-set-splashscreen" if="do.archive" name="-do-jar-jar" unless="do.mkdist">
 12.1017 -        <j2seproject1:jar manifest="${tmp.manifest.file}"/>
 12.1018 -        <property location="${build.classes.dir}" name="build.classes.dir.resolved"/>
 12.1019 -        <property location="${dist.jar}" name="dist.jar.resolved"/>
 12.1020 -        <pathconvert property="run.classpath.with.dist.jar">
 12.1021 -            <path path="${run.classpath}"/>
 12.1022 -            <map from="${build.classes.dir.resolved}" to="${dist.jar.resolved}"/>
 12.1023 -        </pathconvert>
 12.1024 -        <condition else="" property="jar.usage.message" value="To run this application from the command line without Ant, try:${line.separator}${platform.java} -cp ${run.classpath.with.dist.jar} ${main.class}">
 12.1025 -            <isset property="main.class.available"/>
 12.1026 -        </condition>
 12.1027 -        <condition else="debug" property="jar.usage.level" value="info">
 12.1028 -            <isset property="main.class.available"/>
 12.1029 -        </condition>
 12.1030 -        <echo level="${jar.usage.level}" message="${jar.usage.message}"/>
 12.1031 -    </target>
 12.1032 -    <target depends="-do-jar-copylibs" if="do.archive" name="-do-jar-delete-manifest">
 12.1033 -        <delete>
 12.1034 -            <fileset file="${tmp.manifest.file}"/>
 12.1035 -        </delete>
 12.1036 -    </target>
 12.1037 -    <target depends="init,compile,-pre-pre-jar,-pre-jar,-do-jar-create-manifest,-do-jar-copy-manifest,-do-jar-set-mainclass,-do-jar-set-profile,-do-jar-set-splashscreen,-do-jar-jar,-do-jar-delete-manifest" name="-do-jar-without-libraries"/>
 12.1038 -    <target depends="init,compile,-pre-pre-jar,-pre-jar,-do-jar-create-manifest,-do-jar-copy-manifest,-do-jar-set-mainclass,-do-jar-set-profile,-do-jar-set-splashscreen,-do-jar-copylibs,-do-jar-delete-manifest" name="-do-jar-with-libraries"/>
 12.1039 -    <target name="-post-jar">
 12.1040 -        <!-- Empty placeholder for easier customization. -->
 12.1041 -        <!-- You can override this target in the ../build.xml file. -->
 12.1042 -    </target>
 12.1043 -    <target depends="init,compile,-pre-jar,-do-jar-without-libraries,-do-jar-with-libraries,-post-jar" name="-do-jar"/>
 12.1044 -    <target depends="init,compile,-pre-jar,-do-jar,-post-jar" description="Build JAR." name="jar"/>
 12.1045 -    <!--
 12.1046 -                =================
 12.1047 -                EXECUTION SECTION
 12.1048 -                =================
 12.1049 -            -->
 12.1050 -    <target depends="init,compile" description="Run a main class." name="run">
 12.1051 -        <j2seproject1:java>
 12.1052 -            <customize>
 12.1053 -                <arg line="${application.args}"/>
 12.1054 -            </customize>
 12.1055 -        </j2seproject1:java>
 12.1056 -    </target>
 12.1057 -    <target name="-do-not-recompile">
 12.1058 -        <property name="javac.includes.binary" value=""/>
 12.1059 -    </target>
 12.1060 -    <target depends="init,compile-single" name="run-single">
 12.1061 -        <fail unless="run.class">Must select one file in the IDE or set run.class</fail>
 12.1062 -        <j2seproject1:java classname="${run.class}"/>
 12.1063 -    </target>
 12.1064 -    <target depends="init,compile-test-single" name="run-test-with-main">
 12.1065 -        <fail unless="run.class">Must select one file in the IDE or set run.class</fail>
 12.1066 -        <j2seproject1:java classname="${run.class}" classpath="${run.test.classpath}"/>
 12.1067 -    </target>
 12.1068 -    <!--
 12.1069 -                =================
 12.1070 -                DEBUGGING SECTION
 12.1071 -                =================
 12.1072 -            -->
 12.1073 -    <target depends="init" if="netbeans.home" name="-debug-start-debugger">
 12.1074 -        <j2seproject1:nbjpdastart name="${debug.class}"/>
 12.1075 -    </target>
 12.1076 -    <target depends="init" if="netbeans.home" name="-debug-start-debugger-main-test">
 12.1077 -        <j2seproject1:nbjpdastart classpath="${debug.test.classpath}" name="${debug.class}"/>
 12.1078 -    </target>
 12.1079 -    <target depends="init,compile" name="-debug-start-debuggee">
 12.1080 -        <j2seproject3:debug>
 12.1081 -            <customize>
 12.1082 -                <arg line="${application.args}"/>
 12.1083 -            </customize>
 12.1084 -        </j2seproject3:debug>
 12.1085 -    </target>
 12.1086 -    <target depends="init,compile,-debug-start-debugger,-debug-start-debuggee" description="Debug project in IDE." if="netbeans.home" name="debug"/>
 12.1087 -    <target depends="init" if="netbeans.home" name="-debug-start-debugger-stepinto">
 12.1088 -        <j2seproject1:nbjpdastart stopclassname="${main.class}"/>
 12.1089 -    </target>
 12.1090 -    <target depends="init,compile,-debug-start-debugger-stepinto,-debug-start-debuggee" if="netbeans.home" name="debug-stepinto"/>
 12.1091 -    <target depends="init,compile-single" if="netbeans.home" name="-debug-start-debuggee-single">
 12.1092 -        <fail unless="debug.class">Must select one file in the IDE or set debug.class</fail>
 12.1093 -        <j2seproject3:debug classname="${debug.class}"/>
 12.1094 -    </target>
 12.1095 -    <target depends="init,compile-single,-debug-start-debugger,-debug-start-debuggee-single" if="netbeans.home" name="debug-single"/>
 12.1096 -    <target depends="init,compile-test-single" if="netbeans.home" name="-debug-start-debuggee-main-test">
 12.1097 -        <fail unless="debug.class">Must select one file in the IDE or set debug.class</fail>
 12.1098 -        <j2seproject3:debug classname="${debug.class}" classpath="${debug.test.classpath}"/>
 12.1099 -    </target>
 12.1100 -    <target depends="init,compile-test-single,-debug-start-debugger-main-test,-debug-start-debuggee-main-test" if="netbeans.home" name="debug-test-with-main"/>
 12.1101 -    <target depends="init" name="-pre-debug-fix">
 12.1102 -        <fail unless="fix.includes">Must set fix.includes</fail>
 12.1103 -        <property name="javac.includes" value="${fix.includes}.java"/>
 12.1104 -    </target>
 12.1105 -    <target depends="init,-pre-debug-fix,compile-single" if="netbeans.home" name="-do-debug-fix">
 12.1106 -        <j2seproject1:nbjpdareload/>
 12.1107 -    </target>
 12.1108 -    <target depends="init,-pre-debug-fix,-do-debug-fix" if="netbeans.home" name="debug-fix"/>
 12.1109 -    <!--
 12.1110 -                =================
 12.1111 -                PROFILING SECTION
 12.1112 -                =================
 12.1113 -            -->
 12.1114 -    <!--
 12.1115 -                pre NB7.2 profiler integration
 12.1116 -            -->
 12.1117 -    <target depends="profile-init,compile" description="Profile a project in the IDE." if="profiler.info.jvmargs.agent" name="-profile-pre72">
 12.1118 -        <fail unless="netbeans.home">This target only works when run from inside the NetBeans IDE.</fail>
 12.1119 -        <nbprofiledirect>
 12.1120 -            <classpath>
 12.1121 -                <path path="${run.classpath}"/>
 12.1122 -            </classpath>
 12.1123 -        </nbprofiledirect>
 12.1124 -        <profile/>
 12.1125 -    </target>
 12.1126 -    <target depends="profile-init,compile-single" description="Profile a selected class in the IDE." if="profiler.info.jvmargs.agent" name="-profile-single-pre72">
 12.1127 -        <fail unless="profile.class">Must select one file in the IDE or set profile.class</fail>
 12.1128 -        <fail unless="netbeans.home">This target only works when run from inside the NetBeans IDE.</fail>
 12.1129 -        <nbprofiledirect>
 12.1130 -            <classpath>
 12.1131 -                <path path="${run.classpath}"/>
 12.1132 -            </classpath>
 12.1133 -        </nbprofiledirect>
 12.1134 -        <profile classname="${profile.class}"/>
 12.1135 -    </target>
 12.1136 -    <target depends="profile-init,compile-single" if="profiler.info.jvmargs.agent" name="-profile-applet-pre72">
 12.1137 -        <fail unless="netbeans.home">This target only works when run from inside the NetBeans IDE.</fail>
 12.1138 -        <nbprofiledirect>
 12.1139 -            <classpath>
 12.1140 -                <path path="${run.classpath}"/>
 12.1141 -            </classpath>
 12.1142 -        </nbprofiledirect>
 12.1143 -        <profile classname="sun.applet.AppletViewer">
 12.1144 -            <customize>
 12.1145 -                <arg value="${applet.url}"/>
 12.1146 -            </customize>
 12.1147 -        </profile>
 12.1148 -    </target>
 12.1149 -    <target depends="profile-init,compile-test-single" if="profiler.info.jvmargs.agent" name="-profile-test-single-pre72">
 12.1150 -        <fail unless="netbeans.home">This target only works when run from inside the NetBeans IDE.</fail>
 12.1151 -        <nbprofiledirect>
 12.1152 -            <classpath>
 12.1153 -                <path path="${run.test.classpath}"/>
 12.1154 -            </classpath>
 12.1155 -        </nbprofiledirect>
 12.1156 -        <junit dir="${profiler.info.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" jvm="${profiler.info.jvm}" showoutput="true">
 12.1157 -            <env key="${profiler.info.pathvar}" path="${profiler.info.agentpath}:${profiler.current.path}"/>
 12.1158 -            <jvmarg value="${profiler.info.jvmargs.agent}"/>
 12.1159 -            <jvmarg line="${profiler.info.jvmargs}"/>
 12.1160 -            <test name="${profile.class}"/>
 12.1161 -            <classpath>
 12.1162 -                <path path="${run.test.classpath}"/>
 12.1163 -            </classpath>
 12.1164 -            <syspropertyset>
 12.1165 -                <propertyref prefix="test-sys-prop."/>
 12.1166 -                <mapper from="test-sys-prop.*" to="*" type="glob"/>
 12.1167 -            </syspropertyset>
 12.1168 -            <formatter type="brief" usefile="false"/>
 12.1169 -            <formatter type="xml"/>
 12.1170 -        </junit>
 12.1171 -    </target>
 12.1172 -    <!--
 12.1173 -                end of pre NB72 profiling section
 12.1174 -            -->
 12.1175 -    <target if="netbeans.home" name="-profile-check">
 12.1176 -        <condition property="profiler.configured">
 12.1177 -            <or>
 12.1178 -                <contains casesensitive="true" string="${run.jvmargs.ide}" substring="-agentpath:"/>
 12.1179 -                <contains casesensitive="true" string="${run.jvmargs.ide}" substring="-javaagent:"/>
 12.1180 -            </or>
 12.1181 -        </condition>
 12.1182 -    </target>
 12.1183 -    <target depends="-profile-check,-profile-pre72" description="Profile a project in the IDE." if="profiler.configured" name="profile" unless="profiler.info.jvmargs.agent">
 12.1184 -        <startprofiler/>
 12.1185 -        <antcall target="run"/>
 12.1186 -    </target>
 12.1187 -    <target depends="-profile-check,-profile-single-pre72" description="Profile a selected class in the IDE." if="profiler.configured" name="profile-single" unless="profiler.info.jvmargs.agent">
 12.1188 -        <fail unless="run.class">Must select one file in the IDE or set run.class</fail>
 12.1189 -        <startprofiler/>
 12.1190 -        <antcall target="run-single"/>
 12.1191 -    </target>
 12.1192 -    <target depends="-profile-test-single-pre72" description="Profile a selected test in the IDE." name="profile-test-single"/>
 12.1193 -    <target depends="-profile-check" description="Profile a selected test in the IDE." if="profiler.configured" name="profile-test" unless="profiler.info.jvmargs">
 12.1194 -        <fail unless="test.includes">Must select some files in the IDE or set test.includes</fail>
 12.1195 -        <startprofiler/>
 12.1196 -        <antcall target="test-single"/>
 12.1197 -    </target>
 12.1198 -    <target depends="-profile-check" description="Profile a selected class in the IDE." if="profiler.configured" name="profile-test-with-main">
 12.1199 -        <fail unless="run.class">Must select one file in the IDE or set run.class</fail>
 12.1200 -        <startprofiler/>
 12.1201 -        <antcall target="run-test-with-main"/>
 12.1202 -    </target>
 12.1203 -    <target depends="-profile-check,-profile-applet-pre72" if="profiler.configured" name="profile-applet" unless="profiler.info.jvmargs.agent">
 12.1204 -        <fail unless="applet.url">Must select one file in the IDE or set applet.url</fail>
 12.1205 -        <startprofiler/>
 12.1206 -        <antcall target="run-applet"/>
 12.1207 -    </target>
 12.1208 -    <!--
 12.1209 -                ===============
 12.1210 -                JAVADOC SECTION
 12.1211 -                ===============
 12.1212 -            -->
 12.1213 -    <target depends="init" if="have.sources" name="-javadoc-build">
 12.1214 -        <mkdir dir="${dist.javadoc.dir}"/>
 12.1215 -        <condition else="" property="javadoc.endorsed.classpath.cmd.line.arg" value="-J${endorsed.classpath.cmd.line.arg}">
 12.1216 -            <and>
 12.1217 -                <isset property="endorsed.classpath.cmd.line.arg"/>
 12.1218 -                <not>
 12.1219 -                    <equals arg1="${endorsed.classpath.cmd.line.arg}" arg2=""/>
 12.1220 -                </not>
 12.1221 -            </and>
 12.1222 -        </condition>
 12.1223 -        <condition else="" property="bug5101868workaround" value="*.java">
 12.1224 -            <matches pattern="1\.[56](\..*)?" string="${java.version}"/>
 12.1225 -        </condition>
 12.1226 -        <javadoc additionalparam="-J-Dfile.encoding=${file.encoding} ${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}">
 12.1227 -            <classpath>
 12.1228 -                <path path="${javac.classpath}"/>
 12.1229 -            </classpath>
 12.1230 -            <fileset dir="${src.dir}" excludes="${bug5101868workaround},${excludes}" includes="${includes}">
 12.1231 -                <filename name="**/*.java"/>
 12.1232 -            </fileset>
 12.1233 -            <fileset dir="${build.generated.sources.dir}" erroronmissingdir="false">
 12.1234 -                <include name="**/*.java"/>
 12.1235 -                <exclude name="*.java"/>
 12.1236 -            </fileset>
 12.1237 -            <arg line="${javadoc.endorsed.classpath.cmd.line.arg}"/>
 12.1238 -        </javadoc>
 12.1239 -        <copy todir="${dist.javadoc.dir}">
 12.1240 -            <fileset dir="${src.dir}" excludes="${excludes}" includes="${includes}">
 12.1241 -                <filename name="**/doc-files/**"/>
 12.1242 -            </fileset>
 12.1243 -            <fileset dir="${build.generated.sources.dir}" erroronmissingdir="false">
 12.1244 -                <include name="**/doc-files/**"/>
 12.1245 -            </fileset>
 12.1246 -        </copy>
 12.1247 -    </target>
 12.1248 -    <target depends="init,-javadoc-build" if="netbeans.home" name="-javadoc-browse" unless="no.javadoc.preview">
 12.1249 -        <nbbrowse file="${dist.javadoc.dir}/index.html"/>
 12.1250 -    </target>
 12.1251 -    <target depends="init,-javadoc-build,-javadoc-browse" description="Build Javadoc." name="javadoc"/>
 12.1252 -    <!--
 12.1253 -                =========================
 12.1254 -                TEST COMPILATION SECTION
 12.1255 -                =========================
 12.1256 -            -->
 12.1257 -    <target depends="init,compile" if="have.tests" name="-pre-pre-compile-test">
 12.1258 -        <mkdir dir="${build.test.classes.dir}"/>
 12.1259 -    </target>
 12.1260 -    <target name="-pre-compile-test">
 12.1261 -        <!-- Empty placeholder for easier customization. -->
 12.1262 -        <!-- You can override this target in the ../build.xml file. -->
 12.1263 -    </target>
 12.1264 -    <target if="do.depend.true" name="-compile-test-depend">
 12.1265 -        <j2seproject3:depend classpath="${javac.test.classpath}" destdir="${build.test.classes.dir}" srcdir="${test.src.dir}"/>
 12.1266 -    </target>
 12.1267 -    <target depends="init,deps-jar,compile,-pre-pre-compile-test,-pre-compile-test,-compile-test-depend" if="have.tests" name="-do-compile-test">
 12.1268 -        <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}"/>
 12.1269 -        <copy todir="${build.test.classes.dir}">
 12.1270 -            <fileset dir="${test.src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
 12.1271 -        </copy>
 12.1272 -    </target>
 12.1273 -    <target name="-post-compile-test">
 12.1274 -        <!-- Empty placeholder for easier customization. -->
 12.1275 -        <!-- You can override this target in the ../build.xml file. -->
 12.1276 -    </target>
 12.1277 -    <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test,-do-compile-test,-post-compile-test" name="compile-test"/>
 12.1278 -    <target name="-pre-compile-test-single">
 12.1279 -        <!-- Empty placeholder for easier customization. -->
 12.1280 -        <!-- You can override this target in the ../build.xml file. -->
 12.1281 -    </target>
 12.1282 -    <target depends="init,deps-jar,compile,-pre-pre-compile-test,-pre-compile-test-single" if="have.tests" name="-do-compile-test-single">
 12.1283 -        <fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail>
 12.1284 -        <j2seproject3:force-recompile destdir="${build.test.classes.dir}"/>
 12.1285 -        <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}"/>
 12.1286 -        <copy todir="${build.test.classes.dir}">
 12.1287 -            <fileset dir="${test.src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
 12.1288 -        </copy>
 12.1289 -    </target>
 12.1290 -    <target name="-post-compile-test-single">
 12.1291 -        <!-- Empty placeholder for easier customization. -->
 12.1292 -        <!-- You can override this target in the ../build.xml file. -->
 12.1293 -    </target>
 12.1294 -    <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test-single,-do-compile-test-single,-post-compile-test-single" name="compile-test-single"/>
 12.1295 -    <!--
 12.1296 -                =======================
 12.1297 -                TEST EXECUTION SECTION
 12.1298 -                =======================
 12.1299 -            -->
 12.1300 -    <target depends="init" if="have.tests" name="-pre-test-run">
 12.1301 -        <mkdir dir="${build.test.results.dir}"/>
 12.1302 -    </target>
 12.1303 -    <target depends="init,compile-test,-pre-test-run" if="have.tests" name="-do-test-run">
 12.1304 -        <j2seproject3:test includes="${includes}" testincludes="**/*Test.java"/>
 12.1305 -    </target>
 12.1306 -    <target depends="init,compile-test,-pre-test-run,-do-test-run" if="have.tests" name="-post-test-run">
 12.1307 -        <fail if="tests.failed" unless="ignore.failing.tests">Some tests failed; see details above.</fail>
 12.1308 -    </target>
 12.1309 -    <target depends="init" if="have.tests" name="test-report"/>
 12.1310 -    <target depends="init" if="netbeans.home+have.tests" name="-test-browse"/>
 12.1311 -    <target depends="init,compile-test,-pre-test-run,-do-test-run,test-report,-post-test-run,-test-browse" description="Run unit tests." name="test"/>
 12.1312 -    <target depends="init" if="have.tests" name="-pre-test-run-single">
 12.1313 -        <mkdir dir="${build.test.results.dir}"/>
 12.1314 -    </target>
 12.1315 -    <target depends="init,compile-test-single,-pre-test-run-single" if="have.tests" name="-do-test-run-single">
 12.1316 -        <fail unless="test.includes">Must select some files in the IDE or set test.includes</fail>
 12.1317 -        <j2seproject3:test excludes="" includes="${test.includes}" testincludes="${test.includes}"/>
 12.1318 -    </target>
 12.1319 -    <target depends="init,compile-test-single,-pre-test-run-single,-do-test-run-single" if="have.tests" name="-post-test-run-single">
 12.1320 -        <fail if="tests.failed" unless="ignore.failing.tests">Some tests failed; see details above.</fail>
 12.1321 -    </target>
 12.1322 -    <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"/>
 12.1323 -    <target depends="init,compile-test-single,-pre-test-run-single" if="have.tests" name="-do-test-run-single-method">
 12.1324 -        <fail unless="test.class">Must select some files in the IDE or set test.class</fail>
 12.1325 -        <fail unless="test.method">Must select some method in the IDE or set test.method</fail>
 12.1326 -        <j2seproject3:test excludes="" includes="${javac.includes}" testincludes="${test.class}" testmethods="${test.method}"/>
 12.1327 -    </target>
 12.1328 -    <target depends="init,compile-test-single,-pre-test-run-single,-do-test-run-single-method" if="have.tests" name="-post-test-run-single-method">
 12.1329 -        <fail if="tests.failed" unless="ignore.failing.tests">Some tests failed; see details above.</fail>
 12.1330 -    </target>
 12.1331 -    <target depends="init,compile-test-single,-pre-test-run-single,-do-test-run-single-method,-post-test-run-single-method" description="Run single unit test." name="test-single-method"/>
 12.1332 -    <!--
 12.1333 -                =======================
 12.1334 -                TEST DEBUGGING SECTION
 12.1335 -                =======================
 12.1336 -            -->
 12.1337 -    <target depends="init,compile-test-single,-pre-test-run-single" if="have.tests" name="-debug-start-debuggee-test">
 12.1338 -        <fail unless="test.class">Must select one file in the IDE or set test.class</fail>
 12.1339 -        <j2seproject3:test-debug excludes="" includes="${javac.includes}" testClass="${test.class}" testincludes="${javac.includes}"/>
 12.1340 -    </target>
 12.1341 -    <target depends="init,compile-test-single,-pre-test-run-single" if="have.tests" name="-debug-start-debuggee-test-method">
 12.1342 -        <fail unless="test.class">Must select one file in the IDE or set test.class</fail>
 12.1343 -        <fail unless="test.method">Must select some method in the IDE or set test.method</fail>
 12.1344 -        <j2seproject3:test-debug excludes="" includes="${javac.includes}" testClass="${test.class}" testMethod="${test.method}" testincludes="${test.class}" testmethods="${test.method}"/>
 12.1345 -    </target>
 12.1346 -    <target depends="init,compile-test" if="netbeans.home+have.tests" name="-debug-start-debugger-test">
 12.1347 -        <j2seproject1:nbjpdastart classpath="${debug.test.classpath}" name="${test.class}"/>
 12.1348 -    </target>
 12.1349 -    <target depends="init,compile-test-single,-debug-start-debugger-test,-debug-start-debuggee-test" name="debug-test"/>
 12.1350 -    <target depends="init,compile-test-single,-debug-start-debugger-test,-debug-start-debuggee-test-method" name="debug-test-method"/>
 12.1351 -    <target depends="init,-pre-debug-fix,compile-test-single" if="netbeans.home" name="-do-debug-fix-test">
 12.1352 -        <j2seproject1:nbjpdareload dir="${build.test.classes.dir}"/>
 12.1353 -    </target>
 12.1354 -    <target depends="init,-pre-debug-fix,-do-debug-fix-test" if="netbeans.home" name="debug-fix-test"/>
 12.1355 -    <!--
 12.1356 -                =========================
 12.1357 -                APPLET EXECUTION SECTION
 12.1358 -                =========================
 12.1359 -            -->
 12.1360 -    <target depends="init,compile-single" name="run-applet">
 12.1361 -        <fail unless="applet.url">Must select one file in the IDE or set applet.url</fail>
 12.1362 -        <j2seproject1:java classname="sun.applet.AppletViewer">
 12.1363 -            <customize>
 12.1364 -                <arg value="${applet.url}"/>
 12.1365 -            </customize>
 12.1366 -        </j2seproject1:java>
 12.1367 -    </target>
 12.1368 -    <!--
 12.1369 -                =========================
 12.1370 -                APPLET DEBUGGING  SECTION
 12.1371 -                =========================
 12.1372 -            -->
 12.1373 -    <target depends="init,compile-single" if="netbeans.home" name="-debug-start-debuggee-applet">
 12.1374 -        <fail unless="applet.url">Must select one file in the IDE or set applet.url</fail>
 12.1375 -        <j2seproject3:debug classname="sun.applet.AppletViewer">
 12.1376 -            <customize>
 12.1377 -                <arg value="${applet.url}"/>
 12.1378 -            </customize>
 12.1379 -        </j2seproject3:debug>
 12.1380 -    </target>
 12.1381 -    <target depends="init,compile-single,-debug-start-debugger,-debug-start-debuggee-applet" if="netbeans.home" name="debug-applet"/>
 12.1382 -    <!--
 12.1383 -                ===============
 12.1384 -                CLEANUP SECTION
 12.1385 -                ===============
 12.1386 -            -->
 12.1387 -    <target name="-deps-clean-init" unless="built-clean.properties">
 12.1388 -        <property location="${build.dir}/built-clean.properties" name="built-clean.properties"/>
 12.1389 -        <delete file="${built-clean.properties}" quiet="true"/>
 12.1390 -    </target>
 12.1391 -    <target if="already.built.clean.${basedir}" name="-warn-already-built-clean">
 12.1392 -        <echo level="warn" message="Cycle detected: rozsirene-atributy-jedit was already built"/>
 12.1393 -    </target>
 12.1394 -    <target depends="init,-deps-clean-init" name="deps-clean" unless="no.deps">
 12.1395 -        <mkdir dir="${build.dir}"/>
 12.1396 -        <touch file="${built-clean.properties}" verbose="false"/>
 12.1397 -        <property file="${built-clean.properties}" prefix="already.built.clean."/>
 12.1398 -        <antcall target="-warn-already-built-clean"/>
 12.1399 -        <propertyfile file="${built-clean.properties}">
 12.1400 -            <entry key="${basedir}" value=""/>
 12.1401 -        </propertyfile>
 12.1402 -        <antcall target="-maybe-call-dep">
 12.1403 -            <param name="call.built.properties" value="${built-clean.properties}"/>
 12.1404 -            <param location="${project.rozsirene-atributy}" name="call.subproject"/>
 12.1405 -            <param location="${project.rozsirene-atributy}/build.xml" name="call.script"/>
 12.1406 -            <param name="call.target" value="clean"/>
 12.1407 -            <param name="transfer.built-clean.properties" value="${built-clean.properties}"/>
 12.1408 -            <param name="transfer.not.archive.disabled" value="true"/>
 12.1409 -        </antcall>
 12.1410 -    </target>
 12.1411 -    <target depends="init" name="-do-clean">
 12.1412 -        <delete dir="${build.dir}"/>
 12.1413 -        <delete dir="${dist.dir}" followsymlinks="false" includeemptydirs="true"/>
 12.1414 -    </target>
 12.1415 -    <target name="-post-clean">
 12.1416 -        <!-- Empty placeholder for easier customization. -->
 12.1417 -        <!-- You can override this target in the ../build.xml file. -->
 12.1418 -    </target>
 12.1419 -    <target depends="init,deps-clean,-do-clean,-post-clean" description="Clean build products." name="clean"/>
 12.1420 -    <target name="-check-call-dep">
 12.1421 -        <property file="${call.built.properties}" prefix="already.built."/>
 12.1422 -        <condition property="should.call.dep">
 12.1423 -            <and>
 12.1424 -                <not>
 12.1425 -                    <isset property="already.built.${call.subproject}"/>
 12.1426 -                </not>
 12.1427 -                <available file="${call.script}"/>
 12.1428 -            </and>
 12.1429 -        </condition>
 12.1430 -    </target>
 12.1431 -    <target depends="-check-call-dep" if="should.call.dep" name="-maybe-call-dep">
 12.1432 -        <ant antfile="${call.script}" inheritall="false" target="${call.target}">
 12.1433 -            <propertyset>
 12.1434 -                <propertyref prefix="transfer."/>
 12.1435 -                <mapper from="transfer.*" to="*" type="glob"/>
 12.1436 -            </propertyset>
 12.1437 -        </ant>
 12.1438 -    </target>
 12.1439 -</project>
    13.1 --- a/java/rozsirene-atributy-jedit/nbproject/genfiles.properties	Sat Dec 16 14:48:17 2023 +0100
    13.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    13.3 @@ -1,8 +0,0 @@
    13.4 -build.xml.data.CRC32=7277d265
    13.5 -build.xml.script.CRC32=adeb86a8
    13.6 -build.xml.stylesheet.CRC32=28e38971@1.50.3.46
    13.7 -# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml.
    13.8 -# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you.
    13.9 -nbproject/build-impl.xml.data.CRC32=7277d265
   13.10 -nbproject/build-impl.xml.script.CRC32=ba482802
   13.11 -nbproject/build-impl.xml.stylesheet.CRC32=830a3534@1.80.1.48
    14.1 --- a/java/rozsirene-atributy-jedit/nbproject/project.properties	Sat Dec 16 14:48:17 2023 +0100
    14.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    14.3 @@ -1,87 +0,0 @@
    14.4 -annotation.processing.enabled=true
    14.5 -annotation.processing.enabled.in.editor=false
    14.6 -annotation.processing.processors.list=
    14.7 -annotation.processing.run.all.processors=true
    14.8 -annotation.processing.source.output=${build.generated.sources.dir}/ap-source-output
    14.9 -application.title=rozsirene-atributy-jedit
   14.10 -application.vendor=fiki
   14.11 -build.classes.dir=${build.dir}/classes
   14.12 -build.classes.excludes=**/*.java,**/*.form
   14.13 -# This directory is removed when the project is cleaned:
   14.14 -build.dir=build
   14.15 -build.generated.dir=${build.dir}/generated
   14.16 -build.generated.sources.dir=${build.dir}/generated-sources
   14.17 -# Only compile against the classpath explicitly listed here:
   14.18 -build.sysclasspath=ignore
   14.19 -build.test.classes.dir=${build.dir}/test/classes
   14.20 -build.test.results.dir=${build.dir}/test/results
   14.21 -# Uncomment to specify the preferred debugger connection transport:
   14.22 -#debug.transport=dt_socket
   14.23 -debug.classpath=\
   14.24 -    ${run.classpath}
   14.25 -debug.test.classpath=\
   14.26 -    ${run.test.classpath}
   14.27 -# This directory is removed when the project is cleaned:
   14.28 -dist.dir=dist
   14.29 -dist.jar=${dist.dir}/rozsirene-atributy-jedit.jar
   14.30 -dist.javadoc.dir=${dist.dir}/javadoc
   14.31 -endorsed.classpath=
   14.32 -excludes=
   14.33 -file.reference.jedit.jar=/usr/share/jedit/jedit.jar
   14.34 -includes=**
   14.35 -jar.archive.disabled=${jnlp.enabled}
   14.36 -jar.compress=false
   14.37 -jar.index=${jnlp.enabled}
   14.38 -javac.classpath=\
   14.39 -    ${file.reference.jedit.jar}:\
   14.40 -    ${reference.rozsirene-atributy.jar}
   14.41 -# Space-separated list of extra javac options
   14.42 -javac.compilerargs=
   14.43 -javac.deprecation=false
   14.44 -javac.processorpath=\
   14.45 -    ${javac.classpath}
   14.46 -javac.source=1.7
   14.47 -javac.target=1.7
   14.48 -javac.test.classpath=\
   14.49 -    ${javac.classpath}:\
   14.50 -    ${build.classes.dir}
   14.51 -javac.test.processorpath=\
   14.52 -    ${javac.test.classpath}
   14.53 -javadoc.additionalparam=
   14.54 -javadoc.author=false
   14.55 -javadoc.encoding=${source.encoding}
   14.56 -javadoc.noindex=false
   14.57 -javadoc.nonavbar=false
   14.58 -javadoc.notree=false
   14.59 -javadoc.private=false
   14.60 -javadoc.splitindex=true
   14.61 -javadoc.use=true
   14.62 -javadoc.version=false
   14.63 -javadoc.windowtitle=
   14.64 -jnlp.codebase.type=no.codebase
   14.65 -jnlp.descriptor=application
   14.66 -jnlp.enabled=false
   14.67 -jnlp.mixed.code=default
   14.68 -jnlp.offline-allowed=false
   14.69 -jnlp.signed=false
   14.70 -jnlp.signing=
   14.71 -jnlp.signing.alias=
   14.72 -jnlp.signing.keystore=
   14.73 -meta.inf.dir=${src.dir}/META-INF
   14.74 -mkdist.disabled=true
   14.75 -platform.active=default_platform
   14.76 -project.rozsirene-atributy=../rozsirene-atributy
   14.77 -reference.rozsirene-atributy.jar=${project.rozsirene-atributy}/dist/rozsirene-atributy.jar
   14.78 -run.classpath=\
   14.79 -    ${javac.classpath}:\
   14.80 -    ${build.classes.dir}
   14.81 -# Space-separated list of JVM arguments used when running the project
   14.82 -# (you may also define separate properties like run-sys-prop.name=value instead of -Dname=value
   14.83 -# or test-sys-prop.name=value to set system properties for unit tests):
   14.84 -run.jvmargs=
   14.85 -run.test.classpath=\
   14.86 -    ${javac.test.classpath}:\
   14.87 -    ${build.test.classes.dir}
   14.88 -source.encoding=UTF-8
   14.89 -src.dir=src
   14.90 -test.src.dir=test
    15.1 --- a/java/rozsirene-atributy-jedit/nbproject/project.xml	Sat Dec 16 14:48:17 2023 +0100
    15.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    15.3 @@ -1,25 +0,0 @@
    15.4 -<?xml version="1.0" encoding="UTF-8"?>
    15.5 -<project xmlns="http://www.netbeans.org/ns/project/1">
    15.6 -    <type>org.netbeans.modules.java.j2seproject</type>
    15.7 -    <configuration>
    15.8 -        <data xmlns="http://www.netbeans.org/ns/j2se-project/3">
    15.9 -            <name>rozsirene-atributy-jedit</name>
   15.10 -            <source-roots>
   15.11 -                <root id="src.dir"/>
   15.12 -            </source-roots>
   15.13 -            <test-roots>
   15.14 -                <root id="test.src.dir"/>
   15.15 -            </test-roots>
   15.16 -        </data>
   15.17 -        <references xmlns="http://www.netbeans.org/ns/ant-project-references/1">
   15.18 -            <reference>
   15.19 -                <foreign-project>rozsirene-atributy</foreign-project>
   15.20 -                <artifact-type>jar</artifact-type>
   15.21 -                <script>build.xml</script>
   15.22 -                <target>jar</target>
   15.23 -                <clean-target>clean</clean-target>
   15.24 -                <id>jar</id>
   15.25 -            </reference>
   15.26 -        </references>
   15.27 -    </configuration>
   15.28 -</project>
    16.1 --- a/java/rozsirene-atributy-jedit/src/RozsireneAtributy.props	Sat Dec 16 14:48:17 2023 +0100
    16.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    16.3 @@ -1,21 +0,0 @@
    16.4 -plugin.cz.frantovo.rozsireneAtributy.jedit.Plugin.activate=defer
    16.5 -plugin.cz.frantovo.rozsireneAtributy.jedit.Plugin.name=Roz\u0161\u00ed\u0159en\u00e9 atributy
    16.6 -plugin.cz.frantovo.rozsireneAtributy.jedit.Plugin.author=Franti\u0161ek Ku\u010dera
    16.7 -plugin.cz.frantovo.rozsireneAtributy.jedit.Plugin.version=0.1
    16.8 -
    16.9 -plugin.cz.frantovo.rozsireneAtributy.jedit.Plugin.depend.0=jedit 04.00.00.00
   16.10 -#Pot\u0159eba kv\u016fli API pro pr\u00e1ci s roz\u0161\u00ed\u0159en\u00fdmi atributy soubor\u016f
   16.11 -plugin.cz.frantovo.rozsireneAtributy.jedit.Plugin.depend.1=jdk 1.7
   16.12 -plugin.cz.frantovo.rozsireneAtributy.jedit.Plugin.description=Slou\u017e\u00ed k zobrazov\u00e1n\u00ed a editaci roz\u0161\u00ed\u0159en\u00fdch atribut\u016f upravovan\u00e9ho souboru.
   16.13 -plugin.cz.frantovo.rozsireneAtributy.jedit.Plugin.usePluginHome=true
   16.14 -
   16.15 -rozsireneAtributy-panel.name.label=Roz\u0161\u00ed\u0159en\u00e9 atributy 1
   16.16 -#N\u00e1zev panelu
   16.17 -rozsireneAtributy-panel.title=Roz\u0161\u00ed\u0159en\u00e9 atributy
   16.18 -
   16.19 -plugin.cz.frantovo.rozsireneAtributy.jedit.Plugin.menu=rozsireneAtributy-zobrazit
   16.20 -
   16.21 -
   16.22 -rozsireneAtributy.label=Roz\u0161\u00ed\u0159en\u00e9 atributy 4
   16.23 -#Polo\u017eka v nab\u00eddce
   16.24 -rozsireneAtributy-zobrazit.label=Zobrazit panel
    17.1 --- a/java/rozsirene-atributy-jedit/src/actions.xml	Sat Dec 16 14:48:17 2023 +0100
    17.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    17.3 @@ -1,8 +0,0 @@
    17.4 -<!DOCTYPE ACTIONS SYSTEM "actions.dtd">
    17.5 -<ACTIONS>
    17.6 -	<ACTION NAME="rozsireneAtributy-zobrazit">
    17.7 -		<CODE>
    17.8 -			wm.addDockableWindow("rozsireneAtributy-panel");
    17.9 -		</CODE>
   17.10 -	</ACTION>
   17.11 -</ACTIONS>
   17.12 \ No newline at end of file
    18.1 --- a/java/rozsirene-atributy-jedit/src/cz/frantovo/rozsireneAtributy/jedit/DokovatelnyPanel.java	Sat Dec 16 14:48:17 2023 +0100
    18.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    18.3 @@ -1,140 +0,0 @@
    18.4 -/**
    18.5 - * Rozšířené atributy – program na správu rozšířených atributů souborů
    18.6 - * Copyright © 2012 František Kučera (frantovo.cz)
    18.7 - *
    18.8 - * This program is free software: you can redistribute it and/or modify
    18.9 - * it under the terms of the GNU General Public License as published by
   18.10 - * the Free Software Foundation, either version 3 of the License.
   18.11 - *
   18.12 - * This program is distributed in the hope that it will be useful,
   18.13 - * but WITHOUT ANY WARRANTY; without even the implied warranty of
   18.14 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
   18.15 - * GNU General Public License for more details.
   18.16 - *
   18.17 - * You should have received a copy of the GNU General Public License
   18.18 - * along with this program. If not, see <http://www.gnu.org/licenses/>.
   18.19 - */
   18.20 -package cz.frantovo.rozsireneAtributy.jedit;
   18.21 -
   18.22 -import cz.frantovo.rozsireneAtributy.gui.Model;
   18.23 -import cz.frantovo.rozsireneAtributy.gui.Panel;
   18.24 -import java.awt.BorderLayout;
   18.25 -import java.io.File;
   18.26 -import java.io.IOException;
   18.27 -import java.util.logging.Level;
   18.28 -import java.util.logging.Logger;
   18.29 -import javax.swing.JOptionPane;
   18.30 -import javax.swing.JPanel;
   18.31 -import org.gjt.sp.jedit.Buffer;
   18.32 -import org.gjt.sp.jedit.EBComponent;
   18.33 -import org.gjt.sp.jedit.EBMessage;
   18.34 -import org.gjt.sp.jedit.EditBus;
   18.35 -import org.gjt.sp.jedit.View;
   18.36 -import org.gjt.sp.jedit.msg.EditPaneUpdate;
   18.37 -
   18.38 -/**
   18.39 - *
   18.40 - * @author Ing. František Kučera (frantovo.cz)
   18.41 - */
   18.42 -public class DokovatelnyPanel extends JPanel implements EBComponent {
   18.43 -
   18.44 -	private static final Logger log = Logger
   18.45 -		.getLogger(DokovatelnyPanel.class.getName());
   18.46 -	private View view;
   18.47 -	private Panel panel;
   18.48 -
   18.49 -	public DokovatelnyPanel(final View view, final String position) {
   18.50 -		this.view = view;
   18.51 -		setLayout(new BorderLayout());
   18.52 -		změňSoubor(view.getBuffer(), false);
   18.53 -	}
   18.54 -
   18.55 -	/**
   18.56 -	 * Zaregistrujeme se, aby nám chodily události editoru.
   18.57 -	 */
   18.58 -	@Override
   18.59 -	public void addNotify() {
   18.60 -		super.addNotify();
   18.61 -		EditBus.addToBus(this);
   18.62 -	}
   18.63 -
   18.64 -	/**
   18.65 -	 * @see #addNotify()
   18.66 -	 */
   18.67 -	@Override
   18.68 -	public void removeNotify() {
   18.69 -		super.removeNotify();
   18.70 -		EditBus.removeFromBus(this);
   18.71 -	}
   18.72 -
   18.73 -	/**
   18.74 -	 * Zpracujeme události editoru. Zajímá nás přepnutí na jiný soubor – abychom
   18.75 -	 * pro něj zobrazili atributy.
   18.76 -	 *
   18.77 -	 * @param událost událost editoru
   18.78 -	 */
   18.79 -	@Override
   18.80 -	public void handleMessage(EBMessage událost) {
   18.81 -		try {
   18.82 -			if (událost instanceof EditPaneUpdate) {
   18.83 -				EditPaneUpdate epu = (EditPaneUpdate) událost;
   18.84 -				// Chodí nám všechny události
   18.85 -				// – potřebujeme filtrovat jen ty pro naše okno.
   18.86 -				if (view == epu.getEditPane().getView()) {
   18.87 -					// zajímá nás jen přepnutí souboru
   18.88 -					if (epu.getWhat() == EditPaneUpdate.BUFFER_CHANGED) {
   18.89 -						/**
   18.90 -						 * TODO: je soubor nově otevřený?
   18.91 -						 */
   18.92 -						změňSoubor(view.getBuffer(),
   18.93 -							epu.getWhat() == EditPaneUpdate.CREATED);
   18.94 -					}
   18.95 -				}
   18.96 -			}
   18.97 -			// událost instanceof BufferUpdate
   18.98 -			// událost instanceof PropertiesChanged
   18.99 -		} catch (Exception e) {
  18.100 -			log.log(Level.WARNING, "Chyba při zpracování: " + událost, e);
  18.101 -		}
  18.102 -
  18.103 -	}
  18.104 -
  18.105 -	private void změňSoubor(Buffer b, boolean využijAtributy) {
  18.106 -		try {
  18.107 -			File s = new File(b.getPath());
  18.108 -
  18.109 -			if (s.isFile() && s.canRead()) {
  18.110 -				Model m = new Model(s);
  18.111 -
  18.112 -				if (panel == null) {
  18.113 -					panel = new Panel(m);
  18.114 -					removeAll();
  18.115 -					add(panel, BorderLayout.CENTER);
  18.116 -				} else {
  18.117 -					panel.setModel(m);
  18.118 -				}
  18.119 -
  18.120 -				if (využijAtributy) {
  18.121 -					využijAtributy(m, b);
  18.122 -				}
  18.123 -
  18.124 -			} else {
  18.125 -				// TODO: zobrazit chybu
  18.126 -				log.log(Level.WARNING,
  18.127 -					"Soubor neexistuje nebo nemáme práva na čtení: {0}", s);
  18.128 -			}
  18.129 -		} catch (IOException e) {
  18.130 -			log.log(Level.WARNING, "Chyba při změně souboru.", e);
  18.131 -		}
  18.132 -	}
  18.133 -
  18.134 -	/**
  18.135 -	 * Nastaví jEdit podle atributů daného souboru: - odsazování - kódování
  18.136 -	 *
  18.137 -	 * @param m model obsahující atributy
  18.138 -	 * @param b soubor otevřený v editoru
  18.139 -	 */
  18.140 -	private void využijAtributy(Model m, Buffer b) {
  18.141 -		JOptionPane.showMessageDialog(panel, "Nový soubor!");
  18.142 -	}
  18.143 -}
    19.1 --- a/java/rozsirene-atributy-jedit/src/cz/frantovo/rozsireneAtributy/jedit/Plugin.java	Sat Dec 16 14:48:17 2023 +0100
    19.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    19.3 @@ -1,42 +0,0 @@
    19.4 -/**
    19.5 - * Rozšířené atributy – program na správu rozšířených atributů souborů
    19.6 - * Copyright © 2012 František Kučera (frantovo.cz)
    19.7 - * 
    19.8 - * This program is free software: you can redistribute it and/or modify
    19.9 - * it under the terms of the GNU General Public License as published by
   19.10 - * the Free Software Foundation, either version 3 of the License.
   19.11 - * 
   19.12 - * This program is distributed in the hope that it will be useful,
   19.13 - * but WITHOUT ANY WARRANTY; without even the implied warranty of
   19.14 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   19.15 - * GNU General Public License for more details.
   19.16 - * 
   19.17 - * You should have received a copy of the GNU General Public License
   19.18 - * along with this program.  If not, see <http://www.gnu.org/licenses/>.
   19.19 - */
   19.20 -package cz.frantovo.rozsireneAtributy.jedit;
   19.21 -
   19.22 -import org.gjt.sp.jedit.EBMessage;
   19.23 -import org.gjt.sp.jedit.EBPlugin;
   19.24 -
   19.25 -/**
   19.26 - *
   19.27 - * @author Ing. František Kučera (frantovo.cz)
   19.28 - */
   19.29 -public class Plugin extends EBPlugin {
   19.30 -
   19.31 -	@Override
   19.32 -	public void start() {
   19.33 -		super.start();
   19.34 -	}
   19.35 -
   19.36 -	@Override
   19.37 -	public void stop() {
   19.38 -		super.stop();
   19.39 -	}
   19.40 -
   19.41 -	@Override
   19.42 -	public void handleMessage(EBMessage message) {
   19.43 -		super.handleMessage(message);
   19.44 -	}
   19.45 -}
    20.1 --- a/java/rozsirene-atributy-jedit/src/dockables.xml	Sat Dec 16 14:48:17 2023 +0100
    20.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    20.3 @@ -1,7 +0,0 @@
    20.4 -<?xml version="1.0" encoding="UTF-8"?>
    20.5 -<!DOCTYPE DOCKABLES SYSTEM "dockables.dtd">
    20.6 -<DOCKABLES>
    20.7 -  <DOCKABLE NAME="rozsireneAtributy-panel">
    20.8 -    new cz.frantovo.rozsireneAtributy.jedit.DokovatelnyPanel(view, position);
    20.9 -  </DOCKABLE>
   20.10 -</DOCKABLES>