Doplněk pro jEdit – základ. v_0
authorFrantišek Kučera <franta-hg@frantovo.cz>
Sat, 18 Aug 2012 13:22:45 +0200
branchv_0
changeset 186864cc4e6027
parent 17 bdae9cab5797
child 19 adea235f456a
Doplněk pro jEdit – základ.
.hgignore
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
java/rozsirene-atributy/nbproject/build-impl.xml
java/rozsirene-atributy/nbproject/genfiles.properties
     1.1 --- a/.hgignore	Fri Dec 30 12:37:30 2011 +0100
     1.2 +++ b/.hgignore	Sat Aug 18 13:22:45 2012 +0200
     1.3 @@ -1,3 +1,7 @@
     1.4  java/rozsirene-atributy/dist/*
     1.5  java/rozsirene-atributy/build/*
     1.6  java/rozsirene-atributy/nbproject/private/*
     1.7 +
     1.8 +java/rozsirene-atributy-jedit/dist/*
     1.9 +java/rozsirene-atributy-jedit/build/*
    1.10 +java/rozsirene-atributy-jedit/nbproject/private/*
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/java/rozsirene-atributy-jedit/nbproject/build-impl.xml	Sat Aug 18 13:22:45 2012 +0200
     2.3 @@ -0,0 +1,1067 @@
     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 +  - junit compilation
    2.19 +  - junit execution
    2.20 +  - junit 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.4"/>
    2.53 +        <property name="default.javac.target" value="1.4"/>
    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 +        <available file="${manifest.file}" property="manifest.available"/>
    2.61 +        <condition property="splashscreen.available">
    2.62 +            <and>
    2.63 +                <not>
    2.64 +                    <equals arg1="${application.splash}" arg2="" trim="true"/>
    2.65 +                </not>
    2.66 +                <available file="${application.splash}"/>
    2.67 +            </and>
    2.68 +        </condition>
    2.69 +        <condition property="main.class.available">
    2.70 +            <and>
    2.71 +                <isset property="main.class"/>
    2.72 +                <not>
    2.73 +                    <equals arg1="${main.class}" arg2="" trim="true"/>
    2.74 +                </not>
    2.75 +            </and>
    2.76 +        </condition>
    2.77 +        <condition property="manifest.available+main.class">
    2.78 +            <and>
    2.79 +                <isset property="manifest.available"/>
    2.80 +                <isset property="main.class.available"/>
    2.81 +            </and>
    2.82 +        </condition>
    2.83 +        <condition property="do.archive">
    2.84 +            <not>
    2.85 +                <istrue value="${jar.archive.disabled}"/>
    2.86 +            </not>
    2.87 +        </condition>
    2.88 +        <condition property="do.mkdist">
    2.89 +            <and>
    2.90 +                <isset property="do.archive"/>
    2.91 +                <isset property="libs.CopyLibs.classpath"/>
    2.92 +                <not>
    2.93 +                    <istrue value="${mkdist.disabled}"/>
    2.94 +                </not>
    2.95 +            </and>
    2.96 +        </condition>
    2.97 +        <condition property="manifest.available+main.class+mkdist.available">
    2.98 +            <and>
    2.99 +                <istrue value="${manifest.available+main.class}"/>
   2.100 +                <isset property="do.mkdist"/>
   2.101 +            </and>
   2.102 +        </condition>
   2.103 +        <condition property="do.archive+manifest.available">
   2.104 +            <and>
   2.105 +                <isset property="manifest.available"/>
   2.106 +                <istrue value="${do.archive}"/>
   2.107 +            </and>
   2.108 +        </condition>
   2.109 +        <condition property="do.archive+main.class.available">
   2.110 +            <and>
   2.111 +                <isset property="main.class.available"/>
   2.112 +                <istrue value="${do.archive}"/>
   2.113 +            </and>
   2.114 +        </condition>
   2.115 +        <condition property="do.archive+splashscreen.available">
   2.116 +            <and>
   2.117 +                <isset property="splashscreen.available"/>
   2.118 +                <istrue value="${do.archive}"/>
   2.119 +            </and>
   2.120 +        </condition>
   2.121 +        <condition property="do.archive+manifest.available+main.class">
   2.122 +            <and>
   2.123 +                <istrue value="${manifest.available+main.class}"/>
   2.124 +                <istrue value="${do.archive}"/>
   2.125 +            </and>
   2.126 +        </condition>
   2.127 +        <condition property="manifest.available-mkdist.available">
   2.128 +            <or>
   2.129 +                <istrue value="${manifest.available}"/>
   2.130 +                <isset property="do.mkdist"/>
   2.131 +            </or>
   2.132 +        </condition>
   2.133 +        <condition property="manifest.available+main.class-mkdist.available">
   2.134 +            <or>
   2.135 +                <istrue value="${manifest.available+main.class}"/>
   2.136 +                <isset property="do.mkdist"/>
   2.137 +            </or>
   2.138 +        </condition>
   2.139 +        <condition property="have.tests">
   2.140 +            <or>
   2.141 +                <available file="${test.src.dir}"/>
   2.142 +            </or>
   2.143 +        </condition>
   2.144 +        <condition property="have.sources">
   2.145 +            <or>
   2.146 +                <available file="${src.dir}"/>
   2.147 +            </or>
   2.148 +        </condition>
   2.149 +        <condition property="netbeans.home+have.tests">
   2.150 +            <and>
   2.151 +                <isset property="netbeans.home"/>
   2.152 +                <isset property="have.tests"/>
   2.153 +            </and>
   2.154 +        </condition>
   2.155 +        <condition property="no.javadoc.preview">
   2.156 +            <and>
   2.157 +                <isset property="javadoc.preview"/>
   2.158 +                <isfalse value="${javadoc.preview}"/>
   2.159 +            </and>
   2.160 +        </condition>
   2.161 +        <property name="run.jvmargs" value=""/>
   2.162 +        <property name="javac.compilerargs" value=""/>
   2.163 +        <property name="work.dir" value="${basedir}"/>
   2.164 +        <condition property="no.deps">
   2.165 +            <and>
   2.166 +                <istrue value="${no.dependencies}"/>
   2.167 +            </and>
   2.168 +        </condition>
   2.169 +        <property name="javac.debug" value="true"/>
   2.170 +        <property name="javadoc.preview" value="true"/>
   2.171 +        <property name="application.args" value=""/>
   2.172 +        <property name="source.encoding" value="${file.encoding}"/>
   2.173 +        <property name="runtime.encoding" value="${source.encoding}"/>
   2.174 +        <condition property="javadoc.encoding.used" value="${javadoc.encoding}">
   2.175 +            <and>
   2.176 +                <isset property="javadoc.encoding"/>
   2.177 +                <not>
   2.178 +                    <equals arg1="${javadoc.encoding}" arg2=""/>
   2.179 +                </not>
   2.180 +            </and>
   2.181 +        </condition>
   2.182 +        <property name="javadoc.encoding.used" value="${source.encoding}"/>
   2.183 +        <property name="includes" value="**"/>
   2.184 +        <property name="excludes" value=""/>
   2.185 +        <property name="do.depend" value="false"/>
   2.186 +        <condition property="do.depend.true">
   2.187 +            <istrue value="${do.depend}"/>
   2.188 +        </condition>
   2.189 +        <path id="endorsed.classpath.path" path="${endorsed.classpath}"/>
   2.190 +        <condition else="" property="endorsed.classpath.cmd.line.arg" value="-Xbootclasspath/p:'${toString:endorsed.classpath.path}'">
   2.191 +            <length length="0" string="${endorsed.classpath}" when="greater"/>
   2.192 +        </condition>
   2.193 +        <condition else="false" property="jdkBug6558476">
   2.194 +            <and>
   2.195 +                <matches pattern="1\.[56]" string="${java.specification.version}"/>
   2.196 +                <not>
   2.197 +                    <os family="unix"/>
   2.198 +                </not>
   2.199 +            </and>
   2.200 +        </condition>
   2.201 +        <property name="javac.fork" value="${jdkBug6558476}"/>
   2.202 +        <property name="jar.index" value="false"/>
   2.203 +        <property name="jar.index.metainf" value="${jar.index}"/>
   2.204 +        <property name="copylibs.rebase" value="true"/>
   2.205 +        <available file="${meta.inf.dir}/persistence.xml" property="has.persistence.xml"/>
   2.206 +    </target>
   2.207 +    <target name="-post-init">
   2.208 +        <!-- Empty placeholder for easier customization. -->
   2.209 +        <!-- You can override this target in the ../build.xml file. -->
   2.210 +    </target>
   2.211 +    <target depends="-pre-init,-init-private,-init-user,-init-project,-do-init" name="-init-check">
   2.212 +        <fail unless="src.dir">Must set src.dir</fail>
   2.213 +        <fail unless="test.src.dir">Must set test.src.dir</fail>
   2.214 +        <fail unless="build.dir">Must set build.dir</fail>
   2.215 +        <fail unless="dist.dir">Must set dist.dir</fail>
   2.216 +        <fail unless="build.classes.dir">Must set build.classes.dir</fail>
   2.217 +        <fail unless="dist.javadoc.dir">Must set dist.javadoc.dir</fail>
   2.218 +        <fail unless="build.test.classes.dir">Must set build.test.classes.dir</fail>
   2.219 +        <fail unless="build.test.results.dir">Must set build.test.results.dir</fail>
   2.220 +        <fail unless="build.classes.excludes">Must set build.classes.excludes</fail>
   2.221 +        <fail unless="dist.jar">Must set dist.jar</fail>
   2.222 +    </target>
   2.223 +    <target name="-init-macrodef-property">
   2.224 +        <macrodef name="property" uri="http://www.netbeans.org/ns/j2se-project/1">
   2.225 +            <attribute name="name"/>
   2.226 +            <attribute name="value"/>
   2.227 +            <sequential>
   2.228 +                <property name="@{name}" value="${@{value}}"/>
   2.229 +            </sequential>
   2.230 +        </macrodef>
   2.231 +    </target>
   2.232 +    <target depends="-init-ap-cmdline-properties" if="ap.supported.internal" name="-init-macrodef-javac-with-processors">
   2.233 +        <macrodef name="javac" uri="http://www.netbeans.org/ns/j2se-project/3">
   2.234 +            <attribute default="${src.dir}" name="srcdir"/>
   2.235 +            <attribute default="${build.classes.dir}" name="destdir"/>
   2.236 +            <attribute default="${javac.classpath}" name="classpath"/>
   2.237 +            <attribute default="${javac.processorpath}" name="processorpath"/>
   2.238 +            <attribute default="${build.generated.sources.dir}/ap-source-output" name="apgeneratedsrcdir"/>
   2.239 +            <attribute default="${includes}" name="includes"/>
   2.240 +            <attribute default="${excludes}" name="excludes"/>
   2.241 +            <attribute default="${javac.debug}" name="debug"/>
   2.242 +            <attribute default="${empty.dir}" name="sourcepath"/>
   2.243 +            <attribute default="${empty.dir}" name="gensrcdir"/>
   2.244 +            <element name="customize" optional="true"/>
   2.245 +            <sequential>
   2.246 +                <property location="${build.dir}/empty" name="empty.dir"/>
   2.247 +                <mkdir dir="${empty.dir}"/>
   2.248 +                <mkdir dir="@{apgeneratedsrcdir}"/>
   2.249 +                <javac debug="@{debug}" deprecation="${javac.deprecation}" destdir="@{destdir}" encoding="${source.encoding}" excludes="@{excludes}" fork="${javac.fork}" includeantruntime="false" includes="@{includes}" source="${javac.source}" sourcepath="@{sourcepath}" srcdir="@{srcdir}" target="${javac.target}" tempdir="${java.io.tmpdir}">
   2.250 +                    <src>
   2.251 +                        <dirset dir="@{gensrcdir}" erroronmissingdir="false">
   2.252 +                            <include name="*"/>
   2.253 +                        </dirset>
   2.254 +                    </src>
   2.255 +                    <classpath>
   2.256 +                        <path path="@{classpath}"/>
   2.257 +                    </classpath>
   2.258 +                    <compilerarg line="${endorsed.classpath.cmd.line.arg}"/>
   2.259 +                    <compilerarg line="${javac.compilerargs}"/>
   2.260 +                    <compilerarg value="-processorpath"/>
   2.261 +                    <compilerarg path="@{processorpath}:${empty.dir}"/>
   2.262 +                    <compilerarg line="${ap.processors.internal}"/>
   2.263 +                    <compilerarg line="${annotation.processing.processor.options}"/>
   2.264 +                    <compilerarg value="-s"/>
   2.265 +                    <compilerarg path="@{apgeneratedsrcdir}"/>
   2.266 +                    <compilerarg line="${ap.proc.none.internal}"/>
   2.267 +                    <customize/>
   2.268 +                </javac>
   2.269 +            </sequential>
   2.270 +        </macrodef>
   2.271 +    </target>
   2.272 +    <target depends="-init-ap-cmdline-properties" name="-init-macrodef-javac-without-processors" unless="ap.supported.internal">
   2.273 +        <macrodef name="javac" uri="http://www.netbeans.org/ns/j2se-project/3">
   2.274 +            <attribute default="${src.dir}" name="srcdir"/>
   2.275 +            <attribute default="${build.classes.dir}" name="destdir"/>
   2.276 +            <attribute default="${javac.classpath}" name="classpath"/>
   2.277 +            <attribute default="${javac.processorpath}" name="processorpath"/>
   2.278 +            <attribute default="${build.generated.sources.dir}/ap-source-output" name="apgeneratedsrcdir"/>
   2.279 +            <attribute default="${includes}" name="includes"/>
   2.280 +            <attribute default="${excludes}" name="excludes"/>
   2.281 +            <attribute default="${javac.debug}" name="debug"/>
   2.282 +            <attribute default="${empty.dir}" name="sourcepath"/>
   2.283 +            <attribute default="${empty.dir}" name="gensrcdir"/>
   2.284 +            <element name="customize" optional="true"/>
   2.285 +            <sequential>
   2.286 +                <property location="${build.dir}/empty" name="empty.dir"/>
   2.287 +                <mkdir dir="${empty.dir}"/>
   2.288 +                <javac debug="@{debug}" deprecation="${javac.deprecation}" destdir="@{destdir}" encoding="${source.encoding}" excludes="@{excludes}" fork="${javac.fork}" includeantruntime="false" includes="@{includes}" source="${javac.source}" sourcepath="@{sourcepath}" srcdir="@{srcdir}" target="${javac.target}" tempdir="${java.io.tmpdir}">
   2.289 +                    <src>
   2.290 +                        <dirset dir="@{gensrcdir}" erroronmissingdir="false">
   2.291 +                            <include name="*"/>
   2.292 +                        </dirset>
   2.293 +                    </src>
   2.294 +                    <classpath>
   2.295 +                        <path path="@{classpath}"/>
   2.296 +                    </classpath>
   2.297 +                    <compilerarg line="${endorsed.classpath.cmd.line.arg}"/>
   2.298 +                    <compilerarg line="${javac.compilerargs}"/>
   2.299 +                    <customize/>
   2.300 +                </javac>
   2.301 +            </sequential>
   2.302 +        </macrodef>
   2.303 +    </target>
   2.304 +    <target depends="-init-macrodef-javac-with-processors,-init-macrodef-javac-without-processors" name="-init-macrodef-javac">
   2.305 +        <macrodef name="depend" uri="http://www.netbeans.org/ns/j2se-project/3">
   2.306 +            <attribute default="${src.dir}" name="srcdir"/>
   2.307 +            <attribute default="${build.classes.dir}" name="destdir"/>
   2.308 +            <attribute default="${javac.classpath}" name="classpath"/>
   2.309 +            <sequential>
   2.310 +                <depend cache="${build.dir}/depcache" destdir="@{destdir}" excludes="${excludes}" includes="${includes}" srcdir="@{srcdir}">
   2.311 +                    <classpath>
   2.312 +                        <path path="@{classpath}"/>
   2.313 +                    </classpath>
   2.314 +                </depend>
   2.315 +            </sequential>
   2.316 +        </macrodef>
   2.317 +        <macrodef name="force-recompile" uri="http://www.netbeans.org/ns/j2se-project/3">
   2.318 +            <attribute default="${build.classes.dir}" name="destdir"/>
   2.319 +            <sequential>
   2.320 +                <fail unless="javac.includes">Must set javac.includes</fail>
   2.321 +                <pathconvert pathsep="${line.separator}" property="javac.includes.binary">
   2.322 +                    <path>
   2.323 +                        <filelist dir="@{destdir}" files="${javac.includes}"/>
   2.324 +                    </path>
   2.325 +                    <globmapper from="*.java" to="*.class"/>
   2.326 +                </pathconvert>
   2.327 +                <tempfile deleteonexit="true" property="javac.includesfile.binary"/>
   2.328 +                <echo file="${javac.includesfile.binary}" message="${javac.includes.binary}"/>
   2.329 +                <delete>
   2.330 +                    <files includesfile="${javac.includesfile.binary}"/>
   2.331 +                </delete>
   2.332 +                <delete>
   2.333 +                    <fileset file="${javac.includesfile.binary}"/>
   2.334 +                </delete>
   2.335 +            </sequential>
   2.336 +        </macrodef>
   2.337 +    </target>
   2.338 +    <target name="-init-macrodef-junit">
   2.339 +        <macrodef name="junit" uri="http://www.netbeans.org/ns/j2se-project/3">
   2.340 +            <attribute default="${includes}" name="includes"/>
   2.341 +            <attribute default="${excludes}" name="excludes"/>
   2.342 +            <attribute default="**" name="testincludes"/>
   2.343 +            <sequential>
   2.344 +                <property name="junit.forkmode" value="perTest"/>
   2.345 +                <junit dir="${work.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" forkmode="${junit.forkmode}" showoutput="true" tempdir="${build.dir}">
   2.346 +                    <batchtest todir="${build.test.results.dir}">
   2.347 +                        <fileset dir="${test.src.dir}" excludes="@{excludes},${excludes}" includes="@{includes}">
   2.348 +                            <filename name="@{testincludes}"/>
   2.349 +                        </fileset>
   2.350 +                    </batchtest>
   2.351 +                    <classpath>
   2.352 +                        <path path="${run.test.classpath}"/>
   2.353 +                    </classpath>
   2.354 +                    <syspropertyset>
   2.355 +                        <propertyref prefix="test-sys-prop."/>
   2.356 +                        <mapper from="test-sys-prop.*" to="*" type="glob"/>
   2.357 +                    </syspropertyset>
   2.358 +                    <formatter type="brief" usefile="false"/>
   2.359 +                    <formatter type="xml"/>
   2.360 +                    <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
   2.361 +                    <jvmarg value="-ea"/>
   2.362 +                    <jvmarg line="${run.jvmargs}"/>
   2.363 +                </junit>
   2.364 +            </sequential>
   2.365 +        </macrodef>
   2.366 +    </target>
   2.367 +    <target depends="-profile-pre-init, init, -profile-post-init, -profile-init-macrodef-profile, -profile-init-check" name="profile-init"/>
   2.368 +    <target name="-profile-pre-init">
   2.369 +        <!-- Empty placeholder for easier customization. -->
   2.370 +        <!-- You can override this target in the ../build.xml file. -->
   2.371 +    </target>
   2.372 +    <target name="-profile-post-init">
   2.373 +        <!-- Empty placeholder for easier customization. -->
   2.374 +        <!-- You can override this target in the ../build.xml file. -->
   2.375 +    </target>
   2.376 +    <target name="-profile-init-macrodef-profile">
   2.377 +        <macrodef name="resolve">
   2.378 +            <attribute name="name"/>
   2.379 +            <attribute name="value"/>
   2.380 +            <sequential>
   2.381 +                <property name="@{name}" value="${env.@{value}}"/>
   2.382 +            </sequential>
   2.383 +        </macrodef>
   2.384 +        <macrodef name="profile">
   2.385 +            <attribute default="${main.class}" name="classname"/>
   2.386 +            <element name="customize" optional="true"/>
   2.387 +            <sequential>
   2.388 +                <property environment="env"/>
   2.389 +                <resolve name="profiler.current.path" value="${profiler.info.pathvar}"/>
   2.390 +                <java classname="@{classname}" dir="${profiler.info.dir}" fork="true" jvm="${profiler.info.jvm}">
   2.391 +                    <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
   2.392 +                    <jvmarg value="${profiler.info.jvmargs.agent}"/>
   2.393 +                    <jvmarg line="${profiler.info.jvmargs}"/>
   2.394 +                    <env key="${profiler.info.pathvar}" path="${profiler.info.agentpath}:${profiler.current.path}"/>
   2.395 +                    <arg line="${application.args}"/>
   2.396 +                    <classpath>
   2.397 +                        <path path="${run.classpath}"/>
   2.398 +                    </classpath>
   2.399 +                    <syspropertyset>
   2.400 +                        <propertyref prefix="run-sys-prop."/>
   2.401 +                        <mapper from="run-sys-prop.*" to="*" type="glob"/>
   2.402 +                    </syspropertyset>
   2.403 +                    <customize/>
   2.404 +                </java>
   2.405 +            </sequential>
   2.406 +        </macrodef>
   2.407 +    </target>
   2.408 +    <target depends="-profile-pre-init, init, -profile-post-init, -profile-init-macrodef-profile" name="-profile-init-check">
   2.409 +        <fail unless="profiler.info.jvm">Must set JVM to use for profiling in profiler.info.jvm</fail>
   2.410 +        <fail unless="profiler.info.jvmargs.agent">Must set profiler agent JVM arguments in profiler.info.jvmargs.agent</fail>
   2.411 +    </target>
   2.412 +    <target depends="-init-debug-args" name="-init-macrodef-nbjpda">
   2.413 +        <macrodef name="nbjpdastart" uri="http://www.netbeans.org/ns/j2se-project/1">
   2.414 +            <attribute default="${main.class}" name="name"/>
   2.415 +            <attribute default="${debug.classpath}" name="classpath"/>
   2.416 +            <attribute default="" name="stopclassname"/>
   2.417 +            <sequential>
   2.418 +                <nbjpdastart addressproperty="jpda.address" name="@{name}" stopclassname="@{stopclassname}" transport="${debug-transport}">
   2.419 +                    <classpath>
   2.420 +                        <path path="@{classpath}"/>
   2.421 +                    </classpath>
   2.422 +                </nbjpdastart>
   2.423 +            </sequential>
   2.424 +        </macrodef>
   2.425 +        <macrodef name="nbjpdareload" uri="http://www.netbeans.org/ns/j2se-project/1">
   2.426 +            <attribute default="${build.classes.dir}" name="dir"/>
   2.427 +            <sequential>
   2.428 +                <nbjpdareload>
   2.429 +                    <fileset dir="@{dir}" includes="${fix.classes}">
   2.430 +                        <include name="${fix.includes}*.class"/>
   2.431 +                    </fileset>
   2.432 +                </nbjpdareload>
   2.433 +            </sequential>
   2.434 +        </macrodef>
   2.435 +    </target>
   2.436 +    <target name="-init-debug-args">
   2.437 +        <property name="version-output" value="java version &quot;${ant.java.version}"/>
   2.438 +        <condition property="have-jdk-older-than-1.4">
   2.439 +            <or>
   2.440 +                <contains string="${version-output}" substring="java version &quot;1.0"/>
   2.441 +                <contains string="${version-output}" substring="java version &quot;1.1"/>
   2.442 +                <contains string="${version-output}" substring="java version &quot;1.2"/>
   2.443 +                <contains string="${version-output}" substring="java version &quot;1.3"/>
   2.444 +            </or>
   2.445 +        </condition>
   2.446 +        <condition else="-Xdebug" property="debug-args-line" value="-Xdebug -Xnoagent -Djava.compiler=none">
   2.447 +            <istrue value="${have-jdk-older-than-1.4}"/>
   2.448 +        </condition>
   2.449 +        <condition else="dt_socket" property="debug-transport-by-os" value="dt_shmem">
   2.450 +            <os family="windows"/>
   2.451 +        </condition>
   2.452 +        <condition else="${debug-transport-by-os}" property="debug-transport" value="${debug.transport}">
   2.453 +            <isset property="debug.transport"/>
   2.454 +        </condition>
   2.455 +    </target>
   2.456 +    <target depends="-init-debug-args" name="-init-macrodef-debug">
   2.457 +        <macrodef name="debug" uri="http://www.netbeans.org/ns/j2se-project/3">
   2.458 +            <attribute default="${main.class}" name="classname"/>
   2.459 +            <attribute default="${debug.classpath}" name="classpath"/>
   2.460 +            <element name="customize" optional="true"/>
   2.461 +            <sequential>
   2.462 +                <java classname="@{classname}" dir="${work.dir}" fork="true">
   2.463 +                    <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
   2.464 +                    <jvmarg line="${debug-args-line}"/>
   2.465 +                    <jvmarg value="-Xrunjdwp:transport=${debug-transport},address=${jpda.address}"/>
   2.466 +                    <jvmarg value="-Dfile.encoding=${runtime.encoding}"/>
   2.467 +                    <redirector errorencoding="${runtime.encoding}" inputencoding="${runtime.encoding}" outputencoding="${runtime.encoding}"/>
   2.468 +                    <jvmarg line="${run.jvmargs}"/>
   2.469 +                    <classpath>
   2.470 +                        <path path="@{classpath}"/>
   2.471 +                    </classpath>
   2.472 +                    <syspropertyset>
   2.473 +                        <propertyref prefix="run-sys-prop."/>
   2.474 +                        <mapper from="run-sys-prop.*" to="*" type="glob"/>
   2.475 +                    </syspropertyset>
   2.476 +                    <customize/>
   2.477 +                </java>
   2.478 +            </sequential>
   2.479 +        </macrodef>
   2.480 +    </target>
   2.481 +    <target name="-init-macrodef-java">
   2.482 +        <macrodef name="java" uri="http://www.netbeans.org/ns/j2se-project/1">
   2.483 +            <attribute default="${main.class}" name="classname"/>
   2.484 +            <attribute default="${run.classpath}" name="classpath"/>
   2.485 +            <element name="customize" optional="true"/>
   2.486 +            <sequential>
   2.487 +                <java classname="@{classname}" dir="${work.dir}" fork="true">
   2.488 +                    <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
   2.489 +                    <jvmarg value="-Dfile.encoding=${runtime.encoding}"/>
   2.490 +                    <redirector errorencoding="${runtime.encoding}" inputencoding="${runtime.encoding}" outputencoding="${runtime.encoding}"/>
   2.491 +                    <jvmarg line="${run.jvmargs}"/>
   2.492 +                    <classpath>
   2.493 +                        <path path="@{classpath}"/>
   2.494 +                    </classpath>
   2.495 +                    <syspropertyset>
   2.496 +                        <propertyref prefix="run-sys-prop."/>
   2.497 +                        <mapper from="run-sys-prop.*" to="*" type="glob"/>
   2.498 +                    </syspropertyset>
   2.499 +                    <customize/>
   2.500 +                </java>
   2.501 +            </sequential>
   2.502 +        </macrodef>
   2.503 +    </target>
   2.504 +    <target name="-init-macrodef-copylibs">
   2.505 +        <macrodef name="copylibs" uri="http://www.netbeans.org/ns/j2se-project/3">
   2.506 +            <attribute default="${manifest.file}" name="manifest"/>
   2.507 +            <element name="customize" optional="true"/>
   2.508 +            <sequential>
   2.509 +                <property location="${build.classes.dir}" name="build.classes.dir.resolved"/>
   2.510 +                <pathconvert property="run.classpath.without.build.classes.dir">
   2.511 +                    <path path="${run.classpath}"/>
   2.512 +                    <map from="${build.classes.dir.resolved}" to=""/>
   2.513 +                </pathconvert>
   2.514 +                <pathconvert pathsep=" " property="jar.classpath">
   2.515 +                    <path path="${run.classpath.without.build.classes.dir}"/>
   2.516 +                    <chainedmapper>
   2.517 +                        <flattenmapper/>
   2.518 +                        <globmapper from="*" to="lib/*"/>
   2.519 +                    </chainedmapper>
   2.520 +                </pathconvert>
   2.521 +                <taskdef classname="org.netbeans.modules.java.j2seproject.copylibstask.CopyLibs" classpath="${libs.CopyLibs.classpath}" name="copylibs"/>
   2.522 +                <copylibs compress="${jar.compress}" index="${jar.index}" indexMetaInf="${jar.index.metainf}" jarfile="${dist.jar}" manifest="@{manifest}" rebase="${copylibs.rebase}" runtimeclasspath="${run.classpath.without.build.classes.dir}">
   2.523 +                    <fileset dir="${build.classes.dir}"/>
   2.524 +                    <manifest>
   2.525 +                        <attribute name="Class-Path" value="${jar.classpath}"/>
   2.526 +                        <customize/>
   2.527 +                    </manifest>
   2.528 +                </copylibs>
   2.529 +            </sequential>
   2.530 +        </macrodef>
   2.531 +    </target>
   2.532 +    <target name="-init-presetdef-jar">
   2.533 +        <presetdef name="jar" uri="http://www.netbeans.org/ns/j2se-project/1">
   2.534 +            <jar compress="${jar.compress}" index="${jar.index}" jarfile="${dist.jar}">
   2.535 +                <j2seproject1:fileset dir="${build.classes.dir}"/>
   2.536 +            </jar>
   2.537 +        </presetdef>
   2.538 +    </target>
   2.539 +    <target name="-init-ap-cmdline-properties">
   2.540 +        <property name="annotation.processing.enabled" value="true"/>
   2.541 +        <property name="annotation.processing.processors.list" value=""/>
   2.542 +        <property name="annotation.processing.processor.options" value=""/>
   2.543 +        <property name="annotation.processing.run.all.processors" value="true"/>
   2.544 +        <property name="javac.processorpath" value="${javac.classpath}"/>
   2.545 +        <property name="javac.test.processorpath" value="${javac.test.classpath}"/>
   2.546 +        <condition property="ap.supported.internal" value="true">
   2.547 +            <not>
   2.548 +                <matches pattern="1\.[0-5](\..*)?" string="${javac.source}"/>
   2.549 +            </not>
   2.550 +        </condition>
   2.551 +    </target>
   2.552 +    <target depends="-init-ap-cmdline-properties" if="ap.supported.internal" name="-init-ap-cmdline-supported">
   2.553 +        <condition else="" property="ap.processors.internal" value="-processor ${annotation.processing.processors.list}">
   2.554 +            <isfalse value="${annotation.processing.run.all.processors}"/>
   2.555 +        </condition>
   2.556 +        <condition else="" property="ap.proc.none.internal" value="-proc:none">
   2.557 +            <isfalse value="${annotation.processing.enabled}"/>
   2.558 +        </condition>
   2.559 +    </target>
   2.560 +    <target depends="-init-ap-cmdline-properties,-init-ap-cmdline-supported" name="-init-ap-cmdline">
   2.561 +        <property name="ap.cmd.line.internal" value=""/>
   2.562 +    </target>
   2.563 +    <target depends="-pre-init,-init-private,-init-user,-init-project,-do-init,-post-init,-init-check,-init-macrodef-property,-init-macrodef-javac,-init-macrodef-junit,-init-macrodef-nbjpda,-init-macrodef-debug,-init-macrodef-java,-init-presetdef-jar,-init-ap-cmdline" name="init"/>
   2.564 +    <!--
   2.565 +                ===================
   2.566 +                COMPILATION SECTION
   2.567 +                ===================
   2.568 +            -->
   2.569 +    <target name="-deps-jar-init" unless="built-jar.properties">
   2.570 +        <property location="${build.dir}/built-jar.properties" name="built-jar.properties"/>
   2.571 +        <delete file="${built-jar.properties}" quiet="true"/>
   2.572 +    </target>
   2.573 +    <target if="already.built.jar.${basedir}" name="-warn-already-built-jar">
   2.574 +        <echo level="warn" message="Cycle detected: rozsirene-atributy-jedit was already built"/>
   2.575 +    </target>
   2.576 +    <target depends="init,-deps-jar-init" name="deps-jar" unless="no.deps">
   2.577 +        <mkdir dir="${build.dir}"/>
   2.578 +        <touch file="${built-jar.properties}" verbose="false"/>
   2.579 +        <property file="${built-jar.properties}" prefix="already.built.jar."/>
   2.580 +        <antcall target="-warn-already-built-jar"/>
   2.581 +        <propertyfile file="${built-jar.properties}">
   2.582 +            <entry key="${basedir}" value=""/>
   2.583 +        </propertyfile>
   2.584 +        <antcall target="-maybe-call-dep">
   2.585 +            <param name="call.built.properties" value="${built-jar.properties}"/>
   2.586 +            <param location="${project.rozsirene-atributy}" name="call.subproject"/>
   2.587 +            <param location="${project.rozsirene-atributy}/build.xml" name="call.script"/>
   2.588 +            <param name="call.target" value="jar"/>
   2.589 +            <param name="transfer.built-jar.properties" value="${built-jar.properties}"/>
   2.590 +        </antcall>
   2.591 +    </target>
   2.592 +    <target depends="init,-check-automatic-build,-clean-after-automatic-build" name="-verify-automatic-build"/>
   2.593 +    <target depends="init" name="-check-automatic-build">
   2.594 +        <available file="${build.classes.dir}/.netbeans_automatic_build" property="netbeans.automatic.build"/>
   2.595 +    </target>
   2.596 +    <target depends="init" if="netbeans.automatic.build" name="-clean-after-automatic-build">
   2.597 +        <antcall target="clean"/>
   2.598 +    </target>
   2.599 +    <target depends="init,deps-jar" name="-pre-pre-compile">
   2.600 +        <mkdir dir="${build.classes.dir}"/>
   2.601 +    </target>
   2.602 +    <target name="-pre-compile">
   2.603 +        <!-- Empty placeholder for easier customization. -->
   2.604 +        <!-- You can override this target in the ../build.xml file. -->
   2.605 +    </target>
   2.606 +    <target if="do.depend.true" name="-compile-depend">
   2.607 +        <pathconvert property="build.generated.subdirs">
   2.608 +            <dirset dir="${build.generated.sources.dir}" erroronmissingdir="false">
   2.609 +                <include name="*"/>
   2.610 +            </dirset>
   2.611 +        </pathconvert>
   2.612 +        <j2seproject3:depend srcdir="${src.dir}:${build.generated.subdirs}"/>
   2.613 +    </target>
   2.614 +    <target depends="init,deps-jar,-pre-pre-compile,-pre-compile, -copy-persistence-xml,-compile-depend" if="have.sources" name="-do-compile">
   2.615 +        <j2seproject3:javac gensrcdir="${build.generated.sources.dir}"/>
   2.616 +        <copy todir="${build.classes.dir}">
   2.617 +            <fileset dir="${src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
   2.618 +        </copy>
   2.619 +    </target>
   2.620 +    <target if="has.persistence.xml" name="-copy-persistence-xml">
   2.621 +        <mkdir dir="${build.classes.dir}/META-INF"/>
   2.622 +        <copy todir="${build.classes.dir}/META-INF">
   2.623 +            <fileset dir="${meta.inf.dir}" includes="persistence.xml"/>
   2.624 +        </copy>
   2.625 +    </target>
   2.626 +    <target name="-post-compile">
   2.627 +        <!-- Empty placeholder for easier customization. -->
   2.628 +        <!-- You can override this target in the ../build.xml file. -->
   2.629 +    </target>
   2.630 +    <target depends="init,deps-jar,-verify-automatic-build,-pre-pre-compile,-pre-compile,-do-compile,-post-compile" description="Compile project." name="compile"/>
   2.631 +    <target name="-pre-compile-single">
   2.632 +        <!-- Empty placeholder for easier customization. -->
   2.633 +        <!-- You can override this target in the ../build.xml file. -->
   2.634 +    </target>
   2.635 +    <target depends="init,deps-jar,-pre-pre-compile" name="-do-compile-single">
   2.636 +        <fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail>
   2.637 +        <j2seproject3:force-recompile/>
   2.638 +        <j2seproject3:javac excludes="" gensrcdir="${build.generated.sources.dir}" includes="${javac.includes}" sourcepath="${src.dir}"/>
   2.639 +    </target>
   2.640 +    <target name="-post-compile-single">
   2.641 +        <!-- Empty placeholder for easier customization. -->
   2.642 +        <!-- You can override this target in the ../build.xml file. -->
   2.643 +    </target>
   2.644 +    <target depends="init,deps-jar,-verify-automatic-build,-pre-pre-compile,-pre-compile-single,-do-compile-single,-post-compile-single" name="compile-single"/>
   2.645 +    <!--
   2.646 +                ====================
   2.647 +                JAR BUILDING SECTION
   2.648 +                ====================
   2.649 +            -->
   2.650 +    <target depends="init" name="-pre-pre-jar">
   2.651 +        <dirname file="${dist.jar}" property="dist.jar.dir"/>
   2.652 +        <mkdir dir="${dist.jar.dir}"/>
   2.653 +    </target>
   2.654 +    <target name="-pre-jar">
   2.655 +        <!-- Empty placeholder for easier customization. -->
   2.656 +        <!-- You can override this target in the ../build.xml file. -->
   2.657 +    </target>
   2.658 +    <target depends="init,compile,-pre-pre-jar,-pre-jar" if="do.archive" name="-do-jar-without-manifest" unless="manifest.available-mkdist.available">
   2.659 +        <j2seproject1:jar/>
   2.660 +    </target>
   2.661 +    <target depends="init,compile,-pre-pre-jar,-pre-jar" if="do.archive+manifest.available" name="-do-jar-with-manifest" unless="manifest.available+main.class-mkdist.available">
   2.662 +        <j2seproject1:jar manifest="${manifest.file}"/>
   2.663 +    </target>
   2.664 +    <target depends="init,compile,-pre-pre-jar,-pre-jar" if="do.archive+manifest.available+main.class" name="-do-jar-with-mainclass" unless="manifest.available+main.class+mkdist.available">
   2.665 +        <j2seproject1:jar manifest="${manifest.file}">
   2.666 +            <j2seproject1:manifest>
   2.667 +                <j2seproject1:attribute name="Main-Class" value="${main.class}"/>
   2.668 +            </j2seproject1:manifest>
   2.669 +        </j2seproject1:jar>
   2.670 +        <echo level="info">To run this application from the command line without Ant, try:</echo>
   2.671 +        <property location="${build.classes.dir}" name="build.classes.dir.resolved"/>
   2.672 +        <property location="${dist.jar}" name="dist.jar.resolved"/>
   2.673 +        <pathconvert property="run.classpath.with.dist.jar">
   2.674 +            <path path="${run.classpath}"/>
   2.675 +            <map from="${build.classes.dir.resolved}" to="${dist.jar.resolved}"/>
   2.676 +        </pathconvert>
   2.677 +        <echo level="info">java -cp "${run.classpath.with.dist.jar}" ${main.class}</echo>
   2.678 +    </target>
   2.679 +    <target depends="init" if="do.archive" name="-do-jar-with-libraries-create-manifest" unless="manifest.available">
   2.680 +        <tempfile deleteonexit="true" destdir="${build.dir}" property="tmp.manifest.file"/>
   2.681 +        <touch file="${tmp.manifest.file}" verbose="false"/>
   2.682 +    </target>
   2.683 +    <target depends="init" if="do.archive+manifest.available" name="-do-jar-with-libraries-copy-manifest">
   2.684 +        <tempfile deleteonexit="true" destdir="${build.dir}" property="tmp.manifest.file"/>
   2.685 +        <copy file="${manifest.file}" tofile="${tmp.manifest.file}"/>
   2.686 +    </target>
   2.687 +    <target depends="init,-do-jar-with-libraries-create-manifest,-do-jar-with-libraries-copy-manifest" if="do.archive+main.class.available" name="-do-jar-with-libraries-set-main">
   2.688 +        <manifest file="${tmp.manifest.file}" mode="update">
   2.689 +            <attribute name="Main-Class" value="${main.class}"/>
   2.690 +        </manifest>
   2.691 +    </target>
   2.692 +    <target depends="init,-do-jar-with-libraries-create-manifest,-do-jar-with-libraries-copy-manifest" if="do.archive+splashscreen.available" name="-do-jar-with-libraries-set-splashscreen">
   2.693 +        <basename file="${application.splash}" property="splashscreen.basename"/>
   2.694 +        <mkdir dir="${build.classes.dir}/META-INF"/>
   2.695 +        <copy failonerror="false" file="${application.splash}" todir="${build.classes.dir}/META-INF"/>
   2.696 +        <manifest file="${tmp.manifest.file}" mode="update">
   2.697 +            <attribute name="SplashScreen-Image" value="META-INF/${splashscreen.basename}"/>
   2.698 +        </manifest>
   2.699 +    </target>
   2.700 +    <target depends="init,-init-macrodef-copylibs,compile,-pre-pre-jar,-pre-jar,-do-jar-with-libraries-create-manifest,-do-jar-with-libraries-copy-manifest,-do-jar-with-libraries-set-main,-do-jar-with-libraries-set-splashscreen" if="do.mkdist" name="-do-jar-with-libraries-pack">
   2.701 +        <j2seproject3:copylibs manifest="${tmp.manifest.file}"/>
   2.702 +        <echo level="info">To run this application from the command line without Ant, try:</echo>
   2.703 +        <property location="${dist.jar}" name="dist.jar.resolved"/>
   2.704 +        <echo level="info">java -jar "${dist.jar.resolved}"</echo>
   2.705 +    </target>
   2.706 +    <target depends="-do-jar-with-libraries-pack" if="do.archive" name="-do-jar-with-libraries-delete-manifest">
   2.707 +        <delete>
   2.708 +            <fileset file="${tmp.manifest.file}"/>
   2.709 +        </delete>
   2.710 +    </target>
   2.711 +    <target depends="init,compile,-pre-pre-jar,-pre-jar,-do-jar-with-libraries-create-manifest,-do-jar-with-libraries-copy-manifest,-do-jar-with-libraries-set-main,-do-jar-with-libraries-set-splashscreen,-do-jar-with-libraries-pack,-do-jar-with-libraries-delete-manifest" name="-do-jar-with-libraries"/>
   2.712 +    <target name="-post-jar">
   2.713 +        <!-- Empty placeholder for easier customization. -->
   2.714 +        <!-- You can override this target in the ../build.xml file. -->
   2.715 +    </target>
   2.716 +    <target depends="init,compile,-pre-jar,-do-jar-with-manifest,-do-jar-without-manifest,-do-jar-with-mainclass,-do-jar-with-libraries,-post-jar" description="Build JAR." name="jar"/>
   2.717 +    <!--
   2.718 +                =================
   2.719 +                EXECUTION SECTION
   2.720 +                =================
   2.721 +            -->
   2.722 +    <target depends="init,compile" description="Run a main class." name="run">
   2.723 +        <j2seproject1:java>
   2.724 +            <customize>
   2.725 +                <arg line="${application.args}"/>
   2.726 +            </customize>
   2.727 +        </j2seproject1:java>
   2.728 +    </target>
   2.729 +    <target name="-do-not-recompile">
   2.730 +        <property name="javac.includes.binary" value=""/>
   2.731 +    </target>
   2.732 +    <target depends="init,compile-single" name="run-single">
   2.733 +        <fail unless="run.class">Must select one file in the IDE or set run.class</fail>
   2.734 +        <j2seproject1:java classname="${run.class}"/>
   2.735 +    </target>
   2.736 +    <target depends="init,compile-test-single" name="run-test-with-main">
   2.737 +        <fail unless="run.class">Must select one file in the IDE or set run.class</fail>
   2.738 +        <j2seproject1:java classname="${run.class}" classpath="${run.test.classpath}"/>
   2.739 +    </target>
   2.740 +    <!--
   2.741 +                =================
   2.742 +                DEBUGGING SECTION
   2.743 +                =================
   2.744 +            -->
   2.745 +    <target depends="init" if="netbeans.home" name="-debug-start-debugger">
   2.746 +        <j2seproject1:nbjpdastart name="${debug.class}"/>
   2.747 +    </target>
   2.748 +    <target depends="init" if="netbeans.home" name="-debug-start-debugger-main-test">
   2.749 +        <j2seproject1:nbjpdastart classpath="${debug.test.classpath}" name="${debug.class}"/>
   2.750 +    </target>
   2.751 +    <target depends="init,compile" name="-debug-start-debuggee">
   2.752 +        <j2seproject3:debug>
   2.753 +            <customize>
   2.754 +                <arg line="${application.args}"/>
   2.755 +            </customize>
   2.756 +        </j2seproject3:debug>
   2.757 +    </target>
   2.758 +    <target depends="init,compile,-debug-start-debugger,-debug-start-debuggee" description="Debug project in IDE." if="netbeans.home" name="debug"/>
   2.759 +    <target depends="init" if="netbeans.home" name="-debug-start-debugger-stepinto">
   2.760 +        <j2seproject1:nbjpdastart stopclassname="${main.class}"/>
   2.761 +    </target>
   2.762 +    <target depends="init,compile,-debug-start-debugger-stepinto,-debug-start-debuggee" if="netbeans.home" name="debug-stepinto"/>
   2.763 +    <target depends="init,compile-single" if="netbeans.home" name="-debug-start-debuggee-single">
   2.764 +        <fail unless="debug.class">Must select one file in the IDE or set debug.class</fail>
   2.765 +        <j2seproject3:debug classname="${debug.class}"/>
   2.766 +    </target>
   2.767 +    <target depends="init,compile-single,-debug-start-debugger,-debug-start-debuggee-single" if="netbeans.home" name="debug-single"/>
   2.768 +    <target depends="init,compile-test-single" if="netbeans.home" name="-debug-start-debuggee-main-test">
   2.769 +        <fail unless="debug.class">Must select one file in the IDE or set debug.class</fail>
   2.770 +        <j2seproject3:debug classname="${debug.class}" classpath="${debug.test.classpath}"/>
   2.771 +    </target>
   2.772 +    <target depends="init,compile-test-single,-debug-start-debugger-main-test,-debug-start-debuggee-main-test" if="netbeans.home" name="debug-test-with-main"/>
   2.773 +    <target depends="init" name="-pre-debug-fix">
   2.774 +        <fail unless="fix.includes">Must set fix.includes</fail>
   2.775 +        <property name="javac.includes" value="${fix.includes}.java"/>
   2.776 +    </target>
   2.777 +    <target depends="init,-pre-debug-fix,compile-single" if="netbeans.home" name="-do-debug-fix">
   2.778 +        <j2seproject1:nbjpdareload/>
   2.779 +    </target>
   2.780 +    <target depends="init,-pre-debug-fix,-do-debug-fix" if="netbeans.home" name="debug-fix"/>
   2.781 +    <!--
   2.782 +                =================
   2.783 +                PROFILING SECTION
   2.784 +                =================
   2.785 +            -->
   2.786 +    <target depends="profile-init,compile" description="Profile a project in the IDE." if="netbeans.home" name="profile">
   2.787 +        <nbprofiledirect>
   2.788 +            <classpath>
   2.789 +                <path path="${run.classpath}"/>
   2.790 +            </classpath>
   2.791 +        </nbprofiledirect>
   2.792 +        <profile/>
   2.793 +    </target>
   2.794 +    <target depends="profile-init,compile-single" description="Profile a selected class in the IDE." if="netbeans.home" name="profile-single">
   2.795 +        <fail unless="profile.class">Must select one file in the IDE or set profile.class</fail>
   2.796 +        <nbprofiledirect>
   2.797 +            <classpath>
   2.798 +                <path path="${run.classpath}"/>
   2.799 +            </classpath>
   2.800 +        </nbprofiledirect>
   2.801 +        <profile classname="${profile.class}"/>
   2.802 +    </target>
   2.803 +    <!--
   2.804 +                =========================
   2.805 +                APPLET PROFILING  SECTION
   2.806 +                =========================
   2.807 +            -->
   2.808 +    <target depends="profile-init,compile-single" if="netbeans.home" name="profile-applet">
   2.809 +        <nbprofiledirect>
   2.810 +            <classpath>
   2.811 +                <path path="${run.classpath}"/>
   2.812 +            </classpath>
   2.813 +        </nbprofiledirect>
   2.814 +        <profile classname="sun.applet.AppletViewer">
   2.815 +            <customize>
   2.816 +                <arg value="${applet.url}"/>
   2.817 +            </customize>
   2.818 +        </profile>
   2.819 +    </target>
   2.820 +    <!--
   2.821 +                =========================
   2.822 +                TESTS PROFILING  SECTION
   2.823 +                =========================
   2.824 +            -->
   2.825 +    <target depends="profile-init,compile-test-single" if="netbeans.home" name="profile-test-single">
   2.826 +        <nbprofiledirect>
   2.827 +            <classpath>
   2.828 +                <path path="${run.test.classpath}"/>
   2.829 +            </classpath>
   2.830 +        </nbprofiledirect>
   2.831 +        <junit dir="${profiler.info.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" jvm="${profiler.info.jvm}" showoutput="true">
   2.832 +            <env key="${profiler.info.pathvar}" path="${profiler.info.agentpath}:${profiler.current.path}"/>
   2.833 +            <jvmarg value="${profiler.info.jvmargs.agent}"/>
   2.834 +            <jvmarg line="${profiler.info.jvmargs}"/>
   2.835 +            <test name="${profile.class}"/>
   2.836 +            <classpath>
   2.837 +                <path path="${run.test.classpath}"/>
   2.838 +            </classpath>
   2.839 +            <syspropertyset>
   2.840 +                <propertyref prefix="test-sys-prop."/>
   2.841 +                <mapper from="test-sys-prop.*" to="*" type="glob"/>
   2.842 +            </syspropertyset>
   2.843 +            <formatter type="brief" usefile="false"/>
   2.844 +            <formatter type="xml"/>
   2.845 +        </junit>
   2.846 +    </target>
   2.847 +    <!--
   2.848 +                ===============
   2.849 +                JAVADOC SECTION
   2.850 +                ===============
   2.851 +            -->
   2.852 +    <target depends="init" if="have.sources" name="-javadoc-build">
   2.853 +        <mkdir dir="${dist.javadoc.dir}"/>
   2.854 +        <condition else="" property="javadoc.endorsed.classpath.cmd.line.arg" value="-J${endorsed.classpath.cmd.line.arg}">
   2.855 +            <and>
   2.856 +                <isset property="endorsed.classpath.cmd.line.arg"/>
   2.857 +                <not>
   2.858 +                    <equals arg1="${endorsed.classpath.cmd.line.arg}" arg2=""/>
   2.859 +                </not>
   2.860 +            </and>
   2.861 +        </condition>
   2.862 +        <javadoc additionalparam="${javadoc.additionalparam}" author="${javadoc.author}" charset="UTF-8" destdir="${dist.javadoc.dir}" docencoding="UTF-8" encoding="${javadoc.encoding.used}" failonerror="true" noindex="${javadoc.noindex}" nonavbar="${javadoc.nonavbar}" notree="${javadoc.notree}" private="${javadoc.private}" source="${javac.source}" splitindex="${javadoc.splitindex}" use="${javadoc.use}" useexternalfile="true" version="${javadoc.version}" windowtitle="${javadoc.windowtitle}">
   2.863 +            <classpath>
   2.864 +                <path path="${javac.classpath}"/>
   2.865 +            </classpath>
   2.866 +            <fileset dir="${src.dir}" excludes="*.java,${excludes}" includes="${includes}">
   2.867 +                <filename name="**/*.java"/>
   2.868 +            </fileset>
   2.869 +            <fileset dir="${build.generated.sources.dir}" erroronmissingdir="false">
   2.870 +                <include name="**/*.java"/>
   2.871 +                <exclude name="*.java"/>
   2.872 +            </fileset>
   2.873 +            <arg line="${javadoc.endorsed.classpath.cmd.line.arg}"/>
   2.874 +        </javadoc>
   2.875 +        <copy todir="${dist.javadoc.dir}">
   2.876 +            <fileset dir="${src.dir}" excludes="${excludes}" includes="${includes}">
   2.877 +                <filename name="**/doc-files/**"/>
   2.878 +            </fileset>
   2.879 +            <fileset dir="${build.generated.sources.dir}" erroronmissingdir="false">
   2.880 +                <include name="**/doc-files/**"/>
   2.881 +            </fileset>
   2.882 +        </copy>
   2.883 +    </target>
   2.884 +    <target depends="init,-javadoc-build" if="netbeans.home" name="-javadoc-browse" unless="no.javadoc.preview">
   2.885 +        <nbbrowse file="${dist.javadoc.dir}/index.html"/>
   2.886 +    </target>
   2.887 +    <target depends="init,-javadoc-build,-javadoc-browse" description="Build Javadoc." name="javadoc"/>
   2.888 +    <!--
   2.889 +                =========================
   2.890 +                JUNIT COMPILATION SECTION
   2.891 +                =========================
   2.892 +            -->
   2.893 +    <target depends="init,compile" if="have.tests" name="-pre-pre-compile-test">
   2.894 +        <mkdir dir="${build.test.classes.dir}"/>
   2.895 +    </target>
   2.896 +    <target name="-pre-compile-test">
   2.897 +        <!-- Empty placeholder for easier customization. -->
   2.898 +        <!-- You can override this target in the ../build.xml file. -->
   2.899 +    </target>
   2.900 +    <target if="do.depend.true" name="-compile-test-depend">
   2.901 +        <j2seproject3:depend classpath="${javac.test.classpath}" destdir="${build.test.classes.dir}" srcdir="${test.src.dir}"/>
   2.902 +    </target>
   2.903 +    <target depends="init,deps-jar,compile,-pre-pre-compile-test,-pre-compile-test,-compile-test-depend" if="have.tests" name="-do-compile-test">
   2.904 +        <j2seproject3:javac apgeneratedsrcdir="${build.test.classes.dir}" classpath="${javac.test.classpath}" debug="true" destdir="${build.test.classes.dir}" processorpath="${javac.test.processorpath}" srcdir="${test.src.dir}"/>
   2.905 +        <copy todir="${build.test.classes.dir}">
   2.906 +            <fileset dir="${test.src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
   2.907 +        </copy>
   2.908 +    </target>
   2.909 +    <target name="-post-compile-test">
   2.910 +        <!-- Empty placeholder for easier customization. -->
   2.911 +        <!-- You can override this target in the ../build.xml file. -->
   2.912 +    </target>
   2.913 +    <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test,-do-compile-test,-post-compile-test" name="compile-test"/>
   2.914 +    <target name="-pre-compile-test-single">
   2.915 +        <!-- Empty placeholder for easier customization. -->
   2.916 +        <!-- You can override this target in the ../build.xml file. -->
   2.917 +    </target>
   2.918 +    <target depends="init,deps-jar,compile,-pre-pre-compile-test,-pre-compile-test-single" if="have.tests" name="-do-compile-test-single">
   2.919 +        <fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail>
   2.920 +        <j2seproject3:force-recompile destdir="${build.test.classes.dir}"/>
   2.921 +        <j2seproject3:javac apgeneratedsrcdir="${build.test.classes.dir}" classpath="${javac.test.classpath}" debug="true" destdir="${build.test.classes.dir}" excludes="" includes="${javac.includes}" processorpath="${javac.test.processorpath}" sourcepath="${test.src.dir}" srcdir="${test.src.dir}"/>
   2.922 +        <copy todir="${build.test.classes.dir}">
   2.923 +            <fileset dir="${test.src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
   2.924 +        </copy>
   2.925 +    </target>
   2.926 +    <target name="-post-compile-test-single">
   2.927 +        <!-- Empty placeholder for easier customization. -->
   2.928 +        <!-- You can override this target in the ../build.xml file. -->
   2.929 +    </target>
   2.930 +    <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test-single,-do-compile-test-single,-post-compile-test-single" name="compile-test-single"/>
   2.931 +    <!--
   2.932 +                =======================
   2.933 +                JUNIT EXECUTION SECTION
   2.934 +                =======================
   2.935 +            -->
   2.936 +    <target depends="init" if="have.tests" name="-pre-test-run">
   2.937 +        <mkdir dir="${build.test.results.dir}"/>
   2.938 +    </target>
   2.939 +    <target depends="init,compile-test,-pre-test-run" if="have.tests" name="-do-test-run">
   2.940 +        <j2seproject3:junit testincludes="**/*Test.java"/>
   2.941 +    </target>
   2.942 +    <target depends="init,compile-test,-pre-test-run,-do-test-run" if="have.tests" name="-post-test-run">
   2.943 +        <fail if="tests.failed" unless="ignore.failing.tests">Some tests failed; see details above.</fail>
   2.944 +    </target>
   2.945 +    <target depends="init" if="have.tests" name="test-report"/>
   2.946 +    <target depends="init" if="netbeans.home+have.tests" name="-test-browse"/>
   2.947 +    <target depends="init,compile-test,-pre-test-run,-do-test-run,test-report,-post-test-run,-test-browse" description="Run unit tests." name="test"/>
   2.948 +    <target depends="init" if="have.tests" name="-pre-test-run-single">
   2.949 +        <mkdir dir="${build.test.results.dir}"/>
   2.950 +    </target>
   2.951 +    <target depends="init,compile-test-single,-pre-test-run-single" if="have.tests" name="-do-test-run-single">
   2.952 +        <fail unless="test.includes">Must select some files in the IDE or set test.includes</fail>
   2.953 +        <j2seproject3:junit excludes="" includes="${test.includes}"/>
   2.954 +    </target>
   2.955 +    <target depends="init,compile-test-single,-pre-test-run-single,-do-test-run-single" if="have.tests" name="-post-test-run-single">
   2.956 +        <fail if="tests.failed" unless="ignore.failing.tests">Some tests failed; see details above.</fail>
   2.957 +    </target>
   2.958 +    <target depends="init,compile-test-single,-pre-test-run-single,-do-test-run-single,-post-test-run-single" description="Run single unit test." name="test-single"/>
   2.959 +    <!--
   2.960 +                =======================
   2.961 +                JUNIT DEBUGGING SECTION
   2.962 +                =======================
   2.963 +            -->
   2.964 +    <target depends="init,compile-test" if="have.tests" name="-debug-start-debuggee-test">
   2.965 +        <fail unless="test.class">Must select one file in the IDE or set test.class</fail>
   2.966 +        <property location="${build.test.results.dir}/TEST-${test.class}.xml" name="test.report.file"/>
   2.967 +        <delete file="${test.report.file}"/>
   2.968 +        <mkdir dir="${build.test.results.dir}"/>
   2.969 +        <j2seproject3:debug classname="org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner" classpath="${ant.home}/lib/ant.jar:${ant.home}/lib/ant-junit.jar:${debug.test.classpath}">
   2.970 +            <customize>
   2.971 +                <syspropertyset>
   2.972 +                    <propertyref prefix="test-sys-prop."/>
   2.973 +                    <mapper from="test-sys-prop.*" to="*" type="glob"/>
   2.974 +                </syspropertyset>
   2.975 +                <arg value="${test.class}"/>
   2.976 +                <arg value="showoutput=true"/>
   2.977 +                <arg value="formatter=org.apache.tools.ant.taskdefs.optional.junit.BriefJUnitResultFormatter"/>
   2.978 +                <arg value="formatter=org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter,${test.report.file}"/>
   2.979 +            </customize>
   2.980 +        </j2seproject3:debug>
   2.981 +    </target>
   2.982 +    <target depends="init,compile-test" if="netbeans.home+have.tests" name="-debug-start-debugger-test">
   2.983 +        <j2seproject1:nbjpdastart classpath="${debug.test.classpath}" name="${test.class}"/>
   2.984 +    </target>
   2.985 +    <target depends="init,compile-test-single,-debug-start-debugger-test,-debug-start-debuggee-test" name="debug-test"/>
   2.986 +    <target depends="init,-pre-debug-fix,compile-test-single" if="netbeans.home" name="-do-debug-fix-test">
   2.987 +        <j2seproject1:nbjpdareload dir="${build.test.classes.dir}"/>
   2.988 +    </target>
   2.989 +    <target depends="init,-pre-debug-fix,-do-debug-fix-test" if="netbeans.home" name="debug-fix-test"/>
   2.990 +    <!--
   2.991 +                =========================
   2.992 +                APPLET EXECUTION SECTION
   2.993 +                =========================
   2.994 +            -->
   2.995 +    <target depends="init,compile-single" name="run-applet">
   2.996 +        <fail unless="applet.url">Must select one file in the IDE or set applet.url</fail>
   2.997 +        <j2seproject1:java classname="sun.applet.AppletViewer">
   2.998 +            <customize>
   2.999 +                <arg value="${applet.url}"/>
  2.1000 +            </customize>
  2.1001 +        </j2seproject1:java>
  2.1002 +    </target>
  2.1003 +    <!--
  2.1004 +                =========================
  2.1005 +                APPLET DEBUGGING  SECTION
  2.1006 +                =========================
  2.1007 +            -->
  2.1008 +    <target depends="init,compile-single" if="netbeans.home" name="-debug-start-debuggee-applet">
  2.1009 +        <fail unless="applet.url">Must select one file in the IDE or set applet.url</fail>
  2.1010 +        <j2seproject3:debug classname="sun.applet.AppletViewer">
  2.1011 +            <customize>
  2.1012 +                <arg value="${applet.url}"/>
  2.1013 +            </customize>
  2.1014 +        </j2seproject3:debug>
  2.1015 +    </target>
  2.1016 +    <target depends="init,compile-single,-debug-start-debugger,-debug-start-debuggee-applet" if="netbeans.home" name="debug-applet"/>
  2.1017 +    <!--
  2.1018 +                ===============
  2.1019 +                CLEANUP SECTION
  2.1020 +                ===============
  2.1021 +            -->
  2.1022 +    <target name="-deps-clean-init" unless="built-clean.properties">
  2.1023 +        <property location="${build.dir}/built-clean.properties" name="built-clean.properties"/>
  2.1024 +        <delete file="${built-clean.properties}" quiet="true"/>
  2.1025 +    </target>
  2.1026 +    <target if="already.built.clean.${basedir}" name="-warn-already-built-clean">
  2.1027 +        <echo level="warn" message="Cycle detected: rozsirene-atributy-jedit was already built"/>
  2.1028 +    </target>
  2.1029 +    <target depends="init,-deps-clean-init" name="deps-clean" unless="no.deps">
  2.1030 +        <mkdir dir="${build.dir}"/>
  2.1031 +        <touch file="${built-clean.properties}" verbose="false"/>
  2.1032 +        <property file="${built-clean.properties}" prefix="already.built.clean."/>
  2.1033 +        <antcall target="-warn-already-built-clean"/>
  2.1034 +        <propertyfile file="${built-clean.properties}">
  2.1035 +            <entry key="${basedir}" value=""/>
  2.1036 +        </propertyfile>
  2.1037 +        <antcall target="-maybe-call-dep">
  2.1038 +            <param name="call.built.properties" value="${built-clean.properties}"/>
  2.1039 +            <param location="${project.rozsirene-atributy}" name="call.subproject"/>
  2.1040 +            <param location="${project.rozsirene-atributy}/build.xml" name="call.script"/>
  2.1041 +            <param name="call.target" value="clean"/>
  2.1042 +            <param name="transfer.built-clean.properties" value="${built-clean.properties}"/>
  2.1043 +        </antcall>
  2.1044 +    </target>
  2.1045 +    <target depends="init" name="-do-clean">
  2.1046 +        <delete dir="${build.dir}"/>
  2.1047 +        <delete dir="${dist.dir}" followsymlinks="false" includeemptydirs="true"/>
  2.1048 +    </target>
  2.1049 +    <target name="-post-clean">
  2.1050 +        <!-- Empty placeholder for easier customization. -->
  2.1051 +        <!-- You can override this target in the ../build.xml file. -->
  2.1052 +    </target>
  2.1053 +    <target depends="init,deps-clean,-do-clean,-post-clean" description="Clean build products." name="clean"/>
  2.1054 +    <target name="-check-call-dep">
  2.1055 +        <property file="${call.built.properties}" prefix="already.built."/>
  2.1056 +        <condition property="should.call.dep">
  2.1057 +            <not>
  2.1058 +                <isset property="already.built.${call.subproject}"/>
  2.1059 +            </not>
  2.1060 +        </condition>
  2.1061 +    </target>
  2.1062 +    <target depends="-check-call-dep" if="should.call.dep" name="-maybe-call-dep">
  2.1063 +        <ant antfile="${call.script}" inheritall="false" target="${call.target}">
  2.1064 +            <propertyset>
  2.1065 +                <propertyref prefix="transfer."/>
  2.1066 +                <mapper from="transfer.*" to="*" type="glob"/>
  2.1067 +            </propertyset>
  2.1068 +        </ant>
  2.1069 +    </target>
  2.1070 +</project>
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/java/rozsirene-atributy-jedit/nbproject/genfiles.properties	Sat Aug 18 13:22:45 2012 +0200
     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=03d441a8
    3.11 +nbproject/build-impl.xml.stylesheet.CRC32=fcddb364@1.50.3.46
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/java/rozsirene-atributy-jedit/nbproject/project.properties	Sat Aug 18 13:22:45 2012 +0200
     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 +# Space-separated list of extra javac options
    4.41 +javac.compilerargs=
    4.42 +javac.deprecation=false
    4.43 +javac.processorpath=\
    4.44 +    ${javac.classpath}
    4.45 +javac.source=1.7
    4.46 +javac.target=1.7
    4.47 +javac.test.classpath=\
    4.48 +    ${javac.classpath}:\
    4.49 +    ${build.classes.dir}
    4.50 +javac.test.processorpath=\
    4.51 +    ${javac.test.classpath}
    4.52 +javadoc.additionalparam=
    4.53 +javadoc.author=false
    4.54 +javadoc.encoding=${source.encoding}
    4.55 +javadoc.noindex=false
    4.56 +javadoc.nonavbar=false
    4.57 +javadoc.notree=false
    4.58 +javadoc.private=false
    4.59 +javadoc.splitindex=true
    4.60 +javadoc.use=true
    4.61 +javadoc.version=false
    4.62 +javadoc.windowtitle=
    4.63 +jnlp.codebase.type=no.codebase
    4.64 +jnlp.descriptor=application
    4.65 +jnlp.enabled=false
    4.66 +jnlp.mixed.code=default
    4.67 +jnlp.offline-allowed=false
    4.68 +jnlp.signed=false
    4.69 +jnlp.signing=
    4.70 +jnlp.signing.alias=
    4.71 +jnlp.signing.keystore=
    4.72 +meta.inf.dir=${src.dir}/META-INF
    4.73 +mkdist.disabled=true
    4.74 +platform.active=default_platform
    4.75 +project.rozsirene-atributy=../rozsirene-atributy
    4.76 +reference.rozsirene-atributy.jar=${project.rozsirene-atributy}/dist/rozsirene-atributy.jar
    4.77 +run.classpath=\
    4.78 +    ${javac.classpath}:\
    4.79 +    ${build.classes.dir}:\
    4.80 +    ${reference.rozsirene-atributy.jar}
    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/java/rozsirene-atributy-jedit/nbproject/project.xml	Sat Aug 18 13:22:45 2012 +0200
     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/java/rozsirene-atributy-jedit/src/RozsireneAtributy.props	Sat Aug 18 13:22:45 2012 +0200
     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/java/rozsirene-atributy-jedit/src/actions.xml	Sat Aug 18 13:22:45 2012 +0200
     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/java/rozsirene-atributy-jedit/src/cz/frantovo/rozsireneAtributy/jedit/DokovatelnyPanel.java	Sat Aug 18 13:22:45 2012 +0200
     8.3 @@ -0,0 +1,74 @@
     8.4 +package cz.frantovo.rozsireneAtributy.jedit;
     8.5 +
     8.6 +import java.util.logging.Level;
     8.7 +import java.util.logging.Logger;
     8.8 +import javax.swing.JPanel;
     8.9 +import javax.swing.JTextArea;
    8.10 +import org.gjt.sp.jedit.Buffer;
    8.11 +import org.gjt.sp.jedit.EBComponent;
    8.12 +import org.gjt.sp.jedit.EBMessage;
    8.13 +import org.gjt.sp.jedit.EditBus;
    8.14 +import org.gjt.sp.jedit.View;
    8.15 +import org.gjt.sp.jedit.msg.EditPaneUpdate;
    8.16 +
    8.17 +/**
    8.18 + *
    8.19 + * @author Ing. František Kučera (frantovo.cz)
    8.20 + */
    8.21 +public class DokovatelnyPanel extends JPanel implements EBComponent {
    8.22 +
    8.23 +	private static final Logger log = Logger.getLogger(DokovatelnyPanel.class.getName());
    8.24 +	private JTextArea pokus = new JTextArea("...");
    8.25 +	private View view;
    8.26 +
    8.27 +	public DokovatelnyPanel(final View view, final String position) {
    8.28 +		this.view = view;
    8.29 +		add(pokus);
    8.30 +	}
    8.31 +
    8.32 +	/**
    8.33 +	 * Zaregistrujeme se, aby nám chodily události editoru.
    8.34 +	 */
    8.35 +	@Override
    8.36 +	public void addNotify() {
    8.37 +		super.addNotify();
    8.38 +		EditBus.addToBus(this);
    8.39 +	}
    8.40 +
    8.41 +	/**
    8.42 +	 * @see #addNotify()
    8.43 +	 */
    8.44 +	@Override
    8.45 +	public void removeNotify() {
    8.46 +		super.removeNotify();
    8.47 +		EditBus.removeFromBus(this);
    8.48 +	}
    8.49 +
    8.50 +	/**
    8.51 +	 * Zpracujeme události editoru.
    8.52 +	 * Zajímá nás přepnutí na jiný soubor – abychom pro něj zobrazili atributy.
    8.53 +	 *
    8.54 +	 * @param událost událost editoru
    8.55 +	 */
    8.56 +	@Override
    8.57 +	public void handleMessage(EBMessage událost) {
    8.58 +		try {
    8.59 +			if (událost instanceof EditPaneUpdate) {
    8.60 +				EditPaneUpdate epu = (EditPaneUpdate) událost;
    8.61 +				// Chodí nám všechny události – potřebujeme filtrovat jen ty pro naše okno.
    8.62 +				if (view == epu.getEditPane().getView()) {
    8.63 +					změňSoubor(view.getBuffer());
    8.64 +				}
    8.65 +			}
    8.66 +			// událost instanceof BufferUpdate
    8.67 +			// událost instanceof PropertiesChanged
    8.68 +		} catch (Exception e) {
    8.69 +			log.log(Level.WARNING, "Chyba při zpracování události: " + událost, e);
    8.70 +		}
    8.71 +
    8.72 +	}
    8.73 +
    8.74 +	private void změňSoubor(Buffer b) {
    8.75 +		pokus.setText(b.getPath());
    8.76 +	}
    8.77 +}
     9.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     9.2 +++ b/java/rozsirene-atributy-jedit/src/cz/frantovo/rozsireneAtributy/jedit/Plugin.java	Sat Aug 18 13:22:45 2012 +0200
     9.3 @@ -0,0 +1,26 @@
     9.4 +package cz.frantovo.rozsireneAtributy.jedit;
     9.5 +
     9.6 +import org.gjt.sp.jedit.EBMessage;
     9.7 +import org.gjt.sp.jedit.EBPlugin;
     9.8 +
     9.9 +/**
    9.10 + *
    9.11 + * @author Ing. František Kučera (frantovo.cz)
    9.12 + */
    9.13 +public class Plugin extends EBPlugin {
    9.14 +
    9.15 +	@Override
    9.16 +	public void start() {
    9.17 +		super.start();
    9.18 +	}
    9.19 +
    9.20 +	@Override
    9.21 +	public void stop() {
    9.22 +		super.stop();
    9.23 +	}
    9.24 +
    9.25 +	@Override
    9.26 +	public void handleMessage(EBMessage message) {
    9.27 +		super.handleMessage(message);
    9.28 +	}
    9.29 +}
    10.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    10.2 +++ b/java/rozsirene-atributy-jedit/src/dockables.xml	Sat Aug 18 13:22:45 2012 +0200
    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>
   10.11 \ No newline at end of file
    11.1 --- a/java/rozsirene-atributy/nbproject/build-impl.xml	Fri Dec 30 12:37:30 2011 +0100
    11.2 +++ b/java/rozsirene-atributy/nbproject/build-impl.xml	Sat Aug 18 13:22:45 2012 +0200
    11.3 @@ -20,10 +20,10 @@
    11.4  
    11.5          -->
    11.6  <project xmlns:j2seproject1="http://www.netbeans.org/ns/j2se-project/1" xmlns:j2seproject3="http://www.netbeans.org/ns/j2se-project/3" xmlns:jaxrpc="http://www.netbeans.org/ns/j2se-project/jax-rpc" basedir=".." default="default" name="rozsirene-atributy-impl">
    11.7 -    <fail message="Please build using Ant 1.7.1 or higher.">
    11.8 +    <fail message="Please build using Ant 1.8.0 or higher.">
    11.9          <condition>
   11.10              <not>
   11.11 -                <antversion atleast="1.7.1"/>
   11.12 +                <antversion atleast="1.8.0"/>
   11.13              </not>
   11.14          </condition>
   11.15      </fail>
   11.16 @@ -198,6 +198,7 @@
   11.17          <property name="javac.fork" value="${jdkBug6558476}"/>
   11.18          <property name="jar.index" value="false"/>
   11.19          <property name="jar.index.metainf" value="${jar.index}"/>
   11.20 +        <property name="copylibs.rebase" value="true"/>
   11.21          <available file="${meta.inf.dir}/persistence.xml" property="has.persistence.xml"/>
   11.22      </target>
   11.23      <target name="-post-init">
   11.24 @@ -384,6 +385,7 @@
   11.25                  <property environment="env"/>
   11.26                  <resolve name="profiler.current.path" value="${profiler.info.pathvar}"/>
   11.27                  <java classname="@{classname}" dir="${profiler.info.dir}" fork="true" jvm="${profiler.info.jvm}">
   11.28 +                    <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
   11.29                      <jvmarg value="${profiler.info.jvmargs.agent}"/>
   11.30                      <jvmarg line="${profiler.info.jvmargs}"/>
   11.31                      <env key="${profiler.info.pathvar}" path="${profiler.info.agentpath}:${profiler.current.path}"/>
   11.32 @@ -514,7 +516,7 @@
   11.33                      </chainedmapper>
   11.34                  </pathconvert>
   11.35                  <taskdef classname="org.netbeans.modules.java.j2seproject.copylibstask.CopyLibs" classpath="${libs.CopyLibs.classpath}" name="copylibs"/>
   11.36 -                <copylibs compress="${jar.compress}" index="${jar.index}" indexMetaInf="${jar.index.metainf}" jarfile="${dist.jar}" manifest="@{manifest}" runtimeclasspath="${run.classpath.without.build.classes.dir}">
   11.37 +                <copylibs compress="${jar.compress}" index="${jar.index}" indexMetaInf="${jar.index.metainf}" jarfile="${dist.jar}" manifest="@{manifest}" rebase="${copylibs.rebase}" runtimeclasspath="${run.classpath.without.build.classes.dir}">
   11.38                      <fileset dir="${build.classes.dir}"/>
   11.39                      <manifest>
   11.40                          <attribute name="Class-Path" value="${jar.classpath}"/>
   11.41 @@ -839,6 +841,14 @@
   11.42              -->
   11.43      <target depends="init" if="have.sources" name="-javadoc-build">
   11.44          <mkdir dir="${dist.javadoc.dir}"/>
   11.45 +        <condition else="" property="javadoc.endorsed.classpath.cmd.line.arg" value="-J${endorsed.classpath.cmd.line.arg}">
   11.46 +            <and>
   11.47 +                <isset property="endorsed.classpath.cmd.line.arg"/>
   11.48 +                <not>
   11.49 +                    <equals arg1="${endorsed.classpath.cmd.line.arg}" arg2=""/>
   11.50 +                </not>
   11.51 +            </and>
   11.52 +        </condition>
   11.53          <javadoc additionalparam="${javadoc.additionalparam}" author="${javadoc.author}" charset="UTF-8" destdir="${dist.javadoc.dir}" docencoding="UTF-8" encoding="${javadoc.encoding.used}" failonerror="true" noindex="${javadoc.noindex}" nonavbar="${javadoc.nonavbar}" notree="${javadoc.notree}" private="${javadoc.private}" source="${javac.source}" splitindex="${javadoc.splitindex}" use="${javadoc.use}" useexternalfile="true" version="${javadoc.version}" windowtitle="${javadoc.windowtitle}">
   11.54              <classpath>
   11.55                  <path path="${javac.classpath}"/>
   11.56 @@ -850,6 +860,7 @@
   11.57                  <include name="**/*.java"/>
   11.58                  <exclude name="*.java"/>
   11.59              </fileset>
   11.60 +            <arg line="${javadoc.endorsed.classpath.cmd.line.arg}"/>
   11.61          </javadoc>
   11.62          <copy todir="${dist.javadoc.dir}">
   11.63              <fileset dir="${src.dir}" excludes="${excludes}" includes="${includes}">
    12.1 --- a/java/rozsirene-atributy/nbproject/genfiles.properties	Fri Dec 30 12:37:30 2011 +0100
    12.2 +++ b/java/rozsirene-atributy/nbproject/genfiles.properties	Sat Aug 18 13:22:45 2012 +0200
    12.3 @@ -4,5 +4,5 @@
    12.4  # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml.
    12.5  # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you.
    12.6  nbproject/build-impl.xml.data.CRC32=ca43bb03
    12.7 -nbproject/build-impl.xml.script.CRC32=184465be
    12.8 -nbproject/build-impl.xml.stylesheet.CRC32=0ae3a408@1.44.1.45
    12.9 +nbproject/build-impl.xml.script.CRC32=dad65463
   12.10 +nbproject/build-impl.xml.stylesheet.CRC32=fcddb364@1.50.1.46