diff options
author | endolf <[email protected]> | 2004-08-29 20:17:39 +0000 |
---|---|---|
committer | endolf <[email protected]> | 2004-08-29 20:17:39 +0000 |
commit | bc06262ce753ef2dab7ca080aff770730146b7ce (patch) | |
tree | a49b733f9de63b07058127f8ee52d3f4befdd55b /plugins/awt/build.xml | |
parent | ea8235cd2305101d078265f7b4585fd250bd44fe (diff) |
Initial checkin
git-svn-id: file:///home/sven/projects/JOGL/git-svn/svn-server-sync/jinput/trunk@84 e343933a-64c8-49c5-92b1-88f2ce3e89e8
Diffstat (limited to 'plugins/awt/build.xml')
-rw-r--r-- | plugins/awt/build.xml | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/plugins/awt/build.xml b/plugins/awt/build.xml new file mode 100644 index 0000000..d9bf041 --- /dev/null +++ b/plugins/awt/build.xml @@ -0,0 +1,58 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project basedir="." default="all" name="AWT Plugin"> + + <target name="init"> + <mkdir dir="classes"/> + <mkdir dir="bin"/> + </target> + + <target depends="init" name="compile"> + <javac debug="true" deprecation="true" destdir="classes" source="1.4" srcdir="src"> + <classpath> + <pathelement location="../../coreAPI/bin/jinput.jar"/> + <pathelement location="../../coreAPI/lib/jutils.jar"/> + </classpath> + </javac> + </target> + + <target depends="init,compile" name="jar"> + <jar jarfile="bin/awtinput.jar" compress="true" basedir="classes"> + <exclude name="**/*.java"/> + <exclude name="awtinput.jar"/> + <exclude name="apidoc"/> + </jar> + <copy file="bin/awtinput.jar" todir="../../coreAPI/src/tests/controller" /> + </target> + + <target depends="jar" description="Build everything." name="all"> + <echo message="Application built."/> + </target> + + <target name="javadoc" depends="init" description="Javadoc for AWT plugin for JInput."> + <mkdir dir="apidocs"/> + <javadoc packagenames="net.java.games.input.*" + destdir="apidocs" + additionalparam="-source 1.4" + link="../../../coreAPI/apidocs"> + <sourcepath> + <pathelement location="src"/> + </sourcepath> + <classpath> + <pathelement location="../../coreAPI/bin/jinput.jar"/> + <pathelement location="../../coreAPI/lib/jutils.jar"/> + </classpath> + </javadoc> + </target> + + <target description="Clean all build products." name="clean"> + <delete failonerror="no"> + <fileset dir="classes"> + <include name="**/*.class"/> + </fileset> + </delete> + <delete file="bin/awtinput.jar" failonerror="no"/> + <delete file="../../coreAPI/src/tests/controller/awtinput.jar" failonerror="no" /> + <delete file="apidoc" failonerror="no"/> + </target> + +</project> |