• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

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

Main repository of MikuMikuStudio


Commit MetaInfo

Revisionf36359d1d1a6edffac56f8d2647d256fcfa228dd (tree)
Time2013-05-12 12:29:34
Authoriwgeric@gmail.com <iwgeric@gmai...>
Commiteriwgeric@gmail.com

Log Message

SDK: Add build support for Android implementation of OpenAL Soft

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10610 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

Change Summary

Incremental Difference

--- a/engine/build.xml
+++ b/engine/build.xml
@@ -19,6 +19,10 @@
1919 </exec>
2020 </target>
2121
22+ <target name="build-openal-soft-natives" description="uses native build tools to build the openalsoftjme shared library for Android" depends="jar">
23+ <ant antfile="nbproject/build-openal-soft-natives.xml" target="build-openal-soft-natives"/>
24+ </target>
25+
2226 <target name="-do-compile" description="Overrides default compile target to separate the build into folders" depends="init,deps-jar,-pre-pre-compile,-pre-compile, -copy-persistence-xml,-compile-depend" if="have.sources">
2327 <mkdir dir="${build.dir}/core"/>
2428 <mkdir dir="${build.dir}/effects"/>
--- a/engine/nbproject/build-impl.xml
+++ b/engine/nbproject/build-impl.xml
@@ -1,1615 +1,1624 @@
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="jMonkeyEngine3-impl">
23- <import file="jnlp-impl.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 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.test.dir}"/>
165- </or>
166- </condition>
167- <condition property="have.sources">
168- <or>
169- <available file="${src.core.dir}"/>
170- <available file="${src.core-data.dir}"/>
171- <available file="${src.core-effects.dir}"/>
172- <available file="${src.core-plugins.dir}"/>
173- <available file="${src.desktop.dir}"/>
174- <available file="${src.terrain.dir}"/>
175- <available file="${src.jbullet.dir}"/>
176- <available file="${src.bullet.dir}"/>
177- <available file="${src.bullet-native.dir}"/>
178- <available file="${src.bullet-common.dir}"/>
179- <available file="${src.networking.dir}"/>
180- <available file="${src.niftygui.dir}"/>
181- <available file="${src.jogg.dir}"/>
182- <available file="${src.ogre.dir}"/>
183- <available file="${src.blender.dir}"/>
184- <available file="${src.xml.dir}"/>
185- <available file="${src.tools.dir}"/>
186- <available file="${src.test.dir}"/>
187- <available file="${src.lwjgl.dir}"/>
188- <available file="${src.jogl.dir}"/>
189- <available file="${src.android.dir}"/>
190- <available file="${src.ios.dir}"/>
191- </or>
192- </condition>
193- <condition property="netbeans.home+have.tests">
194- <and>
195- <isset property="netbeans.home"/>
196- <isset property="have.tests"/>
197- </and>
198- </condition>
199- <condition property="no.javadoc.preview">
200- <and>
201- <isset property="javadoc.preview"/>
202- <isfalse value="${javadoc.preview}"/>
203- </and>
204- </condition>
205- <property name="run.jvmargs" value=""/>
206- <property name="run.jvmargs.ide" value=""/>
207- <property name="javac.compilerargs" value=""/>
208- <property name="work.dir" value="${basedir}"/>
209- <condition property="no.deps">
210- <and>
211- <istrue value="${no.dependencies}"/>
212- </and>
213- </condition>
214- <property name="javac.debug" value="true"/>
215- <property name="javadoc.preview" value="true"/>
216- <property name="application.args" value=""/>
217- <property name="source.encoding" value="${file.encoding}"/>
218- <property name="runtime.encoding" value="${source.encoding}"/>
219- <condition property="javadoc.encoding.used" value="${javadoc.encoding}">
220- <and>
221- <isset property="javadoc.encoding"/>
222- <not>
223- <equals arg1="${javadoc.encoding}" arg2=""/>
224- </not>
225- </and>
226- </condition>
227- <property name="javadoc.encoding.used" value="${source.encoding}"/>
228- <property name="includes" value="**"/>
229- <property name="excludes" value=""/>
230- <property name="do.depend" value="false"/>
231- <condition property="do.depend.true">
232- <istrue value="${do.depend}"/>
233- </condition>
234- <path id="endorsed.classpath.path" path="${endorsed.classpath}"/>
235- <condition else="" property="endorsed.classpath.cmd.line.arg" value="-Xbootclasspath/p:'${toString:endorsed.classpath.path}'">
236- <length length="0" string="${endorsed.classpath}" when="greater"/>
237- </condition>
238- <condition else="false" property="jdkBug6558476">
239- <and>
240- <matches pattern="1\.[56]" string="${java.specification.version}"/>
241- <not>
242- <os family="unix"/>
243- </not>
244- </and>
245- </condition>
246- <property name="javac.fork" value="${jdkBug6558476}"/>
247- <property name="jar.index" value="false"/>
248- <property name="jar.index.metainf" value="${jar.index}"/>
249- <property name="copylibs.rebase" value="true"/>
250- <available file="${meta.inf.dir}/persistence.xml" property="has.persistence.xml"/>
251- <condition property="junit.available">
252- <or>
253- <available classname="org.junit.Test" classpath="${run.test.classpath}"/>
254- <available classname="junit.framework.Test" classpath="${run.test.classpath}"/>
255- </or>
256- </condition>
257- <condition property="testng.available">
258- <available classname="org.testng.annotations.Test" classpath="${run.test.classpath}"/>
259- </condition>
260- <condition property="junit+testng.available">
261- <and>
262- <istrue value="${junit.available}"/>
263- <istrue value="${testng.available}"/>
264- </and>
265- </condition>
266- <condition else="testng" property="testng.mode" value="mixed">
267- <istrue value="${junit+testng.available}"/>
268- </condition>
269- <condition else="" property="testng.debug.mode" value="-mixed">
270- <istrue value="${junit+testng.available}"/>
271- </condition>
272- </target>
273- <target name="-post-init">
274- <!-- Empty placeholder for easier customization. -->
275- <!-- You can override this target in the ../build.xml file. -->
276- </target>
277- <target depends="-pre-init,-init-private,-init-libraries,-init-user,-init-project,-do-init" name="-init-check">
278- <fail unless="src.core.dir">Must set src.core.dir</fail>
279- <fail unless="src.core-data.dir">Must set src.core-data.dir</fail>
280- <fail unless="src.core-effects.dir">Must set src.core-effects.dir</fail>
281- <fail unless="src.core-plugins.dir">Must set src.core-plugins.dir</fail>
282- <fail unless="src.desktop.dir">Must set src.desktop.dir</fail>
283- <fail unless="src.terrain.dir">Must set src.terrain.dir</fail>
284- <fail unless="src.jbullet.dir">Must set src.jbullet.dir</fail>
285- <fail unless="src.bullet.dir">Must set src.bullet.dir</fail>
286- <fail unless="src.bullet-native.dir">Must set src.bullet-native.dir</fail>
287- <fail unless="src.bullet-common.dir">Must set src.bullet-common.dir</fail>
288- <fail unless="src.networking.dir">Must set src.networking.dir</fail>
289- <fail unless="src.niftygui.dir">Must set src.niftygui.dir</fail>
290- <fail unless="src.jogg.dir">Must set src.jogg.dir</fail>
291- <fail unless="src.ogre.dir">Must set src.ogre.dir</fail>
292- <fail unless="src.blender.dir">Must set src.blender.dir</fail>
293- <fail unless="src.xml.dir">Must set src.xml.dir</fail>
294- <fail unless="src.tools.dir">Must set src.tools.dir</fail>
295- <fail unless="src.test.dir">Must set src.test.dir</fail>
296- <fail unless="src.lwjgl.dir">Must set src.lwjgl.dir</fail>
297- <fail unless="src.jogl.dir">Must set src.jogl.dir</fail>
298- <fail unless="src.android.dir">Must set src.android.dir</fail>
299- <fail unless="src.ios.dir">Must set src.ios.dir</fail>
300- <fail unless="test.test.dir">Must set test.test.dir</fail>
301- <fail unless="build.dir">Must set build.dir</fail>
302- <fail unless="dist.dir">Must set dist.dir</fail>
303- <fail unless="build.classes.dir">Must set build.classes.dir</fail>
304- <fail unless="dist.javadoc.dir">Must set dist.javadoc.dir</fail>
305- <fail unless="build.test.classes.dir">Must set build.test.classes.dir</fail>
306- <fail unless="build.test.results.dir">Must set build.test.results.dir</fail>
307- <fail unless="build.classes.excludes">Must set build.classes.excludes</fail>
308- <fail unless="dist.jar">Must set dist.jar</fail>
309- </target>
310- <target name="-init-macrodef-property">
311- <macrodef name="property" uri="http://www.netbeans.org/ns/j2se-project/1">
312- <attribute name="name"/>
313- <attribute name="value"/>
314- <sequential>
315- <property name="@{name}" value="${@{value}}"/>
316- </sequential>
317- </macrodef>
318- </target>
319- <target depends="-init-ap-cmdline-properties" if="ap.supported.internal" name="-init-macrodef-javac-with-processors">
320- <macrodef name="javac" uri="http://www.netbeans.org/ns/j2se-project/3">
321- <attribute default="${src.core.dir}:${src.core-data.dir}:${src.core-effects.dir}:${src.core-plugins.dir}:${src.desktop.dir}:${src.terrain.dir}:${src.jbullet.dir}:${src.bullet.dir}:${src.bullet-native.dir}:${src.bullet-common.dir}:${src.networking.dir}:${src.niftygui.dir}:${src.jogg.dir}:${src.ogre.dir}:${src.blender.dir}:${src.xml.dir}:${src.tools.dir}:${src.test.dir}:${src.lwjgl.dir}:${src.jogl.dir}:${src.android.dir}:${src.ios.dir}" name="srcdir"/>
322- <attribute default="${build.classes.dir}" name="destdir"/>
323- <attribute default="${javac.classpath}" name="classpath"/>
324- <attribute default="${javac.processorpath}" name="processorpath"/>
325- <attribute default="${build.generated.sources.dir}/ap-source-output" name="apgeneratedsrcdir"/>
326- <attribute default="${includes}" name="includes"/>
327- <attribute default="${excludes}" name="excludes"/>
328- <attribute default="${javac.debug}" name="debug"/>
329- <attribute default="${empty.dir}" name="sourcepath"/>
330- <attribute default="${empty.dir}" name="gensrcdir"/>
331- <element name="customize" optional="true"/>
332- <sequential>
333- <property location="${build.dir}/empty" name="empty.dir"/>
334- <mkdir dir="${empty.dir}"/>
335- <mkdir dir="@{apgeneratedsrcdir}"/>
336- <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}">
337- <src>
338- <dirset dir="@{gensrcdir}" erroronmissingdir="false">
339- <include name="*"/>
340- </dirset>
341- </src>
342- <classpath>
343- <path path="@{classpath}"/>
344- </classpath>
345- <compilerarg line="${endorsed.classpath.cmd.line.arg}"/>
346- <compilerarg line="${javac.compilerargs}"/>
347- <compilerarg value="-processorpath"/>
348- <compilerarg path="@{processorpath}:${empty.dir}"/>
349- <compilerarg line="${ap.processors.internal}"/>
350- <compilerarg line="${annotation.processing.processor.options}"/>
351- <compilerarg value="-s"/>
352- <compilerarg path="@{apgeneratedsrcdir}"/>
353- <compilerarg line="${ap.proc.none.internal}"/>
354- <customize/>
355- </javac>
356- </sequential>
357- </macrodef>
358- </target>
359- <target depends="-init-ap-cmdline-properties" name="-init-macrodef-javac-without-processors" unless="ap.supported.internal">
360- <macrodef name="javac" uri="http://www.netbeans.org/ns/j2se-project/3">
361- <attribute default="${src.core.dir}:${src.core-data.dir}:${src.core-effects.dir}:${src.core-plugins.dir}:${src.desktop.dir}:${src.terrain.dir}:${src.jbullet.dir}:${src.bullet.dir}:${src.bullet-native.dir}:${src.bullet-common.dir}:${src.networking.dir}:${src.niftygui.dir}:${src.jogg.dir}:${src.ogre.dir}:${src.blender.dir}:${src.xml.dir}:${src.tools.dir}:${src.test.dir}:${src.lwjgl.dir}:${src.jogl.dir}:${src.android.dir}:${src.ios.dir}" name="srcdir"/>
362- <attribute default="${build.classes.dir}" name="destdir"/>
363- <attribute default="${javac.classpath}" name="classpath"/>
364- <attribute default="${javac.processorpath}" name="processorpath"/>
365- <attribute default="${build.generated.sources.dir}/ap-source-output" name="apgeneratedsrcdir"/>
366- <attribute default="${includes}" name="includes"/>
367- <attribute default="${excludes}" name="excludes"/>
368- <attribute default="${javac.debug}" name="debug"/>
369- <attribute default="${empty.dir}" name="sourcepath"/>
370- <attribute default="${empty.dir}" name="gensrcdir"/>
371- <element name="customize" optional="true"/>
372- <sequential>
373- <property location="${build.dir}/empty" name="empty.dir"/>
374- <mkdir dir="${empty.dir}"/>
375- <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}">
376- <src>
377- <dirset dir="@{gensrcdir}" erroronmissingdir="false">
378- <include name="*"/>
379- </dirset>
380- </src>
381- <classpath>
382- <path path="@{classpath}"/>
383- </classpath>
384- <compilerarg line="${endorsed.classpath.cmd.line.arg}"/>
385- <compilerarg line="${javac.compilerargs}"/>
386- <customize/>
387- </javac>
388- </sequential>
389- </macrodef>
390- </target>
391- <target depends="-init-macrodef-javac-with-processors,-init-macrodef-javac-without-processors" name="-init-macrodef-javac">
392- <macrodef name="depend" uri="http://www.netbeans.org/ns/j2se-project/3">
393- <attribute default="${src.core.dir}:${src.core-data.dir}:${src.core-effects.dir}:${src.core-plugins.dir}:${src.desktop.dir}:${src.terrain.dir}:${src.jbullet.dir}:${src.bullet.dir}:${src.bullet-native.dir}:${src.bullet-common.dir}:${src.networking.dir}:${src.niftygui.dir}:${src.jogg.dir}:${src.ogre.dir}:${src.blender.dir}:${src.xml.dir}:${src.tools.dir}:${src.test.dir}:${src.lwjgl.dir}:${src.jogl.dir}:${src.android.dir}:${src.ios.dir}" name="srcdir"/>
394- <attribute default="${build.classes.dir}" name="destdir"/>
395- <attribute default="${javac.classpath}" name="classpath"/>
396- <sequential>
397- <depend cache="${build.dir}/depcache" destdir="@{destdir}" excludes="${excludes}" includes="${includes}" srcdir="@{srcdir}">
398- <classpath>
399- <path path="@{classpath}"/>
400- </classpath>
401- </depend>
402- </sequential>
403- </macrodef>
404- <macrodef name="force-recompile" uri="http://www.netbeans.org/ns/j2se-project/3">
405- <attribute default="${build.classes.dir}" name="destdir"/>
406- <sequential>
407- <fail unless="javac.includes">Must set javac.includes</fail>
408- <pathconvert pathsep="${line.separator}" property="javac.includes.binary">
409- <path>
410- <filelist dir="@{destdir}" files="${javac.includes}"/>
411- </path>
412- <globmapper from="*.java" to="*.class"/>
413- </pathconvert>
414- <tempfile deleteonexit="true" property="javac.includesfile.binary"/>
415- <echo file="${javac.includesfile.binary}" message="${javac.includes.binary}"/>
416- <delete>
417- <files includesfile="${javac.includesfile.binary}"/>
418- </delete>
419- <delete>
420- <fileset file="${javac.includesfile.binary}"/>
421- </delete>
422- </sequential>
423- </macrodef>
424- </target>
425- <target if="${junit.available}" name="-init-macrodef-junit-init">
426- <condition else="false" property="nb.junit.batch" value="true">
427- <and>
428- <istrue value="${junit.available}"/>
429- <not>
430- <isset property="test.method"/>
431- </not>
432- </and>
433- </condition>
434- <condition else="false" property="nb.junit.single" value="true">
435- <and>
436- <istrue value="${junit.available}"/>
437- <isset property="test.method"/>
438- </and>
439- </condition>
440- </target>
441- <target if="${nb.junit.single}" name="-init-macrodef-junit-single" unless="${nb.junit.batch}">
442- <macrodef name="junit" uri="http://www.netbeans.org/ns/j2se-project/3">
443- <attribute default="${includes}" name="includes"/>
444- <attribute default="${excludes}" name="excludes"/>
445- <attribute default="**" name="testincludes"/>
446- <attribute default="" name="testmethods"/>
447- <element name="customize" optional="true"/>
448- <sequential>
449- <property name="junit.forkmode" value="perTest"/>
450- <junit dir="${work.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" forkmode="${junit.forkmode}" showoutput="true" tempdir="${build.dir}">
451- <test methods="@{testmethods}" name="@{testincludes}" todir="${build.test.results.dir}"/>
452- <syspropertyset>
453- <propertyref prefix="test-sys-prop."/>
454- <mapper from="test-sys-prop.*" to="*" type="glob"/>
455- </syspropertyset>
456- <formatter type="brief" usefile="false"/>
457- <formatter type="xml"/>
458- <jvmarg value="-ea"/>
459- <customize/>
460- </junit>
461- </sequential>
462- </macrodef>
463- </target>
464- <target if="${nb.junit.batch}" name="-init-macrodef-junit-batch" unless="${nb.junit.single}">
465- <macrodef name="junit" uri="http://www.netbeans.org/ns/j2se-project/3">
466- <attribute default="${includes}" name="includes"/>
467- <attribute default="${excludes}" name="excludes"/>
468- <attribute default="**" name="testincludes"/>
469- <attribute default="" name="testmethods"/>
470- <element name="customize" optional="true"/>
471- <sequential>
472- <property name="junit.forkmode" value="perTest"/>
473- <junit dir="${work.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" forkmode="${junit.forkmode}" showoutput="true" tempdir="${build.dir}">
474- <batchtest todir="${build.test.results.dir}">
475- <fileset dir="${test.test.dir}" excludes="@{excludes},${excludes}" includes="@{includes}">
476- <filename name="@{testincludes}"/>
477- </fileset>
478- </batchtest>
479- <syspropertyset>
480- <propertyref prefix="test-sys-prop."/>
481- <mapper from="test-sys-prop.*" to="*" type="glob"/>
482- </syspropertyset>
483- <formatter type="brief" usefile="false"/>
484- <formatter type="xml"/>
485- <jvmarg value="-ea"/>
486- <customize/>
487- </junit>
488- </sequential>
489- </macrodef>
490- </target>
491- <target depends="-init-macrodef-junit-init,-init-macrodef-junit-single, -init-macrodef-junit-batch" if="${junit.available}" name="-init-macrodef-junit"/>
492- <target if="${testng.available}" name="-init-macrodef-testng">
493- <macrodef name="testng" uri="http://www.netbeans.org/ns/j2se-project/3">
494- <attribute default="${includes}" name="includes"/>
495- <attribute default="${excludes}" name="excludes"/>
496- <attribute default="**" name="testincludes"/>
497- <attribute default="" name="testmethods"/>
498- <element name="customize" optional="true"/>
499- <sequential>
500- <condition else="" property="testng.methods.arg" value="@{testincludes}.@{testmethods}">
501- <isset property="test.method"/>
502- </condition>
503- <union id="test.set">
504- <fileset dir="${test.test.dir}" excludes="@{excludes},**/*.xml,${excludes}" includes="@{includes}">
505- <filename name="@{testincludes}"/>
506- </fileset>
507- </union>
508- <taskdef classname="org.testng.TestNGAntTask" classpath="${run.test.classpath}" name="testng"/>
509- <testng classfilesetref="test.set" failureProperty="tests.failed" methods="${testng.methods.arg}" mode="${testng.mode}" outputdir="${build.test.results.dir}" suitename="jMonkeyEngine3" testname="TestNG tests" workingDir="${work.dir}">
510- <xmlfileset dir="${build.test.classes.dir}" includes="@{testincludes}"/>
511- <propertyset>
512- <propertyref prefix="test-sys-prop."/>
513- <mapper from="test-sys-prop.*" to="*" type="glob"/>
514- </propertyset>
515- <customize/>
516- </testng>
517- </sequential>
518- </macrodef>
519- </target>
520- <target name="-init-macrodef-test-impl">
521- <macrodef name="test-impl" uri="http://www.netbeans.org/ns/j2se-project/3">
522- <attribute default="${includes}" name="includes"/>
523- <attribute default="${excludes}" name="excludes"/>
524- <attribute default="**" name="testincludes"/>
525- <attribute default="" name="testmethods"/>
526- <element implicit="true" name="customize" optional="true"/>
527- <sequential>
528- <echo>No tests executed.</echo>
529- </sequential>
530- </macrodef>
531- </target>
532- <target depends="-init-macrodef-junit" if="${junit.available}" name="-init-macrodef-junit-impl">
533- <macrodef name="test-impl" uri="http://www.netbeans.org/ns/j2se-project/3">
534- <attribute default="${includes}" name="includes"/>
535- <attribute default="${excludes}" name="excludes"/>
536- <attribute default="**" name="testincludes"/>
537- <attribute default="" name="testmethods"/>
538- <element implicit="true" name="customize" optional="true"/>
539- <sequential>
540- <j2seproject3:junit excludes="@{excludes}" includes="@{includes}" testincludes="@{testincludes}" testmethods="@{testmethods}">
541- <customize/>
542- </j2seproject3:junit>
543- </sequential>
544- </macrodef>
545- </target>
546- <target depends="-init-macrodef-testng" if="${testng.available}" name="-init-macrodef-testng-impl">
547- <macrodef name="test-impl" uri="http://www.netbeans.org/ns/j2se-project/3">
548- <attribute default="${includes}" name="includes"/>
549- <attribute default="${excludes}" name="excludes"/>
550- <attribute default="**" name="testincludes"/>
551- <attribute default="" name="testmethods"/>
552- <element implicit="true" name="customize" optional="true"/>
553- <sequential>
554- <j2seproject3:testng excludes="@{excludes}" includes="@{includes}" testincludes="@{testincludes}" testmethods="@{testmethods}">
555- <customize/>
556- </j2seproject3:testng>
557- </sequential>
558- </macrodef>
559- </target>
560- <target depends="-init-macrodef-test-impl,-init-macrodef-junit-impl,-init-macrodef-testng-impl" name="-init-macrodef-test">
561- <macrodef name="test" uri="http://www.netbeans.org/ns/j2se-project/3">
562- <attribute default="${includes}" name="includes"/>
563- <attribute default="${excludes}" name="excludes"/>
564- <attribute default="**" name="testincludes"/>
565- <attribute default="" name="testmethods"/>
566- <sequential>
567- <j2seproject3:test-impl excludes="@{excludes}" includes="@{includes}" testincludes="@{testincludes}" testmethods="@{testmethods}">
568- <customize>
569- <classpath>
570- <path path="${run.test.classpath}"/>
571- </classpath>
572- <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
573- <jvmarg line="${run.jvmargs}"/>
574- <jvmarg line="${run.jvmargs.ide}"/>
575- </customize>
576- </j2seproject3:test-impl>
577- </sequential>
578- </macrodef>
579- </target>
580- <target if="${junit.available}" name="-init-macrodef-junit-debug" unless="${nb.junit.batch}">
581- <macrodef name="junit-debug" uri="http://www.netbeans.org/ns/j2se-project/3">
582- <attribute default="${includes}" name="includes"/>
583- <attribute default="${excludes}" name="excludes"/>
584- <attribute default="**" name="testincludes"/>
585- <attribute default="" name="testmethods"/>
586- <element name="customize" optional="true"/>
587- <sequential>
588- <property name="junit.forkmode" value="perTest"/>
589- <junit dir="${work.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" forkmode="${junit.forkmode}" showoutput="true" tempdir="${build.dir}">
590- <test methods="@{testmethods}" name="@{testincludes}" todir="${build.test.results.dir}"/>
591- <syspropertyset>
592- <propertyref prefix="test-sys-prop."/>
593- <mapper from="test-sys-prop.*" to="*" type="glob"/>
594- </syspropertyset>
595- <formatter type="brief" usefile="false"/>
596- <formatter type="xml"/>
597- <jvmarg value="-ea"/>
598- <jvmarg line="${debug-args-line}"/>
599- <jvmarg value="-Xrunjdwp:transport=${debug-transport},address=${jpda.address}"/>
600- <customize/>
601- </junit>
602- </sequential>
603- </macrodef>
604- </target>
605- <target if="${nb.junit.batch}" name="-init-macrodef-junit-debug-batch">
606- <macrodef name="junit-debug" uri="http://www.netbeans.org/ns/j2se-project/3">
607- <attribute default="${includes}" name="includes"/>
608- <attribute default="${excludes}" name="excludes"/>
609- <attribute default="**" name="testincludes"/>
610- <attribute default="" name="testmethods"/>
611- <element name="customize" optional="true"/>
612- <sequential>
613- <property name="junit.forkmode" value="perTest"/>
614- <junit dir="${work.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" forkmode="${junit.forkmode}" showoutput="true" tempdir="${build.dir}">
615- <batchtest todir="${build.test.results.dir}">
616- <fileset dir="${test.test.dir}" excludes="@{excludes},${excludes}" includes="@{includes}">
617- <filename name="@{testincludes}"/>
618- </fileset>
619- </batchtest>
620- <syspropertyset>
621- <propertyref prefix="test-sys-prop."/>
622- <mapper from="test-sys-prop.*" to="*" type="glob"/>
623- </syspropertyset>
624- <formatter type="brief" usefile="false"/>
625- <formatter type="xml"/>
626- <jvmarg value="-ea"/>
627- <jvmarg line="${debug-args-line}"/>
628- <jvmarg value="-Xrunjdwp:transport=${debug-transport},address=${jpda.address}"/>
629- <customize/>
630- </junit>
631- </sequential>
632- </macrodef>
633- </target>
634- <target depends="-init-macrodef-junit-debug,-init-macrodef-junit-debug-batch" if="${junit.available}" name="-init-macrodef-junit-debug-impl">
635- <macrodef name="test-debug-impl" uri="http://www.netbeans.org/ns/j2se-project/3">
636- <attribute default="${includes}" name="includes"/>
637- <attribute default="${excludes}" name="excludes"/>
638- <attribute default="**" name="testincludes"/>
639- <attribute default="" name="testmethods"/>
640- <element implicit="true" name="customize" optional="true"/>
641- <sequential>
642- <j2seproject3:junit-debug excludes="@{excludes}" includes="@{includes}" testincludes="@{testincludes}" testmethods="@{testmethods}">
643- <customize/>
644- </j2seproject3:junit-debug>
645- </sequential>
646- </macrodef>
647- </target>
648- <target if="${testng.available}" name="-init-macrodef-testng-debug">
649- <macrodef name="testng-debug" uri="http://www.netbeans.org/ns/j2se-project/3">
650- <attribute default="${main.class}" name="testClass"/>
651- <attribute default="" name="testMethod"/>
652- <element name="customize2" optional="true"/>
653- <sequential>
654- <condition else="-testclass @{testClass}" property="test.class.or.method" value="-methods @{testClass}.@{testMethod}">
655- <isset property="test.method"/>
656- </condition>
657- <condition else="-suitename jMonkeyEngine3 -testname @{testClass} ${test.class.or.method}" property="testng.cmd.args" value="@{testClass}">
658- <matches pattern=".*\.xml" string="@{testClass}"/>
659- </condition>
660- <delete dir="${build.test.results.dir}" quiet="true"/>
661- <mkdir dir="${build.test.results.dir}"/>
662- <j2seproject3:debug classname="org.testng.TestNG" classpath="${debug.test.classpath}">
663- <customize>
664- <customize2/>
665- <jvmarg value="-ea"/>
666- <arg line="${testng.debug.mode}"/>
667- <arg line="-d ${build.test.results.dir}"/>
668- <arg line="-listener org.testng.reporters.VerboseReporter"/>
669- <arg line="${testng.cmd.args}"/>
670- </customize>
671- </j2seproject3:debug>
672- </sequential>
673- </macrodef>
674- </target>
675- <target depends="-init-macrodef-testng-debug" if="${testng.available}" name="-init-macrodef-testng-debug-impl">
676- <macrodef name="testng-debug-impl" uri="http://www.netbeans.org/ns/j2se-project/3">
677- <attribute default="${main.class}" name="testClass"/>
678- <attribute default="" name="testMethod"/>
679- <element implicit="true" name="customize2" optional="true"/>
680- <sequential>
681- <j2seproject3:testng-debug testClass="@{testClass}" testMethod="@{testMethod}">
682- <customize2/>
683- </j2seproject3:testng-debug>
684- </sequential>
685- </macrodef>
686- </target>
687- <target depends="-init-macrodef-junit-debug-impl" if="${junit.available}" name="-init-macrodef-test-debug-junit">
688- <macrodef name="test-debug" uri="http://www.netbeans.org/ns/j2se-project/3">
689- <attribute default="${includes}" name="includes"/>
690- <attribute default="${excludes}" name="excludes"/>
691- <attribute default="**" name="testincludes"/>
692- <attribute default="" name="testmethods"/>
693- <attribute default="${main.class}" name="testClass"/>
694- <attribute default="" name="testMethod"/>
695- <sequential>
696- <j2seproject3:test-debug-impl excludes="@{excludes}" includes="@{includes}" testincludes="@{testincludes}" testmethods="@{testmethods}">
697- <customize>
698- <classpath>
699- <path path="${run.test.classpath}"/>
700- </classpath>
701- <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
702- <jvmarg line="${run.jvmargs}"/>
703- <jvmarg line="${run.jvmargs.ide}"/>
704- </customize>
705- </j2seproject3:test-debug-impl>
706- </sequential>
707- </macrodef>
708- </target>
709- <target depends="-init-macrodef-testng-debug-impl" if="${testng.available}" name="-init-macrodef-test-debug-testng">
710- <macrodef name="test-debug" uri="http://www.netbeans.org/ns/j2se-project/3">
711- <attribute default="${includes}" name="includes"/>
712- <attribute default="${excludes}" name="excludes"/>
713- <attribute default="**" name="testincludes"/>
714- <attribute default="" name="testmethods"/>
715- <attribute default="${main.class}" name="testClass"/>
716- <attribute default="" name="testMethod"/>
717- <sequential>
718- <j2seproject3:testng-debug-impl testClass="@{testClass}" testMethod="@{testMethod}">
719- <customize2>
720- <syspropertyset>
721- <propertyref prefix="test-sys-prop."/>
722- <mapper from="test-sys-prop.*" to="*" type="glob"/>
723- </syspropertyset>
724- </customize2>
725- </j2seproject3:testng-debug-impl>
726- </sequential>
727- </macrodef>
728- </target>
729- <target depends="-init-macrodef-test-debug-junit,-init-macrodef-test-debug-testng" name="-init-macrodef-test-debug"/>
730- <!--
731- pre NB7.2 profiling section; consider it deprecated
732- -->
733- <target depends="-profile-pre-init, init, -profile-post-init, -profile-init-macrodef-profile, -profile-init-check" if="profiler.info.jvmargs.agent" name="profile-init"/>
734- <target if="profiler.info.jvmargs.agent" name="-profile-pre-init">
735- <!-- Empty placeholder for easier customization. -->
736- <!-- You can override this target in the ../build.xml file. -->
737- </target>
738- <target if="profiler.info.jvmargs.agent" name="-profile-post-init">
739- <!-- Empty placeholder for easier customization. -->
740- <!-- You can override this target in the ../build.xml file. -->
741- </target>
742- <target if="profiler.info.jvmargs.agent" name="-profile-init-macrodef-profile">
743- <macrodef name="resolve">
744- <attribute name="name"/>
745- <attribute name="value"/>
746- <sequential>
747- <property name="@{name}" value="${env.@{value}}"/>
748- </sequential>
749- </macrodef>
750- <macrodef name="profile">
751- <attribute default="${main.class}" name="classname"/>
752- <element name="customize" optional="true"/>
753- <sequential>
754- <property environment="env"/>
755- <resolve name="profiler.current.path" value="${profiler.info.pathvar}"/>
756- <java classname="@{classname}" dir="${profiler.info.dir}" fork="true" jvm="${profiler.info.jvm}">
757- <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
758- <jvmarg value="${profiler.info.jvmargs.agent}"/>
759- <jvmarg line="${profiler.info.jvmargs}"/>
760- <env key="${profiler.info.pathvar}" path="${profiler.info.agentpath}:${profiler.current.path}"/>
761- <arg line="${application.args}"/>
762- <classpath>
763- <path path="${run.classpath}"/>
764- </classpath>
765- <syspropertyset>
766- <propertyref prefix="run-sys-prop."/>
767- <mapper from="run-sys-prop.*" to="*" type="glob"/>
768- </syspropertyset>
769- <customize/>
770- </java>
771- </sequential>
772- </macrodef>
773- </target>
774- <target depends="-profile-pre-init, init, -profile-post-init, -profile-init-macrodef-profile" if="profiler.info.jvmargs.agent" name="-profile-init-check">
775- <fail unless="profiler.info.jvm">Must set JVM to use for profiling in profiler.info.jvm</fail>
776- <fail unless="profiler.info.jvmargs.agent">Must set profiler agent JVM arguments in profiler.info.jvmargs.agent</fail>
777- </target>
778- <!--
779- end of pre NB7.2 profiling section
780- -->
781- <target depends="-init-debug-args" name="-init-macrodef-nbjpda">
782- <macrodef name="nbjpdastart" uri="http://www.netbeans.org/ns/j2se-project/1">
783- <attribute default="${main.class}" name="name"/>
784- <attribute default="${debug.classpath}" name="classpath"/>
785- <attribute default="" name="stopclassname"/>
786- <sequential>
787- <nbjpdastart addressproperty="jpda.address" name="@{name}" stopclassname="@{stopclassname}" transport="${debug-transport}">
788- <classpath>
789- <path path="@{classpath}"/>
790- </classpath>
791- </nbjpdastart>
792- </sequential>
793- </macrodef>
794- <macrodef name="nbjpdareload" uri="http://www.netbeans.org/ns/j2se-project/1">
795- <attribute default="${build.classes.dir}" name="dir"/>
796- <sequential>
797- <nbjpdareload>
798- <fileset dir="@{dir}" includes="${fix.classes}">
799- <include name="${fix.includes}*.class"/>
800- </fileset>
801- </nbjpdareload>
802- </sequential>
803- </macrodef>
804- </target>
805- <target name="-init-debug-args">
806- <property name="version-output" value="java version &quot;${ant.java.version}"/>
807- <condition property="have-jdk-older-than-1.4">
808- <or>
809- <contains string="${version-output}" substring="java version &quot;1.0"/>
810- <contains string="${version-output}" substring="java version &quot;1.1"/>
811- <contains string="${version-output}" substring="java version &quot;1.2"/>
812- <contains string="${version-output}" substring="java version &quot;1.3"/>
813- </or>
814- </condition>
815- <condition else="-Xdebug" property="debug-args-line" value="-Xdebug -Xnoagent -Djava.compiler=none">
816- <istrue value="${have-jdk-older-than-1.4}"/>
817- </condition>
818- <condition else="dt_socket" property="debug-transport-by-os" value="dt_shmem">
819- <os family="windows"/>
820- </condition>
821- <condition else="${debug-transport-by-os}" property="debug-transport" value="${debug.transport}">
822- <isset property="debug.transport"/>
823- </condition>
824- </target>
825- <target depends="-init-debug-args" name="-init-macrodef-debug">
826- <macrodef name="debug" uri="http://www.netbeans.org/ns/j2se-project/3">
827- <attribute default="${main.class}" name="classname"/>
828- <attribute default="${debug.classpath}" name="classpath"/>
829- <element name="customize" optional="true"/>
830- <sequential>
831- <java classname="@{classname}" dir="${work.dir}" fork="true">
832- <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
833- <jvmarg line="${debug-args-line}"/>
834- <jvmarg value="-Xrunjdwp:transport=${debug-transport},address=${jpda.address}"/>
835- <jvmarg value="-Dfile.encoding=${runtime.encoding}"/>
836- <redirector errorencoding="${runtime.encoding}" inputencoding="${runtime.encoding}" outputencoding="${runtime.encoding}"/>
837- <jvmarg line="${run.jvmargs}"/>
838- <jvmarg line="${run.jvmargs.ide}"/>
839- <classpath>
840- <path path="@{classpath}"/>
841- </classpath>
842- <syspropertyset>
843- <propertyref prefix="run-sys-prop."/>
844- <mapper from="run-sys-prop.*" to="*" type="glob"/>
845- </syspropertyset>
846- <customize/>
847- </java>
848- </sequential>
849- </macrodef>
850- </target>
851- <target name="-init-macrodef-java">
852- <macrodef name="java" uri="http://www.netbeans.org/ns/j2se-project/1">
853- <attribute default="${main.class}" name="classname"/>
854- <attribute default="${run.classpath}" name="classpath"/>
855- <attribute default="jvm" name="jvm"/>
856- <element name="customize" optional="true"/>
857- <sequential>
858- <java classname="@{classname}" dir="${work.dir}" fork="true">
859- <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
860- <jvmarg value="-Dfile.encoding=${runtime.encoding}"/>
861- <redirector errorencoding="${runtime.encoding}" inputencoding="${runtime.encoding}" outputencoding="${runtime.encoding}"/>
862- <jvmarg line="${run.jvmargs}"/>
863- <jvmarg line="${run.jvmargs.ide}"/>
864- <classpath>
865- <path path="@{classpath}"/>
866- </classpath>
867- <syspropertyset>
868- <propertyref prefix="run-sys-prop."/>
869- <mapper from="run-sys-prop.*" to="*" type="glob"/>
870- </syspropertyset>
871- <customize/>
872- </java>
873- </sequential>
874- </macrodef>
875- </target>
876- <target name="-init-macrodef-copylibs">
877- <macrodef name="copylibs" uri="http://www.netbeans.org/ns/j2se-project/3">
878- <attribute default="${manifest.file}" name="manifest"/>
879- <element name="customize" optional="true"/>
880- <sequential>
881- <property location="${build.classes.dir}" name="build.classes.dir.resolved"/>
882- <pathconvert property="run.classpath.without.build.classes.dir">
883- <path path="${run.classpath}"/>
884- <map from="${build.classes.dir.resolved}" to=""/>
885- </pathconvert>
886- <pathconvert pathsep=" " property="jar.classpath">
887- <path path="${run.classpath.without.build.classes.dir}"/>
888- <chainedmapper>
889- <flattenmapper/>
890- <filtermapper>
891- <replacestring from=" " to="%20"/>
892- </filtermapper>
893- <globmapper from="*" to="lib/*"/>
894- </chainedmapper>
895- </pathconvert>
896- <taskdef classname="org.netbeans.modules.java.j2seproject.copylibstask.CopyLibs" classpath="${libs.CopyLibs.classpath}" name="copylibs"/>
897- <copylibs compress="${jar.compress}" index="${jar.index}" indexMetaInf="${jar.index.metainf}" jarfile="${dist.jar}" manifest="@{manifest}" rebase="${copylibs.rebase}" runtimeclasspath="${run.classpath.without.build.classes.dir}">
898- <fileset dir="${build.classes.dir}"/>
899- <manifest>
900- <attribute name="Class-Path" value="${jar.classpath}"/>
901- <customize/>
902- </manifest>
903- </copylibs>
904- </sequential>
905- </macrodef>
906- </target>
907- <target name="-init-presetdef-jar">
908- <presetdef name="jar" uri="http://www.netbeans.org/ns/j2se-project/1">
909- <jar compress="${jar.compress}" index="${jar.index}" jarfile="${dist.jar}">
910- <j2seproject1:fileset dir="${build.classes.dir}"/>
911- </jar>
912- </presetdef>
913- </target>
914- <target name="-init-ap-cmdline-properties">
915- <property name="annotation.processing.enabled" value="true"/>
916- <property name="annotation.processing.processors.list" value=""/>
917- <property name="annotation.processing.processor.options" value=""/>
918- <property name="annotation.processing.run.all.processors" value="true"/>
919- <property name="javac.processorpath" value="${javac.classpath}"/>
920- <property name="javac.test.processorpath" value="${javac.test.classpath}"/>
921- <condition property="ap.supported.internal" value="true">
922- <not>
923- <matches pattern="1\.[0-5](\..*)?" string="${javac.source}"/>
924- </not>
925- </condition>
926- </target>
927- <target depends="-init-ap-cmdline-properties" if="ap.supported.internal" name="-init-ap-cmdline-supported">
928- <condition else="" property="ap.processors.internal" value="-processor ${annotation.processing.processors.list}">
929- <isfalse value="${annotation.processing.run.all.processors}"/>
930- </condition>
931- <condition else="" property="ap.proc.none.internal" value="-proc:none">
932- <isfalse value="${annotation.processing.enabled}"/>
933- </condition>
934- </target>
935- <target depends="-init-ap-cmdline-properties,-init-ap-cmdline-supported" name="-init-ap-cmdline">
936- <property name="ap.cmd.line.internal" value=""/>
937- </target>
938- <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-test,-init-macrodef-test-debug,-init-macrodef-nbjpda,-init-macrodef-debug,-init-macrodef-java,-init-presetdef-jar,-init-ap-cmdline" name="init"/>
939- <!--
940- ===================
941- COMPILATION SECTION
942- ===================
943- -->
944- <target name="-deps-jar-init" unless="built-jar.properties">
945- <property location="${build.dir}/built-jar.properties" name="built-jar.properties"/>
946- <delete file="${built-jar.properties}" quiet="true"/>
947- </target>
948- <target if="already.built.jar.${basedir}" name="-warn-already-built-jar">
949- <echo level="warn" message="Cycle detected: jMonkeyEngine3 was already built"/>
950- </target>
951- <target depends="init,-deps-jar-init" name="deps-jar" unless="no.deps">
952- <mkdir dir="${build.dir}"/>
953- <touch file="${built-jar.properties}" verbose="false"/>
954- <property file="${built-jar.properties}" prefix="already.built.jar."/>
955- <antcall target="-warn-already-built-jar"/>
956- <propertyfile file="${built-jar.properties}">
957- <entry key="${basedir}" value=""/>
958- </propertyfile>
959- </target>
960- <target depends="init,-check-automatic-build,-clean-after-automatic-build" name="-verify-automatic-build"/>
961- <target depends="init" name="-check-automatic-build">
962- <available file="${build.classes.dir}/.netbeans_automatic_build" property="netbeans.automatic.build"/>
963- </target>
964- <target depends="init" if="netbeans.automatic.build" name="-clean-after-automatic-build">
965- <antcall target="clean"/>
966- </target>
967- <target depends="init,deps-jar" name="-pre-pre-compile">
968- <mkdir dir="${build.classes.dir}"/>
969- </target>
970- <target name="-pre-compile">
971- <!-- Empty placeholder for easier customization. -->
972- <!-- You can override this target in the ../build.xml file. -->
973- </target>
974- <target if="do.depend.true" name="-compile-depend">
975- <pathconvert property="build.generated.subdirs">
976- <dirset dir="${build.generated.sources.dir}" erroronmissingdir="false">
977- <include name="*"/>
978- </dirset>
979- </pathconvert>
980- <j2seproject3:depend srcdir="${src.core.dir}:${src.core-data.dir}:${src.core-effects.dir}:${src.core-plugins.dir}:${src.desktop.dir}:${src.terrain.dir}:${src.jbullet.dir}:${src.bullet.dir}:${src.bullet-native.dir}:${src.bullet-common.dir}:${src.networking.dir}:${src.niftygui.dir}:${src.jogg.dir}:${src.ogre.dir}:${src.blender.dir}:${src.xml.dir}:${src.tools.dir}:${src.test.dir}:${src.lwjgl.dir}:${src.jogl.dir}:${src.android.dir}:${src.ios.dir}:${build.generated.subdirs}"/>
981- </target>
982- <target depends="init,deps-jar,-pre-pre-compile,-pre-compile, -copy-persistence-xml,-compile-depend" if="have.sources" name="-do-compile">
983- <j2seproject3:javac gensrcdir="${build.generated.sources.dir}"/>
984- <copy todir="${build.classes.dir}">
985- <fileset dir="${src.core.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
986- <fileset dir="${src.core-data.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
987- <fileset dir="${src.core-effects.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
988- <fileset dir="${src.core-plugins.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
989- <fileset dir="${src.desktop.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
990- <fileset dir="${src.terrain.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
991- <fileset dir="${src.jbullet.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
992- <fileset dir="${src.bullet.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
993- <fileset dir="${src.bullet-native.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
994- <fileset dir="${src.bullet-common.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
995- <fileset dir="${src.networking.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
996- <fileset dir="${src.niftygui.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
997- <fileset dir="${src.jogg.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
998- <fileset dir="${src.ogre.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
999- <fileset dir="${src.blender.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
1000- <fileset dir="${src.xml.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
1001- <fileset dir="${src.tools.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
1002- <fileset dir="${src.test.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
1003- <fileset dir="${src.lwjgl.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
1004- <fileset dir="${src.jogl.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
1005- <fileset dir="${src.android.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
1006- <fileset dir="${src.ios.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
1007- </copy>
1008- </target>
1009- <target if="has.persistence.xml" name="-copy-persistence-xml">
1010- <mkdir dir="${build.classes.dir}/META-INF"/>
1011- <copy todir="${build.classes.dir}/META-INF">
1012- <fileset dir="${meta.inf.dir}" includes="persistence.xml"/>
1013- </copy>
1014- </target>
1015- <target name="-post-compile">
1016- <!-- Empty placeholder for easier customization. -->
1017- <!-- You can override this target in the ../build.xml file. -->
1018- </target>
1019- <target depends="init,deps-jar,-verify-automatic-build,-pre-pre-compile,-pre-compile,-do-compile,-post-compile" description="Compile project." name="compile"/>
1020- <target name="-pre-compile-single">
1021- <!-- Empty placeholder for easier customization. -->
1022- <!-- You can override this target in the ../build.xml file. -->
1023- </target>
1024- <target depends="init,deps-jar,-pre-pre-compile" name="-do-compile-single">
1025- <fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail>
1026- <j2seproject3:force-recompile/>
1027- <j2seproject3:javac excludes="" gensrcdir="${build.generated.sources.dir}" includes="${javac.includes}" sourcepath="${src.core.dir}:${src.core-data.dir}:${src.core-effects.dir}:${src.core-plugins.dir}:${src.desktop.dir}:${src.terrain.dir}:${src.jbullet.dir}:${src.bullet.dir}:${src.bullet-native.dir}:${src.bullet-common.dir}:${src.networking.dir}:${src.niftygui.dir}:${src.jogg.dir}:${src.ogre.dir}:${src.blender.dir}:${src.xml.dir}:${src.tools.dir}:${src.test.dir}:${src.lwjgl.dir}:${src.jogl.dir}:${src.android.dir}:${src.ios.dir}"/>
1028- </target>
1029- <target name="-post-compile-single">
1030- <!-- Empty placeholder for easier customization. -->
1031- <!-- You can override this target in the ../build.xml file. -->
1032- </target>
1033- <target depends="init,deps-jar,-verify-automatic-build,-pre-pre-compile,-pre-compile-single,-do-compile-single,-post-compile-single" name="compile-single"/>
1034- <!--
1035- ====================
1036- JAR BUILDING SECTION
1037- ====================
1038- -->
1039- <target depends="init" name="-pre-pre-jar">
1040- <dirname file="${dist.jar}" property="dist.jar.dir"/>
1041- <mkdir dir="${dist.jar.dir}"/>
1042- </target>
1043- <target name="-pre-jar">
1044- <!-- Empty placeholder for easier customization. -->
1045- <!-- You can override this target in the ../build.xml file. -->
1046- </target>
1047- <target depends="init,compile,-pre-pre-jar,-pre-jar" if="do.archive" name="-do-jar-without-manifest" unless="manifest.available-mkdist.available">
1048- <j2seproject1:jar/>
1049- </target>
1050- <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">
1051- <j2seproject1:jar manifest="${manifest.file}"/>
1052- </target>
1053- <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">
1054- <j2seproject1:jar manifest="${manifest.file}">
1055- <j2seproject1:manifest>
1056- <j2seproject1:attribute name="Main-Class" value="${main.class}"/>
1057- </j2seproject1:manifest>
1058- </j2seproject1:jar>
1059- <echo level="info">To run this application from the command line without Ant, try:</echo>
1060- <property location="${build.classes.dir}" name="build.classes.dir.resolved"/>
1061- <property location="${dist.jar}" name="dist.jar.resolved"/>
1062- <pathconvert property="run.classpath.with.dist.jar">
1063- <path path="${run.classpath}"/>
1064- <map from="${build.classes.dir.resolved}" to="${dist.jar.resolved}"/>
1065- </pathconvert>
1066- <echo level="info">java -cp "${run.classpath.with.dist.jar}" ${main.class}</echo>
1067- </target>
1068- <target depends="init" if="do.archive" name="-do-jar-with-libraries-create-manifest" unless="manifest.available">
1069- <tempfile deleteonexit="true" destdir="${build.dir}" property="tmp.manifest.file"/>
1070- <touch file="${tmp.manifest.file}" verbose="false"/>
1071- </target>
1072- <target depends="init" if="do.archive+manifest.available" name="-do-jar-with-libraries-copy-manifest">
1073- <tempfile deleteonexit="true" destdir="${build.dir}" property="tmp.manifest.file"/>
1074- <copy file="${manifest.file}" tofile="${tmp.manifest.file}"/>
1075- </target>
1076- <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">
1077- <manifest file="${tmp.manifest.file}" mode="update">
1078- <attribute name="Main-Class" value="${main.class}"/>
1079- </manifest>
1080- </target>
1081- <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">
1082- <basename file="${application.splash}" property="splashscreen.basename"/>
1083- <mkdir dir="${build.classes.dir}/META-INF"/>
1084- <copy failonerror="false" file="${application.splash}" todir="${build.classes.dir}/META-INF"/>
1085- <manifest file="${tmp.manifest.file}" mode="update">
1086- <attribute name="SplashScreen-Image" value="META-INF/${splashscreen.basename}"/>
1087- </manifest>
1088- </target>
1089- <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">
1090- <j2seproject3:copylibs manifest="${tmp.manifest.file}"/>
1091- <echo level="info">To run this application from the command line without Ant, try:</echo>
1092- <property location="${dist.jar}" name="dist.jar.resolved"/>
1093- <echo level="info">java -jar "${dist.jar.resolved}"</echo>
1094- </target>
1095- <target depends="-do-jar-with-libraries-pack" if="do.archive" name="-do-jar-with-libraries-delete-manifest">
1096- <delete>
1097- <fileset file="${tmp.manifest.file}"/>
1098- </delete>
1099- </target>
1100- <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"/>
1101- <target name="-post-jar">
1102- <!-- Empty placeholder for easier customization. -->
1103- <!-- You can override this target in the ../build.xml file. -->
1104- </target>
1105- <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"/>
1106- <!--
1107- =================
1108- EXECUTION SECTION
1109- =================
1110- -->
1111- <target depends="init,compile" description="Run a main class." name="run">
1112- <j2seproject1:java>
1113- <customize>
1114- <arg line="${application.args}"/>
1115- </customize>
1116- </j2seproject1:java>
1117- </target>
1118- <target name="-do-not-recompile">
1119- <property name="javac.includes.binary" value=""/>
1120- </target>
1121- <target depends="init,compile-single" name="run-single">
1122- <fail unless="run.class">Must select one file in the IDE or set run.class</fail>
1123- <j2seproject1:java classname="${run.class}"/>
1124- </target>
1125- <target depends="init,compile-test-single" name="run-test-with-main">
1126- <fail unless="run.class">Must select one file in the IDE or set run.class</fail>
1127- <j2seproject1:java classname="${run.class}" classpath="${run.test.classpath}"/>
1128- </target>
1129- <!--
1130- =================
1131- DEBUGGING SECTION
1132- =================
1133- -->
1134- <target depends="init" if="netbeans.home" name="-debug-start-debugger">
1135- <j2seproject1:nbjpdastart name="${debug.class}"/>
1136- </target>
1137- <target depends="init" if="netbeans.home" name="-debug-start-debugger-main-test">
1138- <j2seproject1:nbjpdastart classpath="${debug.test.classpath}" name="${debug.class}"/>
1139- </target>
1140- <target depends="init,compile" name="-debug-start-debuggee">
1141- <j2seproject3:debug>
1142- <customize>
1143- <arg line="${application.args}"/>
1144- </customize>
1145- </j2seproject3:debug>
1146- </target>
1147- <target depends="init,compile,-debug-start-debugger,-debug-start-debuggee" description="Debug project in IDE." if="netbeans.home" name="debug"/>
1148- <target depends="init" if="netbeans.home" name="-debug-start-debugger-stepinto">
1149- <j2seproject1:nbjpdastart stopclassname="${main.class}"/>
1150- </target>
1151- <target depends="init,compile,-debug-start-debugger-stepinto,-debug-start-debuggee" if="netbeans.home" name="debug-stepinto"/>
1152- <target depends="init,compile-single" if="netbeans.home" name="-debug-start-debuggee-single">
1153- <fail unless="debug.class">Must select one file in the IDE or set debug.class</fail>
1154- <j2seproject3:debug classname="${debug.class}"/>
1155- </target>
1156- <target depends="init,compile-single,-debug-start-debugger,-debug-start-debuggee-single" if="netbeans.home" name="debug-single"/>
1157- <target depends="init,compile-test-single" if="netbeans.home" name="-debug-start-debuggee-main-test">
1158- <fail unless="debug.class">Must select one file in the IDE or set debug.class</fail>
1159- <j2seproject3:debug classname="${debug.class}" classpath="${debug.test.classpath}"/>
1160- </target>
1161- <target depends="init,compile-test-single,-debug-start-debugger-main-test,-debug-start-debuggee-main-test" if="netbeans.home" name="debug-test-with-main"/>
1162- <target depends="init" name="-pre-debug-fix">
1163- <fail unless="fix.includes">Must set fix.includes</fail>
1164- <property name="javac.includes" value="${fix.includes}.java"/>
1165- </target>
1166- <target depends="init,-pre-debug-fix,compile-single" if="netbeans.home" name="-do-debug-fix">
1167- <j2seproject1:nbjpdareload/>
1168- </target>
1169- <target depends="init,-pre-debug-fix,-do-debug-fix" if="netbeans.home" name="debug-fix"/>
1170- <!--
1171- =================
1172- PROFILING SECTION
1173- =================
1174- -->
1175- <!--
1176- pre NB7.2 profiler integration
1177- -->
1178- <target depends="profile-init,compile" description="Profile a project in the IDE." if="profiler.info.jvmargs.agent" name="-profile-pre72">
1179- <fail unless="netbeans.home">This target only works when run from inside the NetBeans IDE.</fail>
1180- <nbprofiledirect>
1181- <classpath>
1182- <path path="${run.classpath}"/>
1183- </classpath>
1184- </nbprofiledirect>
1185- <profile/>
1186- </target>
1187- <target depends="profile-init,compile-single" description="Profile a selected class in the IDE." if="profiler.info.jvmargs.agent" name="-profile-single-pre72">
1188- <fail unless="profile.class">Must select one file in the IDE or set profile.class</fail>
1189- <fail unless="netbeans.home">This target only works when run from inside the NetBeans IDE.</fail>
1190- <nbprofiledirect>
1191- <classpath>
1192- <path path="${run.classpath}"/>
1193- </classpath>
1194- </nbprofiledirect>
1195- <profile classname="${profile.class}"/>
1196- </target>
1197- <target depends="profile-init,compile-single" if="profiler.info.jvmargs.agent" name="-profile-applet-pre72">
1198- <fail unless="netbeans.home">This target only works when run from inside the NetBeans IDE.</fail>
1199- <nbprofiledirect>
1200- <classpath>
1201- <path path="${run.classpath}"/>
1202- </classpath>
1203- </nbprofiledirect>
1204- <profile classname="sun.applet.AppletViewer">
1205- <customize>
1206- <arg value="${applet.url}"/>
1207- </customize>
1208- </profile>
1209- </target>
1210- <target depends="profile-init,compile-test-single" if="profiler.info.jvmargs.agent" name="-profile-test-single-pre72">
1211- <fail unless="netbeans.home">This target only works when run from inside the NetBeans IDE.</fail>
1212- <nbprofiledirect>
1213- <classpath>
1214- <path path="${run.test.classpath}"/>
1215- </classpath>
1216- </nbprofiledirect>
1217- <junit dir="${profiler.info.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" jvm="${profiler.info.jvm}" showoutput="true">
1218- <env key="${profiler.info.pathvar}" path="${profiler.info.agentpath}:${profiler.current.path}"/>
1219- <jvmarg value="${profiler.info.jvmargs.agent}"/>
1220- <jvmarg line="${profiler.info.jvmargs}"/>
1221- <test name="${profile.class}"/>
1222- <classpath>
1223- <path path="${run.test.classpath}"/>
1224- </classpath>
1225- <syspropertyset>
1226- <propertyref prefix="test-sys-prop."/>
1227- <mapper from="test-sys-prop.*" to="*" type="glob"/>
1228- </syspropertyset>
1229- <formatter type="brief" usefile="false"/>
1230- <formatter type="xml"/>
1231- </junit>
1232- </target>
1233- <!--
1234- end of pre NB72 profiling section
1235- -->
1236- <target if="netbeans.home" name="-profile-check">
1237- <condition property="profiler.configured">
1238- <or>
1239- <contains casesensitive="true" string="${run.jvmargs.ide}" substring="-agentpath:"/>
1240- <contains casesensitive="true" string="${run.jvmargs.ide}" substring="-javaagent:"/>
1241- </or>
1242- </condition>
1243- </target>
1244- <target depends="-profile-check,-profile-pre72" description="Profile a project in the IDE." if="profiler.configured" name="profile" unless="profiler.info.jvmargs.agent">
1245- <startprofiler/>
1246- <antcall target="run"/>
1247- </target>
1248- <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">
1249- <fail unless="run.class">Must select one file in the IDE or set run.class</fail>
1250- <startprofiler/>
1251- <antcall target="run-single"/>
1252- </target>
1253- <target depends="-profile-test-single-pre72" description="Profile a selected test in the IDE." name="profile-test-single"/>
1254- <target depends="-profile-check" description="Profile a selected test in the IDE." if="profiler.configured" name="profile-test" unless="profiler.info.jvmargs">
1255- <fail unless="test.includes">Must select some files in the IDE or set test.includes</fail>
1256- <startprofiler/>
1257- <antcall target="test-single"/>
1258- </target>
1259- <target depends="-profile-check" description="Profile a selected class in the IDE." if="profiler.configured" name="profile-test-with-main">
1260- <fail unless="run.class">Must select one file in the IDE or set run.class</fail>
1261- <startprofiler/>
1262- <antcal target="run-test-with-main"/>
1263- </target>
1264- <target depends="-profile-check,-profile-applet-pre72" if="profiler.configured" name="profile-applet" unless="profiler.info.jvmargs.agent">
1265- <fail unless="applet.url">Must select one file in the IDE or set applet.url</fail>
1266- <startprofiler/>
1267- <antcall target="run-applet"/>
1268- </target>
1269- <!--
1270- ===============
1271- JAVADOC SECTION
1272- ===============
1273- -->
1274- <target depends="init" if="have.sources" name="-javadoc-build">
1275- <mkdir dir="${dist.javadoc.dir}"/>
1276- <condition else="" property="javadoc.endorsed.classpath.cmd.line.arg" value="-J${endorsed.classpath.cmd.line.arg}">
1277- <and>
1278- <isset property="endorsed.classpath.cmd.line.arg"/>
1279- <not>
1280- <equals arg1="${endorsed.classpath.cmd.line.arg}" arg2=""/>
1281- </not>
1282- </and>
1283- </condition>
1284- <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}">
1285- <classpath>
1286- <path path="${javac.classpath}"/>
1287- </classpath>
1288- <fileset dir="${src.core.dir}" excludes="*.java,${excludes}" includes="${includes}">
1289- <filename name="**/*.java"/>
1290- </fileset>
1291- <fileset dir="${src.core-data.dir}" excludes="*.java,${excludes}" includes="${includes}">
1292- <filename name="**/*.java"/>
1293- </fileset>
1294- <fileset dir="${src.core-effects.dir}" excludes="*.java,${excludes}" includes="${includes}">
1295- <filename name="**/*.java"/>
1296- </fileset>
1297- <fileset dir="${src.core-plugins.dir}" excludes="*.java,${excludes}" includes="${includes}">
1298- <filename name="**/*.java"/>
1299- </fileset>
1300- <fileset dir="${src.desktop.dir}" excludes="*.java,${excludes}" includes="${includes}">
1301- <filename name="**/*.java"/>
1302- </fileset>
1303- <fileset dir="${src.terrain.dir}" excludes="*.java,${excludes}" includes="${includes}">
1304- <filename name="**/*.java"/>
1305- </fileset>
1306- <fileset dir="${src.jbullet.dir}" excludes="*.java,${excludes}" includes="${includes}">
1307- <filename name="**/*.java"/>
1308- </fileset>
1309- <fileset dir="${src.bullet.dir}" excludes="*.java,${excludes}" includes="${includes}">
1310- <filename name="**/*.java"/>
1311- </fileset>
1312- <fileset dir="${src.bullet-native.dir}" excludes="*.java,${excludes}" includes="${includes}">
1313- <filename name="**/*.java"/>
1314- </fileset>
1315- <fileset dir="${src.bullet-common.dir}" excludes="*.java,${excludes}" includes="${includes}">
1316- <filename name="**/*.java"/>
1317- </fileset>
1318- <fileset dir="${src.networking.dir}" excludes="*.java,${excludes}" includes="${includes}">
1319- <filename name="**/*.java"/>
1320- </fileset>
1321- <fileset dir="${src.niftygui.dir}" excludes="*.java,${excludes}" includes="${includes}">
1322- <filename name="**/*.java"/>
1323- </fileset>
1324- <fileset dir="${src.jogg.dir}" excludes="*.java,${excludes}" includes="${includes}">
1325- <filename name="**/*.java"/>
1326- </fileset>
1327- <fileset dir="${src.ogre.dir}" excludes="*.java,${excludes}" includes="${includes}">
1328- <filename name="**/*.java"/>
1329- </fileset>
1330- <fileset dir="${src.blender.dir}" excludes="*.java,${excludes}" includes="${includes}">
1331- <filename name="**/*.java"/>
1332- </fileset>
1333- <fileset dir="${src.xml.dir}" excludes="*.java,${excludes}" includes="${includes}">
1334- <filename name="**/*.java"/>
1335- </fileset>
1336- <fileset dir="${src.tools.dir}" excludes="*.java,${excludes}" includes="${includes}">
1337- <filename name="**/*.java"/>
1338- </fileset>
1339- <fileset dir="${src.test.dir}" excludes="*.java,${excludes}" includes="${includes}">
1340- <filename name="**/*.java"/>
1341- </fileset>
1342- <fileset dir="${src.lwjgl.dir}" excludes="*.java,${excludes}" includes="${includes}">
1343- <filename name="**/*.java"/>
1344- </fileset>
1345- <fileset dir="${src.jogl.dir}" excludes="*.java,${excludes}" includes="${includes}">
1346- <filename name="**/*.java"/>
1347- </fileset>
1348- <fileset dir="${src.android.dir}" excludes="*.java,${excludes}" includes="${includes}">
1349- <filename name="**/*.java"/>
1350- </fileset>
1351- <fileset dir="${src.ios.dir}" excludes="*.java,${excludes}" includes="${includes}">
1352- <filename name="**/*.java"/>
1353- </fileset>
1354- <fileset dir="${build.generated.sources.dir}" erroronmissingdir="false">
1355- <include name="**/*.java"/>
1356- <exclude name="*.java"/>
1357- </fileset>
1358- <arg line="${javadoc.endorsed.classpath.cmd.line.arg}"/>
1359- </javadoc>
1360- <copy todir="${dist.javadoc.dir}">
1361- <fileset dir="${src.core.dir}" excludes="${excludes}" includes="${includes}">
1362- <filename name="**/doc-files/**"/>
1363- </fileset>
1364- <fileset dir="${src.core-data.dir}" excludes="${excludes}" includes="${includes}">
1365- <filename name="**/doc-files/**"/>
1366- </fileset>
1367- <fileset dir="${src.core-effects.dir}" excludes="${excludes}" includes="${includes}">
1368- <filename name="**/doc-files/**"/>
1369- </fileset>
1370- <fileset dir="${src.core-plugins.dir}" excludes="${excludes}" includes="${includes}">
1371- <filename name="**/doc-files/**"/>
1372- </fileset>
1373- <fileset dir="${src.desktop.dir}" excludes="${excludes}" includes="${includes}">
1374- <filename name="**/doc-files/**"/>
1375- </fileset>
1376- <fileset dir="${src.terrain.dir}" excludes="${excludes}" includes="${includes}">
1377- <filename name="**/doc-files/**"/>
1378- </fileset>
1379- <fileset dir="${src.jbullet.dir}" excludes="${excludes}" includes="${includes}">
1380- <filename name="**/doc-files/**"/>
1381- </fileset>
1382- <fileset dir="${src.bullet.dir}" excludes="${excludes}" includes="${includes}">
1383- <filename name="**/doc-files/**"/>
1384- </fileset>
1385- <fileset dir="${src.bullet-native.dir}" excludes="${excludes}" includes="${includes}">
1386- <filename name="**/doc-files/**"/>
1387- </fileset>
1388- <fileset dir="${src.bullet-common.dir}" excludes="${excludes}" includes="${includes}">
1389- <filename name="**/doc-files/**"/>
1390- </fileset>
1391- <fileset dir="${src.networking.dir}" excludes="${excludes}" includes="${includes}">
1392- <filename name="**/doc-files/**"/>
1393- </fileset>
1394- <fileset dir="${src.niftygui.dir}" excludes="${excludes}" includes="${includes}">
1395- <filename name="**/doc-files/**"/>
1396- </fileset>
1397- <fileset dir="${src.jogg.dir}" excludes="${excludes}" includes="${includes}">
1398- <filename name="**/doc-files/**"/>
1399- </fileset>
1400- <fileset dir="${src.ogre.dir}" excludes="${excludes}" includes="${includes}">
1401- <filename name="**/doc-files/**"/>
1402- </fileset>
1403- <fileset dir="${src.blender.dir}" excludes="${excludes}" includes="${includes}">
1404- <filename name="**/doc-files/**"/>
1405- </fileset>
1406- <fileset dir="${src.xml.dir}" excludes="${excludes}" includes="${includes}">
1407- <filename name="**/doc-files/**"/>
1408- </fileset>
1409- <fileset dir="${src.tools.dir}" excludes="${excludes}" includes="${includes}">
1410- <filename name="**/doc-files/**"/>
1411- </fileset>
1412- <fileset dir="${src.test.dir}" excludes="${excludes}" includes="${includes}">
1413- <filename name="**/doc-files/**"/>
1414- </fileset>
1415- <fileset dir="${src.lwjgl.dir}" excludes="${excludes}" includes="${includes}">
1416- <filename name="**/doc-files/**"/>
1417- </fileset>
1418- <fileset dir="${src.jogl.dir}" excludes="${excludes}" includes="${includes}">
1419- <filename name="**/doc-files/**"/>
1420- </fileset>
1421- <fileset dir="${src.android.dir}" excludes="${excludes}" includes="${includes}">
1422- <filename name="**/doc-files/**"/>
1423- </fileset>
1424- <fileset dir="${src.ios.dir}" excludes="${excludes}" includes="${includes}">
1425- <filename name="**/doc-files/**"/>
1426- </fileset>
1427- <fileset dir="${build.generated.sources.dir}" erroronmissingdir="false">
1428- <include name="**/doc-files/**"/>
1429- </fileset>
1430- </copy>
1431- </target>
1432- <target depends="init,-javadoc-build" if="netbeans.home" name="-javadoc-browse" unless="no.javadoc.preview">
1433- <nbbrowse file="${dist.javadoc.dir}/index.html"/>
1434- </target>
1435- <target depends="init,-javadoc-build,-javadoc-browse" description="Build Javadoc." name="javadoc"/>
1436- <!--
1437- =========================
1438- TEST COMPILATION SECTION
1439- =========================
1440- -->
1441- <target depends="init,compile" if="have.tests" name="-pre-pre-compile-test">
1442- <mkdir dir="${build.test.classes.dir}"/>
1443- </target>
1444- <target name="-pre-compile-test">
1445- <!-- Empty placeholder for easier customization. -->
1446- <!-- You can override this target in the ../build.xml file. -->
1447- </target>
1448- <target if="do.depend.true" name="-compile-test-depend">
1449- <j2seproject3:depend classpath="${javac.test.classpath}" destdir="${build.test.classes.dir}" srcdir="${test.test.dir}"/>
1450- </target>
1451- <target depends="init,deps-jar,compile,-pre-pre-compile-test,-pre-compile-test,-compile-test-depend" if="have.tests" name="-do-compile-test">
1452- <j2seproject3:javac apgeneratedsrcdir="${build.test.classes.dir}" classpath="${javac.test.classpath}" debug="true" destdir="${build.test.classes.dir}" processorpath="${javac.test.processorpath}" srcdir="${test.test.dir}"/>
1453- <copy todir="${build.test.classes.dir}">
1454- <fileset dir="${test.test.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
1455- </copy>
1456- </target>
1457- <target name="-post-compile-test">
1458- <!-- Empty placeholder for easier customization. -->
1459- <!-- You can override this target in the ../build.xml file. -->
1460- </target>
1461- <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test,-do-compile-test,-post-compile-test" name="compile-test"/>
1462- <target name="-pre-compile-test-single">
1463- <!-- Empty placeholder for easier customization. -->
1464- <!-- You can override this target in the ../build.xml file. -->
1465- </target>
1466- <target depends="init,deps-jar,compile,-pre-pre-compile-test,-pre-compile-test-single" if="have.tests" name="-do-compile-test-single">
1467- <fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail>
1468- <j2seproject3:force-recompile destdir="${build.test.classes.dir}"/>
1469- <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.test.dir}" srcdir="${test.test.dir}"/>
1470- <copy todir="${build.test.classes.dir}">
1471- <fileset dir="${test.test.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
1472- </copy>
1473- </target>
1474- <target name="-post-compile-test-single">
1475- <!-- Empty placeholder for easier customization. -->
1476- <!-- You can override this target in the ../build.xml file. -->
1477- </target>
1478- <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test-single,-do-compile-test-single,-post-compile-test-single" name="compile-test-single"/>
1479- <!--
1480- =======================
1481- TEST EXECUTION SECTION
1482- =======================
1483- -->
1484- <target depends="init" if="have.tests" name="-pre-test-run">
1485- <mkdir dir="${build.test.results.dir}"/>
1486- </target>
1487- <target depends="init,compile-test,-pre-test-run" if="have.tests" name="-do-test-run">
1488- <j2seproject3:test testincludes="**/*Test.java"/>
1489- </target>
1490- <target depends="init,compile-test,-pre-test-run,-do-test-run" if="have.tests" name="-post-test-run">
1491- <fail if="tests.failed" unless="ignore.failing.tests">Some tests failed; see details above.</fail>
1492- </target>
1493- <target depends="init" if="have.tests" name="test-report"/>
1494- <target depends="init" if="netbeans.home+have.tests" name="-test-browse"/>
1495- <target depends="init,compile-test,-pre-test-run,-do-test-run,test-report,-post-test-run,-test-browse" description="Run unit tests." name="test"/>
1496- <target depends="init" if="have.tests" name="-pre-test-run-single">
1497- <mkdir dir="${build.test.results.dir}"/>
1498- </target>
1499- <target depends="init,compile-test-single,-pre-test-run-single" if="have.tests" name="-do-test-run-single">
1500- <fail unless="test.includes">Must select some files in the IDE or set test.includes</fail>
1501- <j2seproject3:test excludes="" includes="${test.includes}" testincludes="${test.includes}"/>
1502- </target>
1503- <target depends="init,compile-test-single,-pre-test-run-single,-do-test-run-single" if="have.tests" name="-post-test-run-single">
1504- <fail if="tests.failed" unless="ignore.failing.tests">Some tests failed; see details above.</fail>
1505- </target>
1506- <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"/>
1507- <target depends="init,compile-test-single,-pre-test-run-single" if="have.tests" name="-do-test-run-single-method">
1508- <fail unless="test.class">Must select some files in the IDE or set test.class</fail>
1509- <fail unless="test.method">Must select some method in the IDE or set test.method</fail>
1510- <j2seproject3:test excludes="" includes="${javac.includes}" testincludes="${test.class}" testmethods="${test.method}"/>
1511- </target>
1512- <target depends="init,compile-test-single,-pre-test-run-single,-do-test-run-single-method" if="have.tests" name="-post-test-run-single-method">
1513- <fail if="tests.failed" unless="ignore.failing.tests">Some tests failed; see details above.</fail>
1514- </target>
1515- <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"/>
1516- <!--
1517- =======================
1518- TEST DEBUGGING SECTION
1519- =======================
1520- -->
1521- <target depends="init,compile-test-single,-pre-test-run-single" if="have.tests" name="-debug-start-debuggee-test">
1522- <fail unless="test.class">Must select one file in the IDE or set test.class</fail>
1523- <j2seproject3:test-debug excludes="" includes="${javac.includes}" testClass="${test.class}" testincludes="${javac.includes}"/>
1524- </target>
1525- <target depends="init,compile-test-single,-pre-test-run-single" if="have.tests" name="-debug-start-debuggee-test-method">
1526- <fail unless="test.class">Must select one file in the IDE or set test.class</fail>
1527- <fail unless="test.method">Must select some method in the IDE or set test.method</fail>
1528- <j2seproject3:test-debug excludes="" includes="${javac.includes}" testClass="${test.class}" testMethod="${test.method}" testincludes="${test.class}" testmethods="${test.method}"/>
1529- </target>
1530- <target depends="init,compile-test" if="netbeans.home+have.tests" name="-debug-start-debugger-test">
1531- <j2seproject1:nbjpdastart classpath="${debug.test.classpath}" name="${test.class}"/>
1532- </target>
1533- <target depends="init,compile-test-single,-debug-start-debugger-test,-debug-start-debuggee-test" name="debug-test"/>
1534- <target depends="init,compile-test-single,-debug-start-debugger-test,-debug-start-debuggee-test-method" name="debug-test-method"/>
1535- <target depends="init,-pre-debug-fix,compile-test-single" if="netbeans.home" name="-do-debug-fix-test">
1536- <j2seproject1:nbjpdareload dir="${build.test.classes.dir}"/>
1537- </target>
1538- <target depends="init,-pre-debug-fix,-do-debug-fix-test" if="netbeans.home" name="debug-fix-test"/>
1539- <!--
1540- =========================
1541- APPLET EXECUTION SECTION
1542- =========================
1543- -->
1544- <target depends="init,compile-single" name="run-applet">
1545- <fail unless="applet.url">Must select one file in the IDE or set applet.url</fail>
1546- <j2seproject1:java classname="sun.applet.AppletViewer">
1547- <customize>
1548- <arg value="${applet.url}"/>
1549- </customize>
1550- </j2seproject1:java>
1551- </target>
1552- <!--
1553- =========================
1554- APPLET DEBUGGING SECTION
1555- =========================
1556- -->
1557- <target depends="init,compile-single" if="netbeans.home" name="-debug-start-debuggee-applet">
1558- <fail unless="applet.url">Must select one file in the IDE or set applet.url</fail>
1559- <j2seproject3:debug classname="sun.applet.AppletViewer">
1560- <customize>
1561- <arg value="${applet.url}"/>
1562- </customize>
1563- </j2seproject3:debug>
1564- </target>
1565- <target depends="init,compile-single,-debug-start-debugger,-debug-start-debuggee-applet" if="netbeans.home" name="debug-applet"/>
1566- <!--
1567- ===============
1568- CLEANUP SECTION
1569- ===============
1570- -->
1571- <target name="-deps-clean-init" unless="built-clean.properties">
1572- <property location="${build.dir}/built-clean.properties" name="built-clean.properties"/>
1573- <delete file="${built-clean.properties}" quiet="true"/>
1574- </target>
1575- <target if="already.built.clean.${basedir}" name="-warn-already-built-clean">
1576- <echo level="warn" message="Cycle detected: jMonkeyEngine3 was already built"/>
1577- </target>
1578- <target depends="init,-deps-clean-init" name="deps-clean" unless="no.deps">
1579- <mkdir dir="${build.dir}"/>
1580- <touch file="${built-clean.properties}" verbose="false"/>
1581- <property file="${built-clean.properties}" prefix="already.built.clean."/>
1582- <antcall target="-warn-already-built-clean"/>
1583- <propertyfile file="${built-clean.properties}">
1584- <entry key="${basedir}" value=""/>
1585- </propertyfile>
1586- </target>
1587- <target depends="init" name="-do-clean">
1588- <delete dir="${build.dir}"/>
1589- <delete dir="${dist.dir}" followsymlinks="false" includeemptydirs="true"/>
1590- </target>
1591- <target name="-post-clean">
1592- <!-- Empty placeholder for easier customization. -->
1593- <!-- You can override this target in the ../build.xml file. -->
1594- </target>
1595- <target depends="init,deps-clean,-do-clean,-post-clean" description="Clean build products." name="clean"/>
1596- <target name="-check-call-dep">
1597- <property file="${call.built.properties}" prefix="already.built."/>
1598- <condition property="should.call.dep">
1599- <and>
1600- <not>
1601- <isset property="already.built.${call.subproject}"/>
1602- </not>
1603- <available file="${call.script}"/>
1604- </and>
1605- </condition>
1606- </target>
1607- <target depends="-check-call-dep" if="should.call.dep" name="-maybe-call-dep">
1608- <ant antfile="${call.script}" inheritall="false" target="${call.target}">
1609- <propertyset>
1610- <propertyref prefix="transfer."/>
1611- <mapper from="transfer.*" to="*" type="glob"/>
1612- </propertyset>
1613- </ant>
1614- </target>
1615-</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+ - 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="jMonkeyEngine3-impl">
23+ <import file="jnlp-impl.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 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.test.dir}"/>
165+ </or>
166+ </condition>
167+ <condition property="have.sources">
168+ <or>
169+ <available file="${src.core.dir}"/>
170+ <available file="${src.core-data.dir}"/>
171+ <available file="${src.core-effects.dir}"/>
172+ <available file="${src.core-plugins.dir}"/>
173+ <available file="${src.desktop.dir}"/>
174+ <available file="${src.terrain.dir}"/>
175+ <available file="${src.jbullet.dir}"/>
176+ <available file="${src.bullet.dir}"/>
177+ <available file="${src.bullet-native.dir}"/>
178+ <available file="${src.bullet-common.dir}"/>
179+ <available file="${src.networking.dir}"/>
180+ <available file="${src.niftygui.dir}"/>
181+ <available file="${src.jogg.dir}"/>
182+ <available file="${src.ogre.dir}"/>
183+ <available file="${src.blender.dir}"/>
184+ <available file="${src.xml.dir}"/>
185+ <available file="${src.tools.dir}"/>
186+ <available file="${src.test.dir}"/>
187+ <available file="${src.lwjgl.dir}"/>
188+ <available file="${src.jogl.dir}"/>
189+ <available file="${src.android.dir}"/>
190+ <available file="${src.openal-soft-native.dir}"/>
191+ <available file="${src.ios.dir}"/>
192+ </or>
193+ </condition>
194+ <condition property="netbeans.home+have.tests">
195+ <and>
196+ <isset property="netbeans.home"/>
197+ <isset property="have.tests"/>
198+ </and>
199+ </condition>
200+ <condition property="no.javadoc.preview">
201+ <and>
202+ <isset property="javadoc.preview"/>
203+ <isfalse value="${javadoc.preview}"/>
204+ </and>
205+ </condition>
206+ <property name="run.jvmargs" value=""/>
207+ <property name="run.jvmargs.ide" value=""/>
208+ <property name="javac.compilerargs" value=""/>
209+ <property name="work.dir" value="${basedir}"/>
210+ <condition property="no.deps">
211+ <and>
212+ <istrue value="${no.dependencies}"/>
213+ </and>
214+ </condition>
215+ <property name="javac.debug" value="true"/>
216+ <property name="javadoc.preview" value="true"/>
217+ <property name="application.args" value=""/>
218+ <property name="source.encoding" value="${file.encoding}"/>
219+ <property name="runtime.encoding" value="${source.encoding}"/>
220+ <condition property="javadoc.encoding.used" value="${javadoc.encoding}">
221+ <and>
222+ <isset property="javadoc.encoding"/>
223+ <not>
224+ <equals arg1="${javadoc.encoding}" arg2=""/>
225+ </not>
226+ </and>
227+ </condition>
228+ <property name="javadoc.encoding.used" value="${source.encoding}"/>
229+ <property name="includes" value="**"/>
230+ <property name="excludes" value=""/>
231+ <property name="do.depend" value="false"/>
232+ <condition property="do.depend.true">
233+ <istrue value="${do.depend}"/>
234+ </condition>
235+ <path id="endorsed.classpath.path" path="${endorsed.classpath}"/>
236+ <condition else="" property="endorsed.classpath.cmd.line.arg" value="-Xbootclasspath/p:'${toString:endorsed.classpath.path}'">
237+ <length length="0" string="${endorsed.classpath}" when="greater"/>
238+ </condition>
239+ <condition else="false" property="jdkBug6558476">
240+ <and>
241+ <matches pattern="1\.[56]" string="${java.specification.version}"/>
242+ <not>
243+ <os family="unix"/>
244+ </not>
245+ </and>
246+ </condition>
247+ <property name="javac.fork" value="${jdkBug6558476}"/>
248+ <property name="jar.index" value="false"/>
249+ <property name="jar.index.metainf" value="${jar.index}"/>
250+ <property name="copylibs.rebase" value="true"/>
251+ <available file="${meta.inf.dir}/persistence.xml" property="has.persistence.xml"/>
252+ <condition property="junit.available">
253+ <or>
254+ <available classname="org.junit.Test" classpath="${run.test.classpath}"/>
255+ <available classname="junit.framework.Test" classpath="${run.test.classpath}"/>
256+ </or>
257+ </condition>
258+ <condition property="testng.available">
259+ <available classname="org.testng.annotations.Test" classpath="${run.test.classpath}"/>
260+ </condition>
261+ <condition property="junit+testng.available">
262+ <and>
263+ <istrue value="${junit.available}"/>
264+ <istrue value="${testng.available}"/>
265+ </and>
266+ </condition>
267+ <condition else="testng" property="testng.mode" value="mixed">
268+ <istrue value="${junit+testng.available}"/>
269+ </condition>
270+ <condition else="" property="testng.debug.mode" value="-mixed">
271+ <istrue value="${junit+testng.available}"/>
272+ </condition>
273+ </target>
274+ <target name="-post-init">
275+ <!-- Empty placeholder for easier customization. -->
276+ <!-- You can override this target in the ../build.xml file. -->
277+ </target>
278+ <target depends="-pre-init,-init-private,-init-libraries,-init-user,-init-project,-do-init" name="-init-check">
279+ <fail unless="src.core.dir">Must set src.core.dir</fail>
280+ <fail unless="src.core-data.dir">Must set src.core-data.dir</fail>
281+ <fail unless="src.core-effects.dir">Must set src.core-effects.dir</fail>
282+ <fail unless="src.core-plugins.dir">Must set src.core-plugins.dir</fail>
283+ <fail unless="src.desktop.dir">Must set src.desktop.dir</fail>
284+ <fail unless="src.terrain.dir">Must set src.terrain.dir</fail>
285+ <fail unless="src.jbullet.dir">Must set src.jbullet.dir</fail>
286+ <fail unless="src.bullet.dir">Must set src.bullet.dir</fail>
287+ <fail unless="src.bullet-native.dir">Must set src.bullet-native.dir</fail>
288+ <fail unless="src.bullet-common.dir">Must set src.bullet-common.dir</fail>
289+ <fail unless="src.networking.dir">Must set src.networking.dir</fail>
290+ <fail unless="src.niftygui.dir">Must set src.niftygui.dir</fail>
291+ <fail unless="src.jogg.dir">Must set src.jogg.dir</fail>
292+ <fail unless="src.ogre.dir">Must set src.ogre.dir</fail>
293+ <fail unless="src.blender.dir">Must set src.blender.dir</fail>
294+ <fail unless="src.xml.dir">Must set src.xml.dir</fail>
295+ <fail unless="src.tools.dir">Must set src.tools.dir</fail>
296+ <fail unless="src.test.dir">Must set src.test.dir</fail>
297+ <fail unless="src.lwjgl.dir">Must set src.lwjgl.dir</fail>
298+ <fail unless="src.jogl.dir">Must set src.jogl.dir</fail>
299+ <fail unless="src.android.dir">Must set src.android.dir</fail>
300+ <fail unless="src.openal-soft-native.dir">Must set src.openal-soft-native.dir</fail>
301+ <fail unless="src.ios.dir">Must set src.ios.dir</fail>
302+ <fail unless="test.test.dir">Must set test.test.dir</fail>
303+ <fail unless="build.dir">Must set build.dir</fail>
304+ <fail unless="dist.dir">Must set dist.dir</fail>
305+ <fail unless="build.classes.dir">Must set build.classes.dir</fail>
306+ <fail unless="dist.javadoc.dir">Must set dist.javadoc.dir</fail>
307+ <fail unless="build.test.classes.dir">Must set build.test.classes.dir</fail>
308+ <fail unless="build.test.results.dir">Must set build.test.results.dir</fail>
309+ <fail unless="build.classes.excludes">Must set build.classes.excludes</fail>
310+ <fail unless="dist.jar">Must set dist.jar</fail>
311+ </target>
312+ <target name="-init-macrodef-property">
313+ <macrodef name="property" uri="http://www.netbeans.org/ns/j2se-project/1">
314+ <attribute name="name"/>
315+ <attribute name="value"/>
316+ <sequential>
317+ <property name="@{name}" value="${@{value}}"/>
318+ </sequential>
319+ </macrodef>
320+ </target>
321+ <target depends="-init-ap-cmdline-properties" if="ap.supported.internal" name="-init-macrodef-javac-with-processors">
322+ <macrodef name="javac" uri="http://www.netbeans.org/ns/j2se-project/3">
323+ <attribute default="${src.openal-soft-native.dir}:${src.core.dir}:${src.core-data.dir}:${src.core-effects.dir}:${src.core-plugins.dir}:${src.desktop.dir}:${src.terrain.dir}:${src.jbullet.dir}:${src.bullet.dir}:${src.bullet-native.dir}:${src.bullet-common.dir}:${src.networking.dir}:${src.niftygui.dir}:${src.jogg.dir}:${src.ogre.dir}:${src.blender.dir}:${src.xml.dir}:${src.tools.dir}:${src.test.dir}:${src.lwjgl.dir}:${src.jogl.dir}:${src.android.dir}:${src.ios.dir}" name="srcdir"/>
324+ <attribute default="${build.classes.dir}" name="destdir"/>
325+ <attribute default="${javac.classpath}" name="classpath"/>
326+ <attribute default="${javac.processorpath}" name="processorpath"/>
327+ <attribute default="${build.generated.sources.dir}/ap-source-output" name="apgeneratedsrcdir"/>
328+ <attribute default="${includes}" name="includes"/>
329+ <attribute default="${excludes}" name="excludes"/>
330+ <attribute default="${javac.debug}" name="debug"/>
331+ <attribute default="${empty.dir}" name="sourcepath"/>
332+ <attribute default="${empty.dir}" name="gensrcdir"/>
333+ <element name="customize" optional="true"/>
334+ <sequential>
335+ <property location="${build.dir}/empty" name="empty.dir"/>
336+ <mkdir dir="${empty.dir}"/>
337+ <mkdir dir="@{apgeneratedsrcdir}"/>
338+ <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}">
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+ <compilerarg value="-processorpath"/>
350+ <compilerarg path="@{processorpath}:${empty.dir}"/>
351+ <compilerarg line="${ap.processors.internal}"/>
352+ <compilerarg line="${annotation.processing.processor.options}"/>
353+ <compilerarg value="-s"/>
354+ <compilerarg path="@{apgeneratedsrcdir}"/>
355+ <compilerarg line="${ap.proc.none.internal}"/>
356+ <customize/>
357+ </javac>
358+ </sequential>
359+ </macrodef>
360+ </target>
361+ <target depends="-init-ap-cmdline-properties" name="-init-macrodef-javac-without-processors" unless="ap.supported.internal">
362+ <macrodef name="javac" uri="http://www.netbeans.org/ns/j2se-project/3">
363+ <attribute default="${src.openal-soft-native.dir}:${src.core.dir}:${src.core-data.dir}:${src.core-effects.dir}:${src.core-plugins.dir}:${src.desktop.dir}:${src.terrain.dir}:${src.jbullet.dir}:${src.bullet.dir}:${src.bullet-native.dir}:${src.bullet-common.dir}:${src.networking.dir}:${src.niftygui.dir}:${src.jogg.dir}:${src.ogre.dir}:${src.blender.dir}:${src.xml.dir}:${src.tools.dir}:${src.test.dir}:${src.lwjgl.dir}:${src.jogl.dir}:${src.android.dir}:${src.ios.dir}" name="srcdir"/>
364+ <attribute default="${build.classes.dir}" name="destdir"/>
365+ <attribute default="${javac.classpath}" name="classpath"/>
366+ <attribute default="${javac.processorpath}" name="processorpath"/>
367+ <attribute default="${build.generated.sources.dir}/ap-source-output" name="apgeneratedsrcdir"/>
368+ <attribute default="${includes}" name="includes"/>
369+ <attribute default="${excludes}" name="excludes"/>
370+ <attribute default="${javac.debug}" name="debug"/>
371+ <attribute default="${empty.dir}" name="sourcepath"/>
372+ <attribute default="${empty.dir}" name="gensrcdir"/>
373+ <element name="customize" optional="true"/>
374+ <sequential>
375+ <property location="${build.dir}/empty" name="empty.dir"/>
376+ <mkdir dir="${empty.dir}"/>
377+ <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}">
378+ <src>
379+ <dirset dir="@{gensrcdir}" erroronmissingdir="false">
380+ <include name="*"/>
381+ </dirset>
382+ </src>
383+ <classpath>
384+ <path path="@{classpath}"/>
385+ </classpath>
386+ <compilerarg line="${endorsed.classpath.cmd.line.arg}"/>
387+ <compilerarg line="${javac.compilerargs}"/>
388+ <customize/>
389+ </javac>
390+ </sequential>
391+ </macrodef>
392+ </target>
393+ <target depends="-init-macrodef-javac-with-processors,-init-macrodef-javac-without-processors" name="-init-macrodef-javac">
394+ <macrodef name="depend" uri="http://www.netbeans.org/ns/j2se-project/3">
395+ <attribute default="${src.openal-soft-native.dir}:${src.core.dir}:${src.core-data.dir}:${src.core-effects.dir}:${src.core-plugins.dir}:${src.desktop.dir}:${src.terrain.dir}:${src.jbullet.dir}:${src.bullet.dir}:${src.bullet-native.dir}:${src.bullet-common.dir}:${src.networking.dir}:${src.niftygui.dir}:${src.jogg.dir}:${src.ogre.dir}:${src.blender.dir}:${src.xml.dir}:${src.tools.dir}:${src.test.dir}:${src.lwjgl.dir}:${src.jogl.dir}:${src.android.dir}:${src.ios.dir}" name="srcdir"/>
396+ <attribute default="${build.classes.dir}" name="destdir"/>
397+ <attribute default="${javac.classpath}" name="classpath"/>
398+ <sequential>
399+ <depend cache="${build.dir}/depcache" destdir="@{destdir}" excludes="${excludes}" includes="${includes}" srcdir="@{srcdir}">
400+ <classpath>
401+ <path path="@{classpath}"/>
402+ </classpath>
403+ </depend>
404+ </sequential>
405+ </macrodef>
406+ <macrodef name="force-recompile" uri="http://www.netbeans.org/ns/j2se-project/3">
407+ <attribute default="${build.classes.dir}" name="destdir"/>
408+ <sequential>
409+ <fail unless="javac.includes">Must set javac.includes</fail>
410+ <pathconvert pathsep="${line.separator}" property="javac.includes.binary">
411+ <path>
412+ <filelist dir="@{destdir}" files="${javac.includes}"/>
413+ </path>
414+ <globmapper from="*.java" to="*.class"/>
415+ </pathconvert>
416+ <tempfile deleteonexit="true" property="javac.includesfile.binary"/>
417+ <echo file="${javac.includesfile.binary}" message="${javac.includes.binary}"/>
418+ <delete>
419+ <files includesfile="${javac.includesfile.binary}"/>
420+ </delete>
421+ <delete>
422+ <fileset file="${javac.includesfile.binary}"/>
423+ </delete>
424+ </sequential>
425+ </macrodef>
426+ </target>
427+ <target if="${junit.available}" name="-init-macrodef-junit-init">
428+ <condition else="false" property="nb.junit.batch" value="true">
429+ <and>
430+ <istrue value="${junit.available}"/>
431+ <not>
432+ <isset property="test.method"/>
433+ </not>
434+ </and>
435+ </condition>
436+ <condition else="false" property="nb.junit.single" value="true">
437+ <and>
438+ <istrue value="${junit.available}"/>
439+ <isset property="test.method"/>
440+ </and>
441+ </condition>
442+ </target>
443+ <target if="${nb.junit.single}" name="-init-macrodef-junit-single" unless="${nb.junit.batch}">
444+ <macrodef name="junit" uri="http://www.netbeans.org/ns/j2se-project/3">
445+ <attribute default="${includes}" name="includes"/>
446+ <attribute default="${excludes}" name="excludes"/>
447+ <attribute default="**" name="testincludes"/>
448+ <attribute default="" name="testmethods"/>
449+ <element name="customize" optional="true"/>
450+ <sequential>
451+ <property name="junit.forkmode" value="perTest"/>
452+ <junit dir="${work.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" forkmode="${junit.forkmode}" showoutput="true" tempdir="${build.dir}">
453+ <test methods="@{testmethods}" name="@{testincludes}" todir="${build.test.results.dir}"/>
454+ <syspropertyset>
455+ <propertyref prefix="test-sys-prop."/>
456+ <mapper from="test-sys-prop.*" to="*" type="glob"/>
457+ </syspropertyset>
458+ <formatter type="brief" usefile="false"/>
459+ <formatter type="xml"/>
460+ <jvmarg value="-ea"/>
461+ <customize/>
462+ </junit>
463+ </sequential>
464+ </macrodef>
465+ </target>
466+ <target if="${nb.junit.batch}" name="-init-macrodef-junit-batch" unless="${nb.junit.single}">
467+ <macrodef name="junit" uri="http://www.netbeans.org/ns/j2se-project/3">
468+ <attribute default="${includes}" name="includes"/>
469+ <attribute default="${excludes}" name="excludes"/>
470+ <attribute default="**" name="testincludes"/>
471+ <attribute default="" name="testmethods"/>
472+ <element name="customize" optional="true"/>
473+ <sequential>
474+ <property name="junit.forkmode" value="perTest"/>
475+ <junit dir="${work.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" forkmode="${junit.forkmode}" showoutput="true" tempdir="${build.dir}">
476+ <batchtest todir="${build.test.results.dir}">
477+ <fileset dir="${test.test.dir}" excludes="@{excludes},${excludes}" includes="@{includes}">
478+ <filename name="@{testincludes}"/>
479+ </fileset>
480+ </batchtest>
481+ <syspropertyset>
482+ <propertyref prefix="test-sys-prop."/>
483+ <mapper from="test-sys-prop.*" to="*" type="glob"/>
484+ </syspropertyset>
485+ <formatter type="brief" usefile="false"/>
486+ <formatter type="xml"/>
487+ <jvmarg value="-ea"/>
488+ <customize/>
489+ </junit>
490+ </sequential>
491+ </macrodef>
492+ </target>
493+ <target depends="-init-macrodef-junit-init,-init-macrodef-junit-single, -init-macrodef-junit-batch" if="${junit.available}" name="-init-macrodef-junit"/>
494+ <target if="${testng.available}" name="-init-macrodef-testng">
495+ <macrodef name="testng" uri="http://www.netbeans.org/ns/j2se-project/3">
496+ <attribute default="${includes}" name="includes"/>
497+ <attribute default="${excludes}" name="excludes"/>
498+ <attribute default="**" name="testincludes"/>
499+ <attribute default="" name="testmethods"/>
500+ <element name="customize" optional="true"/>
501+ <sequential>
502+ <condition else="" property="testng.methods.arg" value="@{testincludes}.@{testmethods}">
503+ <isset property="test.method"/>
504+ </condition>
505+ <union id="test.set">
506+ <fileset dir="${test.test.dir}" excludes="@{excludes},**/*.xml,${excludes}" includes="@{includes}">
507+ <filename name="@{testincludes}"/>
508+ </fileset>
509+ </union>
510+ <taskdef classname="org.testng.TestNGAntTask" classpath="${run.test.classpath}" name="testng"/>
511+ <testng classfilesetref="test.set" failureProperty="tests.failed" methods="${testng.methods.arg}" mode="${testng.mode}" outputdir="${build.test.results.dir}" suitename="jMonkeyEngine3" testname="TestNG tests" workingDir="${work.dir}">
512+ <xmlfileset dir="${build.test.classes.dir}" includes="@{testincludes}"/>
513+ <propertyset>
514+ <propertyref prefix="test-sys-prop."/>
515+ <mapper from="test-sys-prop.*" to="*" type="glob"/>
516+ </propertyset>
517+ <customize/>
518+ </testng>
519+ </sequential>
520+ </macrodef>
521+ </target>
522+ <target name="-init-macrodef-test-impl">
523+ <macrodef name="test-impl" uri="http://www.netbeans.org/ns/j2se-project/3">
524+ <attribute default="${includes}" name="includes"/>
525+ <attribute default="${excludes}" name="excludes"/>
526+ <attribute default="**" name="testincludes"/>
527+ <attribute default="" name="testmethods"/>
528+ <element implicit="true" name="customize" optional="true"/>
529+ <sequential>
530+ <echo>No tests executed.</echo>
531+ </sequential>
532+ </macrodef>
533+ </target>
534+ <target depends="-init-macrodef-junit" if="${junit.available}" name="-init-macrodef-junit-impl">
535+ <macrodef name="test-impl" uri="http://www.netbeans.org/ns/j2se-project/3">
536+ <attribute default="${includes}" name="includes"/>
537+ <attribute default="${excludes}" name="excludes"/>
538+ <attribute default="**" name="testincludes"/>
539+ <attribute default="" name="testmethods"/>
540+ <element implicit="true" name="customize" optional="true"/>
541+ <sequential>
542+ <j2seproject3:junit excludes="@{excludes}" includes="@{includes}" testincludes="@{testincludes}" testmethods="@{testmethods}">
543+ <customize/>
544+ </j2seproject3:junit>
545+ </sequential>
546+ </macrodef>
547+ </target>
548+ <target depends="-init-macrodef-testng" if="${testng.available}" name="-init-macrodef-testng-impl">
549+ <macrodef name="test-impl" uri="http://www.netbeans.org/ns/j2se-project/3">
550+ <attribute default="${includes}" name="includes"/>
551+ <attribute default="${excludes}" name="excludes"/>
552+ <attribute default="**" name="testincludes"/>
553+ <attribute default="" name="testmethods"/>
554+ <element implicit="true" name="customize" optional="true"/>
555+ <sequential>
556+ <j2seproject3:testng excludes="@{excludes}" includes="@{includes}" testincludes="@{testincludes}" testmethods="@{testmethods}">
557+ <customize/>
558+ </j2seproject3:testng>
559+ </sequential>
560+ </macrodef>
561+ </target>
562+ <target depends="-init-macrodef-test-impl,-init-macrodef-junit-impl,-init-macrodef-testng-impl" name="-init-macrodef-test">
563+ <macrodef name="test" uri="http://www.netbeans.org/ns/j2se-project/3">
564+ <attribute default="${includes}" name="includes"/>
565+ <attribute default="${excludes}" name="excludes"/>
566+ <attribute default="**" name="testincludes"/>
567+ <attribute default="" name="testmethods"/>
568+ <sequential>
569+ <j2seproject3:test-impl excludes="@{excludes}" includes="@{includes}" testincludes="@{testincludes}" testmethods="@{testmethods}">
570+ <customize>
571+ <classpath>
572+ <path path="${run.test.classpath}"/>
573+ </classpath>
574+ <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
575+ <jvmarg line="${run.jvmargs}"/>
576+ <jvmarg line="${run.jvmargs.ide}"/>
577+ </customize>
578+ </j2seproject3:test-impl>
579+ </sequential>
580+ </macrodef>
581+ </target>
582+ <target if="${junit.available}" name="-init-macrodef-junit-debug" unless="${nb.junit.batch}">
583+ <macrodef name="junit-debug" uri="http://www.netbeans.org/ns/j2se-project/3">
584+ <attribute default="${includes}" name="includes"/>
585+ <attribute default="${excludes}" name="excludes"/>
586+ <attribute default="**" name="testincludes"/>
587+ <attribute default="" name="testmethods"/>
588+ <element name="customize" optional="true"/>
589+ <sequential>
590+ <property name="junit.forkmode" value="perTest"/>
591+ <junit dir="${work.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" forkmode="${junit.forkmode}" showoutput="true" tempdir="${build.dir}">
592+ <test methods="@{testmethods}" name="@{testincludes}" todir="${build.test.results.dir}"/>
593+ <syspropertyset>
594+ <propertyref prefix="test-sys-prop."/>
595+ <mapper from="test-sys-prop.*" to="*" type="glob"/>
596+ </syspropertyset>
597+ <formatter type="brief" usefile="false"/>
598+ <formatter type="xml"/>
599+ <jvmarg value="-ea"/>
600+ <jvmarg line="${debug-args-line}"/>
601+ <jvmarg value="-Xrunjdwp:transport=${debug-transport},address=${jpda.address}"/>
602+ <customize/>
603+ </junit>
604+ </sequential>
605+ </macrodef>
606+ </target>
607+ <target if="${nb.junit.batch}" name="-init-macrodef-junit-debug-batch">
608+ <macrodef name="junit-debug" uri="http://www.netbeans.org/ns/j2se-project/3">
609+ <attribute default="${includes}" name="includes"/>
610+ <attribute default="${excludes}" name="excludes"/>
611+ <attribute default="**" name="testincludes"/>
612+ <attribute default="" name="testmethods"/>
613+ <element name="customize" optional="true"/>
614+ <sequential>
615+ <property name="junit.forkmode" value="perTest"/>
616+ <junit dir="${work.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" forkmode="${junit.forkmode}" showoutput="true" tempdir="${build.dir}">
617+ <batchtest todir="${build.test.results.dir}">
618+ <fileset dir="${test.test.dir}" excludes="@{excludes},${excludes}" includes="@{includes}">
619+ <filename name="@{testincludes}"/>
620+ </fileset>
621+ </batchtest>
622+ <syspropertyset>
623+ <propertyref prefix="test-sys-prop."/>
624+ <mapper from="test-sys-prop.*" to="*" type="glob"/>
625+ </syspropertyset>
626+ <formatter type="brief" usefile="false"/>
627+ <formatter type="xml"/>
628+ <jvmarg value="-ea"/>
629+ <jvmarg line="${debug-args-line}"/>
630+ <jvmarg value="-Xrunjdwp:transport=${debug-transport},address=${jpda.address}"/>
631+ <customize/>
632+ </junit>
633+ </sequential>
634+ </macrodef>
635+ </target>
636+ <target depends="-init-macrodef-junit-debug,-init-macrodef-junit-debug-batch" if="${junit.available}" name="-init-macrodef-junit-debug-impl">
637+ <macrodef name="test-debug-impl" uri="http://www.netbeans.org/ns/j2se-project/3">
638+ <attribute default="${includes}" name="includes"/>
639+ <attribute default="${excludes}" name="excludes"/>
640+ <attribute default="**" name="testincludes"/>
641+ <attribute default="" name="testmethods"/>
642+ <element implicit="true" name="customize" optional="true"/>
643+ <sequential>
644+ <j2seproject3:junit-debug excludes="@{excludes}" includes="@{includes}" testincludes="@{testincludes}" testmethods="@{testmethods}">
645+ <customize/>
646+ </j2seproject3:junit-debug>
647+ </sequential>
648+ </macrodef>
649+ </target>
650+ <target if="${testng.available}" name="-init-macrodef-testng-debug">
651+ <macrodef name="testng-debug" uri="http://www.netbeans.org/ns/j2se-project/3">
652+ <attribute default="${main.class}" name="testClass"/>
653+ <attribute default="" name="testMethod"/>
654+ <element name="customize2" optional="true"/>
655+ <sequential>
656+ <condition else="-testclass @{testClass}" property="test.class.or.method" value="-methods @{testClass}.@{testMethod}">
657+ <isset property="test.method"/>
658+ </condition>
659+ <condition else="-suitename jMonkeyEngine3 -testname @{testClass} ${test.class.or.method}" property="testng.cmd.args" value="@{testClass}">
660+ <matches pattern=".*\.xml" string="@{testClass}"/>
661+ </condition>
662+ <delete dir="${build.test.results.dir}" quiet="true"/>
663+ <mkdir dir="${build.test.results.dir}"/>
664+ <j2seproject3:debug classname="org.testng.TestNG" classpath="${debug.test.classpath}">
665+ <customize>
666+ <customize2/>
667+ <jvmarg value="-ea"/>
668+ <arg line="${testng.debug.mode}"/>
669+ <arg line="-d ${build.test.results.dir}"/>
670+ <arg line="-listener org.testng.reporters.VerboseReporter"/>
671+ <arg line="${testng.cmd.args}"/>
672+ </customize>
673+ </j2seproject3:debug>
674+ </sequential>
675+ </macrodef>
676+ </target>
677+ <target depends="-init-macrodef-testng-debug" if="${testng.available}" name="-init-macrodef-testng-debug-impl">
678+ <macrodef name="testng-debug-impl" uri="http://www.netbeans.org/ns/j2se-project/3">
679+ <attribute default="${main.class}" name="testClass"/>
680+ <attribute default="" name="testMethod"/>
681+ <element implicit="true" name="customize2" optional="true"/>
682+ <sequential>
683+ <j2seproject3:testng-debug testClass="@{testClass}" testMethod="@{testMethod}">
684+ <customize2/>
685+ </j2seproject3:testng-debug>
686+ </sequential>
687+ </macrodef>
688+ </target>
689+ <target depends="-init-macrodef-junit-debug-impl" if="${junit.available}" name="-init-macrodef-test-debug-junit">
690+ <macrodef name="test-debug" uri="http://www.netbeans.org/ns/j2se-project/3">
691+ <attribute default="${includes}" name="includes"/>
692+ <attribute default="${excludes}" name="excludes"/>
693+ <attribute default="**" name="testincludes"/>
694+ <attribute default="" name="testmethods"/>
695+ <attribute default="${main.class}" name="testClass"/>
696+ <attribute default="" name="testMethod"/>
697+ <sequential>
698+ <j2seproject3:test-debug-impl excludes="@{excludes}" includes="@{includes}" testincludes="@{testincludes}" testmethods="@{testmethods}">
699+ <customize>
700+ <classpath>
701+ <path path="${run.test.classpath}"/>
702+ </classpath>
703+ <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
704+ <jvmarg line="${run.jvmargs}"/>
705+ <jvmarg line="${run.jvmargs.ide}"/>
706+ </customize>
707+ </j2seproject3:test-debug-impl>
708+ </sequential>
709+ </macrodef>
710+ </target>
711+ <target depends="-init-macrodef-testng-debug-impl" if="${testng.available}" name="-init-macrodef-test-debug-testng">
712+ <macrodef name="test-debug" uri="http://www.netbeans.org/ns/j2se-project/3">
713+ <attribute default="${includes}" name="includes"/>
714+ <attribute default="${excludes}" name="excludes"/>
715+ <attribute default="**" name="testincludes"/>
716+ <attribute default="" name="testmethods"/>
717+ <attribute default="${main.class}" name="testClass"/>
718+ <attribute default="" name="testMethod"/>
719+ <sequential>
720+ <j2seproject3:testng-debug-impl testClass="@{testClass}" testMethod="@{testMethod}">
721+ <customize2>
722+ <syspropertyset>
723+ <propertyref prefix="test-sys-prop."/>
724+ <mapper from="test-sys-prop.*" to="*" type="glob"/>
725+ </syspropertyset>
726+ </customize2>
727+ </j2seproject3:testng-debug-impl>
728+ </sequential>
729+ </macrodef>
730+ </target>
731+ <target depends="-init-macrodef-test-debug-junit,-init-macrodef-test-debug-testng" name="-init-macrodef-test-debug"/>
732+ <!--
733+ pre NB7.2 profiling section; consider it deprecated
734+ -->
735+ <target depends="-profile-pre-init, init, -profile-post-init, -profile-init-macrodef-profile, -profile-init-check" if="profiler.info.jvmargs.agent" name="profile-init"/>
736+ <target if="profiler.info.jvmargs.agent" name="-profile-pre-init">
737+ <!-- Empty placeholder for easier customization. -->
738+ <!-- You can override this target in the ../build.xml file. -->
739+ </target>
740+ <target if="profiler.info.jvmargs.agent" name="-profile-post-init">
741+ <!-- Empty placeholder for easier customization. -->
742+ <!-- You can override this target in the ../build.xml file. -->
743+ </target>
744+ <target if="profiler.info.jvmargs.agent" name="-profile-init-macrodef-profile">
745+ <macrodef name="resolve">
746+ <attribute name="name"/>
747+ <attribute name="value"/>
748+ <sequential>
749+ <property name="@{name}" value="${env.@{value}}"/>
750+ </sequential>
751+ </macrodef>
752+ <macrodef name="profile">
753+ <attribute default="${main.class}" name="classname"/>
754+ <element name="customize" optional="true"/>
755+ <sequential>
756+ <property environment="env"/>
757+ <resolve name="profiler.current.path" value="${profiler.info.pathvar}"/>
758+ <java classname="@{classname}" dir="${profiler.info.dir}" fork="true" jvm="${profiler.info.jvm}">
759+ <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
760+ <jvmarg value="${profiler.info.jvmargs.agent}"/>
761+ <jvmarg line="${profiler.info.jvmargs}"/>
762+ <env key="${profiler.info.pathvar}" path="${profiler.info.agentpath}:${profiler.current.path}"/>
763+ <arg line="${application.args}"/>
764+ <classpath>
765+ <path path="${run.classpath}"/>
766+ </classpath>
767+ <syspropertyset>
768+ <propertyref prefix="run-sys-prop."/>
769+ <mapper from="run-sys-prop.*" to="*" type="glob"/>
770+ </syspropertyset>
771+ <customize/>
772+ </java>
773+ </sequential>
774+ </macrodef>
775+ </target>
776+ <target depends="-profile-pre-init, init, -profile-post-init, -profile-init-macrodef-profile" if="profiler.info.jvmargs.agent" name="-profile-init-check">
777+ <fail unless="profiler.info.jvm">Must set JVM to use for profiling in profiler.info.jvm</fail>
778+ <fail unless="profiler.info.jvmargs.agent">Must set profiler agent JVM arguments in profiler.info.jvmargs.agent</fail>
779+ </target>
780+ <!--
781+ end of pre NB7.2 profiling section
782+ -->
783+ <target depends="-init-debug-args" name="-init-macrodef-nbjpda">
784+ <macrodef name="nbjpdastart" uri="http://www.netbeans.org/ns/j2se-project/1">
785+ <attribute default="${main.class}" name="name"/>
786+ <attribute default="${debug.classpath}" name="classpath"/>
787+ <attribute default="" name="stopclassname"/>
788+ <sequential>
789+ <nbjpdastart addressproperty="jpda.address" name="@{name}" stopclassname="@{stopclassname}" transport="${debug-transport}">
790+ <classpath>
791+ <path path="@{classpath}"/>
792+ </classpath>
793+ </nbjpdastart>
794+ </sequential>
795+ </macrodef>
796+ <macrodef name="nbjpdareload" uri="http://www.netbeans.org/ns/j2se-project/1">
797+ <attribute default="${build.classes.dir}" name="dir"/>
798+ <sequential>
799+ <nbjpdareload>
800+ <fileset dir="@{dir}" includes="${fix.classes}">
801+ <include name="${fix.includes}*.class"/>
802+ </fileset>
803+ </nbjpdareload>
804+ </sequential>
805+ </macrodef>
806+ </target>
807+ <target name="-init-debug-args">
808+ <property name="version-output" value="java version &quot;${ant.java.version}"/>
809+ <condition property="have-jdk-older-than-1.4">
810+ <or>
811+ <contains string="${version-output}" substring="java version &quot;1.0"/>
812+ <contains string="${version-output}" substring="java version &quot;1.1"/>
813+ <contains string="${version-output}" substring="java version &quot;1.2"/>
814+ <contains string="${version-output}" substring="java version &quot;1.3"/>
815+ </or>
816+ </condition>
817+ <condition else="-Xdebug" property="debug-args-line" value="-Xdebug -Xnoagent -Djava.compiler=none">
818+ <istrue value="${have-jdk-older-than-1.4}"/>
819+ </condition>
820+ <condition else="dt_socket" property="debug-transport-by-os" value="dt_shmem">
821+ <os family="windows"/>
822+ </condition>
823+ <condition else="${debug-transport-by-os}" property="debug-transport" value="${debug.transport}">
824+ <isset property="debug.transport"/>
825+ </condition>
826+ </target>
827+ <target depends="-init-debug-args" name="-init-macrodef-debug">
828+ <macrodef name="debug" uri="http://www.netbeans.org/ns/j2se-project/3">
829+ <attribute default="${main.class}" name="classname"/>
830+ <attribute default="${debug.classpath}" name="classpath"/>
831+ <element name="customize" optional="true"/>
832+ <sequential>
833+ <java classname="@{classname}" dir="${work.dir}" fork="true">
834+ <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
835+ <jvmarg line="${debug-args-line}"/>
836+ <jvmarg value="-Xrunjdwp:transport=${debug-transport},address=${jpda.address}"/>
837+ <jvmarg value="-Dfile.encoding=${runtime.encoding}"/>
838+ <redirector errorencoding="${runtime.encoding}" inputencoding="${runtime.encoding}" outputencoding="${runtime.encoding}"/>
839+ <jvmarg line="${run.jvmargs}"/>
840+ <jvmarg line="${run.jvmargs.ide}"/>
841+ <classpath>
842+ <path path="@{classpath}"/>
843+ </classpath>
844+ <syspropertyset>
845+ <propertyref prefix="run-sys-prop."/>
846+ <mapper from="run-sys-prop.*" to="*" type="glob"/>
847+ </syspropertyset>
848+ <customize/>
849+ </java>
850+ </sequential>
851+ </macrodef>
852+ </target>
853+ <target name="-init-macrodef-java">
854+ <macrodef name="java" uri="http://www.netbeans.org/ns/j2se-project/1">
855+ <attribute default="${main.class}" name="classname"/>
856+ <attribute default="${run.classpath}" name="classpath"/>
857+ <attribute default="jvm" name="jvm"/>
858+ <element name="customize" optional="true"/>
859+ <sequential>
860+ <java classname="@{classname}" dir="${work.dir}" fork="true">
861+ <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
862+ <jvmarg value="-Dfile.encoding=${runtime.encoding}"/>
863+ <redirector errorencoding="${runtime.encoding}" inputencoding="${runtime.encoding}" outputencoding="${runtime.encoding}"/>
864+ <jvmarg line="${run.jvmargs}"/>
865+ <jvmarg line="${run.jvmargs.ide}"/>
866+ <classpath>
867+ <path path="@{classpath}"/>
868+ </classpath>
869+ <syspropertyset>
870+ <propertyref prefix="run-sys-prop."/>
871+ <mapper from="run-sys-prop.*" to="*" type="glob"/>
872+ </syspropertyset>
873+ <customize/>
874+ </java>
875+ </sequential>
876+ </macrodef>
877+ </target>
878+ <target name="-init-macrodef-copylibs">
879+ <macrodef name="copylibs" uri="http://www.netbeans.org/ns/j2se-project/3">
880+ <attribute default="${manifest.file}" name="manifest"/>
881+ <element name="customize" optional="true"/>
882+ <sequential>
883+ <property location="${build.classes.dir}" name="build.classes.dir.resolved"/>
884+ <pathconvert property="run.classpath.without.build.classes.dir">
885+ <path path="${run.classpath}"/>
886+ <map from="${build.classes.dir.resolved}" to=""/>
887+ </pathconvert>
888+ <pathconvert pathsep=" " property="jar.classpath">
889+ <path path="${run.classpath.without.build.classes.dir}"/>
890+ <chainedmapper>
891+ <flattenmapper/>
892+ <filtermapper>
893+ <replacestring from=" " to="%20"/>
894+ </filtermapper>
895+ <globmapper from="*" to="lib/*"/>
896+ </chainedmapper>
897+ </pathconvert>
898+ <taskdef classname="org.netbeans.modules.java.j2seproject.copylibstask.CopyLibs" classpath="${libs.CopyLibs.classpath}" name="copylibs"/>
899+ <copylibs compress="${jar.compress}" index="${jar.index}" indexMetaInf="${jar.index.metainf}" jarfile="${dist.jar}" manifest="@{manifest}" rebase="${copylibs.rebase}" runtimeclasspath="${run.classpath.without.build.classes.dir}">
900+ <fileset dir="${build.classes.dir}"/>
901+ <manifest>
902+ <attribute name="Class-Path" value="${jar.classpath}"/>
903+ <customize/>
904+ </manifest>
905+ </copylibs>
906+ </sequential>
907+ </macrodef>
908+ </target>
909+ <target name="-init-presetdef-jar">
910+ <presetdef name="jar" uri="http://www.netbeans.org/ns/j2se-project/1">
911+ <jar compress="${jar.compress}" index="${jar.index}" jarfile="${dist.jar}">
912+ <j2seproject1:fileset dir="${build.classes.dir}"/>
913+ </jar>
914+ </presetdef>
915+ </target>
916+ <target name="-init-ap-cmdline-properties">
917+ <property name="annotation.processing.enabled" value="true"/>
918+ <property name="annotation.processing.processors.list" value=""/>
919+ <property name="annotation.processing.processor.options" value=""/>
920+ <property name="annotation.processing.run.all.processors" value="true"/>
921+ <property name="javac.processorpath" value="${javac.classpath}"/>
922+ <property name="javac.test.processorpath" value="${javac.test.classpath}"/>
923+ <condition property="ap.supported.internal" value="true">
924+ <not>
925+ <matches pattern="1\.[0-5](\..*)?" string="${javac.source}"/>
926+ </not>
927+ </condition>
928+ </target>
929+ <target depends="-init-ap-cmdline-properties" if="ap.supported.internal" name="-init-ap-cmdline-supported">
930+ <condition else="" property="ap.processors.internal" value="-processor ${annotation.processing.processors.list}">
931+ <isfalse value="${annotation.processing.run.all.processors}"/>
932+ </condition>
933+ <condition else="" property="ap.proc.none.internal" value="-proc:none">
934+ <isfalse value="${annotation.processing.enabled}"/>
935+ </condition>
936+ </target>
937+ <target depends="-init-ap-cmdline-properties,-init-ap-cmdline-supported" name="-init-ap-cmdline">
938+ <property name="ap.cmd.line.internal" value=""/>
939+ </target>
940+ <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-test,-init-macrodef-test-debug,-init-macrodef-nbjpda,-init-macrodef-debug,-init-macrodef-java,-init-presetdef-jar,-init-ap-cmdline" name="init"/>
941+ <!--
942+ ===================
943+ COMPILATION SECTION
944+ ===================
945+ -->
946+ <target name="-deps-jar-init" unless="built-jar.properties">
947+ <property location="${build.dir}/built-jar.properties" name="built-jar.properties"/>
948+ <delete file="${built-jar.properties}" quiet="true"/>
949+ </target>
950+ <target if="already.built.jar.${basedir}" name="-warn-already-built-jar">
951+ <echo level="warn" message="Cycle detected: jMonkeyEngine3 was already built"/>
952+ </target>
953+ <target depends="init,-deps-jar-init" name="deps-jar" unless="no.deps">
954+ <mkdir dir="${build.dir}"/>
955+ <touch file="${built-jar.properties}" verbose="false"/>
956+ <property file="${built-jar.properties}" prefix="already.built.jar."/>
957+ <antcall target="-warn-already-built-jar"/>
958+ <propertyfile file="${built-jar.properties}">
959+ <entry key="${basedir}" value=""/>
960+ </propertyfile>
961+ </target>
962+ <target depends="init,-check-automatic-build,-clean-after-automatic-build" name="-verify-automatic-build"/>
963+ <target depends="init" name="-check-automatic-build">
964+ <available file="${build.classes.dir}/.netbeans_automatic_build" property="netbeans.automatic.build"/>
965+ </target>
966+ <target depends="init" if="netbeans.automatic.build" name="-clean-after-automatic-build">
967+ <antcall target="clean"/>
968+ </target>
969+ <target depends="init,deps-jar" name="-pre-pre-compile">
970+ <mkdir dir="${build.classes.dir}"/>
971+ </target>
972+ <target name="-pre-compile">
973+ <!-- Empty placeholder for easier customization. -->
974+ <!-- You can override this target in the ../build.xml file. -->
975+ </target>
976+ <target if="do.depend.true" name="-compile-depend">
977+ <pathconvert property="build.generated.subdirs">
978+ <dirset dir="${build.generated.sources.dir}" erroronmissingdir="false">
979+ <include name="*"/>
980+ </dirset>
981+ </pathconvert>
982+ <j2seproject3:depend srcdir="${src.openal-soft-native.dir}:${src.core.dir}:${src.core-data.dir}:${src.core-effects.dir}:${src.core-plugins.dir}:${src.desktop.dir}:${src.terrain.dir}:${src.jbullet.dir}:${src.bullet.dir}:${src.bullet-native.dir}:${src.bullet-common.dir}:${src.networking.dir}:${src.niftygui.dir}:${src.jogg.dir}:${src.ogre.dir}:${src.blender.dir}:${src.xml.dir}:${src.tools.dir}:${src.test.dir}:${src.lwjgl.dir}:${src.jogl.dir}:${src.android.dir}:${src.ios.dir}:${build.generated.subdirs}"/>
983+ </target>
984+ <target depends="init,deps-jar,-pre-pre-compile,-pre-compile, -copy-persistence-xml,-compile-depend" if="have.sources" name="-do-compile">
985+ <j2seproject3:javac gensrcdir="${build.generated.sources.dir}"/>
986+ <copy todir="${build.classes.dir}">
987+ <fileset dir="${src.openal-soft-native.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
988+ <fileset dir="${src.core.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
989+ <fileset dir="${src.core-data.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
990+ <fileset dir="${src.core-effects.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
991+ <fileset dir="${src.core-plugins.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
992+ <fileset dir="${src.desktop.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
993+ <fileset dir="${src.terrain.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
994+ <fileset dir="${src.jbullet.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
995+ <fileset dir="${src.bullet.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
996+ <fileset dir="${src.bullet-native.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
997+ <fileset dir="${src.bullet-common.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
998+ <fileset dir="${src.networking.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
999+ <fileset dir="${src.niftygui.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
1000+ <fileset dir="${src.jogg.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
1001+ <fileset dir="${src.ogre.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
1002+ <fileset dir="${src.blender.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
1003+ <fileset dir="${src.xml.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
1004+ <fileset dir="${src.tools.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
1005+ <fileset dir="${src.test.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
1006+ <fileset dir="${src.lwjgl.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
1007+ <fileset dir="${src.jogl.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
1008+ <fileset dir="${src.android.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
1009+ <fileset dir="${src.ios.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
1010+ </copy>
1011+ </target>
1012+ <target if="has.persistence.xml" name="-copy-persistence-xml">
1013+ <mkdir dir="${build.classes.dir}/META-INF"/>
1014+ <copy todir="${build.classes.dir}/META-INF">
1015+ <fileset dir="${meta.inf.dir}" includes="persistence.xml"/>
1016+ </copy>
1017+ </target>
1018+ <target name="-post-compile">
1019+ <!-- Empty placeholder for easier customization. -->
1020+ <!-- You can override this target in the ../build.xml file. -->
1021+ </target>
1022+ <target depends="init,deps-jar,-verify-automatic-build,-pre-pre-compile,-pre-compile,-do-compile,-post-compile" description="Compile project." name="compile"/>
1023+ <target name="-pre-compile-single">
1024+ <!-- Empty placeholder for easier customization. -->
1025+ <!-- You can override this target in the ../build.xml file. -->
1026+ </target>
1027+ <target depends="init,deps-jar,-pre-pre-compile" name="-do-compile-single">
1028+ <fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail>
1029+ <j2seproject3:force-recompile/>
1030+ <j2seproject3:javac excludes="" gensrcdir="${build.generated.sources.dir}" includes="${javac.includes}" sourcepath="${src.openal-soft-native.dir}:${src.core.dir}:${src.core-data.dir}:${src.core-effects.dir}:${src.core-plugins.dir}:${src.desktop.dir}:${src.terrain.dir}:${src.jbullet.dir}:${src.bullet.dir}:${src.bullet-native.dir}:${src.bullet-common.dir}:${src.networking.dir}:${src.niftygui.dir}:${src.jogg.dir}:${src.ogre.dir}:${src.blender.dir}:${src.xml.dir}:${src.tools.dir}:${src.test.dir}:${src.lwjgl.dir}:${src.jogl.dir}:${src.android.dir}:${src.ios.dir}"/>
1031+ </target>
1032+ <target name="-post-compile-single">
1033+ <!-- Empty placeholder for easier customization. -->
1034+ <!-- You can override this target in the ../build.xml file. -->
1035+ </target>
1036+ <target depends="init,deps-jar,-verify-automatic-build,-pre-pre-compile,-pre-compile-single,-do-compile-single,-post-compile-single" name="compile-single"/>
1037+ <!--
1038+ ====================
1039+ JAR BUILDING SECTION
1040+ ====================
1041+ -->
1042+ <target depends="init" name="-pre-pre-jar">
1043+ <dirname file="${dist.jar}" property="dist.jar.dir"/>
1044+ <mkdir dir="${dist.jar.dir}"/>
1045+ </target>
1046+ <target name="-pre-jar">
1047+ <!-- Empty placeholder for easier customization. -->
1048+ <!-- You can override this target in the ../build.xml file. -->
1049+ </target>
1050+ <target depends="init,compile,-pre-pre-jar,-pre-jar" if="do.archive" name="-do-jar-without-manifest" unless="manifest.available-mkdist.available">
1051+ <j2seproject1:jar/>
1052+ </target>
1053+ <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">
1054+ <j2seproject1:jar manifest="${manifest.file}"/>
1055+ </target>
1056+ <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">
1057+ <j2seproject1:jar manifest="${manifest.file}">
1058+ <j2seproject1:manifest>
1059+ <j2seproject1:attribute name="Main-Class" value="${main.class}"/>
1060+ </j2seproject1:manifest>
1061+ </j2seproject1:jar>
1062+ <echo level="info">To run this application from the command line without Ant, try:</echo>
1063+ <property location="${build.classes.dir}" name="build.classes.dir.resolved"/>
1064+ <property location="${dist.jar}" name="dist.jar.resolved"/>
1065+ <pathconvert property="run.classpath.with.dist.jar">
1066+ <path path="${run.classpath}"/>
1067+ <map from="${build.classes.dir.resolved}" to="${dist.jar.resolved}"/>
1068+ </pathconvert>
1069+ <echo level="info">java -cp "${run.classpath.with.dist.jar}" ${main.class}</echo>
1070+ </target>
1071+ <target depends="init" if="do.archive" name="-do-jar-with-libraries-create-manifest" unless="manifest.available">
1072+ <tempfile deleteonexit="true" destdir="${build.dir}" property="tmp.manifest.file"/>
1073+ <touch file="${tmp.manifest.file}" verbose="false"/>
1074+ </target>
1075+ <target depends="init" if="do.archive+manifest.available" name="-do-jar-with-libraries-copy-manifest">
1076+ <tempfile deleteonexit="true" destdir="${build.dir}" property="tmp.manifest.file"/>
1077+ <copy file="${manifest.file}" tofile="${tmp.manifest.file}"/>
1078+ </target>
1079+ <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">
1080+ <manifest file="${tmp.manifest.file}" mode="update">
1081+ <attribute name="Main-Class" value="${main.class}"/>
1082+ </manifest>
1083+ </target>
1084+ <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">
1085+ <basename file="${application.splash}" property="splashscreen.basename"/>
1086+ <mkdir dir="${build.classes.dir}/META-INF"/>
1087+ <copy failonerror="false" file="${application.splash}" todir="${build.classes.dir}/META-INF"/>
1088+ <manifest file="${tmp.manifest.file}" mode="update">
1089+ <attribute name="SplashScreen-Image" value="META-INF/${splashscreen.basename}"/>
1090+ </manifest>
1091+ </target>
1092+ <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">
1093+ <j2seproject3:copylibs manifest="${tmp.manifest.file}"/>
1094+ <echo level="info">To run this application from the command line without Ant, try:</echo>
1095+ <property location="${dist.jar}" name="dist.jar.resolved"/>
1096+ <echo level="info">java -jar "${dist.jar.resolved}"</echo>
1097+ </target>
1098+ <target depends="-do-jar-with-libraries-pack" if="do.archive" name="-do-jar-with-libraries-delete-manifest">
1099+ <delete>
1100+ <fileset file="${tmp.manifest.file}"/>
1101+ </delete>
1102+ </target>
1103+ <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"/>
1104+ <target name="-post-jar">
1105+ <!-- Empty placeholder for easier customization. -->
1106+ <!-- You can override this target in the ../build.xml file. -->
1107+ </target>
1108+ <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"/>
1109+ <!--
1110+ =================
1111+ EXECUTION SECTION
1112+ =================
1113+ -->
1114+ <target depends="init,compile" description="Run a main class." name="run">
1115+ <j2seproject1:java>
1116+ <customize>
1117+ <arg line="${application.args}"/>
1118+ </customize>
1119+ </j2seproject1:java>
1120+ </target>
1121+ <target name="-do-not-recompile">
1122+ <property name="javac.includes.binary" value=""/>
1123+ </target>
1124+ <target depends="init,compile-single" name="run-single">
1125+ <fail unless="run.class">Must select one file in the IDE or set run.class</fail>
1126+ <j2seproject1:java classname="${run.class}"/>
1127+ </target>
1128+ <target depends="init,compile-test-single" name="run-test-with-main">
1129+ <fail unless="run.class">Must select one file in the IDE or set run.class</fail>
1130+ <j2seproject1:java classname="${run.class}" classpath="${run.test.classpath}"/>
1131+ </target>
1132+ <!--
1133+ =================
1134+ DEBUGGING SECTION
1135+ =================
1136+ -->
1137+ <target depends="init" if="netbeans.home" name="-debug-start-debugger">
1138+ <j2seproject1:nbjpdastart name="${debug.class}"/>
1139+ </target>
1140+ <target depends="init" if="netbeans.home" name="-debug-start-debugger-main-test">
1141+ <j2seproject1:nbjpdastart classpath="${debug.test.classpath}" name="${debug.class}"/>
1142+ </target>
1143+ <target depends="init,compile" name="-debug-start-debuggee">
1144+ <j2seproject3:debug>
1145+ <customize>
1146+ <arg line="${application.args}"/>
1147+ </customize>
1148+ </j2seproject3:debug>
1149+ </target>
1150+ <target depends="init,compile,-debug-start-debugger,-debug-start-debuggee" description="Debug project in IDE." if="netbeans.home" name="debug"/>
1151+ <target depends="init" if="netbeans.home" name="-debug-start-debugger-stepinto">
1152+ <j2seproject1:nbjpdastart stopclassname="${main.class}"/>
1153+ </target>
1154+ <target depends="init,compile,-debug-start-debugger-stepinto,-debug-start-debuggee" if="netbeans.home" name="debug-stepinto"/>
1155+ <target depends="init,compile-single" if="netbeans.home" name="-debug-start-debuggee-single">
1156+ <fail unless="debug.class">Must select one file in the IDE or set debug.class</fail>
1157+ <j2seproject3:debug classname="${debug.class}"/>
1158+ </target>
1159+ <target depends="init,compile-single,-debug-start-debugger,-debug-start-debuggee-single" if="netbeans.home" name="debug-single"/>
1160+ <target depends="init,compile-test-single" if="netbeans.home" name="-debug-start-debuggee-main-test">
1161+ <fail unless="debug.class">Must select one file in the IDE or set debug.class</fail>
1162+ <j2seproject3:debug classname="${debug.class}" classpath="${debug.test.classpath}"/>
1163+ </target>
1164+ <target depends="init,compile-test-single,-debug-start-debugger-main-test,-debug-start-debuggee-main-test" if="netbeans.home" name="debug-test-with-main"/>
1165+ <target depends="init" name="-pre-debug-fix">
1166+ <fail unless="fix.includes">Must set fix.includes</fail>
1167+ <property name="javac.includes" value="${fix.includes}.java"/>
1168+ </target>
1169+ <target depends="init,-pre-debug-fix,compile-single" if="netbeans.home" name="-do-debug-fix">
1170+ <j2seproject1:nbjpdareload/>
1171+ </target>
1172+ <target depends="init,-pre-debug-fix,-do-debug-fix" if="netbeans.home" name="debug-fix"/>
1173+ <!--
1174+ =================
1175+ PROFILING SECTION
1176+ =================
1177+ -->
1178+ <!--
1179+ pre NB7.2 profiler integration
1180+ -->
1181+ <target depends="profile-init,compile" description="Profile a project in the IDE." if="profiler.info.jvmargs.agent" name="-profile-pre72">
1182+ <fail unless="netbeans.home">This target only works when run from inside the NetBeans IDE.</fail>
1183+ <nbprofiledirect>
1184+ <classpath>
1185+ <path path="${run.classpath}"/>
1186+ </classpath>
1187+ </nbprofiledirect>
1188+ <profile/>
1189+ </target>
1190+ <target depends="profile-init,compile-single" description="Profile a selected class in the IDE." if="profiler.info.jvmargs.agent" name="-profile-single-pre72">
1191+ <fail unless="profile.class">Must select one file in the IDE or set profile.class</fail>
1192+ <fail unless="netbeans.home">This target only works when run from inside the NetBeans IDE.</fail>
1193+ <nbprofiledirect>
1194+ <classpath>
1195+ <path path="${run.classpath}"/>
1196+ </classpath>
1197+ </nbprofiledirect>
1198+ <profile classname="${profile.class}"/>
1199+ </target>
1200+ <target depends="profile-init,compile-single" if="profiler.info.jvmargs.agent" name="-profile-applet-pre72">
1201+ <fail unless="netbeans.home">This target only works when run from inside the NetBeans IDE.</fail>
1202+ <nbprofiledirect>
1203+ <classpath>
1204+ <path path="${run.classpath}"/>
1205+ </classpath>
1206+ </nbprofiledirect>
1207+ <profile classname="sun.applet.AppletViewer">
1208+ <customize>
1209+ <arg value="${applet.url}"/>
1210+ </customize>
1211+ </profile>
1212+ </target>
1213+ <target depends="profile-init,compile-test-single" if="profiler.info.jvmargs.agent" name="-profile-test-single-pre72">
1214+ <fail unless="netbeans.home">This target only works when run from inside the NetBeans IDE.</fail>
1215+ <nbprofiledirect>
1216+ <classpath>
1217+ <path path="${run.test.classpath}"/>
1218+ </classpath>
1219+ </nbprofiledirect>
1220+ <junit dir="${profiler.info.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" jvm="${profiler.info.jvm}" showoutput="true">
1221+ <env key="${profiler.info.pathvar}" path="${profiler.info.agentpath}:${profiler.current.path}"/>
1222+ <jvmarg value="${profiler.info.jvmargs.agent}"/>
1223+ <jvmarg line="${profiler.info.jvmargs}"/>
1224+ <test name="${profile.class}"/>
1225+ <classpath>
1226+ <path path="${run.test.classpath}"/>
1227+ </classpath>
1228+ <syspropertyset>
1229+ <propertyref prefix="test-sys-prop."/>
1230+ <mapper from="test-sys-prop.*" to="*" type="glob"/>
1231+ </syspropertyset>
1232+ <formatter type="brief" usefile="false"/>
1233+ <formatter type="xml"/>
1234+ </junit>
1235+ </target>
1236+ <!--
1237+ end of pre NB72 profiling section
1238+ -->
1239+ <target if="netbeans.home" name="-profile-check">
1240+ <condition property="profiler.configured">
1241+ <or>
1242+ <contains casesensitive="true" string="${run.jvmargs.ide}" substring="-agentpath:"/>
1243+ <contains casesensitive="true" string="${run.jvmargs.ide}" substring="-javaagent:"/>
1244+ </or>
1245+ </condition>
1246+ </target>
1247+ <target depends="-profile-check,-profile-pre72" description="Profile a project in the IDE." if="profiler.configured" name="profile" unless="profiler.info.jvmargs.agent">
1248+ <startprofiler/>
1249+ <antcall target="run"/>
1250+ </target>
1251+ <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">
1252+ <fail unless="run.class">Must select one file in the IDE or set run.class</fail>
1253+ <startprofiler/>
1254+ <antcall target="run-single"/>
1255+ </target>
1256+ <target depends="-profile-test-single-pre72" description="Profile a selected test in the IDE." name="profile-test-single"/>
1257+ <target depends="-profile-check" description="Profile a selected test in the IDE." if="profiler.configured" name="profile-test" unless="profiler.info.jvmargs">
1258+ <fail unless="test.includes">Must select some files in the IDE or set test.includes</fail>
1259+ <startprofiler/>
1260+ <antcall target="test-single"/>
1261+ </target>
1262+ <target depends="-profile-check" description="Profile a selected class in the IDE." if="profiler.configured" name="profile-test-with-main">
1263+ <fail unless="run.class">Must select one file in the IDE or set run.class</fail>
1264+ <startprofiler/>
1265+ <antcal target="run-test-with-main"/>
1266+ </target>
1267+ <target depends="-profile-check,-profile-applet-pre72" if="profiler.configured" name="profile-applet" unless="profiler.info.jvmargs.agent">
1268+ <fail unless="applet.url">Must select one file in the IDE or set applet.url</fail>
1269+ <startprofiler/>
1270+ <antcall target="run-applet"/>
1271+ </target>
1272+ <!--
1273+ ===============
1274+ JAVADOC SECTION
1275+ ===============
1276+ -->
1277+ <target depends="init" if="have.sources" name="-javadoc-build">
1278+ <mkdir dir="${dist.javadoc.dir}"/>
1279+ <condition else="" property="javadoc.endorsed.classpath.cmd.line.arg" value="-J${endorsed.classpath.cmd.line.arg}">
1280+ <and>
1281+ <isset property="endorsed.classpath.cmd.line.arg"/>
1282+ <not>
1283+ <equals arg1="${endorsed.classpath.cmd.line.arg}" arg2=""/>
1284+ </not>
1285+ </and>
1286+ </condition>
1287+ <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}">
1288+ <classpath>
1289+ <path path="${javac.classpath}"/>
1290+ </classpath>
1291+ <fileset dir="${src.openal-soft-native.dir}" excludes="*.java,${excludes}" includes="${includes}">
1292+ <filename name="**/*.java"/>
1293+ </fileset>
1294+ <fileset dir="${src.core.dir}" excludes="*.java,${excludes}" includes="${includes}">
1295+ <filename name="**/*.java"/>
1296+ </fileset>
1297+ <fileset dir="${src.core-data.dir}" excludes="*.java,${excludes}" includes="${includes}">
1298+ <filename name="**/*.java"/>
1299+ </fileset>
1300+ <fileset dir="${src.core-effects.dir}" excludes="*.java,${excludes}" includes="${includes}">
1301+ <filename name="**/*.java"/>
1302+ </fileset>
1303+ <fileset dir="${src.core-plugins.dir}" excludes="*.java,${excludes}" includes="${includes}">
1304+ <filename name="**/*.java"/>
1305+ </fileset>
1306+ <fileset dir="${src.desktop.dir}" excludes="*.java,${excludes}" includes="${includes}">
1307+ <filename name="**/*.java"/>
1308+ </fileset>
1309+ <fileset dir="${src.terrain.dir}" excludes="*.java,${excludes}" includes="${includes}">
1310+ <filename name="**/*.java"/>
1311+ </fileset>
1312+ <fileset dir="${src.jbullet.dir}" excludes="*.java,${excludes}" includes="${includes}">
1313+ <filename name="**/*.java"/>
1314+ </fileset>
1315+ <fileset dir="${src.bullet.dir}" excludes="*.java,${excludes}" includes="${includes}">
1316+ <filename name="**/*.java"/>
1317+ </fileset>
1318+ <fileset dir="${src.bullet-native.dir}" excludes="*.java,${excludes}" includes="${includes}">
1319+ <filename name="**/*.java"/>
1320+ </fileset>
1321+ <fileset dir="${src.bullet-common.dir}" excludes="*.java,${excludes}" includes="${includes}">
1322+ <filename name="**/*.java"/>
1323+ </fileset>
1324+ <fileset dir="${src.networking.dir}" excludes="*.java,${excludes}" includes="${includes}">
1325+ <filename name="**/*.java"/>
1326+ </fileset>
1327+ <fileset dir="${src.niftygui.dir}" excludes="*.java,${excludes}" includes="${includes}">
1328+ <filename name="**/*.java"/>
1329+ </fileset>
1330+ <fileset dir="${src.jogg.dir}" excludes="*.java,${excludes}" includes="${includes}">
1331+ <filename name="**/*.java"/>
1332+ </fileset>
1333+ <fileset dir="${src.ogre.dir}" excludes="*.java,${excludes}" includes="${includes}">
1334+ <filename name="**/*.java"/>
1335+ </fileset>
1336+ <fileset dir="${src.blender.dir}" excludes="*.java,${excludes}" includes="${includes}">
1337+ <filename name="**/*.java"/>
1338+ </fileset>
1339+ <fileset dir="${src.xml.dir}" excludes="*.java,${excludes}" includes="${includes}">
1340+ <filename name="**/*.java"/>
1341+ </fileset>
1342+ <fileset dir="${src.tools.dir}" excludes="*.java,${excludes}" includes="${includes}">
1343+ <filename name="**/*.java"/>
1344+ </fileset>
1345+ <fileset dir="${src.test.dir}" excludes="*.java,${excludes}" includes="${includes}">
1346+ <filename name="**/*.java"/>
1347+ </fileset>
1348+ <fileset dir="${src.lwjgl.dir}" excludes="*.java,${excludes}" includes="${includes}">
1349+ <filename name="**/*.java"/>
1350+ </fileset>
1351+ <fileset dir="${src.jogl.dir}" excludes="*.java,${excludes}" includes="${includes}">
1352+ <filename name="**/*.java"/>
1353+ </fileset>
1354+ <fileset dir="${src.android.dir}" excludes="*.java,${excludes}" includes="${includes}">
1355+ <filename name="**/*.java"/>
1356+ </fileset>
1357+ <fileset dir="${src.ios.dir}" excludes="*.java,${excludes}" includes="${includes}">
1358+ <filename name="**/*.java"/>
1359+ </fileset>
1360+ <fileset dir="${build.generated.sources.dir}" erroronmissingdir="false">
1361+ <include name="**/*.java"/>
1362+ <exclude name="*.java"/>
1363+ </fileset>
1364+ <arg line="${javadoc.endorsed.classpath.cmd.line.arg}"/>
1365+ </javadoc>
1366+ <copy todir="${dist.javadoc.dir}">
1367+ <fileset dir="${src.openal-soft-native.dir}" excludes="${excludes}" includes="${includes}">
1368+ <filename name="**/doc-files/**"/>
1369+ </fileset>
1370+ <fileset dir="${src.core.dir}" excludes="${excludes}" includes="${includes}">
1371+ <filename name="**/doc-files/**"/>
1372+ </fileset>
1373+ <fileset dir="${src.core-data.dir}" excludes="${excludes}" includes="${includes}">
1374+ <filename name="**/doc-files/**"/>
1375+ </fileset>
1376+ <fileset dir="${src.core-effects.dir}" excludes="${excludes}" includes="${includes}">
1377+ <filename name="**/doc-files/**"/>
1378+ </fileset>
1379+ <fileset dir="${src.core-plugins.dir}" excludes="${excludes}" includes="${includes}">
1380+ <filename name="**/doc-files/**"/>
1381+ </fileset>
1382+ <fileset dir="${src.desktop.dir}" excludes="${excludes}" includes="${includes}">
1383+ <filename name="**/doc-files/**"/>
1384+ </fileset>
1385+ <fileset dir="${src.terrain.dir}" excludes="${excludes}" includes="${includes}">
1386+ <filename name="**/doc-files/**"/>
1387+ </fileset>
1388+ <fileset dir="${src.jbullet.dir}" excludes="${excludes}" includes="${includes}">
1389+ <filename name="**/doc-files/**"/>
1390+ </fileset>
1391+ <fileset dir="${src.bullet.dir}" excludes="${excludes}" includes="${includes}">
1392+ <filename name="**/doc-files/**"/>
1393+ </fileset>
1394+ <fileset dir="${src.bullet-native.dir}" excludes="${excludes}" includes="${includes}">
1395+ <filename name="**/doc-files/**"/>
1396+ </fileset>
1397+ <fileset dir="${src.bullet-common.dir}" excludes="${excludes}" includes="${includes}">
1398+ <filename name="**/doc-files/**"/>
1399+ </fileset>
1400+ <fileset dir="${src.networking.dir}" excludes="${excludes}" includes="${includes}">
1401+ <filename name="**/doc-files/**"/>
1402+ </fileset>
1403+ <fileset dir="${src.niftygui.dir}" excludes="${excludes}" includes="${includes}">
1404+ <filename name="**/doc-files/**"/>
1405+ </fileset>
1406+ <fileset dir="${src.jogg.dir}" excludes="${excludes}" includes="${includes}">
1407+ <filename name="**/doc-files/**"/>
1408+ </fileset>
1409+ <fileset dir="${src.ogre.dir}" excludes="${excludes}" includes="${includes}">
1410+ <filename name="**/doc-files/**"/>
1411+ </fileset>
1412+ <fileset dir="${src.blender.dir}" excludes="${excludes}" includes="${includes}">
1413+ <filename name="**/doc-files/**"/>
1414+ </fileset>
1415+ <fileset dir="${src.xml.dir}" excludes="${excludes}" includes="${includes}">
1416+ <filename name="**/doc-files/**"/>
1417+ </fileset>
1418+ <fileset dir="${src.tools.dir}" excludes="${excludes}" includes="${includes}">
1419+ <filename name="**/doc-files/**"/>
1420+ </fileset>
1421+ <fileset dir="${src.test.dir}" excludes="${excludes}" includes="${includes}">
1422+ <filename name="**/doc-files/**"/>
1423+ </fileset>
1424+ <fileset dir="${src.lwjgl.dir}" excludes="${excludes}" includes="${includes}">
1425+ <filename name="**/doc-files/**"/>
1426+ </fileset>
1427+ <fileset dir="${src.jogl.dir}" excludes="${excludes}" includes="${includes}">
1428+ <filename name="**/doc-files/**"/>
1429+ </fileset>
1430+ <fileset dir="${src.android.dir}" excludes="${excludes}" includes="${includes}">
1431+ <filename name="**/doc-files/**"/>
1432+ </fileset>
1433+ <fileset dir="${src.ios.dir}" excludes="${excludes}" includes="${includes}">
1434+ <filename name="**/doc-files/**"/>
1435+ </fileset>
1436+ <fileset dir="${build.generated.sources.dir}" erroronmissingdir="false">
1437+ <include name="**/doc-files/**"/>
1438+ </fileset>
1439+ </copy>
1440+ </target>
1441+ <target depends="init,-javadoc-build" if="netbeans.home" name="-javadoc-browse" unless="no.javadoc.preview">
1442+ <nbbrowse file="${dist.javadoc.dir}/index.html"/>
1443+ </target>
1444+ <target depends="init,-javadoc-build,-javadoc-browse" description="Build Javadoc." name="javadoc"/>
1445+ <!--
1446+ =========================
1447+ TEST COMPILATION SECTION
1448+ =========================
1449+ -->
1450+ <target depends="init,compile" if="have.tests" name="-pre-pre-compile-test">
1451+ <mkdir dir="${build.test.classes.dir}"/>
1452+ </target>
1453+ <target name="-pre-compile-test">
1454+ <!-- Empty placeholder for easier customization. -->
1455+ <!-- You can override this target in the ../build.xml file. -->
1456+ </target>
1457+ <target if="do.depend.true" name="-compile-test-depend">
1458+ <j2seproject3:depend classpath="${javac.test.classpath}" destdir="${build.test.classes.dir}" srcdir="${test.test.dir}"/>
1459+ </target>
1460+ <target depends="init,deps-jar,compile,-pre-pre-compile-test,-pre-compile-test,-compile-test-depend" if="have.tests" name="-do-compile-test">
1461+ <j2seproject3:javac apgeneratedsrcdir="${build.test.classes.dir}" classpath="${javac.test.classpath}" debug="true" destdir="${build.test.classes.dir}" processorpath="${javac.test.processorpath}" srcdir="${test.test.dir}"/>
1462+ <copy todir="${build.test.classes.dir}">
1463+ <fileset dir="${test.test.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
1464+ </copy>
1465+ </target>
1466+ <target name="-post-compile-test">
1467+ <!-- Empty placeholder for easier customization. -->
1468+ <!-- You can override this target in the ../build.xml file. -->
1469+ </target>
1470+ <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test,-do-compile-test,-post-compile-test" name="compile-test"/>
1471+ <target name="-pre-compile-test-single">
1472+ <!-- Empty placeholder for easier customization. -->
1473+ <!-- You can override this target in the ../build.xml file. -->
1474+ </target>
1475+ <target depends="init,deps-jar,compile,-pre-pre-compile-test,-pre-compile-test-single" if="have.tests" name="-do-compile-test-single">
1476+ <fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail>
1477+ <j2seproject3:force-recompile destdir="${build.test.classes.dir}"/>
1478+ <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.test.dir}" srcdir="${test.test.dir}"/>
1479+ <copy todir="${build.test.classes.dir}">
1480+ <fileset dir="${test.test.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
1481+ </copy>
1482+ </target>
1483+ <target name="-post-compile-test-single">
1484+ <!-- Empty placeholder for easier customization. -->
1485+ <!-- You can override this target in the ../build.xml file. -->
1486+ </target>
1487+ <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test-single,-do-compile-test-single,-post-compile-test-single" name="compile-test-single"/>
1488+ <!--
1489+ =======================
1490+ TEST EXECUTION SECTION
1491+ =======================
1492+ -->
1493+ <target depends="init" if="have.tests" name="-pre-test-run">
1494+ <mkdir dir="${build.test.results.dir}"/>
1495+ </target>
1496+ <target depends="init,compile-test,-pre-test-run" if="have.tests" name="-do-test-run">
1497+ <j2seproject3:test testincludes="**/*Test.java"/>
1498+ </target>
1499+ <target depends="init,compile-test,-pre-test-run,-do-test-run" if="have.tests" name="-post-test-run">
1500+ <fail if="tests.failed" unless="ignore.failing.tests">Some tests failed; see details above.</fail>
1501+ </target>
1502+ <target depends="init" if="have.tests" name="test-report"/>
1503+ <target depends="init" if="netbeans.home+have.tests" name="-test-browse"/>
1504+ <target depends="init,compile-test,-pre-test-run,-do-test-run,test-report,-post-test-run,-test-browse" description="Run unit tests." name="test"/>
1505+ <target depends="init" if="have.tests" name="-pre-test-run-single">
1506+ <mkdir dir="${build.test.results.dir}"/>
1507+ </target>
1508+ <target depends="init,compile-test-single,-pre-test-run-single" if="have.tests" name="-do-test-run-single">
1509+ <fail unless="test.includes">Must select some files in the IDE or set test.includes</fail>
1510+ <j2seproject3:test excludes="" includes="${test.includes}" testincludes="${test.includes}"/>
1511+ </target>
1512+ <target depends="init,compile-test-single,-pre-test-run-single,-do-test-run-single" if="have.tests" name="-post-test-run-single">
1513+ <fail if="tests.failed" unless="ignore.failing.tests">Some tests failed; see details above.</fail>
1514+ </target>
1515+ <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"/>
1516+ <target depends="init,compile-test-single,-pre-test-run-single" if="have.tests" name="-do-test-run-single-method">
1517+ <fail unless="test.class">Must select some files in the IDE or set test.class</fail>
1518+ <fail unless="test.method">Must select some method in the IDE or set test.method</fail>
1519+ <j2seproject3:test excludes="" includes="${javac.includes}" testincludes="${test.class}" testmethods="${test.method}"/>
1520+ </target>
1521+ <target depends="init,compile-test-single,-pre-test-run-single,-do-test-run-single-method" if="have.tests" name="-post-test-run-single-method">
1522+ <fail if="tests.failed" unless="ignore.failing.tests">Some tests failed; see details above.</fail>
1523+ </target>
1524+ <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"/>
1525+ <!--
1526+ =======================
1527+ TEST DEBUGGING SECTION
1528+ =======================
1529+ -->
1530+ <target depends="init,compile-test-single,-pre-test-run-single" if="have.tests" name="-debug-start-debuggee-test">
1531+ <fail unless="test.class">Must select one file in the IDE or set test.class</fail>
1532+ <j2seproject3:test-debug excludes="" includes="${javac.includes}" testClass="${test.class}" testincludes="${javac.includes}"/>
1533+ </target>
1534+ <target depends="init,compile-test-single,-pre-test-run-single" if="have.tests" name="-debug-start-debuggee-test-method">
1535+ <fail unless="test.class">Must select one file in the IDE or set test.class</fail>
1536+ <fail unless="test.method">Must select some method in the IDE or set test.method</fail>
1537+ <j2seproject3:test-debug excludes="" includes="${javac.includes}" testClass="${test.class}" testMethod="${test.method}" testincludes="${test.class}" testmethods="${test.method}"/>
1538+ </target>
1539+ <target depends="init,compile-test" if="netbeans.home+have.tests" name="-debug-start-debugger-test">
1540+ <j2seproject1:nbjpdastart classpath="${debug.test.classpath}" name="${test.class}"/>
1541+ </target>
1542+ <target depends="init,compile-test-single,-debug-start-debugger-test,-debug-start-debuggee-test" name="debug-test"/>
1543+ <target depends="init,compile-test-single,-debug-start-debugger-test,-debug-start-debuggee-test-method" name="debug-test-method"/>
1544+ <target depends="init,-pre-debug-fix,compile-test-single" if="netbeans.home" name="-do-debug-fix-test">
1545+ <j2seproject1:nbjpdareload dir="${build.test.classes.dir}"/>
1546+ </target>
1547+ <target depends="init,-pre-debug-fix,-do-debug-fix-test" if="netbeans.home" name="debug-fix-test"/>
1548+ <!--
1549+ =========================
1550+ APPLET EXECUTION SECTION
1551+ =========================
1552+ -->
1553+ <target depends="init,compile-single" name="run-applet">
1554+ <fail unless="applet.url">Must select one file in the IDE or set applet.url</fail>
1555+ <j2seproject1:java classname="sun.applet.AppletViewer">
1556+ <customize>
1557+ <arg value="${applet.url}"/>
1558+ </customize>
1559+ </j2seproject1:java>
1560+ </target>
1561+ <!--
1562+ =========================
1563+ APPLET DEBUGGING SECTION
1564+ =========================
1565+ -->
1566+ <target depends="init,compile-single" if="netbeans.home" name="-debug-start-debuggee-applet">
1567+ <fail unless="applet.url">Must select one file in the IDE or set applet.url</fail>
1568+ <j2seproject3:debug classname="sun.applet.AppletViewer">
1569+ <customize>
1570+ <arg value="${applet.url}"/>
1571+ </customize>
1572+ </j2seproject3:debug>
1573+ </target>
1574+ <target depends="init,compile-single,-debug-start-debugger,-debug-start-debuggee-applet" if="netbeans.home" name="debug-applet"/>
1575+ <!--
1576+ ===============
1577+ CLEANUP SECTION
1578+ ===============
1579+ -->
1580+ <target name="-deps-clean-init" unless="built-clean.properties">
1581+ <property location="${build.dir}/built-clean.properties" name="built-clean.properties"/>
1582+ <delete file="${built-clean.properties}" quiet="true"/>
1583+ </target>
1584+ <target if="already.built.clean.${basedir}" name="-warn-already-built-clean">
1585+ <echo level="warn" message="Cycle detected: jMonkeyEngine3 was already built"/>
1586+ </target>
1587+ <target depends="init,-deps-clean-init" name="deps-clean" unless="no.deps">
1588+ <mkdir dir="${build.dir}"/>
1589+ <touch file="${built-clean.properties}" verbose="false"/>
1590+ <property file="${built-clean.properties}" prefix="already.built.clean."/>
1591+ <antcall target="-warn-already-built-clean"/>
1592+ <propertyfile file="${built-clean.properties}">
1593+ <entry key="${basedir}" value=""/>
1594+ </propertyfile>
1595+ </target>
1596+ <target depends="init" name="-do-clean">
1597+ <delete dir="${build.dir}"/>
1598+ <delete dir="${dist.dir}" followsymlinks="false" includeemptydirs="true"/>
1599+ </target>
1600+ <target name="-post-clean">
1601+ <!-- Empty placeholder for easier customization. -->
1602+ <!-- You can override this target in the ../build.xml file. -->
1603+ </target>
1604+ <target depends="init,deps-clean,-do-clean,-post-clean" description="Clean build products." name="clean"/>
1605+ <target name="-check-call-dep">
1606+ <property file="${call.built.properties}" prefix="already.built."/>
1607+ <condition property="should.call.dep">
1608+ <and>
1609+ <not>
1610+ <isset property="already.built.${call.subproject}"/>
1611+ </not>
1612+ <available file="${call.script}"/>
1613+ </and>
1614+ </condition>
1615+ </target>
1616+ <target depends="-check-call-dep" if="should.call.dep" name="-maybe-call-dep">
1617+ <ant antfile="${call.script}" inheritall="false" target="${call.target}">
1618+ <propertyset>
1619+ <propertyref prefix="transfer."/>
1620+ <mapper from="transfer.*" to="*" type="glob"/>
1621+ </propertyset>
1622+ </ant>
1623+ </target>
1624+</project>
--- /dev/null
+++ b/engine/nbproject/build-openal-soft-natives.xml
@@ -0,0 +1,105 @@
1+<?xml version="1.0" encoding="UTF-8"?>
2+<project name="build openal-soft natives" default="all" basedir="../">
3+ <!-- load cpp compiler ant task -->
4+ <taskdef resource="cpptasks.tasks" classpath="lib/antlibs/cpptasks.jar"/>
5+ <!-- load properties -->
6+ <property file="nbproject/openal-soft-native.properties"/>
7+
8+ <condition property="ndk-build-name" value="ndk-build.cmd" else="ndk-build">
9+ <os family="windows" />
10+ </condition>
11+
12+ <fileset id="lib.jars" dir="${openal-soft.lib.dir}">
13+ <include name="**/*.jar"/>
14+ </fileset>
15+ <fileset id="lib.jme.jars" dir="${openal-soft.jme.dir}">
16+ <include name="**/*.jar"/>
17+ </fileset>
18+
19+ <pathconvert property="lib.importpath">
20+ <fileset refid="lib.jars"/>
21+ <fileset refid="lib.jme.jars"/>
22+ </pathconvert>
23+
24+ <target name="build-openal-soft-natives" description="builds the native openal-soft library for android" depends="create-native-headers, -create-folders, compile-android">
25+ <echo message="Updating native jME3-openal-soft-natives.jar"/>
26+ <zip basedir="${openal-soft.output.dir}" file="${openal-soft.output.base}/jME3-openal-soft-natives-android.jar" compress="true"/>
27+ <copy file="${openal-soft.output.base}/jME3-openal-soft-natives-android.jar" todir="dist/opt/native-openal-soft/"/>
28+ </target>
29+
30+ <target name="create-native-headers" description="creates the native C++ headers for the java native methods">
31+ <javah destdir="${openal-soft.source.dir}" classpath="${openal-soft.build.dir}${path.separator}${lib.importpath}">
32+ <class name="com.jme3.audio.android.AndroidOpenALSoftAudioRenderer"/>
33+ </javah>
34+ </target>
35+
36+ <target name="-create-folders" description="creates the needed folders">
37+ <mkdir dir="${openal-soft.build.dir}"/>
38+ <mkdir dir="${openal-soft.build.dir}/jni"/>
39+ <mkdir dir="${openal-soft.output.base}"/>
40+ <mkdir dir="${openal-soft.output.dir}"/>
41+ </target>
42+
43+ <target name="compile-android" description="compiles libopenalsoftjme using the Android NDK" depends="-check-android-ndk" if="haveAndoidNdk">
44+ <!-- copy OpenAL Soft files into jni directory -->
45+ <echo>Copying OpenAL Soft source files to build directory from ${openal-soft.include}</echo>
46+ <copy todir="${openal-soft.build.dir}/jni" verbose="true" flatten="false" overwrite="true">
47+ <fileset dir="${openal-soft.include}">
48+ <include name="**/*.*"/>
49+<!--
50+ <include name="**/*.cpp"/>
51+ <include name="**/*.h"/>
52+ <include name="**/*.cl"/>
53+ <include name="**/*.c"/>
54+ <include name="**/*.inc"/>
55+ <exclude name="/android/*.*"/>
56+ <include name="**/*.*" />
57+-->
58+ </fileset>
59+ </copy>
60+
61+ <!-- copy jME3 Native OpenAL Soft files into jni directory -->
62+<!--
63+ <echo>Copying jME3 JNI files for OpenAL Soft to build directory from ${openal-soft.source.dir}</echo>
64+ <copy todir="build/openal-soft-android/jni" verbose="true" flatten="false" overwrite="true">
65+ <fileset dir="${openal-soft.source.dir}">
66+ <include name="*.cpp" />
67+ <include name="*.h" />
68+ <include name="**/*.*" />
69+ </fileset>
70+ </copy>
71+-->
72+
73+ <!-- copy Android.mk and Application.mk files into jni directory -->
74+ <echo>Copying Android Make and JNI files for OpenAL Soft to build directory from ${openal-soft.source.dir}</echo>
75+ <copy todir="${openal-soft.build.dir}/jni" verbose="true" flatten="false" overwrite="true">
76+ <fileset dir="${openal-soft.source.dir}">
77+ <include name="*.*" />
78+ </fileset>
79+ </copy>
80+<!--
81+ <copy file="${openal-soft.source.dir}/Android.mk" todir="build/openal-soft-android/jni" verbose="true"/>
82+ <copy file="${openal-soft.source.dir}/Application.mk" todir="build/openal-soft-android/jni" verbose="true"/>
83+-->
84+
85+ <exec executable="${ndk.dir}/${ndk-build-name}" failonerror="true" >
86+ <!--<arg line="NDK_DEBUG=1"/>-->
87+ <arg line="TARGET_PLATFORM=android-9"/>
88+ <arg line="-C ${openal-soft.build.dir}/"/>
89+ </exec>
90+
91+ <!-- copy resulting library directories to jarcontent directory -->
92+ <copy todir="${openal-soft.output.dir}" verbose="true" flatten="false">
93+ <fileset dir="${openal-soft.build.dir}/libs">
94+ <include name="**/*.*"/>
95+ <!--exclude name="**/x86/*.*"/-->
96+ </fileset>
97+ </copy>
98+
99+ </target>
100+
101+ <target name="-check-android-ndk">
102+ <available file="${ndk.dir}/${ndk-build-name}" property="haveAndoidNdk"/>
103+ </target>
104+
105+</project>
--- /dev/null
+++ b/engine/nbproject/configs/Native_OpenAL_Soft.properties
@@ -0,0 +1,2 @@
1+$label=Native OpenAL Soft
2+$target.build=build-openal-soft-natives
--- /dev/null
+++ b/engine/nbproject/openal-soft-native.properties
@@ -0,0 +1,23 @@
1+##########################################################
2+# these are the ant build properties for openal-soft-jme #
3+##########################################################
4+# location of Android NDK if available
5+ndk.dir=D:/android/android-ndk-r7
6+
7+# directory of OpenAL Soft download
8+openal-soft.folder=../openalsoft_1_15_1/openal-soft
9+
10+# compile options
11+openal-soft.compile.debug=false
12+
13+# native header include directories
14+openal-soft.java.include=${java.home}/../include
15+
16+# dont change these..
17+openal-soft.include=${openal-soft.folder}
18+openal-soft.source.dir=src/openal-soft-native/android
19+openal-soft.build.dir=build/openal-soft/
20+openal-soft.output.base=lib/openal-soft
21+openal-soft.output.dir=${openal-soft.output.base}/jarcontent
22+openal-soft.jme.dir=dist
23+openal-soft.lib.dir=dist/lib
--- a/engine/nbproject/project.properties
+++ b/engine/nbproject/project.properties
@@ -1,132 +1,133 @@
1-annotation.processing.enabled=false
2-annotation.processing.enabled.in.editor=false
3-annotation.processing.processors.list=
4-annotation.processing.run.all.processors=true
5-ant.customtasks.libs=JWSAntTasks
6-application.homepage=http://www.jmonkeyengine.com/
7-application.title=jMonkeyEngine 3.0
8-application.vendor=jMonkeyEngine
9-build.classes.dir=${build.dir}/classes
10-build.classes.excludes=**/*.java,**/*.form,**/*.m
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-# Uncomment to specify the preferred debugger connection transport:
20-#debug.transport=dt_socket
21-debug.classpath=\
22- ${run.classpath}
23-debug.test.classpath=\
24- ${run.test.classpath}
25-# This directory is removed when the project is cleaned:
26-dist.dir=dist
27-dist.jar=${dist.dir}/jMonkeyEngine3.jar
28-dist.javadoc.dir=${dist.dir}/javadoc
29-endorsed.classpath=
30-excludes=
31-file.reference.src-test-data=src/test-data
32-includes=**
33-jar.archive.disabled=${jnlp.enabled}
34-jar.compress=true
35-jar.index=${jnlp.enabled}
36-javac.classpath=\
37- ${libs.jogg.classpath}:\
38- ${libs.jbullet.classpath}:\
39- ${libs.lwjgl.classpath}:\
40- ${libs.niftygui1.3.classpath}:\
41- ${libs.jme3-test-data.classpath}:\
42- ${libs.android.classpath}:\
43- ${libs.bullet.classpath}:\
44- ${libs.jogl2.classpath}
45-# Space-separated list of extra javac options
46-javac.compilerargs=
47-javac.deprecation=false
48-javac.processorpath=\
49- ${javac.classpath}
50-javac.source=1.5
51-javac.target=1.5
52-javac.test.classpath=\
53- ${javac.classpath}:\
54- ${build.classes.dir}:\
55- ${libs.junit_4.classpath}
56-javadoc.additionalparam=-protected
57-javadoc.author=false
58-javadoc.encoding=${source.encoding}
59-javadoc.noindex=false
60-javadoc.nonavbar=false
61-javadoc.notree=false
62-javadoc.private=false
63-javadoc.splitindex=true
64-javadoc.use=true
65-javadoc.version=false
66-javadoc.windowtitle=jMonkeyEngine3
67-jaxbwiz.endorsed.dirs="${netbeans.home}/../ide12/modules/ext/jaxb/api"
68-jnlp.applet.class=jme3test.awt.AppHarness
69-jnlp.applet.height=300
70-jnlp.applet.width=300
71-jnlp.codebase.type=user
72-jnlp.codebase.user=http://jmonkeyengine.com/javawebstart/
73-jnlp.descriptor=application
74-jnlp.enabled=false
75-jnlp.icon=/Users/normenhansen/Pictures/jme/icons/jme-logo48.png
76-jnlp.mixed.code=default
77-jnlp.offline-allowed=true
78-jnlp.signed=true
79-jnlp.signing=generated
80-jnlp.signing.alias=engine
81-jnlp.signing.keystore=
82-main.class=jme3test.TestChooser
83-manifest.file=MANIFEST.MF
84-meta.inf.dir=${src.dir}/META-INF
85-mkdist.disabled=false
86-platform.active=default_platform
87-run.classpath=\
88- ${javac.classpath}:\
89- ${build.classes.dir}:\
90- ${build.dir}/core:\
91- ${build.dir}/effects:\
92- ${build.dir}/networking:\
93- ${build.dir}/plugins:\
94- ${build.dir}/jogg:\
95- ${build.dir}/desktop:\
96- ${build.dir}/blender:\
97- ${build.dir}/terrain:\
98- ${build.dir}/jbullet:\
99- ${build.dir}/bullet:\
100- ${build.dir}/niftygui:\
101- ${build.dir}/lwjgl:\
102- ${build.dir}/jogl:\
103- ${build.dir}/android:\
104- ${build.dir}/ios
105-run.jvmargs=-Xms128m -Xmx128m -XX:MaxDirectMemorySize=256M
106-run.test.classpath=\
107- ${javac.test.classpath}:\
108- ${build.test.classes.dir}
109-source.encoding=UTF-8
110-src.android.dir=src/android
111-src.blender.dir=src/blender
112-src.bullet-common.dir=src/bullet-common
113-src.bullet-native.dir=src/bullet-native
114-src.bullet.dir=src/bullet
115-src.core-data.dir=src/core-data
116-src.core-effects.dir=src/core-effects
117-src.core-plugins.dir=src/core-plugins
118-src.core.dir=src/core
119-src.desktop.dir=src/desktop
120-src.ios.dir=src/ios
121-src.jbullet.dir=src/jbullet
122-src.jogg.dir=src/jogg
123-src.jogl.dir=src/jogl
124-src.lwjgl.dir=src/lwjgl
125-src.networking.dir=src/networking
126-src.niftygui.dir=src/niftygui
127-src.ogre.dir=src/ogre
128-src.terrain.dir=src/terrain
129-src.test.dir=src/test
130-src.tools.dir=src/tools
131-src.xml.dir=src/xml
132-test.test.dir=test
1+annotation.processing.enabled=false
2+annotation.processing.enabled.in.editor=false
3+annotation.processing.processors.list=
4+annotation.processing.run.all.processors=true
5+ant.customtasks.libs=JWSAntTasks
6+application.homepage=http://www.jmonkeyengine.com/
7+application.title=jMonkeyEngine 3.0
8+application.vendor=jMonkeyEngine
9+build.classes.dir=${build.dir}/classes
10+build.classes.excludes=**/*.java,**/*.form,**/*.m
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+# Uncomment to specify the preferred debugger connection transport:
20+#debug.transport=dt_socket
21+debug.classpath=\
22+ ${run.classpath}
23+debug.test.classpath=\
24+ ${run.test.classpath}
25+# This directory is removed when the project is cleaned:
26+dist.dir=dist
27+dist.jar=${dist.dir}/jMonkeyEngine3.jar
28+dist.javadoc.dir=${dist.dir}/javadoc
29+endorsed.classpath=
30+excludes=
31+file.reference.src-test-data=src/test-data
32+includes=**
33+jar.archive.disabled=${jnlp.enabled}
34+jar.compress=true
35+jar.index=${jnlp.enabled}
36+javac.classpath=\
37+ ${libs.jogg.classpath}:\
38+ ${libs.jbullet.classpath}:\
39+ ${libs.lwjgl.classpath}:\
40+ ${libs.niftygui1.3.classpath}:\
41+ ${libs.jme3-test-data.classpath}:\
42+ ${libs.android.classpath}:\
43+ ${libs.bullet.classpath}:\
44+ ${libs.jogl2.classpath}
45+# Space-separated list of extra javac options
46+javac.compilerargs=
47+javac.deprecation=false
48+javac.processorpath=\
49+ ${javac.classpath}
50+javac.source=1.5
51+javac.target=1.5
52+javac.test.classpath=\
53+ ${javac.classpath}:\
54+ ${build.classes.dir}:\
55+ ${libs.junit_4.classpath}
56+javadoc.additionalparam=-protected
57+javadoc.author=false
58+javadoc.encoding=${source.encoding}
59+javadoc.noindex=false
60+javadoc.nonavbar=false
61+javadoc.notree=false
62+javadoc.private=false
63+javadoc.splitindex=true
64+javadoc.use=true
65+javadoc.version=false
66+javadoc.windowtitle=jMonkeyEngine3
67+jaxbwiz.endorsed.dirs="${netbeans.home}/../ide12/modules/ext/jaxb/api"
68+jnlp.applet.class=jme3test.awt.AppHarness
69+jnlp.applet.height=300
70+jnlp.applet.width=300
71+jnlp.codebase.type=user
72+jnlp.codebase.user=http://jmonkeyengine.com/javawebstart/
73+jnlp.descriptor=application
74+jnlp.enabled=false
75+jnlp.icon=/Users/normenhansen/Pictures/jme/icons/jme-logo48.png
76+jnlp.mixed.code=default
77+jnlp.offline-allowed=true
78+jnlp.signed=true
79+jnlp.signing=generated
80+jnlp.signing.alias=engine
81+jnlp.signing.keystore=
82+main.class=jme3test.TestChooser
83+manifest.file=MANIFEST.MF
84+meta.inf.dir=${src.dir}/META-INF
85+mkdist.disabled=false
86+platform.active=default_platform
87+run.classpath=\
88+ ${javac.classpath}:\
89+ ${build.classes.dir}:\
90+ ${build.dir}/core:\
91+ ${build.dir}/effects:\
92+ ${build.dir}/networking:\
93+ ${build.dir}/plugins:\
94+ ${build.dir}/jogg:\
95+ ${build.dir}/desktop:\
96+ ${build.dir}/blender:\
97+ ${build.dir}/terrain:\
98+ ${build.dir}/jbullet:\
99+ ${build.dir}/bullet:\
100+ ${build.dir}/niftygui:\
101+ ${build.dir}/lwjgl:\
102+ ${build.dir}/jogl:\
103+ ${build.dir}/android:\
104+ ${build.dir}/ios
105+run.jvmargs=-Xms128m -Xmx128m -XX:MaxDirectMemorySize=256M
106+run.test.classpath=\
107+ ${javac.test.classpath}:\
108+ ${build.test.classes.dir}
109+source.encoding=UTF-8
110+src.android.dir=src/android
111+src.blender.dir=src/blender
112+src.bullet-common.dir=src/bullet-common
113+src.bullet-native.dir=src/bullet-native
114+src.bullet.dir=src/bullet
115+src.core-data.dir=src/core-data
116+src.core-effects.dir=src/core-effects
117+src.core-plugins.dir=src/core-plugins
118+src.core.dir=src/core
119+src.desktop.dir=src/desktop
120+src.ios.dir=src/ios
121+src.jbullet.dir=src/jbullet
122+src.jogg.dir=src/jogg
123+src.jogl.dir=src/jogl
124+src.lwjgl.dir=src/lwjgl
125+src.networking.dir=src/networking
126+src.niftygui.dir=src/niftygui
127+src.ogre.dir=src/ogre
128+src.openal-soft-native.dir=src\\openal-soft-native
129+src.terrain.dir=src/terrain
130+src.test.dir=src/test
131+src.tools.dir=src/tools
132+src.xml.dir=src/xml
133+test.test.dir=test
--- a/engine/nbproject/project.xml
+++ b/engine/nbproject/project.xml
@@ -1,45 +1,46 @@
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="jar"/>
8- </extension>
9- </buildExtensions>
10- <data xmlns="http://www.netbeans.org/ns/j2se-project/3">
11- <name>jMonkeyEngine3</name>
12- <minimum-ant-version>1.6.5</minimum-ant-version>
13- <source-roots>
14- <root id="src.core.dir" name="Core"/>
15- <root id="src.core-data.dir" name="Core-Data"/>
16- <root id="src.core-effects.dir" name="Core-Effects"/>
17- <root id="src.core-plugins.dir" name="Core-Plugins"/>
18- <root id="src.desktop.dir" name="Desktop"/>
19- <root id="src.terrain.dir" name="Terrain"/>
20- <root id="src.jbullet.dir" name="Java Bullet"/>
21- <root id="src.bullet.dir" name="Native Bullet"/>
22- <root id="src.bullet-native.dir" name="Native Bullet C++"/>
23- <root id="src.bullet-common.dir" name="Bullet Common"/>
24- <root id="src.networking.dir" name="Networking"/>
25- <root id="src.niftygui.dir" name="NiftyGUI"/>
26- <root id="src.jogg.dir" name="JOGG"/>
27- <root id="src.ogre.dir" name="Ogre"/>
28- <root id="src.blender.dir" name="Blender"/>
29- <root id="src.xml.dir" name="XML"/>
30- <root id="src.tools.dir" name="Tools"/>
31- <root id="src.test.dir" name="Test"/>
32- <root id="src.lwjgl.dir" name="LWJGL Renderer"/>
33- <root id="src.jogl.dir" name="JOGL Renderer"/>
34- <root id="src.android.dir" name="Android Renderer"/>
35- <root id="src.ios.dir" name="iOS Renderer"/>
36- </source-roots>
37- <test-roots>
38- <root id="test.test.dir" name="Unit Test"/>
39- </test-roots>
40- </data>
41- <libraries xmlns="http://www.netbeans.org/ns/ant-project-libraries/1">
42- <definitions>./lib/nblibraries.properties</definitions>
43- </libraries>
44- </configuration>
45-</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="jar"/>
8+ </extension>
9+ </buildExtensions>
10+ <data xmlns="http://www.netbeans.org/ns/j2se-project/3">
11+ <name>jMonkeyEngine3</name>
12+ <minimum-ant-version>1.6.5</minimum-ant-version>
13+ <source-roots>
14+ <root id="src.core.dir" name="Core"/>
15+ <root id="src.core-data.dir" name="Core-Data"/>
16+ <root id="src.core-effects.dir" name="Core-Effects"/>
17+ <root id="src.core-plugins.dir" name="Core-Plugins"/>
18+ <root id="src.desktop.dir" name="Desktop"/>
19+ <root id="src.terrain.dir" name="Terrain"/>
20+ <root id="src.jbullet.dir" name="Java Bullet"/>
21+ <root id="src.bullet.dir" name="Native Bullet"/>
22+ <root id="src.bullet-native.dir" name="Native Bullet C++"/>
23+ <root id="src.bullet-common.dir" name="Bullet Common"/>
24+ <root id="src.networking.dir" name="Networking"/>
25+ <root id="src.niftygui.dir" name="NiftyGUI"/>
26+ <root id="src.jogg.dir" name="JOGG"/>
27+ <root id="src.ogre.dir" name="Ogre"/>
28+ <root id="src.blender.dir" name="Blender"/>
29+ <root id="src.xml.dir" name="XML"/>
30+ <root id="src.tools.dir" name="Tools"/>
31+ <root id="src.test.dir" name="Test"/>
32+ <root id="src.lwjgl.dir" name="LWJGL Renderer"/>
33+ <root id="src.jogl.dir" name="JOGL Renderer"/>
34+ <root id="src.android.dir" name="Android Renderer"/>
35+ <root id="src.openal-soft-native.dir" name="OpenAL Soft C++"/>
36+ <root id="src.ios.dir" name="iOS Renderer"/>
37+ </source-roots>
38+ <test-roots>
39+ <root id="test.test.dir" name="Unit Test"/>
40+ </test-roots>
41+ </data>
42+ <libraries xmlns="http://www.netbeans.org/ns/ant-project-libraries/1">
43+ <definitions>./lib/nblibraries.properties</definitions>
44+ </libraries>
45+ </configuration>
46+</project>