aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--build.xml9
1 files changed, 6 insertions, 3 deletions
diff --git a/build.xml b/build.xml
index 17202fb..b6e6173 100644
--- a/build.xml
+++ b/build.xml
@@ -92,6 +92,9 @@
</target>
<target name="init-run" depends="init,jar">
+ <path id="run.classpath">
+ <pathelement location="${output.jar}"/>
+ </path>
</target>
<target name="run" depends="run.HelloUniverse">
@@ -104,21 +107,21 @@
-->
<target name="run.HelloUniverse" depends="init-run">
- <java classpath="${output.jar}"
+ <java classpath="${run.classpath}"
fork="true"
classname="org.jdesktop.j3d.examples.hello_universe.HelloUniverse">
</java>
</target>
<target name="run.QueryProperties" depends="init-run">
- <java classpath="${output.jar}"
+ <java classpath="${run.classpath}"
fork="true"
classname="org.jdesktop.j3d.examples.package_info.QueryProperties">
</java>
</target>
<target name="run.SphereMotion" depends="init-run">
- <java classpath="${output.jar}"
+ <java classpath="${run.classpath}"
fork="true"
classname="org.jdesktop.j3d.examples.sphere_motion.SphereMotion">
</java>