• R/O
  • SSH
  • HTTPS

Commit

Frequently used words (click to add to your profile)

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

OmegaT の背景に画像を表示します。


Commit MetaInfo

Revision7 (tree)
Time2014-05-05 21:09:13
Authoryu-tang

Log Message

remove unnecessary files

Change Summary

  • delete: trunk/nbproject/groovy-build.xml
  • delete: trunk/nbproject/genfiles.properties
  • delete: trunk/nbproject/build-impl.xml
  • delete: trunk/nbproject/private/private.properties
  • delete: trunk/nbproject/private/retriever/catalog.xml
  • delete: trunk/nbproject/private/retriever
  • delete: trunk/nbproject/private/private.xml
  • delete: trunk/nbproject/private/config.properties
  • delete: trunk/nbproject/private
  • modified: trunk/nbproject/project.xml (diff)
  • normal: trunk/nbproject

Incremental Difference

--- trunk/nbproject/groovy-build.xml (revision 6)
+++ trunk/nbproject/groovy-build.xml (nonexistent)
@@ -1,93 +0,0 @@
1-<?xml version="1.0" encoding="UTF-8"?>
2-<!--
3-*** GENERATED FROM project.xml - DO NOT EDIT ***
4-*** EDIT ../build.xml INSTEAD ***
5-
6-
7- -->
8-<project xmlns:j2seproject3="http://www.netbeans.org/ns/j2se-project/3" xmlns:j2seproject1="http://www.netbeans.org/ns/j2se-project/1" xmlns:jaxrpc="http://www.netbeans.org/ns/j2se-project/jax-rpc">
9- <target name="-groovy-init-macrodef-javac">
10- <macrodef name="javac" uri="http://www.netbeans.org/ns/j2se-project/3">
11- <attribute name="srcdir" default="${src.dir}"/>
12- <attribute name="destdir" default="${build.classes.dir}"/>
13- <attribute name="classpath" default="${javac.classpath}"/>
14- <attribute name="includes" default="${includes}"/>
15- <attribute name="excludes" default="${excludes}"/>
16- <attribute name="debug" default="${javac.debug}"/>
17- <attribute name="sourcepath" default="${empty.dir}"/>
18- <attribute name="gensrcdir" default="${empty.dir}"/>
19- <attribute name="processorpath" default="${javac.processorpath}"/>
20- <attribute name="apgeneratedsrcdir" default="${build.generated.sources.dir}/ap-source-output"/>
21- <element name="customize" optional="true"/>
22- <sequential>
23- <taskdef name="groovyc" classpath="${javac.classpath}" classname="org.codehaus.groovy.ant.Groovyc"/>
24- <property name="empty.dir" location="${build.dir}/empty"/>
25- <mkdir dir="${empty.dir}"/>
26- <groovyc srcdir="@{srcdir}" sourcepath="@{sourcepath}" destdir="@{destdir}" encoding="${source.encoding}" excludes="@{excludes}" includeAntRuntime="false" fork="true">
27- <src>
28- <dirset dir="@{gensrcdir}" erroronmissingdir="false">
29- <include name="*"/>
30- </dirset>
31- </src>
32- <classpath>
33- <path path="@{classpath}"/>
34- </classpath>
35- <javac debug="@{debug}" deprecation="${javac.deprecation}" encoding="${source.encoding}" source="${javac.source}" target="${javac.target}">
36- <compilerarg line="${javac.compilerargs} ${javac.compilerargs.jaxws}"/>
37- <customize/>
38- </javac>
39- </groovyc>
40- </sequential>
41- </macrodef>
42- <macrodef name="depend" uri="http://www.netbeans.org/ns/j2se-project/3">
43- <attribute name="srcdir" default="${src.dir}"/>
44- <attribute name="destdir" default="${build.classes.dir}"/>
45- <attribute name="classpath" default="${javac.classpath}"/>
46- <sequential>
47- <depend srcdir="@{srcdir}" destdir="@{destdir}" cache="${build.dir}/depcache" includes="${includes}" excludes="${excludes}">
48- <classpath>
49- <path path="@{classpath}"/>
50- </classpath>
51- </depend>
52- </sequential>
53- </macrodef>
54- <macrodef name="force-recompile" uri="http://www.netbeans.org/ns/j2se-project/3">
55- <attribute name="destdir" default="${build.classes.dir}"/>
56- <sequential>
57- <fail unless="javac.includes">Must set javac.includes</fail>
58- <pathconvert property="javac.includes.binary" pathsep=",">
59- <path>
60- <filelist dir="@{destdir}" files="${javac.includes}"/>
61- </path>
62- <globmapper from="*.java" to="*.class"/>
63- </pathconvert>
64- <delete>
65- <files includes="${javac.includes.binary}"/>
66- </delete>
67- </sequential>
68- </macrodef>
69- </target>
70- <target depends="init,compile-test,-pre-test-run" if="have.tests" name="-do-test-run-with-groovy">
71- <j2seproject3:test testincludes=""/>
72- </target>
73- <target depends="init,compile-test,-pre-test-run,-do-test-run-with-groovy" if="have.tests" name="-post-test-run-with-groovy">
74- <fail if="tests.failed" unless="ignore.failing.tests">Some tests failed; see details above.</fail>
75- </target>
76- <target depends="init,compile-test,-pre-test-run,-do-test-run-with-groovy,test-report,-post-test-run-with-groovy,-test-browse" description="Run unit tests." name="test-with-groovy"/>
77- <target depends="init,compile-test-single,-pre-test-run-single" if="have.tests" name="-do-test-run-single-groovy">
78- <fail unless="test.binarytestincludes">Must select some files in the IDE or set test.includes</fail>
79- <j2seproject3:test testincludes=""/>
80- </target>
81- <target depends="init,compile-test-single,-pre-test-run-single,-do-test-run-single-groovy" if="have.tests" name="-post-test-run-single-groovy">
82- <fail if="tests.failed" unless="ignore.failing.tests">Some tests failed; see details above.</fail>
83- </target>
84- <target depends="init,compile-test-single,-pre-test-run-single,-do-test-run-single-groovy,-post-test-run-single-groovy" description="Run single unit test." name="test-single-groovy"/>
85- <target depends="init,compile-test-single,-pre-test-run-single,-debug-start-debugger-test" name="-do-test-debug-single-groovy">
86- <fail unless="test.binarytestincludes">Must select some files in the IDE or set test.binarytestincludes</fail>
87- <j2seproject3:test-debug testincludes=""/>
88- </target>
89- <target depends="init,compile-test-single,-pre-test-run-single,-do-test-debug-single-groovy" if="have.tests" name="-post-test-debug-single-groovy">
90- <fail if="tests.failed" unless="ignore.failing.tests">Some tests failed; see details above.</fail>
91- </target>
92- <target depends="init,compile-test-single,-pre-test-run-single,-debug-start-debugger-test,-do-test-debug-single-groovy,-post-test-debug-single-groovy" name="debug-test-with-groovy"/>
93-</project>
--- trunk/nbproject/build-impl.xml (revision 6)
+++ trunk/nbproject/build-impl.xml (nonexistent)
@@ -1,1414 +0,0 @@
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- - test compilation
16- - test execution
17- - test 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="Moenizer-impl">
23- <import file="groovy-build.xml"/>
24- <fail message="Please build using Ant 1.8.0 or higher.">
25- <condition>
26- <not>
27- <antversion atleast="1.8.0"/>
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 depends="-pre-init,-init-private" name="-init-user">
47- <property file="${user.properties.file}"/>
48- <!-- The two properties below are usually overridden -->
49- <!-- by the active platform. Just a fallback. -->
50- <property name="default.javac.source" value="1.4"/>
51- <property name="default.javac.target" value="1.4"/>
52- </target>
53- <target depends="-pre-init,-init-private,-init-user" name="-init-project">
54- <property file="nbproject/configs/${config}.properties"/>
55- <property file="nbproject/project.properties"/>
56- </target>
57- <target depends="-pre-init,-init-private,-init-user,-init-project,-init-macrodef-property" name="-do-init">
58- <property name="platform.java" value="${java.home}/bin/java"/>
59- <available file="${manifest.file}" property="manifest.available"/>
60- <condition property="splashscreen.available">
61- <and>
62- <not>
63- <equals arg1="${application.splash}" arg2="" trim="true"/>
64- </not>
65- <available file="${application.splash}"/>
66- </and>
67- </condition>
68- <condition property="main.class.available">
69- <and>
70- <isset property="main.class"/>
71- <not>
72- <equals arg1="${main.class}" arg2="" trim="true"/>
73- </not>
74- </and>
75- </condition>
76- <condition property="profile.available">
77- <and>
78- <isset property="javac.profile"/>
79- <length length="0" string="${javac.profile}" when="greater"/>
80- <matches pattern="1\.[89](\..*)?" string="${javac.source}"/>
81- </and>
82- </condition>
83- <condition property="do.archive">
84- <or>
85- <not>
86- <istrue value="${jar.archive.disabled}"/>
87- </not>
88- <istrue value="${not.archive.disabled}"/>
89- </or>
90- </condition>
91- <condition property="do.mkdist">
92- <and>
93- <isset property="do.archive"/>
94- <isset property="libs.CopyLibs.classpath"/>
95- <not>
96- <istrue value="${mkdist.disabled}"/>
97- </not>
98- </and>
99- </condition>
100- <condition property="do.archive+manifest.available">
101- <and>
102- <isset property="manifest.available"/>
103- <istrue value="${do.archive}"/>
104- </and>
105- </condition>
106- <condition property="do.archive+main.class.available">
107- <and>
108- <isset property="main.class.available"/>
109- <istrue value="${do.archive}"/>
110- </and>
111- </condition>
112- <condition property="do.archive+splashscreen.available">
113- <and>
114- <isset property="splashscreen.available"/>
115- <istrue value="${do.archive}"/>
116- </and>
117- </condition>
118- <condition property="do.archive+profile.available">
119- <and>
120- <isset property="profile.available"/>
121- <istrue value="${do.archive}"/>
122- </and>
123- </condition>
124- <condition property="have.tests">
125- <or>
126- <available file="${test.src.dir}"/>
127- </or>
128- </condition>
129- <condition property="have.sources">
130- <or>
131- <available file="${src.dir}"/>
132- </or>
133- </condition>
134- <condition property="netbeans.home+have.tests">
135- <and>
136- <isset property="netbeans.home"/>
137- <isset property="have.tests"/>
138- </and>
139- </condition>
140- <condition property="no.javadoc.preview">
141- <and>
142- <isset property="javadoc.preview"/>
143- <isfalse value="${javadoc.preview}"/>
144- </and>
145- </condition>
146- <property name="run.jvmargs" value=""/>
147- <property name="run.jvmargs.ide" value=""/>
148- <property name="javac.compilerargs" value=""/>
149- <property name="work.dir" value="${basedir}"/>
150- <condition property="no.deps">
151- <and>
152- <istrue value="${no.dependencies}"/>
153- </and>
154- </condition>
155- <property name="javac.debug" value="true"/>
156- <property name="javadoc.preview" value="true"/>
157- <property name="application.args" value=""/>
158- <property name="source.encoding" value="${file.encoding}"/>
159- <property name="runtime.encoding" value="${source.encoding}"/>
160- <condition property="javadoc.encoding.used" value="${javadoc.encoding}">
161- <and>
162- <isset property="javadoc.encoding"/>
163- <not>
164- <equals arg1="${javadoc.encoding}" arg2=""/>
165- </not>
166- </and>
167- </condition>
168- <property name="javadoc.encoding.used" value="${source.encoding}"/>
169- <property name="includes" value="**"/>
170- <property name="excludes" value=""/>
171- <property name="do.depend" value="false"/>
172- <condition property="do.depend.true">
173- <istrue value="${do.depend}"/>
174- </condition>
175- <path id="endorsed.classpath.path" path="${endorsed.classpath}"/>
176- <condition else="" property="endorsed.classpath.cmd.line.arg" value="-Xbootclasspath/p:'${toString:endorsed.classpath.path}'">
177- <and>
178- <isset property="endorsed.classpath"/>
179- <not>
180- <equals arg1="${endorsed.classpath}" arg2="" trim="true"/>
181- </not>
182- </and>
183- </condition>
184- <condition else="" property="javac.profile.cmd.line.arg" value="-profile ${javac.profile}">
185- <isset property="profile.available"/>
186- </condition>
187- <condition else="false" property="jdkBug6558476">
188- <and>
189- <matches pattern="1\.[56]" string="${java.specification.version}"/>
190- <not>
191- <os family="unix"/>
192- </not>
193- </and>
194- </condition>
195- <property name="javac.fork" value="${jdkBug6558476}"/>
196- <property name="jar.index" value="false"/>
197- <property name="jar.index.metainf" value="${jar.index}"/>
198- <property name="copylibs.rebase" value="true"/>
199- <available file="${meta.inf.dir}/persistence.xml" property="has.persistence.xml"/>
200- <condition property="junit.available">
201- <or>
202- <available classname="org.junit.Test" classpath="${run.test.classpath}"/>
203- <available classname="junit.framework.Test" classpath="${run.test.classpath}"/>
204- </or>
205- </condition>
206- <condition property="testng.available">
207- <available classname="org.testng.annotations.Test" classpath="${run.test.classpath}"/>
208- </condition>
209- <condition property="junit+testng.available">
210- <and>
211- <istrue value="${junit.available}"/>
212- <istrue value="${testng.available}"/>
213- </and>
214- </condition>
215- <condition else="testng" property="testng.mode" value="mixed">
216- <istrue value="${junit+testng.available}"/>
217- </condition>
218- <condition else="" property="testng.debug.mode" value="-mixed">
219- <istrue value="${junit+testng.available}"/>
220- </condition>
221- </target>
222- <target name="-post-init">
223- <!-- Empty placeholder for easier customization. -->
224- <!-- You can override this target in the ../build.xml file. -->
225- </target>
226- <target depends="-pre-init,-init-private,-init-user,-init-project,-do-init" name="-init-check">
227- <fail unless="src.dir">Must set src.dir</fail>
228- <fail unless="test.src.dir">Must set test.src.dir</fail>
229- <fail unless="build.dir">Must set build.dir</fail>
230- <fail unless="dist.dir">Must set dist.dir</fail>
231- <fail unless="build.classes.dir">Must set build.classes.dir</fail>
232- <fail unless="dist.javadoc.dir">Must set dist.javadoc.dir</fail>
233- <fail unless="build.test.classes.dir">Must set build.test.classes.dir</fail>
234- <fail unless="build.test.results.dir">Must set build.test.results.dir</fail>
235- <fail unless="build.classes.excludes">Must set build.classes.excludes</fail>
236- <fail unless="dist.jar">Must set dist.jar</fail>
237- </target>
238- <target name="-init-macrodef-property">
239- <macrodef name="property" uri="http://www.netbeans.org/ns/j2se-project/1">
240- <attribute name="name"/>
241- <attribute name="value"/>
242- <sequential>
243- <property name="@{name}" value="${@{value}}"/>
244- </sequential>
245- </macrodef>
246- </target>
247- <target depends="-init-ap-cmdline-properties" if="ap.supported.internal" name="-init-macrodef-javac-with-processors">
248- <macrodef name="javac" uri="http://www.netbeans.org/ns/j2se-project/3">
249- <attribute default="${src.dir}" name="srcdir"/>
250- <attribute default="${build.classes.dir}" name="destdir"/>
251- <attribute default="${javac.classpath}" name="classpath"/>
252- <attribute default="${javac.processorpath}" name="processorpath"/>
253- <attribute default="${build.generated.sources.dir}/ap-source-output" name="apgeneratedsrcdir"/>
254- <attribute default="${includes}" name="includes"/>
255- <attribute default="${excludes}" name="excludes"/>
256- <attribute default="${javac.debug}" name="debug"/>
257- <attribute default="${empty.dir}" name="sourcepath"/>
258- <attribute default="${empty.dir}" name="gensrcdir"/>
259- <element name="customize" optional="true"/>
260- <sequential>
261- <property location="${build.dir}/empty" name="empty.dir"/>
262- <mkdir dir="${empty.dir}"/>
263- <mkdir dir="@{apgeneratedsrcdir}"/>
264- <javac debug="@{debug}" deprecation="${javac.deprecation}" destdir="@{destdir}" encoding="${source.encoding}" excludes="@{excludes}" fork="${javac.fork}" includeantruntime="false" includes="@{includes}" source="${javac.source}" sourcepath="@{sourcepath}" srcdir="@{srcdir}" target="${javac.target}" tempdir="${java.io.tmpdir}">
265- <src>
266- <dirset dir="@{gensrcdir}" erroronmissingdir="false">
267- <include name="*"/>
268- </dirset>
269- </src>
270- <classpath>
271- <path path="@{classpath}"/>
272- </classpath>
273- <compilerarg line="${endorsed.classpath.cmd.line.arg}"/>
274- <compilerarg line="${javac.profile.cmd.line.arg}"/>
275- <compilerarg line="${javac.compilerargs}"/>
276- <compilerarg value="-processorpath"/>
277- <compilerarg path="@{processorpath}:${empty.dir}"/>
278- <compilerarg line="${ap.processors.internal}"/>
279- <compilerarg line="${annotation.processing.processor.options}"/>
280- <compilerarg value="-s"/>
281- <compilerarg path="@{apgeneratedsrcdir}"/>
282- <compilerarg line="${ap.proc.none.internal}"/>
283- <customize/>
284- </javac>
285- </sequential>
286- </macrodef>
287- </target>
288- <target depends="-init-ap-cmdline-properties" name="-init-macrodef-javac-without-processors" unless="ap.supported.internal">
289- <macrodef name="javac" uri="http://www.netbeans.org/ns/j2se-project/3">
290- <attribute default="${src.dir}" name="srcdir"/>
291- <attribute default="${build.classes.dir}" name="destdir"/>
292- <attribute default="${javac.classpath}" name="classpath"/>
293- <attribute default="${javac.processorpath}" name="processorpath"/>
294- <attribute default="${build.generated.sources.dir}/ap-source-output" name="apgeneratedsrcdir"/>
295- <attribute default="${includes}" name="includes"/>
296- <attribute default="${excludes}" name="excludes"/>
297- <attribute default="${javac.debug}" name="debug"/>
298- <attribute default="${empty.dir}" name="sourcepath"/>
299- <attribute default="${empty.dir}" name="gensrcdir"/>
300- <element name="customize" optional="true"/>
301- <sequential>
302- <property location="${build.dir}/empty" name="empty.dir"/>
303- <mkdir dir="${empty.dir}"/>
304- <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}">
305- <src>
306- <dirset dir="@{gensrcdir}" erroronmissingdir="false">
307- <include name="*"/>
308- </dirset>
309- </src>
310- <classpath>
311- <path path="@{classpath}"/>
312- </classpath>
313- <compilerarg line="${endorsed.classpath.cmd.line.arg}"/>
314- <compilerarg line="${javac.profile.cmd.line.arg}"/>
315- <compilerarg line="${javac.compilerargs}"/>
316- <customize/>
317- </javac>
318- </sequential>
319- </macrodef>
320- </target>
321- <target depends="-init-macrodef-javac-with-processors,-init-macrodef-javac-without-processors" name="-init-macrodef-javac">
322- <macrodef name="depend" uri="http://www.netbeans.org/ns/j2se-project/3">
323- <attribute default="${src.dir}" name="srcdir"/>
324- <attribute default="${build.classes.dir}" name="destdir"/>
325- <attribute default="${javac.classpath}" name="classpath"/>
326- <sequential>
327- <depend cache="${build.dir}/depcache" destdir="@{destdir}" excludes="${excludes}" includes="${includes}" srcdir="@{srcdir}">
328- <classpath>
329- <path path="@{classpath}"/>
330- </classpath>
331- </depend>
332- </sequential>
333- </macrodef>
334- <macrodef name="force-recompile" uri="http://www.netbeans.org/ns/j2se-project/3">
335- <attribute default="${build.classes.dir}" name="destdir"/>
336- <sequential>
337- <fail unless="javac.includes">Must set javac.includes</fail>
338- <pathconvert pathsep="${line.separator}" property="javac.includes.binary">
339- <path>
340- <filelist dir="@{destdir}" files="${javac.includes}"/>
341- </path>
342- <globmapper from="*.java" to="*.class"/>
343- </pathconvert>
344- <tempfile deleteonexit="true" property="javac.includesfile.binary"/>
345- <echo file="${javac.includesfile.binary}" message="${javac.includes.binary}"/>
346- <delete>
347- <files includesfile="${javac.includesfile.binary}"/>
348- </delete>
349- <delete>
350- <fileset file="${javac.includesfile.binary}"/>
351- </delete>
352- </sequential>
353- </macrodef>
354- </target>
355- <target if="${junit.available}" name="-init-macrodef-junit-init">
356- <condition else="false" property="nb.junit.batch" value="true">
357- <and>
358- <istrue value="${junit.available}"/>
359- <not>
360- <isset property="test.method"/>
361- </not>
362- </and>
363- </condition>
364- <condition else="false" property="nb.junit.single" value="true">
365- <and>
366- <istrue value="${junit.available}"/>
367- <isset property="test.method"/>
368- </and>
369- </condition>
370- </target>
371- <target name="-init-test-properties">
372- <property name="test.binaryincludes" value="&lt;nothing&gt;"/>
373- <property name="test.binarytestincludes" value=""/>
374- <property name="test.binaryexcludes" value=""/>
375- </target>
376- <target if="${nb.junit.single}" name="-init-macrodef-junit-single" unless="${nb.junit.batch}">
377- <macrodef name="junit" uri="http://www.netbeans.org/ns/j2se-project/3">
378- <attribute default="${includes}" name="includes"/>
379- <attribute default="${excludes}" name="excludes"/>
380- <attribute default="**" name="testincludes"/>
381- <attribute default="" name="testmethods"/>
382- <element name="customize" optional="true"/>
383- <sequential>
384- <property name="junit.forkmode" value="perTest"/>
385- <junit dir="${work.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" forkmode="${junit.forkmode}" showoutput="true" tempdir="${build.dir}">
386- <test methods="@{testmethods}" name="@{testincludes}" todir="${build.test.results.dir}"/>
387- <syspropertyset>
388- <propertyref prefix="test-sys-prop."/>
389- <mapper from="test-sys-prop.*" to="*" type="glob"/>
390- </syspropertyset>
391- <formatter type="brief" usefile="false"/>
392- <formatter type="xml"/>
393- <jvmarg value="-ea"/>
394- <customize/>
395- </junit>
396- </sequential>
397- </macrodef>
398- </target>
399- <target depends="-init-test-properties" if="${nb.junit.batch}" name="-init-macrodef-junit-batch" unless="${nb.junit.single}">
400- <macrodef name="junit" uri="http://www.netbeans.org/ns/j2se-project/3">
401- <attribute default="${includes}" name="includes"/>
402- <attribute default="${excludes}" name="excludes"/>
403- <attribute default="**" name="testincludes"/>
404- <attribute default="" name="testmethods"/>
405- <element name="customize" optional="true"/>
406- <sequential>
407- <property name="junit.forkmode" value="perTest"/>
408- <junit dir="${work.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" forkmode="${junit.forkmode}" showoutput="true" tempdir="${build.dir}">
409- <batchtest todir="${build.test.results.dir}">
410- <fileset dir="${test.src.dir}" excludes="@{excludes},${excludes}" includes="@{includes}">
411- <filename name="@{testincludes}"/>
412- </fileset>
413- <fileset dir="${build.test.classes.dir}" excludes="@{excludes},${excludes},${test.binaryexcludes}" includes="${test.binaryincludes}">
414- <filename name="${test.binarytestincludes}"/>
415- </fileset>
416- </batchtest>
417- <syspropertyset>
418- <propertyref prefix="test-sys-prop."/>
419- <mapper from="test-sys-prop.*" to="*" type="glob"/>
420- </syspropertyset>
421- <formatter type="brief" usefile="false"/>
422- <formatter type="xml"/>
423- <jvmarg value="-ea"/>
424- <customize/>
425- </junit>
426- </sequential>
427- </macrodef>
428- </target>
429- <target depends="-init-macrodef-junit-init,-init-macrodef-junit-single, -init-macrodef-junit-batch" if="${junit.available}" name="-init-macrodef-junit"/>
430- <target if="${testng.available}" name="-init-macrodef-testng">
431- <macrodef name="testng" uri="http://www.netbeans.org/ns/j2se-project/3">
432- <attribute default="${includes}" name="includes"/>
433- <attribute default="${excludes}" name="excludes"/>
434- <attribute default="**" name="testincludes"/>
435- <attribute default="" name="testmethods"/>
436- <element name="customize" optional="true"/>
437- <sequential>
438- <condition else="" property="testng.methods.arg" value="@{testincludes}.@{testmethods}">
439- <isset property="test.method"/>
440- </condition>
441- <union id="test.set">
442- <fileset dir="${test.src.dir}" excludes="@{excludes},**/*.xml,${excludes}" includes="@{includes}">
443- <filename name="@{testincludes}"/>
444- </fileset>
445- </union>
446- <taskdef classname="org.testng.TestNGAntTask" classpath="${run.test.classpath}" name="testng"/>
447- <testng classfilesetref="test.set" failureProperty="tests.failed" listeners="org.testng.reporters.VerboseReporter" methods="${testng.methods.arg}" mode="${testng.mode}" outputdir="${build.test.results.dir}" suitename="Moenizer" testname="TestNG tests" workingDir="${work.dir}">
448- <xmlfileset dir="${build.test.classes.dir}" includes="@{testincludes}"/>
449- <propertyset>
450- <propertyref prefix="test-sys-prop."/>
451- <mapper from="test-sys-prop.*" to="*" type="glob"/>
452- </propertyset>
453- <customize/>
454- </testng>
455- </sequential>
456- </macrodef>
457- </target>
458- <target name="-init-macrodef-test-impl">
459- <macrodef name="test-impl" uri="http://www.netbeans.org/ns/j2se-project/3">
460- <attribute default="${includes}" name="includes"/>
461- <attribute default="${excludes}" name="excludes"/>
462- <attribute default="**" name="testincludes"/>
463- <attribute default="" name="testmethods"/>
464- <element implicit="true" name="customize" optional="true"/>
465- <sequential>
466- <echo>No tests executed.</echo>
467- </sequential>
468- </macrodef>
469- </target>
470- <target depends="-init-macrodef-junit" if="${junit.available}" name="-init-macrodef-junit-impl">
471- <macrodef name="test-impl" uri="http://www.netbeans.org/ns/j2se-project/3">
472- <attribute default="${includes}" name="includes"/>
473- <attribute default="${excludes}" name="excludes"/>
474- <attribute default="**" name="testincludes"/>
475- <attribute default="" name="testmethods"/>
476- <element implicit="true" name="customize" optional="true"/>
477- <sequential>
478- <j2seproject3:junit excludes="@{excludes}" includes="@{includes}" testincludes="@{testincludes}" testmethods="@{testmethods}">
479- <customize/>
480- </j2seproject3:junit>
481- </sequential>
482- </macrodef>
483- </target>
484- <target depends="-init-macrodef-testng" if="${testng.available}" name="-init-macrodef-testng-impl">
485- <macrodef name="test-impl" uri="http://www.netbeans.org/ns/j2se-project/3">
486- <attribute default="${includes}" name="includes"/>
487- <attribute default="${excludes}" name="excludes"/>
488- <attribute default="**" name="testincludes"/>
489- <attribute default="" name="testmethods"/>
490- <element implicit="true" name="customize" optional="true"/>
491- <sequential>
492- <j2seproject3:testng excludes="@{excludes}" includes="@{includes}" testincludes="@{testincludes}" testmethods="@{testmethods}">
493- <customize/>
494- </j2seproject3:testng>
495- </sequential>
496- </macrodef>
497- </target>
498- <target depends="-init-macrodef-test-impl,-init-macrodef-junit-impl,-init-macrodef-testng-impl" name="-init-macrodef-test">
499- <macrodef name="test" uri="http://www.netbeans.org/ns/j2se-project/3">
500- <attribute default="${includes}" name="includes"/>
501- <attribute default="${excludes}" name="excludes"/>
502- <attribute default="**" name="testincludes"/>
503- <attribute default="" name="testmethods"/>
504- <sequential>
505- <j2seproject3:test-impl excludes="@{excludes}" includes="@{includes}" testincludes="@{testincludes}" testmethods="@{testmethods}">
506- <customize>
507- <classpath>
508- <path path="${run.test.classpath}"/>
509- </classpath>
510- <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
511- <jvmarg line="${run.jvmargs}"/>
512- <jvmarg line="${run.jvmargs.ide}"/>
513- </customize>
514- </j2seproject3:test-impl>
515- </sequential>
516- </macrodef>
517- </target>
518- <target if="${junit.available}" name="-init-macrodef-junit-debug" unless="${nb.junit.batch}">
519- <macrodef name="junit-debug" uri="http://www.netbeans.org/ns/j2se-project/3">
520- <attribute default="${includes}" name="includes"/>
521- <attribute default="${excludes}" name="excludes"/>
522- <attribute default="**" name="testincludes"/>
523- <attribute default="" name="testmethods"/>
524- <element name="customize" optional="true"/>
525- <sequential>
526- <property name="junit.forkmode" value="perTest"/>
527- <junit dir="${work.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" forkmode="${junit.forkmode}" showoutput="true" tempdir="${build.dir}">
528- <test methods="@{testmethods}" name="@{testincludes}" todir="${build.test.results.dir}"/>
529- <syspropertyset>
530- <propertyref prefix="test-sys-prop."/>
531- <mapper from="test-sys-prop.*" to="*" type="glob"/>
532- </syspropertyset>
533- <formatter type="brief" usefile="false"/>
534- <formatter type="xml"/>
535- <jvmarg value="-ea"/>
536- <jvmarg line="${debug-args-line}"/>
537- <jvmarg value="-Xrunjdwp:transport=${debug-transport},address=${jpda.address}"/>
538- <customize/>
539- </junit>
540- </sequential>
541- </macrodef>
542- </target>
543- <target depends="-init-test-properties" if="${nb.junit.batch}" name="-init-macrodef-junit-debug-batch">
544- <macrodef name="junit-debug" uri="http://www.netbeans.org/ns/j2se-project/3">
545- <attribute default="${includes}" name="includes"/>
546- <attribute default="${excludes}" name="excludes"/>
547- <attribute default="**" name="testincludes"/>
548- <attribute default="" name="testmethods"/>
549- <element name="customize" optional="true"/>
550- <sequential>
551- <property name="junit.forkmode" value="perTest"/>
552- <junit dir="${work.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" forkmode="${junit.forkmode}" showoutput="true" tempdir="${build.dir}">
553- <batchtest todir="${build.test.results.dir}">
554- <fileset dir="${test.src.dir}" excludes="@{excludes},${excludes}" includes="@{includes}">
555- <filename name="@{testincludes}"/>
556- </fileset>
557- <fileset dir="${build.test.classes.dir}" excludes="@{excludes},${excludes},${test.binaryexcludes}" includes="${test.binaryincludes}">
558- <filename name="${test.binarytestincludes}"/>
559- </fileset>
560- </batchtest>
561- <syspropertyset>
562- <propertyref prefix="test-sys-prop."/>
563- <mapper from="test-sys-prop.*" to="*" type="glob"/>
564- </syspropertyset>
565- <formatter type="brief" usefile="false"/>
566- <formatter type="xml"/>
567- <jvmarg value="-ea"/>
568- <jvmarg line="${debug-args-line}"/>
569- <jvmarg value="-Xrunjdwp:transport=${debug-transport},address=${jpda.address}"/>
570- <customize/>
571- </junit>
572- </sequential>
573- </macrodef>
574- </target>
575- <target depends="-init-macrodef-junit-debug,-init-macrodef-junit-debug-batch" if="${junit.available}" name="-init-macrodef-junit-debug-impl">
576- <macrodef name="test-debug-impl" uri="http://www.netbeans.org/ns/j2se-project/3">
577- <attribute default="${includes}" name="includes"/>
578- <attribute default="${excludes}" name="excludes"/>
579- <attribute default="**" name="testincludes"/>
580- <attribute default="" name="testmethods"/>
581- <element implicit="true" name="customize" optional="true"/>
582- <sequential>
583- <j2seproject3:junit-debug excludes="@{excludes}" includes="@{includes}" testincludes="@{testincludes}" testmethods="@{testmethods}">
584- <customize/>
585- </j2seproject3:junit-debug>
586- </sequential>
587- </macrodef>
588- </target>
589- <target if="${testng.available}" name="-init-macrodef-testng-debug">
590- <macrodef name="testng-debug" uri="http://www.netbeans.org/ns/j2se-project/3">
591- <attribute default="${main.class}" name="testClass"/>
592- <attribute default="" name="testMethod"/>
593- <element name="customize2" optional="true"/>
594- <sequential>
595- <condition else="-testclass @{testClass}" property="test.class.or.method" value="-methods @{testClass}.@{testMethod}">
596- <isset property="test.method"/>
597- </condition>
598- <condition else="-suitename Moenizer -testname @{testClass} ${test.class.or.method}" property="testng.cmd.args" value="@{testClass}">
599- <matches pattern=".*\.xml" string="@{testClass}"/>
600- </condition>
601- <delete dir="${build.test.results.dir}" quiet="true"/>
602- <mkdir dir="${build.test.results.dir}"/>
603- <j2seproject3:debug classname="org.testng.TestNG" classpath="${debug.test.classpath}">
604- <customize>
605- <customize2/>
606- <jvmarg value="-ea"/>
607- <arg line="${testng.debug.mode}"/>
608- <arg line="-d ${build.test.results.dir}"/>
609- <arg line="-listener org.testng.reporters.VerboseReporter"/>
610- <arg line="${testng.cmd.args}"/>
611- </customize>
612- </j2seproject3:debug>
613- </sequential>
614- </macrodef>
615- </target>
616- <target depends="-init-macrodef-testng-debug" if="${testng.available}" name="-init-macrodef-testng-debug-impl">
617- <macrodef name="testng-debug-impl" uri="http://www.netbeans.org/ns/j2se-project/3">
618- <attribute default="${main.class}" name="testClass"/>
619- <attribute default="" name="testMethod"/>
620- <element implicit="true" name="customize2" optional="true"/>
621- <sequential>
622- <j2seproject3:testng-debug testClass="@{testClass}" testMethod="@{testMethod}">
623- <customize2/>
624- </j2seproject3:testng-debug>
625- </sequential>
626- </macrodef>
627- </target>
628- <target depends="-init-macrodef-junit-debug-impl" if="${junit.available}" name="-init-macrodef-test-debug-junit">
629- <macrodef name="test-debug" uri="http://www.netbeans.org/ns/j2se-project/3">
630- <attribute default="${includes}" name="includes"/>
631- <attribute default="${excludes}" name="excludes"/>
632- <attribute default="**" name="testincludes"/>
633- <attribute default="" name="testmethods"/>
634- <attribute default="${main.class}" name="testClass"/>
635- <attribute default="" name="testMethod"/>
636- <sequential>
637- <j2seproject3:test-debug-impl excludes="@{excludes}" includes="@{includes}" testincludes="@{testincludes}" testmethods="@{testmethods}">
638- <customize>
639- <classpath>
640- <path path="${run.test.classpath}"/>
641- </classpath>
642- <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
643- <jvmarg line="${run.jvmargs}"/>
644- <jvmarg line="${run.jvmargs.ide}"/>
645- </customize>
646- </j2seproject3:test-debug-impl>
647- </sequential>
648- </macrodef>
649- </target>
650- <target depends="-init-macrodef-testng-debug-impl" if="${testng.available}" name="-init-macrodef-test-debug-testng">
651- <macrodef name="test-debug" uri="http://www.netbeans.org/ns/j2se-project/3">
652- <attribute default="${includes}" name="includes"/>
653- <attribute default="${excludes}" name="excludes"/>
654- <attribute default="**" name="testincludes"/>
655- <attribute default="" name="testmethods"/>
656- <attribute default="${main.class}" name="testClass"/>
657- <attribute default="" name="testMethod"/>
658- <sequential>
659- <j2seproject3:testng-debug-impl testClass="@{testClass}" testMethod="@{testMethod}">
660- <customize2>
661- <syspropertyset>
662- <propertyref prefix="test-sys-prop."/>
663- <mapper from="test-sys-prop.*" to="*" type="glob"/>
664- </syspropertyset>
665- </customize2>
666- </j2seproject3:testng-debug-impl>
667- </sequential>
668- </macrodef>
669- </target>
670- <target depends="-init-macrodef-test-debug-junit,-init-macrodef-test-debug-testng" name="-init-macrodef-test-debug"/>
671- <!--
672- pre NB7.2 profiling section; consider it deprecated
673- -->
674- <target depends="-profile-pre-init, init, -profile-post-init, -profile-init-macrodef-profile, -profile-init-check" if="profiler.info.jvmargs.agent" name="profile-init"/>
675- <target if="profiler.info.jvmargs.agent" name="-profile-pre-init">
676- <!-- Empty placeholder for easier customization. -->
677- <!-- You can override this target in the ../build.xml file. -->
678- </target>
679- <target if="profiler.info.jvmargs.agent" name="-profile-post-init">
680- <!-- Empty placeholder for easier customization. -->
681- <!-- You can override this target in the ../build.xml file. -->
682- </target>
683- <target if="profiler.info.jvmargs.agent" name="-profile-init-macrodef-profile">
684- <macrodef name="resolve">
685- <attribute name="name"/>
686- <attribute name="value"/>
687- <sequential>
688- <property name="@{name}" value="${env.@{value}}"/>
689- </sequential>
690- </macrodef>
691- <macrodef name="profile">
692- <attribute default="${main.class}" name="classname"/>
693- <element name="customize" optional="true"/>
694- <sequential>
695- <property environment="env"/>
696- <resolve name="profiler.current.path" value="${profiler.info.pathvar}"/>
697- <java classname="@{classname}" dir="${profiler.info.dir}" fork="true" jvm="${profiler.info.jvm}">
698- <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
699- <jvmarg value="${profiler.info.jvmargs.agent}"/>
700- <jvmarg line="${profiler.info.jvmargs}"/>
701- <env key="${profiler.info.pathvar}" path="${profiler.info.agentpath}:${profiler.current.path}"/>
702- <arg line="${application.args}"/>
703- <classpath>
704- <path path="${run.classpath}"/>
705- </classpath>
706- <syspropertyset>
707- <propertyref prefix="run-sys-prop."/>
708- <mapper from="run-sys-prop.*" to="*" type="glob"/>
709- </syspropertyset>
710- <customize/>
711- </java>
712- </sequential>
713- </macrodef>
714- </target>
715- <target depends="-profile-pre-init, init, -profile-post-init, -profile-init-macrodef-profile" if="profiler.info.jvmargs.agent" name="-profile-init-check">
716- <fail unless="profiler.info.jvm">Must set JVM to use for profiling in profiler.info.jvm</fail>
717- <fail unless="profiler.info.jvmargs.agent">Must set profiler agent JVM arguments in profiler.info.jvmargs.agent</fail>
718- </target>
719- <!--
720- end of pre NB7.2 profiling section
721- -->
722- <target depends="-init-debug-args" name="-init-macrodef-nbjpda">
723- <macrodef name="nbjpdastart" uri="http://www.netbeans.org/ns/j2se-project/1">
724- <attribute default="${main.class}" name="name"/>
725- <attribute default="${debug.classpath}" name="classpath"/>
726- <attribute default="" name="stopclassname"/>
727- <sequential>
728- <nbjpdastart addressproperty="jpda.address" name="@{name}" stopclassname="@{stopclassname}" transport="${debug-transport}">
729- <classpath>
730- <path path="@{classpath}"/>
731- </classpath>
732- </nbjpdastart>
733- </sequential>
734- </macrodef>
735- <macrodef name="nbjpdareload" uri="http://www.netbeans.org/ns/j2se-project/1">
736- <attribute default="${build.classes.dir}" name="dir"/>
737- <sequential>
738- <nbjpdareload>
739- <fileset dir="@{dir}" includes="${fix.classes}">
740- <include name="${fix.includes}*.class"/>
741- </fileset>
742- </nbjpdareload>
743- </sequential>
744- </macrodef>
745- </target>
746- <target name="-init-debug-args">
747- <property name="version-output" value="java version &quot;${ant.java.version}"/>
748- <condition property="have-jdk-older-than-1.4">
749- <or>
750- <contains string="${version-output}" substring="java version &quot;1.0"/>
751- <contains string="${version-output}" substring="java version &quot;1.1"/>
752- <contains string="${version-output}" substring="java version &quot;1.2"/>
753- <contains string="${version-output}" substring="java version &quot;1.3"/>
754- </or>
755- </condition>
756- <condition else="-Xdebug" property="debug-args-line" value="-Xdebug -Xnoagent -Djava.compiler=none">
757- <istrue value="${have-jdk-older-than-1.4}"/>
758- </condition>
759- <condition else="dt_socket" property="debug-transport-by-os" value="dt_shmem">
760- <os family="windows"/>
761- </condition>
762- <condition else="${debug-transport-by-os}" property="debug-transport" value="${debug.transport}">
763- <isset property="debug.transport"/>
764- </condition>
765- </target>
766- <target depends="-init-debug-args" name="-init-macrodef-debug">
767- <macrodef name="debug" uri="http://www.netbeans.org/ns/j2se-project/3">
768- <attribute default="${main.class}" name="classname"/>
769- <attribute default="${debug.classpath}" name="classpath"/>
770- <element name="customize" optional="true"/>
771- <sequential>
772- <java classname="@{classname}" dir="${work.dir}" fork="true">
773- <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
774- <jvmarg line="${debug-args-line}"/>
775- <jvmarg value="-Xrunjdwp:transport=${debug-transport},address=${jpda.address}"/>
776- <jvmarg value="-Dfile.encoding=${runtime.encoding}"/>
777- <redirector errorencoding="${runtime.encoding}" inputencoding="${runtime.encoding}" outputencoding="${runtime.encoding}"/>
778- <jvmarg line="${run.jvmargs}"/>
779- <jvmarg line="${run.jvmargs.ide}"/>
780- <classpath>
781- <path path="@{classpath}"/>
782- </classpath>
783- <syspropertyset>
784- <propertyref prefix="run-sys-prop."/>
785- <mapper from="run-sys-prop.*" to="*" type="glob"/>
786- </syspropertyset>
787- <customize/>
788- </java>
789- </sequential>
790- </macrodef>
791- </target>
792- <target name="-init-macrodef-java">
793- <macrodef name="java" uri="http://www.netbeans.org/ns/j2se-project/1">
794- <attribute default="${main.class}" name="classname"/>
795- <attribute default="${run.classpath}" name="classpath"/>
796- <attribute default="jvm" name="jvm"/>
797- <element name="customize" optional="true"/>
798- <sequential>
799- <java classname="@{classname}" dir="${work.dir}" fork="true">
800- <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
801- <jvmarg value="-Dfile.encoding=${runtime.encoding}"/>
802- <redirector errorencoding="${runtime.encoding}" inputencoding="${runtime.encoding}" outputencoding="${runtime.encoding}"/>
803- <jvmarg line="${run.jvmargs}"/>
804- <jvmarg line="${run.jvmargs.ide}"/>
805- <classpath>
806- <path path="@{classpath}"/>
807- </classpath>
808- <syspropertyset>
809- <propertyref prefix="run-sys-prop."/>
810- <mapper from="run-sys-prop.*" to="*" type="glob"/>
811- </syspropertyset>
812- <customize/>
813- </java>
814- </sequential>
815- </macrodef>
816- </target>
817- <target name="-init-macrodef-copylibs">
818- <macrodef name="copylibs" uri="http://www.netbeans.org/ns/j2se-project/3">
819- <attribute default="${manifest.file}" name="manifest"/>
820- <element name="customize" optional="true"/>
821- <sequential>
822- <property location="${build.classes.dir}" name="build.classes.dir.resolved"/>
823- <pathconvert property="run.classpath.without.build.classes.dir">
824- <path path="${run.classpath}"/>
825- <map from="${build.classes.dir.resolved}" to=""/>
826- </pathconvert>
827- <pathconvert pathsep=" " property="jar.classpath">
828- <path path="${run.classpath.without.build.classes.dir}"/>
829- <chainedmapper>
830- <flattenmapper/>
831- <filtermapper>
832- <replacestring from=" " to="%20"/>
833- </filtermapper>
834- <globmapper from="*" to="lib/*"/>
835- </chainedmapper>
836- </pathconvert>
837- <taskdef classname="org.netbeans.modules.java.j2seproject.copylibstask.CopyLibs" classpath="${libs.CopyLibs.classpath}" name="copylibs"/>
838- <copylibs compress="${jar.compress}" excludeFromCopy="${copylibs.excludes}" index="${jar.index}" indexMetaInf="${jar.index.metainf}" jarfile="${dist.jar}" manifest="@{manifest}" rebase="${copylibs.rebase}" runtimeclasspath="${run.classpath.without.build.classes.dir}">
839- <fileset dir="${build.classes.dir}" excludes="${dist.archive.excludes}"/>
840- <manifest>
841- <attribute name="Class-Path" value="${jar.classpath}"/>
842- <customize/>
843- </manifest>
844- </copylibs>
845- </sequential>
846- </macrodef>
847- </target>
848- <target name="-init-presetdef-jar">
849- <presetdef name="jar" uri="http://www.netbeans.org/ns/j2se-project/1">
850- <jar compress="${jar.compress}" index="${jar.index}" jarfile="${dist.jar}">
851- <j2seproject1:fileset dir="${build.classes.dir}" excludes="${dist.archive.excludes}"/>
852- </jar>
853- </presetdef>
854- </target>
855- <target name="-init-ap-cmdline-properties">
856- <property name="annotation.processing.enabled" value="true"/>
857- <property name="annotation.processing.processors.list" value=""/>
858- <property name="annotation.processing.processor.options" value=""/>
859- <property name="annotation.processing.run.all.processors" value="true"/>
860- <property name="javac.processorpath" value="${javac.classpath}"/>
861- <property name="javac.test.processorpath" value="${javac.test.classpath}"/>
862- <condition property="ap.supported.internal" value="true">
863- <not>
864- <matches pattern="1\.[0-5](\..*)?" string="${javac.source}"/>
865- </not>
866- </condition>
867- </target>
868- <target depends="-init-ap-cmdline-properties" if="ap.supported.internal" name="-init-ap-cmdline-supported">
869- <condition else="" property="ap.processors.internal" value="-processor ${annotation.processing.processors.list}">
870- <isfalse value="${annotation.processing.run.all.processors}"/>
871- </condition>
872- <condition else="" property="ap.proc.none.internal" value="-proc:none">
873- <isfalse value="${annotation.processing.enabled}"/>
874- </condition>
875- </target>
876- <target depends="-init-ap-cmdline-properties,-init-ap-cmdline-supported" name="-init-ap-cmdline">
877- <property name="ap.cmd.line.internal" value=""/>
878- </target>
879- <target depends="-pre-init,-init-private,-init-user,-init-project,-do-init,-post-init,-init-check,-init-macrodef-property,-init-macrodef-javac,-init-macrodef-test,-init-macrodef-test-debug,-init-macrodef-nbjpda,-init-macrodef-debug,-init-macrodef-java,-init-presetdef-jar,-init-ap-cmdline" name="init"/>
880- <!--
881- ===================
882- COMPILATION SECTION
883- ===================
884- -->
885- <target name="-deps-jar-init" unless="built-jar.properties">
886- <property location="${build.dir}/built-jar.properties" name="built-jar.properties"/>
887- <delete file="${built-jar.properties}" quiet="true"/>
888- </target>
889- <target if="already.built.jar.${basedir}" name="-warn-already-built-jar">
890- <echo level="warn" message="Cycle detected: Moenizer was already built"/>
891- </target>
892- <target depends="init,-deps-jar-init" name="deps-jar" unless="no.deps">
893- <mkdir dir="${build.dir}"/>
894- <touch file="${built-jar.properties}" verbose="false"/>
895- <property file="${built-jar.properties}" prefix="already.built.jar."/>
896- <antcall target="-warn-already-built-jar"/>
897- <propertyfile file="${built-jar.properties}">
898- <entry key="${basedir}" value=""/>
899- </propertyfile>
900- </target>
901- <target depends="init,-check-automatic-build,-clean-after-automatic-build" name="-verify-automatic-build"/>
902- <target depends="init" name="-check-automatic-build">
903- <available file="${build.classes.dir}/.netbeans_automatic_build" property="netbeans.automatic.build"/>
904- </target>
905- <target depends="init" if="netbeans.automatic.build" name="-clean-after-automatic-build">
906- <antcall target="clean"/>
907- </target>
908- <target depends="init,deps-jar,-groovy-init-macrodef-javac" name="-pre-pre-compile">
909- <mkdir dir="${build.classes.dir}"/>
910- </target>
911- <target name="-pre-compile">
912- <!-- Empty placeholder for easier customization. -->
913- <!-- You can override this target in the ../build.xml file. -->
914- </target>
915- <target if="do.depend.true" name="-compile-depend">
916- <pathconvert property="build.generated.subdirs">
917- <dirset dir="${build.generated.sources.dir}" erroronmissingdir="false">
918- <include name="*"/>
919- </dirset>
920- </pathconvert>
921- <j2seproject3:depend srcdir="${src.dir}:${build.generated.subdirs}"/>
922- </target>
923- <target depends="init,deps-jar,-pre-pre-compile,-pre-compile, -copy-persistence-xml,-compile-depend" if="have.sources" name="-do-compile">
924- <j2seproject3:javac gensrcdir="${build.generated.sources.dir}"/>
925- <copy todir="${build.classes.dir}">
926- <fileset dir="${src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
927- </copy>
928- </target>
929- <target if="has.persistence.xml" name="-copy-persistence-xml">
930- <mkdir dir="${build.classes.dir}/META-INF"/>
931- <copy todir="${build.classes.dir}/META-INF">
932- <fileset dir="${meta.inf.dir}" includes="persistence.xml orm.xml"/>
933- </copy>
934- </target>
935- <target name="-post-compile">
936- <!-- Empty placeholder for easier customization. -->
937- <!-- You can override this target in the ../build.xml file. -->
938- </target>
939- <target depends="init,deps-jar,-verify-automatic-build,-pre-pre-compile,-pre-compile,-do-compile,-post-compile" description="Compile project." name="compile"/>
940- <target name="-pre-compile-single">
941- <!-- Empty placeholder for easier customization. -->
942- <!-- You can override this target in the ../build.xml file. -->
943- </target>
944- <target depends="init,deps-jar,-pre-pre-compile" name="-do-compile-single">
945- <fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail>
946- <j2seproject3:force-recompile/>
947- <j2seproject3:javac excludes="" gensrcdir="${build.generated.sources.dir}" includes="${javac.includes}" sourcepath="${src.dir}"/>
948- </target>
949- <target name="-post-compile-single">
950- <!-- Empty placeholder for easier customization. -->
951- <!-- You can override this target in the ../build.xml file. -->
952- </target>
953- <target depends="init,deps-jar,-verify-automatic-build,-pre-pre-compile,-pre-compile-single,-do-compile-single,-post-compile-single" name="compile-single"/>
954- <!--
955- ====================
956- JAR BUILDING SECTION
957- ====================
958- -->
959- <target depends="init" name="-pre-pre-jar">
960- <dirname file="${dist.jar}" property="dist.jar.dir"/>
961- <mkdir dir="${dist.jar.dir}"/>
962- </target>
963- <target name="-pre-jar">
964- <!-- Empty placeholder for easier customization. -->
965- <!-- You can override this target in the ../build.xml file. -->
966- </target>
967- <target depends="init" if="do.archive" name="-do-jar-create-manifest" unless="manifest.available">
968- <tempfile deleteonexit="true" destdir="${build.dir}" property="tmp.manifest.file"/>
969- <touch file="${tmp.manifest.file}" verbose="false"/>
970- </target>
971- <target depends="init" if="do.archive+manifest.available" name="-do-jar-copy-manifest">
972- <tempfile deleteonexit="true" destdir="${build.dir}" property="tmp.manifest.file"/>
973- <copy file="${manifest.file}" tofile="${tmp.manifest.file}"/>
974- </target>
975- <target depends="init,-do-jar-create-manifest,-do-jar-copy-manifest" if="do.archive+main.class.available" name="-do-jar-set-mainclass">
976- <manifest file="${tmp.manifest.file}" mode="update">
977- <attribute name="Main-Class" value="${main.class}"/>
978- </manifest>
979- </target>
980- <target depends="init,-do-jar-create-manifest,-do-jar-copy-manifest" if="do.archive+profile.available" name="-do-jar-set-profile">
981- <manifest file="${tmp.manifest.file}" mode="update">
982- <attribute name="Profile" value="${javac.profile}"/>
983- </manifest>
984- </target>
985- <target depends="init,-do-jar-create-manifest,-do-jar-copy-manifest" if="do.archive+splashscreen.available" name="-do-jar-set-splashscreen">
986- <basename file="${application.splash}" property="splashscreen.basename"/>
987- <mkdir dir="${build.classes.dir}/META-INF"/>
988- <copy failonerror="false" file="${application.splash}" todir="${build.classes.dir}/META-INF"/>
989- <manifest file="${tmp.manifest.file}" mode="update">
990- <attribute name="SplashScreen-Image" value="META-INF/${splashscreen.basename}"/>
991- </manifest>
992- </target>
993- <target depends="init,-init-macrodef-copylibs,compile,-pre-pre-jar,-pre-jar,-do-jar-create-manifest,-do-jar-copy-manifest,-do-jar-set-mainclass,-do-jar-set-profile,-do-jar-set-splashscreen" if="do.mkdist" name="-do-jar-copylibs">
994- <j2seproject3:copylibs manifest="${tmp.manifest.file}"/>
995- <echo level="info">To run this application from the command line without Ant, try:</echo>
996- <property location="${dist.jar}" name="dist.jar.resolved"/>
997- <echo level="info">java -jar "${dist.jar.resolved}"</echo>
998- </target>
999- <target depends="init,compile,-pre-pre-jar,-pre-jar,-do-jar-create-manifest,-do-jar-copy-manifest,-do-jar-set-mainclass,-do-jar-set-profile,-do-jar-set-splashscreen" if="do.archive" name="-do-jar-jar" unless="do.mkdist">
1000- <j2seproject1:jar manifest="${tmp.manifest.file}"/>
1001- <property location="${build.classes.dir}" name="build.classes.dir.resolved"/>
1002- <property location="${dist.jar}" name="dist.jar.resolved"/>
1003- <pathconvert property="run.classpath.with.dist.jar">
1004- <path path="${run.classpath}"/>
1005- <map from="${build.classes.dir.resolved}" to="${dist.jar.resolved}"/>
1006- </pathconvert>
1007- <condition else="" property="jar.usage.message" value="To run this application from the command line without Ant, try:${line.separator}${platform.java} -cp ${run.classpath.with.dist.jar} ${main.class}">
1008- <isset property="main.class.available"/>
1009- </condition>
1010- <condition else="debug" property="jar.usage.level" value="info">
1011- <isset property="main.class.available"/>
1012- </condition>
1013- <echo level="${jar.usage.level}" message="${jar.usage.message}"/>
1014- </target>
1015- <target depends="-do-jar-copylibs" if="do.archive" name="-do-jar-delete-manifest">
1016- <delete>
1017- <fileset file="${tmp.manifest.file}"/>
1018- </delete>
1019- </target>
1020- <target depends="init,compile,-pre-pre-jar,-pre-jar,-do-jar-create-manifest,-do-jar-copy-manifest,-do-jar-set-mainclass,-do-jar-set-profile,-do-jar-set-splashscreen,-do-jar-jar,-do-jar-delete-manifest" name="-do-jar-without-libraries"/>
1021- <target depends="init,compile,-pre-pre-jar,-pre-jar,-do-jar-create-manifest,-do-jar-copy-manifest,-do-jar-set-mainclass,-do-jar-set-profile,-do-jar-set-splashscreen,-do-jar-copylibs,-do-jar-delete-manifest" name="-do-jar-with-libraries"/>
1022- <target name="-post-jar">
1023- <!-- Empty placeholder for easier customization. -->
1024- <!-- You can override this target in the ../build.xml file. -->
1025- </target>
1026- <target depends="init,compile,-pre-jar,-do-jar-without-libraries,-do-jar-with-libraries,-post-jar" name="-do-jar"/>
1027- <target depends="init,compile,-pre-jar,-do-jar,-post-jar" description="Build JAR." name="jar"/>
1028- <!--
1029- =================
1030- EXECUTION SECTION
1031- =================
1032- -->
1033- <target depends="init,compile" description="Run a main class." name="run">
1034- <j2seproject1:java>
1035- <customize>
1036- <arg line="${application.args}"/>
1037- </customize>
1038- </j2seproject1:java>
1039- </target>
1040- <target name="-do-not-recompile">
1041- <property name="javac.includes.binary" value=""/>
1042- </target>
1043- <target depends="init,compile-single" name="run-single">
1044- <fail unless="run.class">Must select one file in the IDE or set run.class</fail>
1045- <j2seproject1:java classname="${run.class}"/>
1046- </target>
1047- <target depends="init,compile-test-single" name="run-test-with-main">
1048- <fail unless="run.class">Must select one file in the IDE or set run.class</fail>
1049- <j2seproject1:java classname="${run.class}" classpath="${run.test.classpath}"/>
1050- </target>
1051- <!--
1052- =================
1053- DEBUGGING SECTION
1054- =================
1055- -->
1056- <target depends="init" if="netbeans.home" name="-debug-start-debugger">
1057- <j2seproject1:nbjpdastart name="${debug.class}"/>
1058- </target>
1059- <target depends="init" if="netbeans.home" name="-debug-start-debugger-main-test">
1060- <j2seproject1:nbjpdastart classpath="${debug.test.classpath}" name="${debug.class}"/>
1061- </target>
1062- <target depends="init,compile" name="-debug-start-debuggee">
1063- <j2seproject3:debug>
1064- <customize>
1065- <arg line="${application.args}"/>
1066- </customize>
1067- </j2seproject3:debug>
1068- </target>
1069- <target depends="init,compile,-debug-start-debugger,-debug-start-debuggee" description="Debug project in IDE." if="netbeans.home" name="debug"/>
1070- <target depends="init" if="netbeans.home" name="-debug-start-debugger-stepinto">
1071- <j2seproject1:nbjpdastart stopclassname="${main.class}"/>
1072- </target>
1073- <target depends="init,compile,-debug-start-debugger-stepinto,-debug-start-debuggee" if="netbeans.home" name="debug-stepinto"/>
1074- <target depends="init,compile-single" if="netbeans.home" name="-debug-start-debuggee-single">
1075- <fail unless="debug.class">Must select one file in the IDE or set debug.class</fail>
1076- <j2seproject3:debug classname="${debug.class}"/>
1077- </target>
1078- <target depends="init,compile-single,-debug-start-debugger,-debug-start-debuggee-single" if="netbeans.home" name="debug-single"/>
1079- <target depends="init,compile-test-single" if="netbeans.home" name="-debug-start-debuggee-main-test">
1080- <fail unless="debug.class">Must select one file in the IDE or set debug.class</fail>
1081- <j2seproject3:debug classname="${debug.class}" classpath="${debug.test.classpath}"/>
1082- </target>
1083- <target depends="init,compile-test-single,-debug-start-debugger-main-test,-debug-start-debuggee-main-test" if="netbeans.home" name="debug-test-with-main"/>
1084- <target depends="init" name="-pre-debug-fix">
1085- <fail unless="fix.includes">Must set fix.includes</fail>
1086- <property name="javac.includes" value="${fix.includes}.java"/>
1087- </target>
1088- <target depends="init,-pre-debug-fix,compile-single" if="netbeans.home" name="-do-debug-fix">
1089- <j2seproject1:nbjpdareload/>
1090- </target>
1091- <target depends="init,-pre-debug-fix,-do-debug-fix" if="netbeans.home" name="debug-fix"/>
1092- <!--
1093- =================
1094- PROFILING SECTION
1095- =================
1096- -->
1097- <!--
1098- pre NB7.2 profiler integration
1099- -->
1100- <target depends="profile-init,compile" description="Profile a project in the IDE." if="profiler.info.jvmargs.agent" name="-profile-pre72">
1101- <fail unless="netbeans.home">This target only works when run from inside the NetBeans IDE.</fail>
1102- <nbprofiledirect>
1103- <classpath>
1104- <path path="${run.classpath}"/>
1105- </classpath>
1106- </nbprofiledirect>
1107- <profile/>
1108- </target>
1109- <target depends="profile-init,compile-single" description="Profile a selected class in the IDE." if="profiler.info.jvmargs.agent" name="-profile-single-pre72">
1110- <fail unless="profile.class">Must select one file in the IDE or set profile.class</fail>
1111- <fail unless="netbeans.home">This target only works when run from inside the NetBeans IDE.</fail>
1112- <nbprofiledirect>
1113- <classpath>
1114- <path path="${run.classpath}"/>
1115- </classpath>
1116- </nbprofiledirect>
1117- <profile classname="${profile.class}"/>
1118- </target>
1119- <target depends="profile-init,compile-single" if="profiler.info.jvmargs.agent" name="-profile-applet-pre72">
1120- <fail unless="netbeans.home">This target only works when run from inside the NetBeans IDE.</fail>
1121- <nbprofiledirect>
1122- <classpath>
1123- <path path="${run.classpath}"/>
1124- </classpath>
1125- </nbprofiledirect>
1126- <profile classname="sun.applet.AppletViewer">
1127- <customize>
1128- <arg value="${applet.url}"/>
1129- </customize>
1130- </profile>
1131- </target>
1132- <target depends="profile-init,compile-test-single" if="profiler.info.jvmargs.agent" name="-profile-test-single-pre72">
1133- <fail unless="netbeans.home">This target only works when run from inside the NetBeans IDE.</fail>
1134- <nbprofiledirect>
1135- <classpath>
1136- <path path="${run.test.classpath}"/>
1137- </classpath>
1138- </nbprofiledirect>
1139- <junit dir="${profiler.info.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" jvm="${profiler.info.jvm}" showoutput="true">
1140- <env key="${profiler.info.pathvar}" path="${profiler.info.agentpath}:${profiler.current.path}"/>
1141- <jvmarg value="${profiler.info.jvmargs.agent}"/>
1142- <jvmarg line="${profiler.info.jvmargs}"/>
1143- <test name="${profile.class}"/>
1144- <classpath>
1145- <path path="${run.test.classpath}"/>
1146- </classpath>
1147- <syspropertyset>
1148- <propertyref prefix="test-sys-prop."/>
1149- <mapper from="test-sys-prop.*" to="*" type="glob"/>
1150- </syspropertyset>
1151- <formatter type="brief" usefile="false"/>
1152- <formatter type="xml"/>
1153- </junit>
1154- </target>
1155- <!--
1156- end of pre NB72 profiling section
1157- -->
1158- <target if="netbeans.home" name="-profile-check">
1159- <condition property="profiler.configured">
1160- <or>
1161- <contains casesensitive="true" string="${run.jvmargs.ide}" substring="-agentpath:"/>
1162- <contains casesensitive="true" string="${run.jvmargs.ide}" substring="-javaagent:"/>
1163- </or>
1164- </condition>
1165- </target>
1166- <target depends="-profile-check,-profile-pre72" description="Profile a project in the IDE." if="profiler.configured" name="profile" unless="profiler.info.jvmargs.agent">
1167- <startprofiler/>
1168- <antcall target="run"/>
1169- </target>
1170- <target depends="-profile-check,-profile-single-pre72" description="Profile a selected class in the IDE." if="profiler.configured" name="profile-single" unless="profiler.info.jvmargs.agent">
1171- <fail unless="run.class">Must select one file in the IDE or set run.class</fail>
1172- <startprofiler/>
1173- <antcall target="run-single"/>
1174- </target>
1175- <target depends="-profile-test-single-pre72" description="Profile a selected test in the IDE." name="profile-test-single"/>
1176- <target depends="-profile-check" description="Profile a selected test in the IDE." if="profiler.configured" name="profile-test" unless="profiler.info.jvmargs">
1177- <fail unless="test.includes">Must select some files in the IDE or set test.includes</fail>
1178- <startprofiler/>
1179- <antcall target="test-single"/>
1180- </target>
1181- <target depends="-profile-check" description="Profile a selected class in the IDE." if="profiler.configured" name="profile-test-with-main">
1182- <fail unless="run.class">Must select one file in the IDE or set run.class</fail>
1183- <startprofiler/>
1184- <antcal target="run-test-with-main"/>
1185- </target>
1186- <target depends="-profile-check,-profile-applet-pre72" if="profiler.configured" name="profile-applet" unless="profiler.info.jvmargs.agent">
1187- <fail unless="applet.url">Must select one file in the IDE or set applet.url</fail>
1188- <startprofiler/>
1189- <antcall target="run-applet"/>
1190- </target>
1191- <!--
1192- ===============
1193- JAVADOC SECTION
1194- ===============
1195- -->
1196- <target depends="init" if="have.sources" name="-javadoc-build">
1197- <mkdir dir="${dist.javadoc.dir}"/>
1198- <condition else="" property="javadoc.endorsed.classpath.cmd.line.arg" value="-J${endorsed.classpath.cmd.line.arg}">
1199- <and>
1200- <isset property="endorsed.classpath.cmd.line.arg"/>
1201- <not>
1202- <equals arg1="${endorsed.classpath.cmd.line.arg}" arg2=""/>
1203- </not>
1204- </and>
1205- </condition>
1206- <condition else="" property="bug5101868workaround" value="*.java">
1207- <matches pattern="1\.[56](\..*)?" string="${java.version}"/>
1208- </condition>
1209- <javadoc additionalparam="-J-Dfile.encoding=${file.encoding} ${javadoc.additionalparam}" author="${javadoc.author}" charset="UTF-8" destdir="${dist.javadoc.dir}" docencoding="UTF-8" encoding="${javadoc.encoding.used}" failonerror="true" noindex="${javadoc.noindex}" nonavbar="${javadoc.nonavbar}" notree="${javadoc.notree}" private="${javadoc.private}" source="${javac.source}" splitindex="${javadoc.splitindex}" use="${javadoc.use}" useexternalfile="true" version="${javadoc.version}" windowtitle="${javadoc.windowtitle}">
1210- <classpath>
1211- <path path="${javac.classpath}"/>
1212- </classpath>
1213- <fileset dir="${src.dir}" excludes="${bug5101868workaround},${excludes}" includes="${includes}">
1214- <filename name="**/*.java"/>
1215- </fileset>
1216- <fileset dir="${build.generated.sources.dir}" erroronmissingdir="false">
1217- <include name="**/*.java"/>
1218- <exclude name="*.java"/>
1219- </fileset>
1220- <arg line="${javadoc.endorsed.classpath.cmd.line.arg}"/>
1221- </javadoc>
1222- <copy todir="${dist.javadoc.dir}">
1223- <fileset dir="${src.dir}" excludes="${excludes}" includes="${includes}">
1224- <filename name="**/doc-files/**"/>
1225- </fileset>
1226- <fileset dir="${build.generated.sources.dir}" erroronmissingdir="false">
1227- <include name="**/doc-files/**"/>
1228- </fileset>
1229- </copy>
1230- </target>
1231- <target depends="init,-javadoc-build" if="netbeans.home" name="-javadoc-browse" unless="no.javadoc.preview">
1232- <nbbrowse file="${dist.javadoc.dir}/index.html"/>
1233- </target>
1234- <target depends="init,-javadoc-build,-javadoc-browse" description="Build Javadoc." name="javadoc"/>
1235- <!--
1236- =========================
1237- TEST COMPILATION SECTION
1238- =========================
1239- -->
1240- <target depends="init,compile" if="have.tests" name="-pre-pre-compile-test">
1241- <mkdir dir="${build.test.classes.dir}"/>
1242- </target>
1243- <target name="-pre-compile-test">
1244- <!-- Empty placeholder for easier customization. -->
1245- <!-- You can override this target in the ../build.xml file. -->
1246- </target>
1247- <target if="do.depend.true" name="-compile-test-depend">
1248- <j2seproject3:depend classpath="${javac.test.classpath}" destdir="${build.test.classes.dir}" srcdir="${test.src.dir}"/>
1249- </target>
1250- <target depends="init,deps-jar,compile,-pre-pre-compile-test,-pre-compile-test,-compile-test-depend" if="have.tests" name="-do-compile-test">
1251- <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}"/>
1252- <copy todir="${build.test.classes.dir}">
1253- <fileset dir="${test.src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
1254- </copy>
1255- </target>
1256- <target name="-post-compile-test">
1257- <!-- Empty placeholder for easier customization. -->
1258- <!-- You can override this target in the ../build.xml file. -->
1259- </target>
1260- <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test,-do-compile-test,-post-compile-test" name="compile-test"/>
1261- <target name="-pre-compile-test-single">
1262- <!-- Empty placeholder for easier customization. -->
1263- <!-- You can override this target in the ../build.xml file. -->
1264- </target>
1265- <target depends="init,deps-jar,compile,-pre-pre-compile-test,-pre-compile-test-single" if="have.tests" name="-do-compile-test-single">
1266- <fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail>
1267- <j2seproject3:force-recompile destdir="${build.test.classes.dir}"/>
1268- <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}"/>
1269- <copy todir="${build.test.classes.dir}">
1270- <fileset dir="${test.src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
1271- </copy>
1272- </target>
1273- <target name="-post-compile-test-single">
1274- <!-- Empty placeholder for easier customization. -->
1275- <!-- You can override this target in the ../build.xml file. -->
1276- </target>
1277- <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test-single,-do-compile-test-single,-post-compile-test-single" name="compile-test-single"/>
1278- <!--
1279- =======================
1280- TEST EXECUTION SECTION
1281- =======================
1282- -->
1283- <target depends="init" if="have.tests" name="-pre-test-run">
1284- <mkdir dir="${build.test.results.dir}"/>
1285- </target>
1286- <target depends="init,compile-test,-pre-test-run" if="have.tests" name="-do-test-run">
1287- <j2seproject3:test includes="${includes}" testincludes="**/*Test.java"/>
1288- </target>
1289- <target depends="init,compile-test,-pre-test-run,-do-test-run" if="have.tests" name="-post-test-run">
1290- <fail if="tests.failed" unless="ignore.failing.tests">Some tests failed; see details above.</fail>
1291- </target>
1292- <target depends="init" if="have.tests" name="test-report"/>
1293- <target depends="init" if="netbeans.home+have.tests" name="-test-browse"/>
1294- <target depends="init,compile-test,-pre-test-run,-do-test-run,test-report,-post-test-run,-test-browse" description="Run unit tests." name="test"/>
1295- <target depends="init" if="have.tests" name="-pre-test-run-single">
1296- <mkdir dir="${build.test.results.dir}"/>
1297- </target>
1298- <target depends="init,compile-test-single,-pre-test-run-single" if="have.tests" name="-do-test-run-single">
1299- <fail unless="test.includes">Must select some files in the IDE or set test.includes</fail>
1300- <j2seproject3:test excludes="" includes="${test.includes}" testincludes="${test.includes}"/>
1301- </target>
1302- <target depends="init,compile-test-single,-pre-test-run-single,-do-test-run-single" if="have.tests" name="-post-test-run-single">
1303- <fail if="tests.failed" unless="ignore.failing.tests">Some tests failed; see details above.</fail>
1304- </target>
1305- <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"/>
1306- <target depends="init,compile-test-single,-pre-test-run-single" if="have.tests" name="-do-test-run-single-method">
1307- <fail unless="test.class">Must select some files in the IDE or set test.class</fail>
1308- <fail unless="test.method">Must select some method in the IDE or set test.method</fail>
1309- <j2seproject3:test excludes="" includes="${javac.includes}" testincludes="${test.class}" testmethods="${test.method}"/>
1310- </target>
1311- <target depends="init,compile-test-single,-pre-test-run-single,-do-test-run-single-method" if="have.tests" name="-post-test-run-single-method">
1312- <fail if="tests.failed" unless="ignore.failing.tests">Some tests failed; see details above.</fail>
1313- </target>
1314- <target depends="init,compile-test-single,-pre-test-run-single,-do-test-run-single-method,-post-test-run-single-method" description="Run single unit test." name="test-single-method"/>
1315- <!--
1316- =======================
1317- TEST DEBUGGING SECTION
1318- =======================
1319- -->
1320- <target depends="init,compile-test-single,-pre-test-run-single" if="have.tests" name="-debug-start-debuggee-test">
1321- <fail unless="test.class">Must select one file in the IDE or set test.class</fail>
1322- <j2seproject3:test-debug excludes="" includes="${javac.includes}" testClass="${test.class}" testincludes="${javac.includes}"/>
1323- </target>
1324- <target depends="init,compile-test-single,-pre-test-run-single" if="have.tests" name="-debug-start-debuggee-test-method">
1325- <fail unless="test.class">Must select one file in the IDE or set test.class</fail>
1326- <fail unless="test.method">Must select some method in the IDE or set test.method</fail>
1327- <j2seproject3:test-debug excludes="" includes="${javac.includes}" testClass="${test.class}" testMethod="${test.method}" testincludes="${test.class}" testmethods="${test.method}"/>
1328- </target>
1329- <target depends="init,compile-test" if="netbeans.home+have.tests" name="-debug-start-debugger-test">
1330- <j2seproject1:nbjpdastart classpath="${debug.test.classpath}" name="${test.class}"/>
1331- </target>
1332- <target depends="init,compile-test-single,-debug-start-debugger-test,-debug-start-debuggee-test" name="debug-test"/>
1333- <target depends="init,compile-test-single,-debug-start-debugger-test,-debug-start-debuggee-test-method" name="debug-test-method"/>
1334- <target depends="init,-pre-debug-fix,compile-test-single" if="netbeans.home" name="-do-debug-fix-test">
1335- <j2seproject1:nbjpdareload dir="${build.test.classes.dir}"/>
1336- </target>
1337- <target depends="init,-pre-debug-fix,-do-debug-fix-test" if="netbeans.home" name="debug-fix-test"/>
1338- <!--
1339- =========================
1340- APPLET EXECUTION SECTION
1341- =========================
1342- -->
1343- <target depends="init,compile-single" name="run-applet">
1344- <fail unless="applet.url">Must select one file in the IDE or set applet.url</fail>
1345- <j2seproject1:java classname="sun.applet.AppletViewer">
1346- <customize>
1347- <arg value="${applet.url}"/>
1348- </customize>
1349- </j2seproject1:java>
1350- </target>
1351- <!--
1352- =========================
1353- APPLET DEBUGGING SECTION
1354- =========================
1355- -->
1356- <target depends="init,compile-single" if="netbeans.home" name="-debug-start-debuggee-applet">
1357- <fail unless="applet.url">Must select one file in the IDE or set applet.url</fail>
1358- <j2seproject3:debug classname="sun.applet.AppletViewer">
1359- <customize>
1360- <arg value="${applet.url}"/>
1361- </customize>
1362- </j2seproject3:debug>
1363- </target>
1364- <target depends="init,compile-single,-debug-start-debugger,-debug-start-debuggee-applet" if="netbeans.home" name="debug-applet"/>
1365- <!--
1366- ===============
1367- CLEANUP SECTION
1368- ===============
1369- -->
1370- <target name="-deps-clean-init" unless="built-clean.properties">
1371- <property location="${build.dir}/built-clean.properties" name="built-clean.properties"/>
1372- <delete file="${built-clean.properties}" quiet="true"/>
1373- </target>
1374- <target if="already.built.clean.${basedir}" name="-warn-already-built-clean">
1375- <echo level="warn" message="Cycle detected: Moenizer was already built"/>
1376- </target>
1377- <target depends="init,-deps-clean-init" name="deps-clean" unless="no.deps">
1378- <mkdir dir="${build.dir}"/>
1379- <touch file="${built-clean.properties}" verbose="false"/>
1380- <property file="${built-clean.properties}" prefix="already.built.clean."/>
1381- <antcall target="-warn-already-built-clean"/>
1382- <propertyfile file="${built-clean.properties}">
1383- <entry key="${basedir}" value=""/>
1384- </propertyfile>
1385- </target>
1386- <target depends="init" name="-do-clean">
1387- <delete dir="${build.dir}"/>
1388- <delete dir="${dist.dir}" followsymlinks="false" includeemptydirs="true"/>
1389- </target>
1390- <target name="-post-clean">
1391- <!-- Empty placeholder for easier customization. -->
1392- <!-- You can override this target in the ../build.xml file. -->
1393- </target>
1394- <target depends="init,deps-clean,-do-clean,-post-clean" description="Clean build products." name="clean"/>
1395- <target name="-check-call-dep">
1396- <property file="${call.built.properties}" prefix="already.built."/>
1397- <condition property="should.call.dep">
1398- <and>
1399- <not>
1400- <isset property="already.built.${call.subproject}"/>
1401- </not>
1402- <available file="${call.script}"/>
1403- </and>
1404- </condition>
1405- </target>
1406- <target depends="-check-call-dep" if="should.call.dep" name="-maybe-call-dep">
1407- <ant antfile="${call.script}" inheritall="false" target="${call.target}">
1408- <propertyset>
1409- <propertyref prefix="transfer."/>
1410- <mapper from="transfer.*" to="*" type="glob"/>
1411- </propertyset>
1412- </ant>
1413- </target>
1414-</project>
--- trunk/nbproject/private/private.xml (revision 6)
+++ trunk/nbproject/private/private.xml (nonexistent)
@@ -1,4 +0,0 @@
1-<?xml version="1.0" encoding="UTF-8"?>
2-<project-private xmlns="http://www.netbeans.org/ns/project-private/1">
3- <editor-bookmarks xmlns="http://www.netbeans.org/ns/editor-bookmarks/2" lastBookmarkId="0"/>
4-</project-private>
--- trunk/nbproject/project.xml (revision 6)
+++ trunk/nbproject/project.xml (revision 7)
@@ -2,11 +2,6 @@
22 <project xmlns="http://www.netbeans.org/ns/project/1">
33 <type>org.netbeans.modules.java.j2seproject</type>
44 <configuration>
5- <buildExtensions xmlns="http://www.netbeans.org/ns/ant-build-extender/1">
6- <extension file="groovy-build.xml" id="groovy">
7- <dependency dependsOn="-groovy-init-macrodef-javac" target="-pre-pre-compile"/>
8- </extension>
9- </buildExtensions>
105 <data xmlns="http://www.netbeans.org/ns/j2se-project/3">
116 <name>Moenizer</name>
127 <source-roots>