aboutsummaryrefslogtreecommitdiffstats
path: root/coreAPI
diff options
context:
space:
mode:
authorgregorypierce <[email protected]>2003-08-05 15:23:30 +0000
committergregorypierce <[email protected]>2003-08-05 15:23:30 +0000
commit5318e75692e2312ea4f1805adf86c8e1ae6240c0 (patch)
treed30a364b030cd13654ce51366ab7cdc39fe621da /coreAPI
parent72e95c72d3c5ac43edc973bc41de394e956613ea (diff)
Changed output to /dist/jinput.jar as opposed to /bin/controller.jar
git-svn-id: file:///home/sven/projects/JOGL/git-svn/svn-server-sync/jinput/trunk@30 e343933a-64c8-49c5-92b1-88f2ce3e89e8
Diffstat (limited to 'coreAPI')
-rw-r--r--coreAPI/build.xml18
1 files changed, 11 insertions, 7 deletions
diff --git a/coreAPI/build.xml b/coreAPI/build.xml
index 01a9053..5520419 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="bin"/>
+ <mkdir dir="dist"/>
</target>
<target name="compile" depends="init">
@@ -48,25 +48,25 @@
<!-- Manifest-Version: 1.0 -->
<!-- Main-Class: com.foo.Main -->
<!-- 3. Pass to <jar>: manifest="myapp.mf" -->
- <jar jarfile="bin/jinput.jar" compress="true" basedir="classes">
+ <jar jarfile="dist/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="bin/jinput.jar" todir="../plugins/DX8/lib" />
+ <copy file="dist/jinput.jar" todir="../plugins/DX8/lib" />
</target>
<target name="all" depends="init,jar" description="Build everything.">
- <echo message="Application built. Hello ${hello}!"/>
+ <echo message="Build complete. JInput distribution located in /dist"/>
</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="bin/jinput.jar"/>
+ <pathelement location="dist/jinput.jar"/>
<pathelement location="${utils}"/>
</classpath>
<!-- Pass some args, perhaps: -->
@@ -79,7 +79,7 @@
<java classname="net.java.games.input.test.ControllerReadTest"
fork="true" failonerror="true" dir="src/tests">
<classpath>
- <pathelement location="bin/jinput.jar"/>
+ <pathelement location="dist/jinput.jar"/>
<pathelement location="${utils}"/>
</classpath>
<!-- Pass some args, perhaps: -->
@@ -108,9 +108,13 @@
<include name="**/*.class"/>
</fileset>
</delete>
- <delete file="bin/jinput.jar"/>
+ <delete file="dist/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."/>
+ </target>
</project>