summaryrefslogtreecommitdiffstats
path: root/test/build.xml
diff options
context:
space:
mode:
authorMichael Bien <[email protected]>2010-03-22 18:56:28 +0100
committerMichael Bien <[email protected]>2010-03-22 18:56:28 +0100
commit8fb2e0ead08542cd69ee211a2a521e02e160e425 (patch)
tree9c33930fc858a98ee55ee26a32361c0fd8cee115 /test/build.xml
parent6cd55a3d685e35fcb8afc7ad3a09ec85388d0afc (diff)
added NetBeans project files, cleaned up project structure.
Diffstat (limited to 'test/build.xml')
-rw-r--r--test/build.xml83
1 files changed, 83 insertions, 0 deletions
diff --git a/test/build.xml b/test/build.xml
new file mode 100644
index 0000000..7b1f8e2
--- /dev/null
+++ b/test/build.xml
@@ -0,0 +1,83 @@
+<?xml version="1.0"?>
+
+<!--
+* Copyright (c) 2003 Sun Microsystems, Inc. All Rights Reserved.
+*
+* Redistribution and use in source and binary forms, with or without
+* modification, are permitted provided that the following conditions are met:
+*
+* -Redistribution of source code must retain the above copyright notice,
+* this list of conditions and the following disclaimer.
+*
+* -Redistribution in binary form must reproduce the above copyright notice,
+* this list of conditions and the following disclaimer in the documentation
+* and/or other materials provided with the distribution.
+*
+* Neither the name of Sun Microsystems, Inc. or the names of contributors may
+* be used to endorse or promote products derived from this software without
+* specific prior written permission.
+*
+* This software is provided "AS IS," without a warranty of any kind.
+* ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND WARRANTIES, INCLUDING
+* ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR
+* NON-INFRINGEMENT, ARE HEREBY EXCLUDED. SUN MIDROSYSTEMS, INC. ("SUN") AND ITS
+* LICENSORS SHALL NOT BE LIABLE FOR ANY DAMAGES SUFFERED BY LICENSEE AS A
+* RESULT OF USING, MODIFYING OR DISTRIBUTING THIS SOFTWARE OR ITS DERIVATIVES.
+* IN NO EVENT WILL SUN OR ITS LICENSORS BE LIABLE FOR ANY LOST REVENUE, PROFIT
+* OR DATA, OR FOR DIRECT, INDIRECT, SPECIAL, CONSEQUENTIAL, INCIDENTAL OR
+* PUNITIVE DAMAGES, HOWEVER CAUSED AND REGARDLESS OF THE THEORY OF LIABILITY,
+* ARISING OUT OF THE USE OF OR INABILITY TO USE THIS SOFTWARE, EVEN IF SUN HAS
+* BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
+*
+* You acknowledge that this software is not designed or intended for use in the
+* design, construction, operation or maintenance of any nuclear facility.
+-->
+
+<project name="Sun Games Initiative Client Technologies" basedir="." default="all">
+
+ <target name="init">
+ <mkdir dir="classes"/>
+ </target>
+
+ <target name="compile" depends="init">
+ <javac debug="true" srcdir="./src" classpath="../build/joal.jar;lib/junit.jar" destdir="classes"/>
+ </target>
+
+ <target name="clean">
+ <delete dir="classes"/>
+ </target>
+
+ <target name="runOpenALTest" depends="compile">
+ <java classname="OpenALTest" fork="true">
+ <classpath>
+ <pathelement location="../build/joal.jar"/>
+ <pathelement location="lib/junit.jar"/>
+ <pathelement location="classes"/>
+ </classpath>
+ <jvmarg value="-Djava.library.path=${basedir}/../build/obj"/>
+ </java>
+ </target>
+
+ <target name="runALTest" depends="compile">
+ <java classname="junit.textui.TestRunner" fork="true">
+ <classpath>
+ <pathelement location="../build/joal.jar"/>
+ <pathelement location="lib/junit.jar"/>
+ <pathelement location="classes"/>
+ </classpath>
+ <jvmarg value="-Djava.library.path=${basedir}/../build/obj"/>
+ <arg value="net.java.games.joal.ALTest" />
+ </java>
+ </target>
+
+ <target name="runSound3DTest" depends="compile">
+ <java classname="Sound3DTest" fork="true">
+ <classpath>
+ <pathelement location="../build/joal.jar"/>
+ <pathelement location="lib/junit.jar"/>
+ <pathelement location="classes"/>
+ </classpath>
+ <jvmarg value="-Djava.library.path=${basedir}/../build/obj"/>
+ </java>
+ </target>
+</project>