aboutsummaryrefslogtreecommitdiffstats
path: root/build.xml
diff options
context:
space:
mode:
authorjada <jada@28c7f869-5b4e-e670-f602-82bfaf57f300>2006-02-14 21:49:14 +0000
committerjada <jada@28c7f869-5b4e-e670-f602-82bfaf57f300>2006-02-14 21:49:14 +0000
commit825c6befcfc363fc14ab406f300686caa623b59a (patch)
tree2f4db346111343842d31d47debadbad256d1edad /build.xml
parent971762138bef7ad540026e9fb77e1018f9d23828 (diff)
1) Moved the copying of resources and shader files from the target "jar" to "compile".
2) Removed default lws file arguement option in commandline execution.
Diffstat (limited to 'build.xml')
-rw-r--r--build.xml17
1 files changed, 12 insertions, 5 deletions
diff --git a/build.xml b/build.xml
index fd37a03..9bcdb2c 100644
--- a/build.xml
+++ b/build.xml
@@ -68,11 +68,6 @@
debug="true"
deprecation="off">
</javac>
- </target>
-
- <target name="jar" depends="init,compile">
- <!-- Create the dist directory -->
- <mkdir dir="${dist}"/>
<!-- Copy resources to build in preparation for jarring -->
<copy todir="${build}/classes/org/jdesktop/j3d/examples/resources">
@@ -87,6 +82,12 @@
<fileset dir="${src}/classes/org/jdesktop/j3d/examples/glsl_shader" includes ="*.vert, *.frag"/>
</copy>
+ </target>
+
+ <target name="jar" depends="init,compile">
+ <!-- Create the dist directory -->
+ <mkdir dir="${dist}"/>
+
<!-- Create the jar file -->
<jar jarfile="${output.jar}"
manifest="manifest.mf"
@@ -224,4 +225,10 @@
</java>
</target>
+ <target name="run.Viewer" depends="init-run">
+ <java fork="true"
+ classname="org.jdesktop.j3d.examples.lightwave.Viewer">
+ <classpath refid="run.classpath"/>
+ </java>
+ </target>
</project>