diff options
Diffstat (limited to 'coreAPI')
-rw-r--r-- | coreAPI/build.xml | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/coreAPI/build.xml b/coreAPI/build.xml index bbd3692..b620642 100644 --- a/coreAPI/build.xml +++ b/coreAPI/build.xml @@ -20,7 +20,7 @@ <property name="utils" value="lib/jutils.jar"/> <mkdir dir="apidocs"/> <mkdir dir="classes"/> - <mkdir dir="dist"/> + <mkdir dir="bin"/> </target> <target name="compile" depends="init"> @@ -48,21 +48,22 @@ <!-- Manifest-Version: 1.0 --> <!-- Main-Class: com.foo.Main --> <!-- 3. Pass to <jar>: manifest="myapp.mf" --> - <jar jarfile="dist/jinput.jar" compress="true" basedir="classes"> + <jar jarfile="bin/jinput.jar" compress="true" basedir="classes"> <include name="net/**"/> <exclude name="**/*.java"/> <exclude name="**/*.form"/> <exclude name="myapp.mf"/> <exclude name="myapp.jar"/> </jar> - <copy file="dist/jinput.jar" todir="../plugins/DX8/lib" /> + <copy file="bin/jinput.jar" todir="../plugins/DX8/lib" /> </target> + <target name="texttest" depends="init,all" description="Try running it."> <java classname="net.java.games.input.test.ControllerTextTest" fork="true" failonerror="true" dir="src/tests"> <classpath> - <pathelement location="dist/jinput.jar"/> + <pathelement location="bin/jinput.jar"/> <pathelement location="${utils}"/> </classpath> <!-- Pass some args, perhaps: --> @@ -75,7 +76,7 @@ <java classname="net.java.games.input.test.ControllerReadTest" fork="true" failonerror="true" dir="src/tests"> <classpath> - <pathelement location="dist/jinput.jar"/> + <pathelement location="bin/jinput.jar"/> <pathelement location="${utils}"/> </classpath> <!-- Pass some args, perhaps: --> @@ -104,13 +105,13 @@ <include name="**/*.class"/> </fileset> </delete> - <delete file="dist/jinput.jar"/> + <delete file="bin/jinput.jar"/> <delete dir="apidocs"/> <delete file="../plugins/DX8/lib/jinput.jar" /> </target> <target name="all" depends="init,jar" description="Build everything."> - <echo message="JInput has been built and jinput.jar is located in the dist directory."/> + <echo message="JInput has been built and jinput.jar is located in the bin directory."/> </target> </project> |