aboutsummaryrefslogtreecommitdiffstats
path: root/build.xml
diff options
context:
space:
mode:
authorkcr <kcr@28c7f869-5b4e-e670-f602-82bfaf57f300>2006-02-01 02:12:37 +0000
committerkcr <kcr@28c7f869-5b4e-e670-f602-82bfaf57f300>2006-02-01 02:12:37 +0000
commite78d6ea8b3dfcd57a54c0e5f40301d700ee8dc4d (patch)
tree21a60a7075bd93cf9fc7f12276becb7d2dd46c07 /build.xml
parent39283191507259cb4dccba3441cdf16025179829 (diff)
Minor update to ant script
Diffstat (limited to 'build.xml')
-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>