summaryrefslogtreecommitdiffstats
path: root/build.xml
diff options
context:
space:
mode:
Diffstat (limited to 'build.xml')
-rw-r--r--build.xml11
1 files changed, 10 insertions, 1 deletions
diff --git a/build.xml b/build.xml
index f0e1808..ab792c2 100644
--- a/build.xml
+++ b/build.xml
@@ -63,7 +63,7 @@
<property name="native.dir" location="${j3ddir}/native"/>
</target>
- <target name="compile" depends="init">
+ <target name="compile" depends="init-compile">
<!-- Create the build directory -->
<mkdir dir="${build}/classes"/>
@@ -74,6 +74,7 @@
target="1.5"
debug="true"
deprecation="off">
+ <classpath refid="comp.classpath"/>
</javac>
<!-- Copy resources to build in preparation for jarring -->
@@ -123,6 +124,14 @@
<delete dir="${dist}"/>
</target>
+ <target name="init-compile" depends="init">
+ <path id="comp.classpath">
+ <pathelement location="${j3dcore.jar}"/>
+ <pathelement location="${j3dutils.jar}"/>
+ <pathelement location="${vecmath.jar}"/>
+ </path>
+ </target>
+
<target name="init-run" depends="init,jar">
<path id="run.classpath">
<pathelement location="${output.jar}"/>