2004-08-29 22:17:39 +02:00
|
|
|
<?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">
|
2005-08-28 22:52:26 +02:00
|
|
|
<javac debug="true" deprecation="true" destdir="classes" source="1.4" target="1.4" srcdir="src">
|
2004-08-29 22:17:39 +02:00
|
|
|
<classpath>
|
2006-04-30 00:29:27 +02:00
|
|
|
<pathelement location="../../coreAPI/bin/jinput-core.jar"/>
|
|
|
|
|
<pathelement location="../../lib/jutils.jar"/>
|
2004-08-29 22:17:39 +02:00
|
|
|
</classpath>
|
|
|
|
|
</javac>
|
|
|
|
|
</target>
|
|
|
|
|
|
|
|
|
|
<target depends="init,compile" name="jar">
|
|
|
|
|
<jar jarfile="bin/awtinput.jar" compress="true" basedir="classes">
|
2006-04-30 00:29:27 +02:00
|
|
|
<include name="**/*.class"/>
|
2004-08-29 22:17:39 +02:00
|
|
|
</jar>
|
|
|
|
|
</target>
|
|
|
|
|
|
|
|
|
|
<target depends="jar" description="Build everything." name="all">
|
|
|
|
|
</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>
|
2006-04-30 00:29:27 +02:00
|
|
|
<pathelement location="../../coreAPI/bin/jinput-core.jar"/>
|
|
|
|
|
<pathelement location="../../lib/jutils.jar"/>
|
2004-08-29 22:17:39 +02:00
|
|
|
</classpath>
|
|
|
|
|
</javadoc>
|
|
|
|
|
</target>
|
|
|
|
|
|
|
|
|
|
<target description="Clean all build products." name="clean">
|
|
|
|
|
<delete failonerror="no">
|
2006-04-30 00:29:27 +02:00
|
|
|
<fileset dir="classes"/>
|
2004-08-29 22:17:39 +02:00
|
|
|
</delete>
|
2006-04-30 00:29:27 +02:00
|
|
|
<delete dir="bin/awtinput.jar" failonerror="no"/>
|
|
|
|
|
<delete dir="apidoc" failonerror="no"/>
|
2004-08-29 22:17:39 +02:00
|
|
|
</target>
|
|
|
|
|
|
|
|
|
|
</project>
|