• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

テキストの各行をキーと値に分離し、複数テキストファイルを読み込み、キーを突き合わせ照合し、その結果を表示するGUIユーテリティです。


Commit MetaInfo

Revisiónfc56083b55b8c400cb58c56cf8861af9636853a6 (tree)
Tiempo2011-10-18 02:29:52
Autorseraphy <seraphy@sera...>
Commiterseraphy

Log Message

・ AppleJavaExtensions.jarの差し替え (Version 1.5, 2010-11-01)
http://developer.apple.com/library/mac/#samplecode/AppleJavaExtensions/Introduction/Intro.html

Cambiar Resumen

Diferencia incremental

--- a/build.xml
+++ b/build.xml
@@ -1,74 +1,74 @@
1-<?xml version="1.0" encoding="UTF-8"?>
2-<!-- You may freely edit this file. See commented blocks below for -->
3-<!-- some examples of how to customize the build. -->
4-<!-- (If you delete it and reopen the project it will be recreated.) -->
5-<!-- By default, only the Clean and Build commands use this build script. -->
6-<!-- Commands such as Run, Debug, and Test only use this build script if -->
7-<!-- the Compile on Save feature is turned off for the project. -->
8-<!-- You can turn off the Compile on Save (or Deploy on Save) setting -->
9-<!-- in the project's Project Properties dialog box.-->
10-<project name="TextKeyMatcher" default="default" basedir=".">
11- <description>Builds, tests, and runs the project TextKeyMatcher.</description>
12- <import file="nbproject/build-impl.xml"/>
13- <!--
14-
15- There exist several targets which are by default empty and which can be
16- used for execution of your tasks. These targets are usually executed
17- before and after some main targets. They are:
18-
19- -pre-init: called before initialization of project properties
20- -post-init: called after initialization of project properties
21- -pre-compile: called before javac compilation
22- -post-compile: called after javac compilation
23- -pre-compile-single: called before javac compilation of single file
24- -post-compile-single: called after javac compilation of single file
25- -pre-compile-test: called before javac compilation of JUnit tests
26- -post-compile-test: called after javac compilation of JUnit tests
27- -pre-compile-test-single: called before javac compilation of single JUnit test
28- -post-compile-test-single: called after javac compilation of single JUunit test
29- -pre-jar: called before JAR building
30- -post-jar: called after JAR building
31- -post-clean: called after cleaning build products
32-
33- (Targets beginning with '-' are not intended to be called on their own.)
34-
35- Example of inserting an obfuscator after compilation could look like this:
36-
37- <target name="-post-compile">
38- <obfuscate>
39- <fileset dir="${build.classes.dir}"/>
40- </obfuscate>
41- </target>
42-
43- For list of available properties check the imported
44- nbproject/build-impl.xml file.
45-
46-
47- Another way to customize the build is by overriding existing main targets.
48- The targets of interest are:
49-
50- -init-macrodef-javac: defines macro for javac compilation
51- -init-macrodef-junit: defines macro for junit execution
52- -init-macrodef-debug: defines macro for class debugging
53- -init-macrodef-java: defines macro for class execution
54- -do-jar-with-manifest: JAR building (if you are using a manifest)
55- -do-jar-without-manifest: JAR building (if you are not using a manifest)
56- run: execution of project
57- -javadoc-build: Javadoc generation
58- test-report: JUnit report generation
59-
60- An example of overriding the target for project execution could look like this:
61-
62- <target name="run" depends="TextKeyMatcher-impl.jar">
63- <exec dir="bin" executable="launcher.exe">
64- <arg file="${dist.jar}"/>
65- </exec>
66- </target>
67-
68- Notice that the overridden target depends on the jar target and not only on
69- the compile target as the regular run target does. Again, for a list of available
70- properties which you can use, check the target you are overriding in the
71- nbproject/build-impl.xml file.
72-
73- -->
74-</project>
1+<?xml version="1.0" encoding="UTF-8"?>
2+<!-- You may freely edit this file. See commented blocks below for -->
3+<!-- some examples of how to customize the build. -->
4+<!-- (If you delete it and reopen the project it will be recreated.) -->
5+<!-- By default, only the Clean and Build commands use this build script. -->
6+<!-- Commands such as Run, Debug, and Test only use this build script if -->
7+<!-- the Compile on Save feature is turned off for the project. -->
8+<!-- You can turn off the Compile on Save (or Deploy on Save) setting -->
9+<!-- in the project's Project Properties dialog box.-->
10+<project name="TextKeyMatcher" default="default" basedir=".">
11+ <description>Builds, tests, and runs the project TextKeyMatcher.</description>
12+ <import file="nbproject/build-impl.xml"/>
13+ <!--
14+
15+ There exist several targets which are by default empty and which can be
16+ used for execution of your tasks. These targets are usually executed
17+ before and after some main targets. They are:
18+
19+ -pre-init: called before initialization of project properties
20+ -post-init: called after initialization of project properties
21+ -pre-compile: called before javac compilation
22+ -post-compile: called after javac compilation
23+ -pre-compile-single: called before javac compilation of single file
24+ -post-compile-single: called after javac compilation of single file
25+ -pre-compile-test: called before javac compilation of JUnit tests
26+ -post-compile-test: called after javac compilation of JUnit tests
27+ -pre-compile-test-single: called before javac compilation of single JUnit test
28+ -post-compile-test-single: called after javac compilation of single JUunit test
29+ -pre-jar: called before JAR building
30+ -post-jar: called after JAR building
31+ -post-clean: called after cleaning build products
32+
33+ (Targets beginning with '-' are not intended to be called on their own.)
34+
35+ Example of inserting an obfuscator after compilation could look like this:
36+
37+ <target name="-post-compile">
38+ <obfuscate>
39+ <fileset dir="${build.classes.dir}"/>
40+ </obfuscate>
41+ </target>
42+
43+ For list of available properties check the imported
44+ nbproject/build-impl.xml file.
45+
46+
47+ Another way to customize the build is by overriding existing main targets.
48+ The targets of interest are:
49+
50+ -init-macrodef-javac: defines macro for javac compilation
51+ -init-macrodef-junit: defines macro for junit execution
52+ -init-macrodef-debug: defines macro for class debugging
53+ -init-macrodef-java: defines macro for class execution
54+ -do-jar-with-manifest: JAR building (if you are using a manifest)
55+ -do-jar-without-manifest: JAR building (if you are not using a manifest)
56+ run: execution of project
57+ -javadoc-build: Javadoc generation
58+ test-report: JUnit report generation
59+
60+ An example of overriding the target for project execution could look like this:
61+
62+ <target name="run" depends="TextKeyMatcher-impl.jar">
63+ <exec dir="bin" executable="launcher.exe">
64+ <arg file="${dist.jar}"/>
65+ </exec>
66+ </target>
67+
68+ Notice that the overridden target depends on the jar target and not only on
69+ the compile target as the regular run target does. Again, for a list of available
70+ properties which you can use, check the target you are overriding in the
71+ nbproject/build-impl.xml file.
72+
73+ -->
74+</project>
Binary files a/lib/AppleJavaExtensions.jar and b/lib/AppleJavaExtensions.jar differ
--- a/nbproject/build-impl.xml
+++ b/nbproject/build-impl.xml
@@ -1,1068 +1,1101 @@
1-<?xml version="1.0" encoding="UTF-8"?>
2-<!--
3-*** GENERATED FROM project.xml - DO NOT EDIT ***
4-*** EDIT ../build.xml INSTEAD ***
5-
6-For the purpose of easier reading the script
7-is divided into following sections:
8-
9- - initialization
10- - compilation
11- - jar
12- - execution
13- - debugging
14- - javadoc
15- - junit compilation
16- - junit execution
17- - junit debugging
18- - applet
19- - cleanup
20-
21- -->
22-<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="TextKeyMatcher-impl">
23- <import file="jnlp-impl.xml"/>
24- <fail message="Please build using Ant 1.7.1 or higher.">
25- <condition>
26- <not>
27- <antversion atleast="1.7.1"/>
28- </not>
29- </condition>
30- </fail>
31- <target depends="test,jar,javadoc" description="Build and test whole project." name="default"/>
32- <!--
33- ======================
34- INITIALIZATION SECTION
35- ======================
36- -->
37- <target name="-pre-init">
38- <!-- Empty placeholder for easier customization. -->
39- <!-- You can override this target in the ../build.xml file. -->
40- </target>
41- <target depends="-pre-init" name="-init-private">
42- <property file="nbproject/private/config.properties"/>
43- <property file="nbproject/private/configs/${config}.properties"/>
44- <property file="nbproject/private/private.properties"/>
45- </target>
46- <target name="-pre-init-libraries">
47- <property location="./lib/nblibraries.properties" name="libraries.path"/>
48- <dirname file="${libraries.path}" property="libraries.dir.nativedirsep"/>
49- <pathconvert dirsep="/" property="libraries.dir">
50- <path path="${libraries.dir.nativedirsep}"/>
51- </pathconvert>
52- <basename file="${libraries.path}" property="libraries.basename" suffix=".properties"/>
53- <available file="${libraries.dir}/${libraries.basename}-private.properties" property="private.properties.available"/>
54- </target>
55- <target depends="-pre-init-libraries" if="private.properties.available" name="-init-private-libraries">
56- <loadproperties encoding="ISO-8859-1" srcfile="${libraries.dir}/${libraries.basename}-private.properties">
57- <filterchain>
58- <replacestring from="$${base}" to="${libraries.dir}"/>
59- <escapeunicode/>
60- </filterchain>
61- </loadproperties>
62- </target>
63- <target depends="-pre-init,-init-private,-init-private-libraries" name="-init-libraries">
64- <loadproperties encoding="ISO-8859-1" srcfile="${libraries.path}">
65- <filterchain>
66- <replacestring from="$${base}" to="${libraries.dir}"/>
67- <escapeunicode/>
68- </filterchain>
69- </loadproperties>
70- </target>
71- <target depends="-pre-init,-init-private,-init-libraries" name="-init-user">
72- <property file="${user.properties.file}"/>
73- <!-- The two properties below are usually overridden -->
74- <!-- by the active platform. Just a fallback. -->
75- <property name="default.javac.source" value="1.4"/>
76- <property name="default.javac.target" value="1.4"/>
77- </target>
78- <target depends="-pre-init,-init-private,-init-libraries,-init-user" name="-init-project">
79- <property file="nbproject/configs/${config}.properties"/>
80- <property file="nbproject/project.properties"/>
81- </target>
82- <target depends="-pre-init,-init-private,-init-libraries,-init-user,-init-project,-init-macrodef-property" name="-do-init">
83- <available file="${manifest.file}" property="manifest.available"/>
84- <condition property="splashscreen.available">
85- <and>
86- <not>
87- <equals arg1="${application.splash}" arg2="" trim="true"/>
88- </not>
89- <available file="${application.splash}"/>
90- </and>
91- </condition>
92- <condition property="main.class.available">
93- <and>
94- <isset property="main.class"/>
95- <not>
96- <equals arg1="${main.class}" arg2="" trim="true"/>
97- </not>
98- </and>
99- </condition>
100- <condition property="manifest.available+main.class">
101- <and>
102- <isset property="manifest.available"/>
103- <isset property="main.class.available"/>
104- </and>
105- </condition>
106- <condition property="do.archive">
107- <not>
108- <istrue value="${jar.archive.disabled}"/>
109- </not>
110- </condition>
111- <condition property="do.mkdist">
112- <and>
113- <isset property="do.archive"/>
114- <isset property="libs.CopyLibs.classpath"/>
115- <not>
116- <istrue value="${mkdist.disabled}"/>
117- </not>
118- </and>
119- </condition>
120- <condition property="manifest.available+main.class+mkdist.available">
121- <and>
122- <istrue value="${manifest.available+main.class}"/>
123- <isset property="do.mkdist"/>
124- </and>
125- </condition>
126- <condition property="do.archive+manifest.available">
127- <and>
128- <isset property="manifest.available"/>
129- <istrue value="${do.archive}"/>
130- </and>
131- </condition>
132- <condition property="do.archive+main.class.available">
133- <and>
134- <isset property="main.class.available"/>
135- <istrue value="${do.archive}"/>
136- </and>
137- </condition>
138- <condition property="do.archive+splashscreen.available">
139- <and>
140- <isset property="splashscreen.available"/>
141- <istrue value="${do.archive}"/>
142- </and>
143- </condition>
144- <condition property="do.archive+manifest.available+main.class">
145- <and>
146- <istrue value="${manifest.available+main.class}"/>
147- <istrue value="${do.archive}"/>
148- </and>
149- </condition>
150- <condition property="manifest.available-mkdist.available">
151- <or>
152- <istrue value="${manifest.available}"/>
153- <isset property="do.mkdist"/>
154- </or>
155- </condition>
156- <condition property="manifest.available+main.class-mkdist.available">
157- <or>
158- <istrue value="${manifest.available+main.class}"/>
159- <isset property="do.mkdist"/>
160- </or>
161- </condition>
162- <condition property="have.tests">
163- <or>
164- <available file="${test.src.dir}"/>
165- </or>
166- </condition>
167- <condition property="have.sources">
168- <or>
169- <available file="${src.dir}"/>
170- </or>
171- </condition>
172- <condition property="netbeans.home+have.tests">
173- <and>
174- <isset property="netbeans.home"/>
175- <isset property="have.tests"/>
176- </and>
177- </condition>
178- <condition property="no.javadoc.preview">
179- <and>
180- <isset property="javadoc.preview"/>
181- <isfalse value="${javadoc.preview}"/>
182- </and>
183- </condition>
184- <property name="run.jvmargs" value=""/>
185- <property name="javac.compilerargs" value=""/>
186- <property name="work.dir" value="${basedir}"/>
187- <condition property="no.deps">
188- <and>
189- <istrue value="${no.dependencies}"/>
190- </and>
191- </condition>
192- <property name="javac.debug" value="true"/>
193- <property name="javadoc.preview" value="true"/>
194- <property name="application.args" value=""/>
195- <property name="source.encoding" value="${file.encoding}"/>
196- <property name="runtime.encoding" value="${source.encoding}"/>
197- <condition property="javadoc.encoding.used" value="${javadoc.encoding}">
198- <and>
199- <isset property="javadoc.encoding"/>
200- <not>
201- <equals arg1="${javadoc.encoding}" arg2=""/>
202- </not>
203- </and>
204- </condition>
205- <property name="javadoc.encoding.used" value="${source.encoding}"/>
206- <property name="includes" value="**"/>
207- <property name="excludes" value=""/>
208- <property name="do.depend" value="false"/>
209- <condition property="do.depend.true">
210- <istrue value="${do.depend}"/>
211- </condition>
212- <path id="endorsed.classpath.path" path="${endorsed.classpath}"/>
213- <condition else="" property="endorsed.classpath.cmd.line.arg" value="-Xbootclasspath/p:'${toString:endorsed.classpath.path}'">
214- <length length="0" string="${endorsed.classpath}" when="greater"/>
215- </condition>
216- <condition else="false" property="jdkBug6558476">
217- <and>
218- <matches pattern="1\.[56]" string="${java.specification.version}"/>
219- <not>
220- <os family="unix"/>
221- </not>
222- </and>
223- </condition>
224- <property name="javac.fork" value="${jdkBug6558476}"/>
225- <property name="jar.index" value="false"/>
226- <property name="jar.index.metainf" value="${jar.index}"/>
227- <available file="${meta.inf.dir}/persistence.xml" property="has.persistence.xml"/>
228- </target>
229- <target name="-post-init">
230- <!-- Empty placeholder for easier customization. -->
231- <!-- You can override this target in the ../build.xml file. -->
232- </target>
233- <target depends="-pre-init,-init-private,-init-libraries,-init-user,-init-project,-do-init" name="-init-check">
234- <fail unless="src.dir">Must set src.dir</fail>
235- <fail unless="test.src.dir">Must set test.src.dir</fail>
236- <fail unless="build.dir">Must set build.dir</fail>
237- <fail unless="dist.dir">Must set dist.dir</fail>
238- <fail unless="build.classes.dir">Must set build.classes.dir</fail>
239- <fail unless="dist.javadoc.dir">Must set dist.javadoc.dir</fail>
240- <fail unless="build.test.classes.dir">Must set build.test.classes.dir</fail>
241- <fail unless="build.test.results.dir">Must set build.test.results.dir</fail>
242- <fail unless="build.classes.excludes">Must set build.classes.excludes</fail>
243- <fail unless="dist.jar">Must set dist.jar</fail>
244- </target>
245- <target name="-init-macrodef-property">
246- <macrodef name="property" uri="http://www.netbeans.org/ns/j2se-project/1">
247- <attribute name="name"/>
248- <attribute name="value"/>
249- <sequential>
250- <property name="@{name}" value="${@{value}}"/>
251- </sequential>
252- </macrodef>
253- </target>
254- <target depends="-init-ap-cmdline-properties" if="ap.supported.internal" name="-init-macrodef-javac-with-processors">
255- <macrodef name="javac" uri="http://www.netbeans.org/ns/j2se-project/3">
256- <attribute default="${src.dir}" name="srcdir"/>
257- <attribute default="${build.classes.dir}" name="destdir"/>
258- <attribute default="${javac.classpath}" name="classpath"/>
259- <attribute default="${javac.processorpath}" name="processorpath"/>
260- <attribute default="${build.generated.sources.dir}/ap-source-output" name="apgeneratedsrcdir"/>
261- <attribute default="${includes}" name="includes"/>
262- <attribute default="${excludes}" name="excludes"/>
263- <attribute default="${javac.debug}" name="debug"/>
264- <attribute default="${empty.dir}" name="sourcepath"/>
265- <attribute default="${empty.dir}" name="gensrcdir"/>
266- <element name="customize" optional="true"/>
267- <sequential>
268- <property location="${build.dir}/empty" name="empty.dir"/>
269- <mkdir dir="${empty.dir}"/>
270- <mkdir dir="@{apgeneratedsrcdir}"/>
271- <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}">
272- <src>
273- <dirset dir="@{gensrcdir}" erroronmissingdir="false">
274- <include name="*"/>
275- </dirset>
276- </src>
277- <classpath>
278- <path path="@{classpath}"/>
279- </classpath>
280- <compilerarg line="${endorsed.classpath.cmd.line.arg}"/>
281- <compilerarg line="${javac.compilerargs}"/>
282- <compilerarg value="-processorpath"/>
283- <compilerarg path="@{processorpath}:${empty.dir}"/>
284- <compilerarg line="${ap.processors.internal}"/>
285- <compilerarg line="${annotation.processing.processor.options}"/>
286- <compilerarg value="-s"/>
287- <compilerarg path="@{apgeneratedsrcdir}"/>
288- <compilerarg line="${ap.proc.none.internal}"/>
289- <customize/>
290- </javac>
291- </sequential>
292- </macrodef>
293- </target>
294- <target depends="-init-ap-cmdline-properties" name="-init-macrodef-javac-without-processors" unless="ap.supported.internal">
295- <macrodef name="javac" uri="http://www.netbeans.org/ns/j2se-project/3">
296- <attribute default="${src.dir}" name="srcdir"/>
297- <attribute default="${build.classes.dir}" name="destdir"/>
298- <attribute default="${javac.classpath}" name="classpath"/>
299- <attribute default="${javac.processorpath}" name="processorpath"/>
300- <attribute default="${build.generated.sources.dir}/ap-source-output" name="apgeneratedsrcdir"/>
301- <attribute default="${includes}" name="includes"/>
302- <attribute default="${excludes}" name="excludes"/>
303- <attribute default="${javac.debug}" name="debug"/>
304- <attribute default="${empty.dir}" name="sourcepath"/>
305- <attribute default="${empty.dir}" name="gensrcdir"/>
306- <element name="customize" optional="true"/>
307- <sequential>
308- <property location="${build.dir}/empty" name="empty.dir"/>
309- <mkdir dir="${empty.dir}"/>
310- <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}">
311- <src>
312- <dirset dir="@{gensrcdir}" erroronmissingdir="false">
313- <include name="*"/>
314- </dirset>
315- </src>
316- <classpath>
317- <path path="@{classpath}"/>
318- </classpath>
319- <compilerarg line="${endorsed.classpath.cmd.line.arg}"/>
320- <compilerarg line="${javac.compilerargs}"/>
321- <customize/>
322- </javac>
323- </sequential>
324- </macrodef>
325- </target>
326- <target depends="-init-macrodef-javac-with-processors,-init-macrodef-javac-without-processors" name="-init-macrodef-javac">
327- <macrodef name="depend" uri="http://www.netbeans.org/ns/j2se-project/3">
328- <attribute default="${src.dir}" name="srcdir"/>
329- <attribute default="${build.classes.dir}" name="destdir"/>
330- <attribute default="${javac.classpath}" name="classpath"/>
331- <sequential>
332- <depend cache="${build.dir}/depcache" destdir="@{destdir}" excludes="${excludes}" includes="${includes}" srcdir="@{srcdir}">
333- <classpath>
334- <path path="@{classpath}"/>
335- </classpath>
336- </depend>
337- </sequential>
338- </macrodef>
339- <macrodef name="force-recompile" uri="http://www.netbeans.org/ns/j2se-project/3">
340- <attribute default="${build.classes.dir}" name="destdir"/>
341- <sequential>
342- <fail unless="javac.includes">Must set javac.includes</fail>
343- <pathconvert pathsep="${line.separator}" property="javac.includes.binary">
344- <path>
345- <filelist dir="@{destdir}" files="${javac.includes}"/>
346- </path>
347- <globmapper from="*.java" to="*.class"/>
348- </pathconvert>
349- <tempfile deleteonexit="true" property="javac.includesfile.binary"/>
350- <echo file="${javac.includesfile.binary}" message="${javac.includes.binary}"/>
351- <delete>
352- <files includesfile="${javac.includesfile.binary}"/>
353- </delete>
354- <delete>
355- <fileset file="${javac.includesfile.binary}"/>
356- </delete>
357- </sequential>
358- </macrodef>
359- </target>
360- <target name="-init-macrodef-junit">
361- <macrodef name="junit" uri="http://www.netbeans.org/ns/j2se-project/3">
362- <attribute default="${includes}" name="includes"/>
363- <attribute default="${excludes}" name="excludes"/>
364- <attribute default="**" name="testincludes"/>
365- <sequential>
366- <property name="junit.forkmode" value="perTest"/>
367- <junit dir="${work.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" forkmode="${junit.forkmode}" showoutput="true" tempdir="${build.dir}">
368- <batchtest todir="${build.test.results.dir}">
369- <fileset dir="${test.src.dir}" excludes="@{excludes},${excludes}" includes="@{includes}">
370- <filename name="@{testincludes}"/>
371- </fileset>
372- </batchtest>
373- <classpath>
374- <path path="${run.test.classpath}"/>
375- </classpath>
376- <syspropertyset>
377- <propertyref prefix="test-sys-prop."/>
378- <mapper from="test-sys-prop.*" to="*" type="glob"/>
379- </syspropertyset>
380- <formatter type="brief" usefile="false"/>
381- <formatter type="xml"/>
382- <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
383- <jvmarg value="-ea"/>
384- <jvmarg line="${run.jvmargs}"/>
385- </junit>
386- </sequential>
387- </macrodef>
388- </target>
389- <target depends="-profile-pre-init, init, -profile-post-init, -profile-init-macrodef-profile, -profile-init-check" name="profile-init"/>
390- <target name="-profile-pre-init">
391- <!-- Empty placeholder for easier customization. -->
392- <!-- You can override this target in the ../build.xml file. -->
393- </target>
394- <target name="-profile-post-init">
395- <!-- Empty placeholder for easier customization. -->
396- <!-- You can override this target in the ../build.xml file. -->
397- </target>
398- <target name="-profile-init-macrodef-profile">
399- <macrodef name="resolve">
400- <attribute name="name"/>
401- <attribute name="value"/>
402- <sequential>
403- <property name="@{name}" value="${env.@{value}}"/>
404- </sequential>
405- </macrodef>
406- <macrodef name="profile">
407- <attribute default="${main.class}" name="classname"/>
408- <element name="customize" optional="true"/>
409- <sequential>
410- <property environment="env"/>
411- <resolve name="profiler.current.path" value="${profiler.info.pathvar}"/>
412- <java classname="@{classname}" dir="${profiler.info.dir}" fork="true" jvm="${profiler.info.jvm}">
413- <jvmarg value="${profiler.info.jvmargs.agent}"/>
414- <jvmarg line="${profiler.info.jvmargs}"/>
415- <env key="${profiler.info.pathvar}" path="${profiler.info.agentpath}:${profiler.current.path}"/>
416- <arg line="${application.args}"/>
417- <classpath>
418- <path path="${run.classpath}"/>
419- </classpath>
420- <syspropertyset>
421- <propertyref prefix="run-sys-prop."/>
422- <mapper from="run-sys-prop.*" to="*" type="glob"/>
423- </syspropertyset>
424- <customize/>
425- </java>
426- </sequential>
427- </macrodef>
428- </target>
429- <target depends="-profile-pre-init, init, -profile-post-init, -profile-init-macrodef-profile" name="-profile-init-check">
430- <fail unless="profiler.info.jvm">Must set JVM to use for profiling in profiler.info.jvm</fail>
431- <fail unless="profiler.info.jvmargs.agent">Must set profiler agent JVM arguments in profiler.info.jvmargs.agent</fail>
432- </target>
433- <target depends="-init-debug-args" name="-init-macrodef-nbjpda">
434- <macrodef name="nbjpdastart" uri="http://www.netbeans.org/ns/j2se-project/1">
435- <attribute default="${main.class}" name="name"/>
436- <attribute default="${debug.classpath}" name="classpath"/>
437- <attribute default="" name="stopclassname"/>
438- <sequential>
439- <nbjpdastart addressproperty="jpda.address" name="@{name}" stopclassname="@{stopclassname}" transport="${debug-transport}">
440- <classpath>
441- <path path="@{classpath}"/>
442- </classpath>
443- </nbjpdastart>
444- </sequential>
445- </macrodef>
446- <macrodef name="nbjpdareload" uri="http://www.netbeans.org/ns/j2se-project/1">
447- <attribute default="${build.classes.dir}" name="dir"/>
448- <sequential>
449- <nbjpdareload>
450- <fileset dir="@{dir}" includes="${fix.classes}">
451- <include name="${fix.includes}*.class"/>
452- </fileset>
453- </nbjpdareload>
454- </sequential>
455- </macrodef>
456- </target>
457- <target name="-init-debug-args">
458- <property name="version-output" value="java version &quot;${ant.java.version}"/>
459- <condition property="have-jdk-older-than-1.4">
460- <or>
461- <contains string="${version-output}" substring="java version &quot;1.0"/>
462- <contains string="${version-output}" substring="java version &quot;1.1"/>
463- <contains string="${version-output}" substring="java version &quot;1.2"/>
464- <contains string="${version-output}" substring="java version &quot;1.3"/>
465- </or>
466- </condition>
467- <condition else="-Xdebug" property="debug-args-line" value="-Xdebug -Xnoagent -Djava.compiler=none">
468- <istrue value="${have-jdk-older-than-1.4}"/>
469- </condition>
470- <condition else="dt_socket" property="debug-transport-by-os" value="dt_shmem">
471- <os family="windows"/>
472- </condition>
473- <condition else="${debug-transport-by-os}" property="debug-transport" value="${debug.transport}">
474- <isset property="debug.transport"/>
475- </condition>
476- </target>
477- <target depends="-init-debug-args" name="-init-macrodef-debug">
478- <macrodef name="debug" uri="http://www.netbeans.org/ns/j2se-project/3">
479- <attribute default="${main.class}" name="classname"/>
480- <attribute default="${debug.classpath}" name="classpath"/>
481- <element name="customize" optional="true"/>
482- <sequential>
483- <java classname="@{classname}" dir="${work.dir}" fork="true">
484- <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
485- <jvmarg line="${debug-args-line}"/>
486- <jvmarg value="-Xrunjdwp:transport=${debug-transport},address=${jpda.address}"/>
487- <jvmarg value="-Dfile.encoding=${runtime.encoding}"/>
488- <redirector errorencoding="${runtime.encoding}" inputencoding="${runtime.encoding}" outputencoding="${runtime.encoding}"/>
489- <jvmarg line="${run.jvmargs}"/>
490- <classpath>
491- <path path="@{classpath}"/>
492- </classpath>
493- <syspropertyset>
494- <propertyref prefix="run-sys-prop."/>
495- <mapper from="run-sys-prop.*" to="*" type="glob"/>
496- </syspropertyset>
497- <customize/>
498- </java>
499- </sequential>
500- </macrodef>
501- </target>
502- <target name="-init-macrodef-java">
503- <macrodef name="java" uri="http://www.netbeans.org/ns/j2se-project/1">
504- <attribute default="${main.class}" name="classname"/>
505- <attribute default="${run.classpath}" name="classpath"/>
506- <element name="customize" optional="true"/>
507- <sequential>
508- <java classname="@{classname}" dir="${work.dir}" fork="true">
509- <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
510- <jvmarg value="-Dfile.encoding=${runtime.encoding}"/>
511- <redirector errorencoding="${runtime.encoding}" inputencoding="${runtime.encoding}" outputencoding="${runtime.encoding}"/>
512- <jvmarg line="${run.jvmargs}"/>
513- <classpath>
514- <path path="@{classpath}"/>
515- </classpath>
516- <syspropertyset>
517- <propertyref prefix="run-sys-prop."/>
518- <mapper from="run-sys-prop.*" to="*" type="glob"/>
519- </syspropertyset>
520- <customize/>
521- </java>
522- </sequential>
523- </macrodef>
524- </target>
525- <target name="-init-macrodef-copylibs">
526- <macrodef name="copylibs" uri="http://www.netbeans.org/ns/j2se-project/3">
527- <attribute default="${manifest.file}" name="manifest"/>
528- <element name="customize" optional="true"/>
529- <sequential>
530- <property location="${build.classes.dir}" name="build.classes.dir.resolved"/>
531- <pathconvert property="run.classpath.without.build.classes.dir">
532- <path path="${run.classpath}"/>
533- <map from="${build.classes.dir.resolved}" to=""/>
534- </pathconvert>
535- <pathconvert pathsep=" " property="jar.classpath">
536- <path path="${run.classpath.without.build.classes.dir}"/>
537- <chainedmapper>
538- <flattenmapper/>
539- <globmapper from="*" to="lib/*"/>
540- </chainedmapper>
541- </pathconvert>
542- <taskdef classname="org.netbeans.modules.java.j2seproject.copylibstask.CopyLibs" classpath="${libs.CopyLibs.classpath}" name="copylibs"/>
543- <copylibs compress="${jar.compress}" index="${jar.index}" indexMetaInf="${jar.index.metainf}" jarfile="${dist.jar}" manifest="@{manifest}" runtimeclasspath="${run.classpath.without.build.classes.dir}">
544- <fileset dir="${build.classes.dir}"/>
545- <manifest>
546- <attribute name="Class-Path" value="${jar.classpath}"/>
547- <customize/>
548- </manifest>
549- </copylibs>
550- </sequential>
551- </macrodef>
552- </target>
553- <target name="-init-presetdef-jar">
554- <presetdef name="jar" uri="http://www.netbeans.org/ns/j2se-project/1">
555- <jar compress="${jar.compress}" index="${jar.index}" jarfile="${dist.jar}">
556- <j2seproject1:fileset dir="${build.classes.dir}"/>
557- </jar>
558- </presetdef>
559- </target>
560- <target name="-init-ap-cmdline-properties">
561- <property name="annotation.processing.enabled" value="true"/>
562- <property name="annotation.processing.processors.list" value=""/>
563- <property name="annotation.processing.processor.options" value=""/>
564- <property name="annotation.processing.run.all.processors" value="true"/>
565- <property name="javac.processorpath" value="${javac.classpath}"/>
566- <property name="javac.test.processorpath" value="${javac.test.classpath}"/>
567- <condition property="ap.supported.internal" value="true">
568- <not>
569- <matches pattern="1\.[0-5](\..*)?" string="${javac.source}"/>
570- </not>
571- </condition>
572- </target>
573- <target depends="-init-ap-cmdline-properties" if="ap.supported.internal" name="-init-ap-cmdline-supported">
574- <condition else="" property="ap.processors.internal" value="-processor ${annotation.processing.processors.list}">
575- <isfalse value="${annotation.processing.run.all.processors}"/>
576- </condition>
577- <condition else="" property="ap.proc.none.internal" value="-proc:none">
578- <isfalse value="${annotation.processing.enabled}"/>
579- </condition>
580- </target>
581- <target depends="-init-ap-cmdline-properties,-init-ap-cmdline-supported" name="-init-ap-cmdline">
582- <property name="ap.cmd.line.internal" value=""/>
583- </target>
584- <target depends="-pre-init,-init-private,-init-libraries,-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"/>
585- <!--
586- ===================
587- COMPILATION SECTION
588- ===================
589- -->
590- <target name="-deps-jar-init" unless="built-jar.properties">
591- <property location="${build.dir}/built-jar.properties" name="built-jar.properties"/>
592- <delete file="${built-jar.properties}" quiet="true"/>
593- </target>
594- <target if="already.built.jar.${basedir}" name="-warn-already-built-jar">
595- <echo level="warn" message="Cycle detected: TextKeyMatcher was already built"/>
596- </target>
597- <target depends="init,-deps-jar-init" name="deps-jar" unless="no.deps">
598- <mkdir dir="${build.dir}"/>
599- <touch file="${built-jar.properties}" verbose="false"/>
600- <property file="${built-jar.properties}" prefix="already.built.jar."/>
601- <antcall target="-warn-already-built-jar"/>
602- <propertyfile file="${built-jar.properties}">
603- <entry key="${basedir}" value=""/>
604- </propertyfile>
605- </target>
606- <target depends="init,-check-automatic-build,-clean-after-automatic-build" name="-verify-automatic-build"/>
607- <target depends="init" name="-check-automatic-build">
608- <available file="${build.classes.dir}/.netbeans_automatic_build" property="netbeans.automatic.build"/>
609- </target>
610- <target depends="init" if="netbeans.automatic.build" name="-clean-after-automatic-build">
611- <antcall target="clean"/>
612- </target>
613- <target depends="init,deps-jar" name="-pre-pre-compile">
614- <mkdir dir="${build.classes.dir}"/>
615- </target>
616- <target name="-pre-compile">
617- <!-- Empty placeholder for easier customization. -->
618- <!-- You can override this target in the ../build.xml file. -->
619- </target>
620- <target if="do.depend.true" name="-compile-depend">
621- <pathconvert property="build.generated.subdirs">
622- <dirset dir="${build.generated.sources.dir}" erroronmissingdir="false">
623- <include name="*"/>
624- </dirset>
625- </pathconvert>
626- <j2seproject3:depend srcdir="${src.dir}:${build.generated.subdirs}"/>
627- </target>
628- <target depends="init,deps-jar,-pre-pre-compile,-pre-compile, -copy-persistence-xml,-compile-depend" if="have.sources" name="-do-compile">
629- <j2seproject3:javac gensrcdir="${build.generated.sources.dir}"/>
630- <copy todir="${build.classes.dir}">
631- <fileset dir="${src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
632- </copy>
633- </target>
634- <target if="has.persistence.xml" name="-copy-persistence-xml">
635- <mkdir dir="${build.classes.dir}/META-INF"/>
636- <copy todir="${build.classes.dir}/META-INF">
637- <fileset dir="${meta.inf.dir}" includes="persistence.xml"/>
638- </copy>
639- </target>
640- <target name="-post-compile">
641- <!-- Empty placeholder for easier customization. -->
642- <!-- You can override this target in the ../build.xml file. -->
643- </target>
644- <target depends="init,deps-jar,-verify-automatic-build,-pre-pre-compile,-pre-compile,-do-compile,-post-compile" description="Compile project." name="compile"/>
645- <target name="-pre-compile-single">
646- <!-- Empty placeholder for easier customization. -->
647- <!-- You can override this target in the ../build.xml file. -->
648- </target>
649- <target depends="init,deps-jar,-pre-pre-compile" name="-do-compile-single">
650- <fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail>
651- <j2seproject3:force-recompile/>
652- <j2seproject3:javac excludes="" gensrcdir="${build.generated.sources.dir}" includes="${javac.includes}" sourcepath="${src.dir}"/>
653- </target>
654- <target name="-post-compile-single">
655- <!-- Empty placeholder for easier customization. -->
656- <!-- You can override this target in the ../build.xml file. -->
657- </target>
658- <target depends="init,deps-jar,-verify-automatic-build,-pre-pre-compile,-pre-compile-single,-do-compile-single,-post-compile-single" name="compile-single"/>
659- <!--
660- ====================
661- JAR BUILDING SECTION
662- ====================
663- -->
664- <target depends="init" name="-pre-pre-jar">
665- <dirname file="${dist.jar}" property="dist.jar.dir"/>
666- <mkdir dir="${dist.jar.dir}"/>
667- </target>
668- <target name="-pre-jar">
669- <!-- Empty placeholder for easier customization. -->
670- <!-- You can override this target in the ../build.xml file. -->
671- </target>
672- <target depends="init,compile,-pre-pre-jar,-pre-jar" if="do.archive" name="-do-jar-without-manifest" unless="manifest.available-mkdist.available">
673- <j2seproject1:jar/>
674- </target>
675- <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">
676- <j2seproject1:jar manifest="${manifest.file}"/>
677- </target>
678- <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">
679- <j2seproject1:jar manifest="${manifest.file}">
680- <j2seproject1:manifest>
681- <j2seproject1:attribute name="Main-Class" value="${main.class}"/>
682- </j2seproject1:manifest>
683- </j2seproject1:jar>
684- <echo level="info">To run this application from the command line without Ant, try:</echo>
685- <property location="${build.classes.dir}" name="build.classes.dir.resolved"/>
686- <property location="${dist.jar}" name="dist.jar.resolved"/>
687- <pathconvert property="run.classpath.with.dist.jar">
688- <path path="${run.classpath}"/>
689- <map from="${build.classes.dir.resolved}" to="${dist.jar.resolved}"/>
690- </pathconvert>
691- <echo level="info">java -cp "${run.classpath.with.dist.jar}" ${main.class}</echo>
692- </target>
693- <target depends="init" if="do.archive" name="-do-jar-with-libraries-create-manifest" unless="manifest.available">
694- <tempfile deleteonexit="true" destdir="${build.dir}" property="tmp.manifest.file"/>
695- <touch file="${tmp.manifest.file}" verbose="false"/>
696- </target>
697- <target depends="init" if="do.archive+manifest.available" name="-do-jar-with-libraries-copy-manifest">
698- <tempfile deleteonexit="true" destdir="${build.dir}" property="tmp.manifest.file"/>
699- <copy file="${manifest.file}" tofile="${tmp.manifest.file}"/>
700- </target>
701- <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">
702- <manifest file="${tmp.manifest.file}" mode="update">
703- <attribute name="Main-Class" value="${main.class}"/>
704- </manifest>
705- </target>
706- <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">
707- <basename file="${application.splash}" property="splashscreen.basename"/>
708- <mkdir dir="${build.classes.dir}/META-INF"/>
709- <copy failonerror="false" file="${application.splash}" todir="${build.classes.dir}/META-INF"/>
710- <manifest file="${tmp.manifest.file}" mode="update">
711- <attribute name="SplashScreen-Image" value="META-INF/${splashscreen.basename}"/>
712- </manifest>
713- </target>
714- <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">
715- <j2seproject3:copylibs manifest="${tmp.manifest.file}"/>
716- <echo level="info">To run this application from the command line without Ant, try:</echo>
717- <property location="${dist.jar}" name="dist.jar.resolved"/>
718- <echo level="info">java -jar "${dist.jar.resolved}"</echo>
719- </target>
720- <target depends="-do-jar-with-libraries-pack" if="do.archive" name="-do-jar-with-libraries-delete-manifest">
721- <delete>
722- <fileset file="${tmp.manifest.file}"/>
723- </delete>
724- </target>
725- <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"/>
726- <target depends="jnlp" name="-post-jar">
727- <!-- Empty placeholder for easier customization. -->
728- <!-- You can override this target in the ../build.xml file. -->
729- </target>
730- <target depends="init,compile,-pre-jar,-do-jar-with-manifest,-do-jar-without-manifest,-do-jar-with-mainclass,-do-jar-with-libraries,-post-jar,jnlp" description="Build JAR." name="jar"/>
731- <!--
732- =================
733- EXECUTION SECTION
734- =================
735- -->
736- <target depends="init,compile" description="Run a main class." name="run">
737- <j2seproject1:java>
738- <customize>
739- <arg line="${application.args}"/>
740- </customize>
741- </j2seproject1:java>
742- </target>
743- <target name="-do-not-recompile">
744- <property name="javac.includes.binary" value=""/>
745- </target>
746- <target depends="init,compile-single" name="run-single">
747- <fail unless="run.class">Must select one file in the IDE or set run.class</fail>
748- <j2seproject1:java classname="${run.class}"/>
749- </target>
750- <target depends="init,compile-test-single" name="run-test-with-main">
751- <fail unless="run.class">Must select one file in the IDE or set run.class</fail>
752- <j2seproject1:java classname="${run.class}" classpath="${run.test.classpath}"/>
753- </target>
754- <!--
755- =================
756- DEBUGGING SECTION
757- =================
758- -->
759- <target depends="init" if="netbeans.home" name="-debug-start-debugger">
760- <j2seproject1:nbjpdastart name="${debug.class}"/>
761- </target>
762- <target depends="init" if="netbeans.home" name="-debug-start-debugger-main-test">
763- <j2seproject1:nbjpdastart classpath="${debug.test.classpath}" name="${debug.class}"/>
764- </target>
765- <target depends="init,compile" name="-debug-start-debuggee">
766- <j2seproject3:debug>
767- <customize>
768- <arg line="${application.args}"/>
769- </customize>
770- </j2seproject3:debug>
771- </target>
772- <target depends="init,compile,-debug-start-debugger,-debug-start-debuggee" description="Debug project in IDE." if="netbeans.home" name="debug"/>
773- <target depends="init" if="netbeans.home" name="-debug-start-debugger-stepinto">
774- <j2seproject1:nbjpdastart stopclassname="${main.class}"/>
775- </target>
776- <target depends="init,compile,-debug-start-debugger-stepinto,-debug-start-debuggee" if="netbeans.home" name="debug-stepinto"/>
777- <target depends="init,compile-single" if="netbeans.home" name="-debug-start-debuggee-single">
778- <fail unless="debug.class">Must select one file in the IDE or set debug.class</fail>
779- <j2seproject3:debug classname="${debug.class}"/>
780- </target>
781- <target depends="init,compile-single,-debug-start-debugger,-debug-start-debuggee-single" if="netbeans.home" name="debug-single"/>
782- <target depends="init,compile-test-single" if="netbeans.home" name="-debug-start-debuggee-main-test">
783- <fail unless="debug.class">Must select one file in the IDE or set debug.class</fail>
784- <j2seproject3:debug classname="${debug.class}" classpath="${debug.test.classpath}"/>
785- </target>
786- <target depends="init,compile-test-single,-debug-start-debugger-main-test,-debug-start-debuggee-main-test" if="netbeans.home" name="debug-test-with-main"/>
787- <target depends="init" name="-pre-debug-fix">
788- <fail unless="fix.includes">Must set fix.includes</fail>
789- <property name="javac.includes" value="${fix.includes}.java"/>
790- </target>
791- <target depends="init,-pre-debug-fix,compile-single" if="netbeans.home" name="-do-debug-fix">
792- <j2seproject1:nbjpdareload/>
793- </target>
794- <target depends="init,-pre-debug-fix,-do-debug-fix" if="netbeans.home" name="debug-fix"/>
795- <!--
796- =================
797- PROFILING SECTION
798- =================
799- -->
800- <target depends="profile-init,compile" description="Profile a project in the IDE." if="netbeans.home" name="profile">
801- <nbprofiledirect>
802- <classpath>
803- <path path="${run.classpath}"/>
804- </classpath>
805- </nbprofiledirect>
806- <profile/>
807- </target>
808- <target depends="profile-init,compile-single" description="Profile a selected class in the IDE." if="netbeans.home" name="profile-single">
809- <fail unless="profile.class">Must select one file in the IDE or set profile.class</fail>
810- <nbprofiledirect>
811- <classpath>
812- <path path="${run.classpath}"/>
813- </classpath>
814- </nbprofiledirect>
815- <profile classname="${profile.class}"/>
816- </target>
817- <!--
818- =========================
819- APPLET PROFILING SECTION
820- =========================
821- -->
822- <target depends="profile-init,compile-single" if="netbeans.home" name="profile-applet">
823- <nbprofiledirect>
824- <classpath>
825- <path path="${run.classpath}"/>
826- </classpath>
827- </nbprofiledirect>
828- <profile classname="sun.applet.AppletViewer">
829- <customize>
830- <arg value="${applet.url}"/>
831- </customize>
832- </profile>
833- </target>
834- <!--
835- =========================
836- TESTS PROFILING SECTION
837- =========================
838- -->
839- <target depends="profile-init,compile-test-single" if="netbeans.home" name="profile-test-single">
840- <nbprofiledirect>
841- <classpath>
842- <path path="${run.test.classpath}"/>
843- </classpath>
844- </nbprofiledirect>
845- <junit dir="${profiler.info.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" jvm="${profiler.info.jvm}" showoutput="true">
846- <env key="${profiler.info.pathvar}" path="${profiler.info.agentpath}:${profiler.current.path}"/>
847- <jvmarg value="${profiler.info.jvmargs.agent}"/>
848- <jvmarg line="${profiler.info.jvmargs}"/>
849- <test name="${profile.class}"/>
850- <classpath>
851- <path path="${run.test.classpath}"/>
852- </classpath>
853- <syspropertyset>
854- <propertyref prefix="test-sys-prop."/>
855- <mapper from="test-sys-prop.*" to="*" type="glob"/>
856- </syspropertyset>
857- <formatter type="brief" usefile="false"/>
858- <formatter type="xml"/>
859- </junit>
860- </target>
861- <!--
862- ===============
863- JAVADOC SECTION
864- ===============
865- -->
866- <target depends="init" if="have.sources" name="-javadoc-build">
867- <mkdir dir="${dist.javadoc.dir}"/>
868- <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}">
869- <classpath>
870- <path path="${javac.classpath}"/>
871- </classpath>
872- <fileset dir="${src.dir}" excludes="*.java,${excludes}" includes="${includes}">
873- <filename name="**/*.java"/>
874- </fileset>
875- <fileset dir="${build.generated.sources.dir}" erroronmissingdir="false">
876- <include name="**/*.java"/>
877- <exclude name="*.java"/>
878- </fileset>
879- </javadoc>
880- <copy todir="${dist.javadoc.dir}">
881- <fileset dir="${src.dir}" excludes="${excludes}" includes="${includes}">
882- <filename name="**/doc-files/**"/>
883- </fileset>
884- <fileset dir="${build.generated.sources.dir}" erroronmissingdir="false">
885- <include name="**/doc-files/**"/>
886- </fileset>
887- </copy>
888- </target>
889- <target depends="init,-javadoc-build" if="netbeans.home" name="-javadoc-browse" unless="no.javadoc.preview">
890- <nbbrowse file="${dist.javadoc.dir}/index.html"/>
891- </target>
892- <target depends="init,-javadoc-build,-javadoc-browse" description="Build Javadoc." name="javadoc"/>
893- <!--
894- =========================
895- JUNIT COMPILATION SECTION
896- =========================
897- -->
898- <target depends="init,compile" if="have.tests" name="-pre-pre-compile-test">
899- <mkdir dir="${build.test.classes.dir}"/>
900- </target>
901- <target name="-pre-compile-test">
902- <!-- Empty placeholder for easier customization. -->
903- <!-- You can override this target in the ../build.xml file. -->
904- </target>
905- <target if="do.depend.true" name="-compile-test-depend">
906- <j2seproject3:depend classpath="${javac.test.classpath}" destdir="${build.test.classes.dir}" srcdir="${test.src.dir}"/>
907- </target>
908- <target depends="init,deps-jar,compile,-pre-pre-compile-test,-pre-compile-test,-compile-test-depend" if="have.tests" name="-do-compile-test">
909- <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}"/>
910- <copy todir="${build.test.classes.dir}">
911- <fileset dir="${test.src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
912- </copy>
913- </target>
914- <target name="-post-compile-test">
915- <!-- Empty placeholder for easier customization. -->
916- <!-- You can override this target in the ../build.xml file. -->
917- </target>
918- <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test,-do-compile-test,-post-compile-test" name="compile-test"/>
919- <target name="-pre-compile-test-single">
920- <!-- Empty placeholder for easier customization. -->
921- <!-- You can override this target in the ../build.xml file. -->
922- </target>
923- <target depends="init,deps-jar,compile,-pre-pre-compile-test,-pre-compile-test-single" if="have.tests" name="-do-compile-test-single">
924- <fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail>
925- <j2seproject3:force-recompile destdir="${build.test.classes.dir}"/>
926- <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}"/>
927- <copy todir="${build.test.classes.dir}">
928- <fileset dir="${test.src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
929- </copy>
930- </target>
931- <target name="-post-compile-test-single">
932- <!-- Empty placeholder for easier customization. -->
933- <!-- You can override this target in the ../build.xml file. -->
934- </target>
935- <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test-single,-do-compile-test-single,-post-compile-test-single" name="compile-test-single"/>
936- <!--
937- =======================
938- JUNIT EXECUTION SECTION
939- =======================
940- -->
941- <target depends="init" if="have.tests" name="-pre-test-run">
942- <mkdir dir="${build.test.results.dir}"/>
943- </target>
944- <target depends="init,compile-test,-pre-test-run" if="have.tests" name="-do-test-run">
945- <j2seproject3:junit testincludes="**/*Test.java"/>
946- </target>
947- <target depends="init,compile-test,-pre-test-run,-do-test-run" if="have.tests" name="-post-test-run">
948- <fail if="tests.failed" unless="ignore.failing.tests">Some tests failed; see details above.</fail>
949- </target>
950- <target depends="init" if="have.tests" name="test-report"/>
951- <target depends="init" if="netbeans.home+have.tests" name="-test-browse"/>
952- <target depends="init,compile-test,-pre-test-run,-do-test-run,test-report,-post-test-run,-test-browse" description="Run unit tests." name="test"/>
953- <target depends="init" if="have.tests" name="-pre-test-run-single">
954- <mkdir dir="${build.test.results.dir}"/>
955- </target>
956- <target depends="init,compile-test-single,-pre-test-run-single" if="have.tests" name="-do-test-run-single">
957- <fail unless="test.includes">Must select some files in the IDE or set test.includes</fail>
958- <j2seproject3:junit excludes="" includes="${test.includes}"/>
959- </target>
960- <target depends="init,compile-test-single,-pre-test-run-single,-do-test-run-single" if="have.tests" name="-post-test-run-single">
961- <fail if="tests.failed" unless="ignore.failing.tests">Some tests failed; see details above.</fail>
962- </target>
963- <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"/>
964- <!--
965- =======================
966- JUNIT DEBUGGING SECTION
967- =======================
968- -->
969- <target depends="init,compile-test" if="have.tests" name="-debug-start-debuggee-test">
970- <fail unless="test.class">Must select one file in the IDE or set test.class</fail>
971- <property location="${build.test.results.dir}/TEST-${test.class}.xml" name="test.report.file"/>
972- <delete file="${test.report.file}"/>
973- <mkdir dir="${build.test.results.dir}"/>
974- <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}">
975- <customize>
976- <syspropertyset>
977- <propertyref prefix="test-sys-prop."/>
978- <mapper from="test-sys-prop.*" to="*" type="glob"/>
979- </syspropertyset>
980- <arg value="${test.class}"/>
981- <arg value="showoutput=true"/>
982- <arg value="formatter=org.apache.tools.ant.taskdefs.optional.junit.BriefJUnitResultFormatter"/>
983- <arg value="formatter=org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter,${test.report.file}"/>
984- </customize>
985- </j2seproject3:debug>
986- </target>
987- <target depends="init,compile-test" if="netbeans.home+have.tests" name="-debug-start-debugger-test">
988- <j2seproject1:nbjpdastart classpath="${debug.test.classpath}" name="${test.class}"/>
989- </target>
990- <target depends="init,compile-test-single,-debug-start-debugger-test,-debug-start-debuggee-test" name="debug-test"/>
991- <target depends="init,-pre-debug-fix,compile-test-single" if="netbeans.home" name="-do-debug-fix-test">
992- <j2seproject1:nbjpdareload dir="${build.test.classes.dir}"/>
993- </target>
994- <target depends="init,-pre-debug-fix,-do-debug-fix-test" if="netbeans.home" name="debug-fix-test"/>
995- <!--
996- =========================
997- APPLET EXECUTION SECTION
998- =========================
999- -->
1000- <target depends="init,compile-single" name="run-applet">
1001- <fail unless="applet.url">Must select one file in the IDE or set applet.url</fail>
1002- <j2seproject1:java classname="sun.applet.AppletViewer">
1003- <customize>
1004- <arg value="${applet.url}"/>
1005- </customize>
1006- </j2seproject1:java>
1007- </target>
1008- <!--
1009- =========================
1010- APPLET DEBUGGING SECTION
1011- =========================
1012- -->
1013- <target depends="init,compile-single" if="netbeans.home" name="-debug-start-debuggee-applet">
1014- <fail unless="applet.url">Must select one file in the IDE or set applet.url</fail>
1015- <j2seproject3:debug classname="sun.applet.AppletViewer">
1016- <customize>
1017- <arg value="${applet.url}"/>
1018- </customize>
1019- </j2seproject3:debug>
1020- </target>
1021- <target depends="init,compile-single,-debug-start-debugger,-debug-start-debuggee-applet" if="netbeans.home" name="debug-applet"/>
1022- <!--
1023- ===============
1024- CLEANUP SECTION
1025- ===============
1026- -->
1027- <target name="-deps-clean-init" unless="built-clean.properties">
1028- <property location="${build.dir}/built-clean.properties" name="built-clean.properties"/>
1029- <delete file="${built-clean.properties}" quiet="true"/>
1030- </target>
1031- <target if="already.built.clean.${basedir}" name="-warn-already-built-clean">
1032- <echo level="warn" message="Cycle detected: TextKeyMatcher was already built"/>
1033- </target>
1034- <target depends="init,-deps-clean-init" name="deps-clean" unless="no.deps">
1035- <mkdir dir="${build.dir}"/>
1036- <touch file="${built-clean.properties}" verbose="false"/>
1037- <property file="${built-clean.properties}" prefix="already.built.clean."/>
1038- <antcall target="-warn-already-built-clean"/>
1039- <propertyfile file="${built-clean.properties}">
1040- <entry key="${basedir}" value=""/>
1041- </propertyfile>
1042- </target>
1043- <target depends="init" name="-do-clean">
1044- <delete dir="${build.dir}"/>
1045- <delete dir="${dist.dir}" followsymlinks="false" includeemptydirs="true"/>
1046- </target>
1047- <target name="-post-clean">
1048- <!-- Empty placeholder for easier customization. -->
1049- <!-- You can override this target in the ../build.xml file. -->
1050- </target>
1051- <target depends="init,deps-clean,-do-clean,-post-clean" description="Clean build products." name="clean"/>
1052- <target name="-check-call-dep">
1053- <property file="${call.built.properties}" prefix="already.built."/>
1054- <condition property="should.call.dep">
1055- <not>
1056- <isset property="already.built.${call.subproject}"/>
1057- </not>
1058- </condition>
1059- </target>
1060- <target depends="-check-call-dep" if="should.call.dep" name="-maybe-call-dep">
1061- <ant antfile="${call.script}" inheritall="false" target="${call.target}">
1062- <propertyset>
1063- <propertyref prefix="transfer."/>
1064- <mapper from="transfer.*" to="*" type="glob"/>
1065- </propertyset>
1066- </ant>
1067- </target>
1068-</project>
1+<?xml version="1.0" encoding="UTF-8"?>
2+<!--
3+*** GENERATED FROM project.xml - DO NOT EDIT ***
4+*** EDIT ../build.xml INSTEAD ***
5+
6+For the purpose of easier reading the script
7+is divided into following sections:
8+
9+ - initialization
10+ - compilation
11+ - jar
12+ - execution
13+ - debugging
14+ - javadoc
15+ - junit compilation
16+ - junit execution
17+ - junit debugging
18+ - applet
19+ - cleanup
20+
21+ -->
22+<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="TextKeyMatcher-impl">
23+ <import file="jnlp-impl.xml"/>
24+ <fail message="Please build using Ant 1.7.1 or higher.">
25+ <condition>
26+ <not>
27+ <antversion atleast="1.7.1"/>
28+ </not>
29+ </condition>
30+ </fail>
31+ <target depends="test,jar,javadoc" description="Build and test whole project." name="default"/>
32+ <!--
33+ ======================
34+ INITIALIZATION SECTION
35+ ======================
36+ -->
37+ <target name="-pre-init">
38+ <!-- Empty placeholder for easier customization. -->
39+ <!-- You can override this target in the ../build.xml file. -->
40+ </target>
41+ <target depends="-pre-init" name="-init-private">
42+ <property file="nbproject/private/config.properties"/>
43+ <property file="nbproject/private/configs/${config}.properties"/>
44+ <property file="nbproject/private/private.properties"/>
45+ </target>
46+ <target name="-pre-init-libraries">
47+ <property location="./lib/nblibraries.properties" name="libraries.path"/>
48+ <dirname file="${libraries.path}" property="libraries.dir.nativedirsep"/>
49+ <pathconvert dirsep="/" property="libraries.dir">
50+ <path path="${libraries.dir.nativedirsep}"/>
51+ </pathconvert>
52+ <basename file="${libraries.path}" property="libraries.basename" suffix=".properties"/>
53+ <available file="${libraries.dir}/${libraries.basename}-private.properties" property="private.properties.available"/>
54+ </target>
55+ <target depends="-pre-init-libraries" if="private.properties.available" name="-init-private-libraries">
56+ <loadproperties encoding="ISO-8859-1" srcfile="${libraries.dir}/${libraries.basename}-private.properties">
57+ <filterchain>
58+ <replacestring from="$${base}" to="${libraries.dir}"/>
59+ <escapeunicode/>
60+ </filterchain>
61+ </loadproperties>
62+ </target>
63+ <target depends="-pre-init,-init-private,-init-private-libraries" name="-init-libraries">
64+ <loadproperties encoding="ISO-8859-1" srcfile="${libraries.path}">
65+ <filterchain>
66+ <replacestring from="$${base}" to="${libraries.dir}"/>
67+ <escapeunicode/>
68+ </filterchain>
69+ </loadproperties>
70+ </target>
71+ <target depends="-pre-init,-init-private,-init-libraries" name="-init-user">
72+ <property file="${user.properties.file}"/>
73+ <!-- The two properties below are usually overridden -->
74+ <!-- by the active platform. Just a fallback. -->
75+ <property name="default.javac.source" value="1.4"/>
76+ <property name="default.javac.target" value="1.4"/>
77+ </target>
78+ <target depends="-pre-init,-init-private,-init-libraries,-init-user" name="-init-project">
79+ <property file="nbproject/configs/${config}.properties"/>
80+ <property file="nbproject/project.properties"/>
81+ </target>
82+ <target depends="-pre-init,-init-private,-init-libraries,-init-user,-init-project,-init-macrodef-property" name="-do-init">
83+ <j2seproject1:property name="platform.home" value="platforms.${platform.active}.home"/>
84+ <j2seproject1:property name="platform.bootcp" value="platforms.${platform.active}.bootclasspath"/>
85+ <j2seproject1:property name="platform.compiler" value="platforms.${platform.active}.compile"/>
86+ <j2seproject1:property name="platform.javac.tmp" value="platforms.${platform.active}.javac"/>
87+ <condition property="platform.javac" value="${platform.home}/bin/javac">
88+ <equals arg1="${platform.javac.tmp}" arg2="$${platforms.${platform.active}.javac}"/>
89+ </condition>
90+ <property name="platform.javac" value="${platform.javac.tmp}"/>
91+ <j2seproject1:property name="platform.java.tmp" value="platforms.${platform.active}.java"/>
92+ <condition property="platform.java" value="${platform.home}/bin/java">
93+ <equals arg1="${platform.java.tmp}" arg2="$${platforms.${platform.active}.java}"/>
94+ </condition>
95+ <property name="platform.java" value="${platform.java.tmp}"/>
96+ <j2seproject1:property name="platform.javadoc.tmp" value="platforms.${platform.active}.javadoc"/>
97+ <condition property="platform.javadoc" value="${platform.home}/bin/javadoc">
98+ <equals arg1="${platform.javadoc.tmp}" arg2="$${platforms.${platform.active}.javadoc}"/>
99+ </condition>
100+ <property name="platform.javadoc" value="${platform.javadoc.tmp}"/>
101+ <condition property="platform.invalid" value="true">
102+ <or>
103+ <contains string="${platform.javac}" substring="$${platforms."/>
104+ <contains string="${platform.java}" substring="$${platforms."/>
105+ <contains string="${platform.javadoc}" substring="$${platforms."/>
106+ </or>
107+ </condition>
108+ <fail unless="platform.home">Must set platform.home</fail>
109+ <fail unless="platform.bootcp">Must set platform.bootcp</fail>
110+ <fail unless="platform.java">Must set platform.java</fail>
111+ <fail unless="platform.javac">Must set platform.javac</fail>
112+ <fail if="platform.invalid">
113+ The J2SE Platform is not correctly set up.
114+ Your active platform is: ${platform.active}, but the corresponding property "platforms.${platform.active}.home" is not found in the project's properties files.
115+ Either open the project in the IDE and setup the Platform with the same name or add it manually.
116+ For example like this:
117+ ant -Duser.properties.file=&lt;path_to_property_file&gt; jar (where you put the property "platforms.${platform.active}.home" in a .properties file)
118+ or ant -Dplatforms.${platform.active}.home=&lt;path_to_JDK_home&gt; jar (where no properties file is used)
119+ </fail>
120+ <available file="${manifest.file}" property="manifest.available"/>
121+ <condition property="splashscreen.available">
122+ <and>
123+ <not>
124+ <equals arg1="${application.splash}" arg2="" trim="true"/>
125+ </not>
126+ <available file="${application.splash}"/>
127+ </and>
128+ </condition>
129+ <condition property="main.class.available">
130+ <and>
131+ <isset property="main.class"/>
132+ <not>
133+ <equals arg1="${main.class}" arg2="" trim="true"/>
134+ </not>
135+ </and>
136+ </condition>
137+ <condition property="manifest.available+main.class">
138+ <and>
139+ <isset property="manifest.available"/>
140+ <isset property="main.class.available"/>
141+ </and>
142+ </condition>
143+ <condition property="do.archive">
144+ <not>
145+ <istrue value="${jar.archive.disabled}"/>
146+ </not>
147+ </condition>
148+ <condition property="do.mkdist">
149+ <and>
150+ <isset property="do.archive"/>
151+ <isset property="libs.CopyLibs.classpath"/>
152+ <not>
153+ <istrue value="${mkdist.disabled}"/>
154+ </not>
155+ </and>
156+ </condition>
157+ <condition property="manifest.available+main.class+mkdist.available">
158+ <and>
159+ <istrue value="${manifest.available+main.class}"/>
160+ <isset property="do.mkdist"/>
161+ </and>
162+ </condition>
163+ <condition property="do.archive+manifest.available">
164+ <and>
165+ <isset property="manifest.available"/>
166+ <istrue value="${do.archive}"/>
167+ </and>
168+ </condition>
169+ <condition property="do.archive+main.class.available">
170+ <and>
171+ <isset property="main.class.available"/>
172+ <istrue value="${do.archive}"/>
173+ </and>
174+ </condition>
175+ <condition property="do.archive+splashscreen.available">
176+ <and>
177+ <isset property="splashscreen.available"/>
178+ <istrue value="${do.archive}"/>
179+ </and>
180+ </condition>
181+ <condition property="do.archive+manifest.available+main.class">
182+ <and>
183+ <istrue value="${manifest.available+main.class}"/>
184+ <istrue value="${do.archive}"/>
185+ </and>
186+ </condition>
187+ <condition property="manifest.available-mkdist.available">
188+ <or>
189+ <istrue value="${manifest.available}"/>
190+ <isset property="do.mkdist"/>
191+ </or>
192+ </condition>
193+ <condition property="manifest.available+main.class-mkdist.available">
194+ <or>
195+ <istrue value="${manifest.available+main.class}"/>
196+ <isset property="do.mkdist"/>
197+ </or>
198+ </condition>
199+ <condition property="have.tests">
200+ <or>
201+ <available file="${test.src.dir}"/>
202+ </or>
203+ </condition>
204+ <condition property="have.sources">
205+ <or>
206+ <available file="${src.dir}"/>
207+ </or>
208+ </condition>
209+ <condition property="netbeans.home+have.tests">
210+ <and>
211+ <isset property="netbeans.home"/>
212+ <isset property="have.tests"/>
213+ </and>
214+ </condition>
215+ <condition property="no.javadoc.preview">
216+ <and>
217+ <isset property="javadoc.preview"/>
218+ <isfalse value="${javadoc.preview}"/>
219+ </and>
220+ </condition>
221+ <property name="run.jvmargs" value=""/>
222+ <property name="javac.compilerargs" value=""/>
223+ <property name="work.dir" value="${basedir}"/>
224+ <condition property="no.deps">
225+ <and>
226+ <istrue value="${no.dependencies}"/>
227+ </and>
228+ </condition>
229+ <property name="javac.debug" value="true"/>
230+ <property name="javadoc.preview" value="true"/>
231+ <property name="application.args" value=""/>
232+ <property name="source.encoding" value="${file.encoding}"/>
233+ <property name="runtime.encoding" value="${source.encoding}"/>
234+ <condition property="javadoc.encoding.used" value="${javadoc.encoding}">
235+ <and>
236+ <isset property="javadoc.encoding"/>
237+ <not>
238+ <equals arg1="${javadoc.encoding}" arg2=""/>
239+ </not>
240+ </and>
241+ </condition>
242+ <property name="javadoc.encoding.used" value="${source.encoding}"/>
243+ <property name="includes" value="**"/>
244+ <property name="excludes" value=""/>
245+ <property name="do.depend" value="false"/>
246+ <condition property="do.depend.true">
247+ <istrue value="${do.depend}"/>
248+ </condition>
249+ <path id="endorsed.classpath.path" path="${endorsed.classpath}"/>
250+ <condition else="" property="endorsed.classpath.cmd.line.arg" value="-Xbootclasspath/p:'${toString:endorsed.classpath.path}'">
251+ <length length="0" string="${endorsed.classpath}" when="greater"/>
252+ </condition>
253+ <property name="jar.index" value="false"/>
254+ <property name="jar.index.metainf" value="${jar.index}"/>
255+ <available file="${meta.inf.dir}/persistence.xml" property="has.persistence.xml"/>
256+ </target>
257+ <target name="-post-init">
258+ <!-- Empty placeholder for easier customization. -->
259+ <!-- You can override this target in the ../build.xml file. -->
260+ </target>
261+ <target depends="-pre-init,-init-private,-init-libraries,-init-user,-init-project,-do-init" name="-init-check">
262+ <fail unless="src.dir">Must set src.dir</fail>
263+ <fail unless="test.src.dir">Must set test.src.dir</fail>
264+ <fail unless="build.dir">Must set build.dir</fail>
265+ <fail unless="dist.dir">Must set dist.dir</fail>
266+ <fail unless="build.classes.dir">Must set build.classes.dir</fail>
267+ <fail unless="dist.javadoc.dir">Must set dist.javadoc.dir</fail>
268+ <fail unless="build.test.classes.dir">Must set build.test.classes.dir</fail>
269+ <fail unless="build.test.results.dir">Must set build.test.results.dir</fail>
270+ <fail unless="build.classes.excludes">Must set build.classes.excludes</fail>
271+ <fail unless="dist.jar">Must set dist.jar</fail>
272+ </target>
273+ <target name="-init-macrodef-property">
274+ <macrodef name="property" uri="http://www.netbeans.org/ns/j2se-project/1">
275+ <attribute name="name"/>
276+ <attribute name="value"/>
277+ <sequential>
278+ <property name="@{name}" value="${@{value}}"/>
279+ </sequential>
280+ </macrodef>
281+ </target>
282+ <target depends="-init-ap-cmdline-properties" if="ap.supported.internal" name="-init-macrodef-javac-with-processors">
283+ <macrodef name="javac" uri="http://www.netbeans.org/ns/j2se-project/3">
284+ <attribute default="${src.dir}" name="srcdir"/>
285+ <attribute default="${build.classes.dir}" name="destdir"/>
286+ <attribute default="${javac.classpath}" name="classpath"/>
287+ <attribute default="${javac.processorpath}" name="processorpath"/>
288+ <attribute default="${build.generated.sources.dir}/ap-source-output" name="apgeneratedsrcdir"/>
289+ <attribute default="${includes}" name="includes"/>
290+ <attribute default="${excludes}" name="excludes"/>
291+ <attribute default="${javac.debug}" name="debug"/>
292+ <attribute default="${empty.dir}" name="sourcepath"/>
293+ <attribute default="${empty.dir}" name="gensrcdir"/>
294+ <element name="customize" optional="true"/>
295+ <sequential>
296+ <property location="${build.dir}/empty" name="empty.dir"/>
297+ <mkdir dir="${empty.dir}"/>
298+ <mkdir dir="@{apgeneratedsrcdir}"/>
299+ <javac debug="@{debug}" deprecation="${javac.deprecation}" destdir="@{destdir}" encoding="${source.encoding}" excludes="@{excludes}" executable="${platform.javac}" fork="yes" includeantruntime="false" includes="@{includes}" source="${javac.source}" sourcepath="@{sourcepath}" srcdir="@{srcdir}" target="${javac.target}" tempdir="${java.io.tmpdir}">
300+ <src>
301+ <dirset dir="@{gensrcdir}" erroronmissingdir="false">
302+ <include name="*"/>
303+ </dirset>
304+ </src>
305+ <classpath>
306+ <path path="@{classpath}"/>
307+ </classpath>
308+ <compilerarg line="${endorsed.classpath.cmd.line.arg}"/>
309+ <compilerarg line="${javac.compilerargs}"/>
310+ <compilerarg value="-processorpath"/>
311+ <compilerarg path="@{processorpath}:${empty.dir}"/>
312+ <compilerarg line="${ap.processors.internal}"/>
313+ <compilerarg line="${annotation.processing.processor.options}"/>
314+ <compilerarg value="-s"/>
315+ <compilerarg path="@{apgeneratedsrcdir}"/>
316+ <compilerarg line="${ap.proc.none.internal}"/>
317+ <customize/>
318+ </javac>
319+ </sequential>
320+ </macrodef>
321+ </target>
322+ <target depends="-init-ap-cmdline-properties" name="-init-macrodef-javac-without-processors" unless="ap.supported.internal">
323+ <macrodef name="javac" uri="http://www.netbeans.org/ns/j2se-project/3">
324+ <attribute default="${src.dir}" name="srcdir"/>
325+ <attribute default="${build.classes.dir}" name="destdir"/>
326+ <attribute default="${javac.classpath}" name="classpath"/>
327+ <attribute default="${javac.processorpath}" name="processorpath"/>
328+ <attribute default="${build.generated.sources.dir}/ap-source-output" name="apgeneratedsrcdir"/>
329+ <attribute default="${includes}" name="includes"/>
330+ <attribute default="${excludes}" name="excludes"/>
331+ <attribute default="${javac.debug}" name="debug"/>
332+ <attribute default="${empty.dir}" name="sourcepath"/>
333+ <attribute default="${empty.dir}" name="gensrcdir"/>
334+ <element name="customize" optional="true"/>
335+ <sequential>
336+ <property location="${build.dir}/empty" name="empty.dir"/>
337+ <mkdir dir="${empty.dir}"/>
338+ <javac debug="@{debug}" deprecation="${javac.deprecation}" destdir="@{destdir}" encoding="${source.encoding}" excludes="@{excludes}" executable="${platform.javac}" fork="yes" includeantruntime="false" includes="@{includes}" source="${javac.source}" sourcepath="@{sourcepath}" srcdir="@{srcdir}" target="${javac.target}" tempdir="${java.io.tmpdir}">
339+ <src>
340+ <dirset dir="@{gensrcdir}" erroronmissingdir="false">
341+ <include name="*"/>
342+ </dirset>
343+ </src>
344+ <classpath>
345+ <path path="@{classpath}"/>
346+ </classpath>
347+ <compilerarg line="${endorsed.classpath.cmd.line.arg}"/>
348+ <compilerarg line="${javac.compilerargs}"/>
349+ <customize/>
350+ </javac>
351+ </sequential>
352+ </macrodef>
353+ </target>
354+ <target depends="-init-macrodef-javac-with-processors,-init-macrodef-javac-without-processors" name="-init-macrodef-javac">
355+ <macrodef name="depend" uri="http://www.netbeans.org/ns/j2se-project/3">
356+ <attribute default="${src.dir}" name="srcdir"/>
357+ <attribute default="${build.classes.dir}" name="destdir"/>
358+ <attribute default="${javac.classpath}" name="classpath"/>
359+ <sequential>
360+ <depend cache="${build.dir}/depcache" destdir="@{destdir}" excludes="${excludes}" includes="${includes}" srcdir="@{srcdir}">
361+ <classpath>
362+ <path path="@{classpath}"/>
363+ </classpath>
364+ </depend>
365+ </sequential>
366+ </macrodef>
367+ <macrodef name="force-recompile" uri="http://www.netbeans.org/ns/j2se-project/3">
368+ <attribute default="${build.classes.dir}" name="destdir"/>
369+ <sequential>
370+ <fail unless="javac.includes">Must set javac.includes</fail>
371+ <pathconvert pathsep="${line.separator}" property="javac.includes.binary">
372+ <path>
373+ <filelist dir="@{destdir}" files="${javac.includes}"/>
374+ </path>
375+ <globmapper from="*.java" to="*.class"/>
376+ </pathconvert>
377+ <tempfile deleteonexit="true" property="javac.includesfile.binary"/>
378+ <echo file="${javac.includesfile.binary}" message="${javac.includes.binary}"/>
379+ <delete>
380+ <files includesfile="${javac.includesfile.binary}"/>
381+ </delete>
382+ <delete>
383+ <fileset file="${javac.includesfile.binary}"/>
384+ </delete>
385+ </sequential>
386+ </macrodef>
387+ </target>
388+ <target name="-init-macrodef-junit">
389+ <macrodef name="junit" uri="http://www.netbeans.org/ns/j2se-project/3">
390+ <attribute default="${includes}" name="includes"/>
391+ <attribute default="${excludes}" name="excludes"/>
392+ <attribute default="**" name="testincludes"/>
393+ <sequential>
394+ <property name="junit.forkmode" value="perTest"/>
395+ <junit dir="${work.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" forkmode="${junit.forkmode}" jvm="${platform.java}" showoutput="true" tempdir="${build.dir}">
396+ <batchtest todir="${build.test.results.dir}">
397+ <fileset dir="${test.src.dir}" excludes="@{excludes},${excludes}" includes="@{includes}">
398+ <filename name="@{testincludes}"/>
399+ </fileset>
400+ </batchtest>
401+ <classpath>
402+ <path path="${run.test.classpath}"/>
403+ </classpath>
404+ <syspropertyset>
405+ <propertyref prefix="test-sys-prop."/>
406+ <mapper from="test-sys-prop.*" to="*" type="glob"/>
407+ </syspropertyset>
408+ <formatter type="brief" usefile="false"/>
409+ <formatter type="xml"/>
410+ <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
411+ <jvmarg value="-ea"/>
412+ <jvmarg line="${run.jvmargs}"/>
413+ </junit>
414+ </sequential>
415+ </macrodef>
416+ </target>
417+ <target depends="-profile-pre-init, init, -profile-post-init, -profile-init-macrodef-profile, -profile-init-check" name="profile-init"/>
418+ <target name="-profile-pre-init">
419+ <!-- Empty placeholder for easier customization. -->
420+ <!-- You can override this target in the ../build.xml file. -->
421+ </target>
422+ <target name="-profile-post-init">
423+ <!-- Empty placeholder for easier customization. -->
424+ <!-- You can override this target in the ../build.xml file. -->
425+ </target>
426+ <target name="-profile-init-macrodef-profile">
427+ <macrodef name="resolve">
428+ <attribute name="name"/>
429+ <attribute name="value"/>
430+ <sequential>
431+ <property name="@{name}" value="${env.@{value}}"/>
432+ </sequential>
433+ </macrodef>
434+ <macrodef name="profile">
435+ <attribute default="${main.class}" name="classname"/>
436+ <element name="customize" optional="true"/>
437+ <sequential>
438+ <property environment="env"/>
439+ <resolve name="profiler.current.path" value="${profiler.info.pathvar}"/>
440+ <java classname="@{classname}" dir="${profiler.info.dir}" fork="true" jvm="${profiler.info.jvm}">
441+ <jvmarg value="${profiler.info.jvmargs.agent}"/>
442+ <jvmarg line="${profiler.info.jvmargs}"/>
443+ <env key="${profiler.info.pathvar}" path="${profiler.info.agentpath}:${profiler.current.path}"/>
444+ <arg line="${application.args}"/>
445+ <classpath>
446+ <path path="${run.classpath}"/>
447+ </classpath>
448+ <syspropertyset>
449+ <propertyref prefix="run-sys-prop."/>
450+ <mapper from="run-sys-prop.*" to="*" type="glob"/>
451+ </syspropertyset>
452+ <customize/>
453+ </java>
454+ </sequential>
455+ </macrodef>
456+ </target>
457+ <target depends="-profile-pre-init, init, -profile-post-init, -profile-init-macrodef-profile" name="-profile-init-check">
458+ <fail unless="profiler.info.jvm">Must set JVM to use for profiling in profiler.info.jvm</fail>
459+ <fail unless="profiler.info.jvmargs.agent">Must set profiler agent JVM arguments in profiler.info.jvmargs.agent</fail>
460+ </target>
461+ <target depends="-init-debug-args" name="-init-macrodef-nbjpda">
462+ <macrodef name="nbjpdastart" uri="http://www.netbeans.org/ns/j2se-project/1">
463+ <attribute default="${main.class}" name="name"/>
464+ <attribute default="${debug.classpath}" name="classpath"/>
465+ <attribute default="" name="stopclassname"/>
466+ <sequential>
467+ <nbjpdastart addressproperty="jpda.address" name="@{name}" stopclassname="@{stopclassname}" transport="${debug-transport}">
468+ <classpath>
469+ <path path="@{classpath}"/>
470+ </classpath>
471+ <bootclasspath>
472+ <path path="${platform.bootcp}"/>
473+ </bootclasspath>
474+ </nbjpdastart>
475+ </sequential>
476+ </macrodef>
477+ <macrodef name="nbjpdareload" uri="http://www.netbeans.org/ns/j2se-project/1">
478+ <attribute default="${build.classes.dir}" name="dir"/>
479+ <sequential>
480+ <nbjpdareload>
481+ <fileset dir="@{dir}" includes="${fix.classes}">
482+ <include name="${fix.includes}*.class"/>
483+ </fileset>
484+ </nbjpdareload>
485+ </sequential>
486+ </macrodef>
487+ </target>
488+ <target name="-init-debug-args">
489+ <exec executable="${platform.java}" outputproperty="version-output">
490+ <arg value="-version"/>
491+ </exec>
492+ <condition property="have-jdk-older-than-1.4">
493+ <or>
494+ <contains string="${version-output}" substring="java version &quot;1.0"/>
495+ <contains string="${version-output}" substring="java version &quot;1.1"/>
496+ <contains string="${version-output}" substring="java version &quot;1.2"/>
497+ <contains string="${version-output}" substring="java version &quot;1.3"/>
498+ </or>
499+ </condition>
500+ <condition else="-Xdebug" property="debug-args-line" value="-Xdebug -Xnoagent -Djava.compiler=none">
501+ <istrue value="${have-jdk-older-than-1.4}"/>
502+ </condition>
503+ <condition else="dt_socket" property="debug-transport-by-os" value="dt_shmem">
504+ <os family="windows"/>
505+ </condition>
506+ <condition else="${debug-transport-by-os}" property="debug-transport" value="${debug.transport}">
507+ <isset property="debug.transport"/>
508+ </condition>
509+ </target>
510+ <target depends="-init-debug-args" name="-init-macrodef-debug">
511+ <macrodef name="debug" uri="http://www.netbeans.org/ns/j2se-project/3">
512+ <attribute default="${main.class}" name="classname"/>
513+ <attribute default="${debug.classpath}" name="classpath"/>
514+ <element name="customize" optional="true"/>
515+ <sequential>
516+ <java classname="@{classname}" dir="${work.dir}" fork="true" jvm="${platform.java}">
517+ <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
518+ <jvmarg line="${debug-args-line}"/>
519+ <jvmarg value="-Xrunjdwp:transport=${debug-transport},address=${jpda.address}"/>
520+ <jvmarg value="-Dfile.encoding=${runtime.encoding}"/>
521+ <redirector errorencoding="${runtime.encoding}" inputencoding="${runtime.encoding}" outputencoding="${runtime.encoding}"/>
522+ <jvmarg line="${run.jvmargs}"/>
523+ <classpath>
524+ <path path="@{classpath}"/>
525+ </classpath>
526+ <syspropertyset>
527+ <propertyref prefix="run-sys-prop."/>
528+ <mapper from="run-sys-prop.*" to="*" type="glob"/>
529+ </syspropertyset>
530+ <customize/>
531+ </java>
532+ </sequential>
533+ </macrodef>
534+ </target>
535+ <target name="-init-macrodef-java">
536+ <macrodef name="java" uri="http://www.netbeans.org/ns/j2se-project/1">
537+ <attribute default="${main.class}" name="classname"/>
538+ <attribute default="${run.classpath}" name="classpath"/>
539+ <element name="customize" optional="true"/>
540+ <sequential>
541+ <java classname="@{classname}" dir="${work.dir}" fork="true" jvm="${platform.java}">
542+ <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
543+ <jvmarg value="-Dfile.encoding=${runtime.encoding}"/>
544+ <redirector errorencoding="${runtime.encoding}" inputencoding="${runtime.encoding}" outputencoding="${runtime.encoding}"/>
545+ <jvmarg line="${run.jvmargs}"/>
546+ <classpath>
547+ <path path="@{classpath}"/>
548+ </classpath>
549+ <syspropertyset>
550+ <propertyref prefix="run-sys-prop."/>
551+ <mapper from="run-sys-prop.*" to="*" type="glob"/>
552+ </syspropertyset>
553+ <customize/>
554+ </java>
555+ </sequential>
556+ </macrodef>
557+ </target>
558+ <target name="-init-macrodef-copylibs">
559+ <macrodef name="copylibs" uri="http://www.netbeans.org/ns/j2se-project/3">
560+ <attribute default="${manifest.file}" name="manifest"/>
561+ <element name="customize" optional="true"/>
562+ <sequential>
563+ <property location="${build.classes.dir}" name="build.classes.dir.resolved"/>
564+ <pathconvert property="run.classpath.without.build.classes.dir">
565+ <path path="${run.classpath}"/>
566+ <map from="${build.classes.dir.resolved}" to=""/>
567+ </pathconvert>
568+ <pathconvert pathsep=" " property="jar.classpath">
569+ <path path="${run.classpath.without.build.classes.dir}"/>
570+ <chainedmapper>
571+ <flattenmapper/>
572+ <globmapper from="*" to="lib/*"/>
573+ </chainedmapper>
574+ </pathconvert>
575+ <taskdef classname="org.netbeans.modules.java.j2seproject.copylibstask.CopyLibs" classpath="${libs.CopyLibs.classpath}" name="copylibs"/>
576+ <copylibs compress="${jar.compress}" index="${jar.index}" indexMetaInf="${jar.index.metainf}" jarfile="${dist.jar}" manifest="@{manifest}" runtimeclasspath="${run.classpath.without.build.classes.dir}">
577+ <fileset dir="${build.classes.dir}"/>
578+ <manifest>
579+ <attribute name="Class-Path" value="${jar.classpath}"/>
580+ <customize/>
581+ </manifest>
582+ </copylibs>
583+ </sequential>
584+ </macrodef>
585+ </target>
586+ <target name="-init-presetdef-jar">
587+ <presetdef name="jar" uri="http://www.netbeans.org/ns/j2se-project/1">
588+ <jar compress="${jar.compress}" index="${jar.index}" jarfile="${dist.jar}">
589+ <j2seproject1:fileset dir="${build.classes.dir}"/>
590+ </jar>
591+ </presetdef>
592+ </target>
593+ <target name="-init-ap-cmdline-properties">
594+ <property name="annotation.processing.enabled" value="true"/>
595+ <property name="annotation.processing.processors.list" value=""/>
596+ <property name="annotation.processing.processor.options" value=""/>
597+ <property name="annotation.processing.run.all.processors" value="true"/>
598+ <property name="javac.processorpath" value="${javac.classpath}"/>
599+ <property name="javac.test.processorpath" value="${javac.test.classpath}"/>
600+ <condition property="ap.supported.internal" value="true">
601+ <not>
602+ <matches pattern="1\.[0-5](\..*)?" string="${javac.source}"/>
603+ </not>
604+ </condition>
605+ </target>
606+ <target depends="-init-ap-cmdline-properties" if="ap.supported.internal" name="-init-ap-cmdline-supported">
607+ <condition else="" property="ap.processors.internal" value="-processor ${annotation.processing.processors.list}">
608+ <isfalse value="${annotation.processing.run.all.processors}"/>
609+ </condition>
610+ <condition else="" property="ap.proc.none.internal" value="-proc:none">
611+ <isfalse value="${annotation.processing.enabled}"/>
612+ </condition>
613+ </target>
614+ <target depends="-init-ap-cmdline-properties,-init-ap-cmdline-supported" name="-init-ap-cmdline">
615+ <property name="ap.cmd.line.internal" value=""/>
616+ </target>
617+ <target depends="-pre-init,-init-private,-init-libraries,-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"/>
618+ <!--
619+ ===================
620+ COMPILATION SECTION
621+ ===================
622+ -->
623+ <target name="-deps-jar-init" unless="built-jar.properties">
624+ <property location="${build.dir}/built-jar.properties" name="built-jar.properties"/>
625+ <delete file="${built-jar.properties}" quiet="true"/>
626+ </target>
627+ <target if="already.built.jar.${basedir}" name="-warn-already-built-jar">
628+ <echo level="warn" message="Cycle detected: TextKeyMatcher was already built"/>
629+ </target>
630+ <target depends="init,-deps-jar-init" name="deps-jar" unless="no.deps">
631+ <mkdir dir="${build.dir}"/>
632+ <touch file="${built-jar.properties}" verbose="false"/>
633+ <property file="${built-jar.properties}" prefix="already.built.jar."/>
634+ <antcall target="-warn-already-built-jar"/>
635+ <propertyfile file="${built-jar.properties}">
636+ <entry key="${basedir}" value=""/>
637+ </propertyfile>
638+ </target>
639+ <target depends="init,-check-automatic-build,-clean-after-automatic-build" name="-verify-automatic-build"/>
640+ <target depends="init" name="-check-automatic-build">
641+ <available file="${build.classes.dir}/.netbeans_automatic_build" property="netbeans.automatic.build"/>
642+ </target>
643+ <target depends="init" if="netbeans.automatic.build" name="-clean-after-automatic-build">
644+ <antcall target="clean"/>
645+ </target>
646+ <target depends="init,deps-jar" name="-pre-pre-compile">
647+ <mkdir dir="${build.classes.dir}"/>
648+ </target>
649+ <target name="-pre-compile">
650+ <!-- Empty placeholder for easier customization. -->
651+ <!-- You can override this target in the ../build.xml file. -->
652+ </target>
653+ <target if="do.depend.true" name="-compile-depend">
654+ <pathconvert property="build.generated.subdirs">
655+ <dirset dir="${build.generated.sources.dir}" erroronmissingdir="false">
656+ <include name="*"/>
657+ </dirset>
658+ </pathconvert>
659+ <j2seproject3:depend srcdir="${src.dir}:${build.generated.subdirs}"/>
660+ </target>
661+ <target depends="init,deps-jar,-pre-pre-compile,-pre-compile, -copy-persistence-xml,-compile-depend" if="have.sources" name="-do-compile">
662+ <j2seproject3:javac gensrcdir="${build.generated.sources.dir}"/>
663+ <copy todir="${build.classes.dir}">
664+ <fileset dir="${src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
665+ </copy>
666+ </target>
667+ <target if="has.persistence.xml" name="-copy-persistence-xml">
668+ <mkdir dir="${build.classes.dir}/META-INF"/>
669+ <copy todir="${build.classes.dir}/META-INF">
670+ <fileset dir="${meta.inf.dir}" includes="persistence.xml"/>
671+ </copy>
672+ </target>
673+ <target name="-post-compile">
674+ <!-- Empty placeholder for easier customization. -->
675+ <!-- You can override this target in the ../build.xml file. -->
676+ </target>
677+ <target depends="init,deps-jar,-verify-automatic-build,-pre-pre-compile,-pre-compile,-do-compile,-post-compile" description="Compile project." name="compile"/>
678+ <target name="-pre-compile-single">
679+ <!-- Empty placeholder for easier customization. -->
680+ <!-- You can override this target in the ../build.xml file. -->
681+ </target>
682+ <target depends="init,deps-jar,-pre-pre-compile" name="-do-compile-single">
683+ <fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail>
684+ <j2seproject3:force-recompile/>
685+ <j2seproject3:javac excludes="" gensrcdir="${build.generated.sources.dir}" includes="${javac.includes}" sourcepath="${src.dir}"/>
686+ </target>
687+ <target name="-post-compile-single">
688+ <!-- Empty placeholder for easier customization. -->
689+ <!-- You can override this target in the ../build.xml file. -->
690+ </target>
691+ <target depends="init,deps-jar,-verify-automatic-build,-pre-pre-compile,-pre-compile-single,-do-compile-single,-post-compile-single" name="compile-single"/>
692+ <!--
693+ ====================
694+ JAR BUILDING SECTION
695+ ====================
696+ -->
697+ <target depends="init" name="-pre-pre-jar">
698+ <dirname file="${dist.jar}" property="dist.jar.dir"/>
699+ <mkdir dir="${dist.jar.dir}"/>
700+ </target>
701+ <target name="-pre-jar">
702+ <!-- Empty placeholder for easier customization. -->
703+ <!-- You can override this target in the ../build.xml file. -->
704+ </target>
705+ <target depends="init,compile,-pre-pre-jar,-pre-jar" if="do.archive" name="-do-jar-without-manifest" unless="manifest.available-mkdist.available">
706+ <j2seproject1:jar/>
707+ </target>
708+ <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">
709+ <j2seproject1:jar manifest="${manifest.file}"/>
710+ </target>
711+ <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">
712+ <j2seproject1:jar manifest="${manifest.file}">
713+ <j2seproject1:manifest>
714+ <j2seproject1:attribute name="Main-Class" value="${main.class}"/>
715+ </j2seproject1:manifest>
716+ </j2seproject1:jar>
717+ <echo level="info">To run this application from the command line without Ant, try:</echo>
718+ <property location="${build.classes.dir}" name="build.classes.dir.resolved"/>
719+ <property location="${dist.jar}" name="dist.jar.resolved"/>
720+ <pathconvert property="run.classpath.with.dist.jar">
721+ <path path="${run.classpath}"/>
722+ <map from="${build.classes.dir.resolved}" to="${dist.jar.resolved}"/>
723+ </pathconvert>
724+ <echo level="info">${platform.java} -cp "${run.classpath.with.dist.jar}" ${main.class}</echo>
725+ </target>
726+ <target depends="init" if="do.archive" name="-do-jar-with-libraries-create-manifest" unless="manifest.available">
727+ <tempfile deleteonexit="true" destdir="${build.dir}" property="tmp.manifest.file"/>
728+ <touch file="${tmp.manifest.file}" verbose="false"/>
729+ </target>
730+ <target depends="init" if="do.archive+manifest.available" name="-do-jar-with-libraries-copy-manifest">
731+ <tempfile deleteonexit="true" destdir="${build.dir}" property="tmp.manifest.file"/>
732+ <copy file="${manifest.file}" tofile="${tmp.manifest.file}"/>
733+ </target>
734+ <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">
735+ <manifest file="${tmp.manifest.file}" mode="update">
736+ <attribute name="Main-Class" value="${main.class}"/>
737+ </manifest>
738+ </target>
739+ <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">
740+ <basename file="${application.splash}" property="splashscreen.basename"/>
741+ <mkdir dir="${build.classes.dir}/META-INF"/>
742+ <copy failonerror="false" file="${application.splash}" todir="${build.classes.dir}/META-INF"/>
743+ <manifest file="${tmp.manifest.file}" mode="update">
744+ <attribute name="SplashScreen-Image" value="META-INF/${splashscreen.basename}"/>
745+ </manifest>
746+ </target>
747+ <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">
748+ <j2seproject3:copylibs manifest="${tmp.manifest.file}"/>
749+ <echo level="info">To run this application from the command line without Ant, try:</echo>
750+ <property location="${dist.jar}" name="dist.jar.resolved"/>
751+ <echo level="info">${platform.java} -jar "${dist.jar.resolved}"</echo>
752+ </target>
753+ <target depends="-do-jar-with-libraries-pack" if="do.archive" name="-do-jar-with-libraries-delete-manifest">
754+ <delete>
755+ <fileset file="${tmp.manifest.file}"/>
756+ </delete>
757+ </target>
758+ <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"/>
759+ <target depends="jnlp" name="-post-jar">
760+ <!-- Empty placeholder for easier customization. -->
761+ <!-- You can override this target in the ../build.xml file. -->
762+ </target>
763+ <target depends="init,compile,-pre-jar,-do-jar-with-manifest,-do-jar-without-manifest,-do-jar-with-mainclass,-do-jar-with-libraries,-post-jar,jnlp" description="Build JAR." name="jar"/>
764+ <!--
765+ =================
766+ EXECUTION SECTION
767+ =================
768+ -->
769+ <target depends="init,compile" description="Run a main class." name="run">
770+ <j2seproject1:java>
771+ <customize>
772+ <arg line="${application.args}"/>
773+ </customize>
774+ </j2seproject1:java>
775+ </target>
776+ <target name="-do-not-recompile">
777+ <property name="javac.includes.binary" value=""/>
778+ </target>
779+ <target depends="init,compile-single" name="run-single">
780+ <fail unless="run.class">Must select one file in the IDE or set run.class</fail>
781+ <j2seproject1:java classname="${run.class}"/>
782+ </target>
783+ <target depends="init,compile-test-single" name="run-test-with-main">
784+ <fail unless="run.class">Must select one file in the IDE or set run.class</fail>
785+ <j2seproject1:java classname="${run.class}" classpath="${run.test.classpath}"/>
786+ </target>
787+ <!--
788+ =================
789+ DEBUGGING SECTION
790+ =================
791+ -->
792+ <target depends="init" if="netbeans.home" name="-debug-start-debugger">
793+ <j2seproject1:nbjpdastart name="${debug.class}"/>
794+ </target>
795+ <target depends="init" if="netbeans.home" name="-debug-start-debugger-main-test">
796+ <j2seproject1:nbjpdastart classpath="${debug.test.classpath}" name="${debug.class}"/>
797+ </target>
798+ <target depends="init,compile" name="-debug-start-debuggee">
799+ <j2seproject3:debug>
800+ <customize>
801+ <arg line="${application.args}"/>
802+ </customize>
803+ </j2seproject3:debug>
804+ </target>
805+ <target depends="init,compile,-debug-start-debugger,-debug-start-debuggee" description="Debug project in IDE." if="netbeans.home" name="debug"/>
806+ <target depends="init" if="netbeans.home" name="-debug-start-debugger-stepinto">
807+ <j2seproject1:nbjpdastart stopclassname="${main.class}"/>
808+ </target>
809+ <target depends="init,compile,-debug-start-debugger-stepinto,-debug-start-debuggee" if="netbeans.home" name="debug-stepinto"/>
810+ <target depends="init,compile-single" if="netbeans.home" name="-debug-start-debuggee-single">
811+ <fail unless="debug.class">Must select one file in the IDE or set debug.class</fail>
812+ <j2seproject3:debug classname="${debug.class}"/>
813+ </target>
814+ <target depends="init,compile-single,-debug-start-debugger,-debug-start-debuggee-single" if="netbeans.home" name="debug-single"/>
815+ <target depends="init,compile-test-single" if="netbeans.home" name="-debug-start-debuggee-main-test">
816+ <fail unless="debug.class">Must select one file in the IDE or set debug.class</fail>
817+ <j2seproject3:debug classname="${debug.class}" classpath="${debug.test.classpath}"/>
818+ </target>
819+ <target depends="init,compile-test-single,-debug-start-debugger-main-test,-debug-start-debuggee-main-test" if="netbeans.home" name="debug-test-with-main"/>
820+ <target depends="init" name="-pre-debug-fix">
821+ <fail unless="fix.includes">Must set fix.includes</fail>
822+ <property name="javac.includes" value="${fix.includes}.java"/>
823+ </target>
824+ <target depends="init,-pre-debug-fix,compile-single" if="netbeans.home" name="-do-debug-fix">
825+ <j2seproject1:nbjpdareload/>
826+ </target>
827+ <target depends="init,-pre-debug-fix,-do-debug-fix" if="netbeans.home" name="debug-fix"/>
828+ <!--
829+ =================
830+ PROFILING SECTION
831+ =================
832+ -->
833+ <target depends="profile-init,compile" description="Profile a project in the IDE." if="netbeans.home" name="profile">
834+ <nbprofiledirect>
835+ <classpath>
836+ <path path="${run.classpath}"/>
837+ </classpath>
838+ </nbprofiledirect>
839+ <profile/>
840+ </target>
841+ <target depends="profile-init,compile-single" description="Profile a selected class in the IDE." if="netbeans.home" name="profile-single">
842+ <fail unless="profile.class">Must select one file in the IDE or set profile.class</fail>
843+ <nbprofiledirect>
844+ <classpath>
845+ <path path="${run.classpath}"/>
846+ </classpath>
847+ </nbprofiledirect>
848+ <profile classname="${profile.class}"/>
849+ </target>
850+ <!--
851+ =========================
852+ APPLET PROFILING SECTION
853+ =========================
854+ -->
855+ <target depends="profile-init,compile-single" if="netbeans.home" name="profile-applet">
856+ <nbprofiledirect>
857+ <classpath>
858+ <path path="${run.classpath}"/>
859+ </classpath>
860+ </nbprofiledirect>
861+ <profile classname="sun.applet.AppletViewer">
862+ <customize>
863+ <arg value="${applet.url}"/>
864+ </customize>
865+ </profile>
866+ </target>
867+ <!--
868+ =========================
869+ TESTS PROFILING SECTION
870+ =========================
871+ -->
872+ <target depends="profile-init,compile-test-single" if="netbeans.home" name="profile-test-single">
873+ <nbprofiledirect>
874+ <classpath>
875+ <path path="${run.test.classpath}"/>
876+ </classpath>
877+ </nbprofiledirect>
878+ <junit dir="${profiler.info.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" jvm="${profiler.info.jvm}" showoutput="true">
879+ <env key="${profiler.info.pathvar}" path="${profiler.info.agentpath}:${profiler.current.path}"/>
880+ <jvmarg value="${profiler.info.jvmargs.agent}"/>
881+ <jvmarg line="${profiler.info.jvmargs}"/>
882+ <test name="${profile.class}"/>
883+ <classpath>
884+ <path path="${run.test.classpath}"/>
885+ </classpath>
886+ <syspropertyset>
887+ <propertyref prefix="test-sys-prop."/>
888+ <mapper from="test-sys-prop.*" to="*" type="glob"/>
889+ </syspropertyset>
890+ <formatter type="brief" usefile="false"/>
891+ <formatter type="xml"/>
892+ </junit>
893+ </target>
894+ <!--
895+ ===============
896+ JAVADOC SECTION
897+ ===============
898+ -->
899+ <target depends="init" if="have.sources" name="-javadoc-build">
900+ <mkdir dir="${dist.javadoc.dir}"/>
901+ <javadoc additionalparam="${javadoc.additionalparam}" author="${javadoc.author}" charset="UTF-8" destdir="${dist.javadoc.dir}" docencoding="UTF-8" encoding="${javadoc.encoding.used}" executable="${platform.javadoc}" 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}">
902+ <classpath>
903+ <path path="${javac.classpath}"/>
904+ </classpath>
905+ <fileset dir="${src.dir}" excludes="*.java,${excludes}" includes="${includes}">
906+ <filename name="**/*.java"/>
907+ </fileset>
908+ <fileset dir="${build.generated.sources.dir}" erroronmissingdir="false">
909+ <include name="**/*.java"/>
910+ <exclude name="*.java"/>
911+ </fileset>
912+ </javadoc>
913+ <copy todir="${dist.javadoc.dir}">
914+ <fileset dir="${src.dir}" excludes="${excludes}" includes="${includes}">
915+ <filename name="**/doc-files/**"/>
916+ </fileset>
917+ <fileset dir="${build.generated.sources.dir}" erroronmissingdir="false">
918+ <include name="**/doc-files/**"/>
919+ </fileset>
920+ </copy>
921+ </target>
922+ <target depends="init,-javadoc-build" if="netbeans.home" name="-javadoc-browse" unless="no.javadoc.preview">
923+ <nbbrowse file="${dist.javadoc.dir}/index.html"/>
924+ </target>
925+ <target depends="init,-javadoc-build,-javadoc-browse" description="Build Javadoc." name="javadoc"/>
926+ <!--
927+ =========================
928+ JUNIT COMPILATION SECTION
929+ =========================
930+ -->
931+ <target depends="init,compile" if="have.tests" name="-pre-pre-compile-test">
932+ <mkdir dir="${build.test.classes.dir}"/>
933+ </target>
934+ <target name="-pre-compile-test">
935+ <!-- Empty placeholder for easier customization. -->
936+ <!-- You can override this target in the ../build.xml file. -->
937+ </target>
938+ <target if="do.depend.true" name="-compile-test-depend">
939+ <j2seproject3:depend classpath="${javac.test.classpath}" destdir="${build.test.classes.dir}" srcdir="${test.src.dir}"/>
940+ </target>
941+ <target depends="init,deps-jar,compile,-pre-pre-compile-test,-pre-compile-test,-compile-test-depend" if="have.tests" name="-do-compile-test">
942+ <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}"/>
943+ <copy todir="${build.test.classes.dir}">
944+ <fileset dir="${test.src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
945+ </copy>
946+ </target>
947+ <target name="-post-compile-test">
948+ <!-- Empty placeholder for easier customization. -->
949+ <!-- You can override this target in the ../build.xml file. -->
950+ </target>
951+ <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test,-do-compile-test,-post-compile-test" name="compile-test"/>
952+ <target name="-pre-compile-test-single">
953+ <!-- Empty placeholder for easier customization. -->
954+ <!-- You can override this target in the ../build.xml file. -->
955+ </target>
956+ <target depends="init,deps-jar,compile,-pre-pre-compile-test,-pre-compile-test-single" if="have.tests" name="-do-compile-test-single">
957+ <fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail>
958+ <j2seproject3:force-recompile destdir="${build.test.classes.dir}"/>
959+ <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}"/>
960+ <copy todir="${build.test.classes.dir}">
961+ <fileset dir="${test.src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
962+ </copy>
963+ </target>
964+ <target name="-post-compile-test-single">
965+ <!-- Empty placeholder for easier customization. -->
966+ <!-- You can override this target in the ../build.xml file. -->
967+ </target>
968+ <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test-single,-do-compile-test-single,-post-compile-test-single" name="compile-test-single"/>
969+ <!--
970+ =======================
971+ JUNIT EXECUTION SECTION
972+ =======================
973+ -->
974+ <target depends="init" if="have.tests" name="-pre-test-run">
975+ <mkdir dir="${build.test.results.dir}"/>
976+ </target>
977+ <target depends="init,compile-test,-pre-test-run" if="have.tests" name="-do-test-run">
978+ <j2seproject3:junit testincludes="**/*Test.java"/>
979+ </target>
980+ <target depends="init,compile-test,-pre-test-run,-do-test-run" if="have.tests" name="-post-test-run">
981+ <fail if="tests.failed" unless="ignore.failing.tests">Some tests failed; see details above.</fail>
982+ </target>
983+ <target depends="init" if="have.tests" name="test-report"/>
984+ <target depends="init" if="netbeans.home+have.tests" name="-test-browse"/>
985+ <target depends="init,compile-test,-pre-test-run,-do-test-run,test-report,-post-test-run,-test-browse" description="Run unit tests." name="test"/>
986+ <target depends="init" if="have.tests" name="-pre-test-run-single">
987+ <mkdir dir="${build.test.results.dir}"/>
988+ </target>
989+ <target depends="init,compile-test-single,-pre-test-run-single" if="have.tests" name="-do-test-run-single">
990+ <fail unless="test.includes">Must select some files in the IDE or set test.includes</fail>
991+ <j2seproject3:junit excludes="" includes="${test.includes}"/>
992+ </target>
993+ <target depends="init,compile-test-single,-pre-test-run-single,-do-test-run-single" if="have.tests" name="-post-test-run-single">
994+ <fail if="tests.failed" unless="ignore.failing.tests">Some tests failed; see details above.</fail>
995+ </target>
996+ <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"/>
997+ <!--
998+ =======================
999+ JUNIT DEBUGGING SECTION
1000+ =======================
1001+ -->
1002+ <target depends="init,compile-test" if="have.tests" name="-debug-start-debuggee-test">
1003+ <fail unless="test.class">Must select one file in the IDE or set test.class</fail>
1004+ <property location="${build.test.results.dir}/TEST-${test.class}.xml" name="test.report.file"/>
1005+ <delete file="${test.report.file}"/>
1006+ <mkdir dir="${build.test.results.dir}"/>
1007+ <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}">
1008+ <customize>
1009+ <syspropertyset>
1010+ <propertyref prefix="test-sys-prop."/>
1011+ <mapper from="test-sys-prop.*" to="*" type="glob"/>
1012+ </syspropertyset>
1013+ <arg value="${test.class}"/>
1014+ <arg value="showoutput=true"/>
1015+ <arg value="formatter=org.apache.tools.ant.taskdefs.optional.junit.BriefJUnitResultFormatter"/>
1016+ <arg value="formatter=org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter,${test.report.file}"/>
1017+ </customize>
1018+ </j2seproject3:debug>
1019+ </target>
1020+ <target depends="init,compile-test" if="netbeans.home+have.tests" name="-debug-start-debugger-test">
1021+ <j2seproject1:nbjpdastart classpath="${debug.test.classpath}" name="${test.class}"/>
1022+ </target>
1023+ <target depends="init,compile-test-single,-debug-start-debugger-test,-debug-start-debuggee-test" name="debug-test"/>
1024+ <target depends="init,-pre-debug-fix,compile-test-single" if="netbeans.home" name="-do-debug-fix-test">
1025+ <j2seproject1:nbjpdareload dir="${build.test.classes.dir}"/>
1026+ </target>
1027+ <target depends="init,-pre-debug-fix,-do-debug-fix-test" if="netbeans.home" name="debug-fix-test"/>
1028+ <!--
1029+ =========================
1030+ APPLET EXECUTION SECTION
1031+ =========================
1032+ -->
1033+ <target depends="init,compile-single" name="run-applet">
1034+ <fail unless="applet.url">Must select one file in the IDE or set applet.url</fail>
1035+ <j2seproject1:java classname="sun.applet.AppletViewer">
1036+ <customize>
1037+ <arg value="${applet.url}"/>
1038+ </customize>
1039+ </j2seproject1:java>
1040+ </target>
1041+ <!--
1042+ =========================
1043+ APPLET DEBUGGING SECTION
1044+ =========================
1045+ -->
1046+ <target depends="init,compile-single" if="netbeans.home" name="-debug-start-debuggee-applet">
1047+ <fail unless="applet.url">Must select one file in the IDE or set applet.url</fail>
1048+ <j2seproject3:debug classname="sun.applet.AppletViewer">
1049+ <customize>
1050+ <arg value="${applet.url}"/>
1051+ </customize>
1052+ </j2seproject3:debug>
1053+ </target>
1054+ <target depends="init,compile-single,-debug-start-debugger,-debug-start-debuggee-applet" if="netbeans.home" name="debug-applet"/>
1055+ <!--
1056+ ===============
1057+ CLEANUP SECTION
1058+ ===============
1059+ -->
1060+ <target name="-deps-clean-init" unless="built-clean.properties">
1061+ <property location="${build.dir}/built-clean.properties" name="built-clean.properties"/>
1062+ <delete file="${built-clean.properties}" quiet="true"/>
1063+ </target>
1064+ <target if="already.built.clean.${basedir}" name="-warn-already-built-clean">
1065+ <echo level="warn" message="Cycle detected: TextKeyMatcher was already built"/>
1066+ </target>
1067+ <target depends="init,-deps-clean-init" name="deps-clean" unless="no.deps">
1068+ <mkdir dir="${build.dir}"/>
1069+ <touch file="${built-clean.properties}" verbose="false"/>
1070+ <property file="${built-clean.properties}" prefix="already.built.clean."/>
1071+ <antcall target="-warn-already-built-clean"/>
1072+ <propertyfile file="${built-clean.properties}">
1073+ <entry key="${basedir}" value=""/>
1074+ </propertyfile>
1075+ </target>
1076+ <target depends="init" name="-do-clean">
1077+ <delete dir="${build.dir}"/>
1078+ <delete dir="${dist.dir}" followsymlinks="false" includeemptydirs="true"/>
1079+ </target>
1080+ <target name="-post-clean">
1081+ <!-- Empty placeholder for easier customization. -->
1082+ <!-- You can override this target in the ../build.xml file. -->
1083+ </target>
1084+ <target depends="init,deps-clean,-do-clean,-post-clean" description="Clean build products." name="clean"/>
1085+ <target name="-check-call-dep">
1086+ <property file="${call.built.properties}" prefix="already.built."/>
1087+ <condition property="should.call.dep">
1088+ <not>
1089+ <isset property="already.built.${call.subproject}"/>
1090+ </not>
1091+ </condition>
1092+ </target>
1093+ <target depends="-check-call-dep" if="should.call.dep" name="-maybe-call-dep">
1094+ <ant antfile="${call.script}" inheritall="false" target="${call.target}">
1095+ <propertyset>
1096+ <propertyref prefix="transfer."/>
1097+ <mapper from="transfer.*" to="*" type="glob"/>
1098+ </propertyset>
1099+ </ant>
1100+ </target>
1101+</project>
--- a/nbproject/genfiles.properties
+++ b/nbproject/genfiles.properties
@@ -1,8 +1,8 @@
1-build.xml.data.CRC32=2c6ec66d
2-build.xml.script.CRC32=269ca5bc
3-build.xml.stylesheet.CRC32=28e38971@1.44.1.45
4-# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml.
5-# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you.
6-nbproject/build-impl.xml.data.CRC32=2c6ec66d
7-nbproject/build-impl.xml.script.CRC32=550200f7
8-nbproject/build-impl.xml.stylesheet.CRC32=0ae3a408@1.44.1.45
1+build.xml.data.CRC32=6017bbec
2+build.xml.script.CRC32=269ca5bc
3+build.xml.stylesheet.CRC32=28e38971@1.44.1.45
4+# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml.
5+# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you.
6+nbproject/build-impl.xml.data.CRC32=6017bbec
7+nbproject/build-impl.xml.script.CRC32=5c8c3d02
8+nbproject/build-impl.xml.stylesheet.CRC32=0ae3a408@1.44.1.45
--- a/nbproject/project.properties
+++ b/nbproject/project.properties
@@ -1,91 +1,91 @@
1-annotation.processing.enabled=true
2-annotation.processing.enabled.in.editor=false
3-annotation.processing.run.all.processors=true
4-ant.customtasks.libs=JWSAntTasks
5-application.desc=Text Key Matcher
6-application.homepage=http://sourceforge.jp/users/seraphy/pf/
7-application.title=TextKeyMatcher
8-application.vendor=seraphyware
9-build.classes.dir=${build.dir}/classes
10-build.classes.excludes=**/*.java,**/*.form
11-# This directory is removed when the project is cleaned:
12-build.dir=build
13-build.generated.dir=${build.dir}/generated
14-build.generated.sources.dir=${build.dir}/generated-sources
15-# Only compile against the classpath explicitly listed here:
16-build.sysclasspath=ignore
17-build.test.classes.dir=${build.dir}/test/classes
18-build.test.results.dir=${build.dir}/test/results
19-debug.classpath=\
20- ${run.classpath}
21-debug.test.classpath=\
22- ${run.test.classpath}
23-# This directory is removed when the project is cleaned:
24-dist.dir=dist
25-dist.jar=${dist.dir}/TextKeyMatcher.jar
26-dist.javadoc.dir=${dist.dir}/javadoc
27-endorsed.classpath=
28-excludes=
29-file.reference.AppleJavaExtensions.jar=lib/AppleJavaExtensions.jar
30-file.reference.commons-lang3-3.0.1.jar=lib/commons-lang3-3.0.1.jar
31-file.reference.javaws.jar=/System/Library/Frameworks/JavaVM.framework/Resources/Deploy.bundle/Contents/Home/lib/javaws.jar
32-includes=**
33-jar.archive.disabled=${jnlp.enabled}
34-jar.compress=true
35-jar.index=${jnlp.enabled}
36-javac.classpath=\
37- ${libs.beans-binding.classpath}:\
38- ${libs.BSAF1.9.classpath}:\
39- ${file.reference.AppleJavaExtensions.jar}:\
40- ${libs.swing-layout.classpath}:\
41- ${file.reference.commons-lang3-3.0.1.jar}:\
42- ${libs.protobuf-2.4.1.classpath}
43-# Space-separated list of extra javac options
44-javac.compilerargs=-Xlint:unchecked
45-javac.deprecation=true
46-javac.processorpath=\
47- ${javac.classpath}
48-javac.source=1.6
49-javac.target=1.6
50-javac.test.classpath=\
51- ${javac.classpath}:\
52- ${build.classes.dir}
53-javadoc.additionalparam=
54-javadoc.author=false
55-javadoc.encoding=${source.encoding}
56-javadoc.noindex=false
57-javadoc.nonavbar=false
58-javadoc.notree=false
59-javadoc.private=false
60-javadoc.splitindex=true
61-javadoc.use=true
62-javadoc.version=false
63-javadoc.windowtitle=
64-jnlp.codebase.type=web
65-jnlp.codebase.url=$$$$codebase
66-jnlp.descriptor=application
67-jnlp.enabled=false
68-jnlp.mixed.code=default
69-jnlp.offline-allowed=true
70-jnlp.signed=false
71-jnlp.signing=
72-jnlp.signing.alias=
73-jnlp.signing.keystore=
74-main.class=textkeymatcher.TextKeyMatcherApp
75-manifest.file=manifest.mf
76-meta.inf.dir=${src.dir}/META-INF
77-mkdist.disabled=false
78-platform.active=default_platform
79-run.classpath=\
80- ${javac.classpath}:\
81- ${build.classes.dir}
82-# Space-separated list of JVM arguments used when running the project
83-# (you may also define separate properties like run-sys-prop.name=value instead of -Dname=value
84-# or test-sys-prop.name=value to set system properties for unit tests):
85-run.jvmargs=
86-run.test.classpath=\
87- ${javac.test.classpath}:\
88- ${build.test.classes.dir}
89-source.encoding=UTF-8
90-src.dir=src
91-test.src.dir=test
1+annotation.processing.enabled=true
2+annotation.processing.enabled.in.editor=false
3+annotation.processing.run.all.processors=true
4+ant.customtasks.libs=JWSAntTasks
5+application.desc=Text Key Matcher
6+application.homepage=http://sourceforge.jp/users/seraphy/pf/
7+application.title=TextKeyMatcher
8+application.vendor=seraphyware
9+build.classes.dir=${build.dir}/classes
10+build.classes.excludes=**/*.java,**/*.form
11+# This directory is removed when the project is cleaned:
12+build.dir=build
13+build.generated.dir=${build.dir}/generated
14+build.generated.sources.dir=${build.dir}/generated-sources
15+# Only compile against the classpath explicitly listed here:
16+build.sysclasspath=ignore
17+build.test.classes.dir=${build.dir}/test/classes
18+build.test.results.dir=${build.dir}/test/results
19+debug.classpath=\
20+ ${run.classpath}
21+debug.test.classpath=\
22+ ${run.test.classpath}
23+# This directory is removed when the project is cleaned:
24+dist.dir=dist
25+dist.jar=${dist.dir}/TextKeyMatcher.jar
26+dist.javadoc.dir=${dist.dir}/javadoc
27+endorsed.classpath=
28+excludes=
29+file.reference.AppleJavaExtensions.jar=lib/AppleJavaExtensions.jar
30+file.reference.commons-lang3-3.0.1.jar=lib/commons-lang3-3.0.1.jar
31+file.reference.javaws.jar=/System/Library/Frameworks/JavaVM.framework/Resources/Deploy.bundle/Contents/Home/lib/javaws.jar
32+includes=**
33+jar.archive.disabled=${jnlp.enabled}
34+jar.compress=true
35+jar.index=${jnlp.enabled}
36+javac.classpath=\
37+ ${libs.beans-binding.classpath}:\
38+ ${libs.BSAF1.9.classpath}:\
39+ ${file.reference.AppleJavaExtensions.jar}:\
40+ ${libs.swing-layout.classpath}:\
41+ ${file.reference.commons-lang3-3.0.1.jar}:\
42+ ${libs.protobuf-2.4.1.classpath}
43+# Space-separated list of extra javac options
44+javac.compilerargs=-Xlint:unchecked
45+javac.deprecation=true
46+javac.processorpath=\
47+ ${javac.classpath}
48+javac.source=1.6
49+javac.target=1.6
50+javac.test.classpath=\
51+ ${javac.classpath}:\
52+ ${build.classes.dir}
53+javadoc.additionalparam=
54+javadoc.author=false
55+javadoc.encoding=${source.encoding}
56+javadoc.noindex=false
57+javadoc.nonavbar=false
58+javadoc.notree=false
59+javadoc.private=false
60+javadoc.splitindex=true
61+javadoc.use=true
62+javadoc.version=false
63+javadoc.windowtitle=
64+jnlp.codebase.type=web
65+jnlp.codebase.url=$$$$codebase
66+jnlp.descriptor=application
67+jnlp.enabled=false
68+jnlp.mixed.code=default
69+jnlp.offline-allowed=true
70+jnlp.signed=false
71+jnlp.signing=
72+jnlp.signing.alias=
73+jnlp.signing.keystore=
74+main.class=textkeymatcher.TextKeyMatcherApp
75+manifest.file=manifest.mf
76+meta.inf.dir=${src.dir}/META-INF
77+mkdist.disabled=false
78+platform.active=JDK_1.6
79+run.classpath=\
80+ ${javac.classpath}:\
81+ ${build.classes.dir}
82+# Space-separated list of JVM arguments used when running the project
83+# (you may also define separate properties like run-sys-prop.name=value instead of -Dname=value
84+# or test-sys-prop.name=value to set system properties for unit tests):
85+run.jvmargs=
86+run.test.classpath=\
87+ ${javac.test.classpath}:\
88+ ${build.test.classes.dir}
89+source.encoding=UTF-8
90+src.dir=src
91+test.src.dir=test
--- a/nbproject/project.xml
+++ b/nbproject/project.xml
@@ -1,28 +1,29 @@
1-<?xml version="1.0" encoding="UTF-8"?>
2-<project xmlns="http://www.netbeans.org/ns/project/1">
3- <type>org.netbeans.modules.java.j2seproject</type>
4- <configuration>
5- <buildExtensions xmlns="http://www.netbeans.org/ns/ant-build-extender/1">
6- <extension file="jnlp-impl.xml" id="jws">
7- <dependency dependsOn="jnlp" target="-post-jar"/>
8- <dependency dependsOn="jnlp" target="jar"/>
9- </extension>
10- </buildExtensions>
11- <data xmlns="http://www.netbeans.org/ns/j2se-project/3">
12- <name>TextKeyMatcher</name>
13- <minimum-ant-version>1.6.5</minimum-ant-version>
14- <source-roots>
15- <root id="src.dir"/>
16- </source-roots>
17- <test-roots>
18- <root id="test.src.dir"/>
19- </test-roots>
20- </data>
21- <libraries xmlns="http://www.netbeans.org/ns/ant-project-libraries/1">
22- <definitions>./lib/nblibraries.properties</definitions>
23- </libraries>
24- <swingapp xmlns="http://www.netbeans.org/ns/form-swingapp/1">
25- <application-class name="textkeymatcher.TextKeyMatcherApp"/>
26- </swingapp>
27- </configuration>
28-</project>
1+<?xml version="1.0" encoding="UTF-8"?>
2+<project xmlns="http://www.netbeans.org/ns/project/1">
3+ <type>org.netbeans.modules.java.j2seproject</type>
4+ <configuration>
5+ <buildExtensions xmlns="http://www.netbeans.org/ns/ant-build-extender/1">
6+ <extension file="jnlp-impl.xml" id="jws">
7+ <dependency dependsOn="jnlp" target="-post-jar"/>
8+ <dependency dependsOn="jnlp" target="jar"/>
9+ </extension>
10+ </buildExtensions>
11+ <data xmlns="http://www.netbeans.org/ns/j2se-project/3">
12+ <name>TextKeyMatcher</name>
13+ <minimum-ant-version>1.6.5</minimum-ant-version>
14+ <explicit-platform explicit-source-supported="true"/>
15+ <source-roots>
16+ <root id="src.dir"/>
17+ </source-roots>
18+ <test-roots>
19+ <root id="test.src.dir"/>
20+ </test-roots>
21+ </data>
22+ <libraries xmlns="http://www.netbeans.org/ns/ant-project-libraries/1">
23+ <definitions>./lib/nblibraries.properties</definitions>
24+ </libraries>
25+ <swingapp xmlns="http://www.netbeans.org/ns/form-swingapp/1">
26+ <application-class name="textkeymatcher.TextKeyMatcherApp"/>
27+ </swingapp>
28+ </configuration>
29+</project>