aboutsummaryrefslogtreecommitdiffstats
path: root/build.xml
diff options
context:
space:
mode:
authorjeffpk <[email protected]>2003-06-06 21:04:07 +0000
committerjeffpk <[email protected]>2003-06-06 21:04:07 +0000
commit454233e113a22a149fe45624ce3e405474ded053 (patch)
tree173b3916eff745d921bc22fc858f4bddcc966bde /build.xml
parent4275dabe7f7cf2e427626550cb54f5e8ba104e44 (diff)
Initial check-in of the Java Games Initiative's game controller discovery and input library.
git-svn-id: file:///home/sven/projects/JOGL/git-svn/svn-server-sync/jinput/trunk@3 e343933a-64c8-49c5-92b1-88f2ce3e89e8
Diffstat (limited to 'build.xml')
-rw-r--r--build.xml50
1 files changed, 50 insertions, 0 deletions
diff --git a/build.xml b/build.xml
new file mode 100644
index 0000000..a934222
--- /dev/null
+++ b/build.xml
@@ -0,0 +1,50 @@
+<?xml version="1.0"?>
+
+<!-- Written to assume that classpath is rooted in the current directory. -->
+<!-- So this should be OK if you make this script in the root of a filesystem. -->
+<!-- If not, you may prefer to adjust the basedir, or move some directories around. -->
+<!-- The idea is that both Ant and NetBeans have to know what the package root is -->
+<!-- for the classes in your application. -->
+<project name="Sun Games Initiative Client Technologies" basedir="." default="all">
+
+ <!-- Don't worry if you don't know the Ant syntax completely or need help on some tasks! -->
+ <!-- The standard Ant documentation is bundled. See Help | Help Sets | Ant 1.4.1 Manual. -->
+
+ <target name="init">
+ <!-- You can set up any variables you want used throughout the script here. -->
+ <!-- <property name="hello" value="world"/ -->
+ <!-- To use e.g. Jikes, uncomment this line. -->
+ <!-- (Or make the same change in Tools | Options | Ant Settings | Properties.) -->
+ <!-- <property name="build.compiler" value="jikes"/> -->
+ <!-- You might like to set up some overridable paths, etc.: -->
+ <!-- <property name="mylib" value="../lib/mylib.jar"/> -->
+ </target>
+
+ <target name="compile" depends="init">
+ <!-- Both srcdir and destdir should be package roots. -->
+ <!-- They could be different of course; in that case NetBeans can also be set -->
+ <!-- up to compile to a different filesystem in the same way; see Compiler Types: -->
+ <ant dir="coreAPI" />
+ <ant dir="plugins/DX8" />
+ </target>
+
+ <target name="javadoc" depends="init">
+ <!-- Both srcdir and destdir should be package roots. -->
+ <!-- They could be different of course; in that case NetBeans can also be set -->
+ <!-- up to compile to a different filesystem in the same way; see Compiler Types: -->
+ <ant dir="coreAPI" target="javadoc"/>
+ <ant dir="plugins/DX8" target="javadoc"/>
+ </target>
+
+
+ <target name="all" depends="init,compile" description="Build everything.">
+ <echo message="Application built. Hello ${hello}!"/>
+ </target>
+
+ <target name="clean" depends="init" description="Clean all build products.">
+ <ant dir="plugins/DX8" target="clean"/>
+ <ant dir="coreAPI" target="clean"/>
+ </target>
+
+
+</project>