aboutsummaryrefslogtreecommitdiffstats
path: root/build.xml
diff options
context:
space:
mode:
authorjada <jada@28c7f869-5b4e-e670-f602-82bfaf57f300>2006-02-22 00:17:09 +0000
committerjada <jada@28c7f869-5b4e-e670-f602-82bfaf57f300>2006-02-22 00:17:09 +0000
commit2b150446831e7de4421a537b00709aecf5aa2764 (patch)
tree258dd074c27d56a96b1d59271615f3da7efe7347 /build.xml
parenta17390e3d9904991e7a2ff802647d571f7859251 (diff)
Make applet programs work in the new directory structure and cleanup.
Diffstat (limited to 'build.xml')
-rw-r--r--build.xml46
1 files changed, 39 insertions, 7 deletions
diff --git a/build.xml b/build.xml
index 8f662af..d44e2ce 100644
--- a/build.xml
+++ b/build.xml
@@ -74,14 +74,11 @@
<copy todir="${build}/classes/org/jdesktop/j3d/examples/resources">
<fileset dir="${src}/resources"/>
</copy>
- <!-- Cg shader -->
- <copy todir="${build}/classes/org/jdesktop/j3d/examples/cg_shader">
- <fileset dir="${src}/classes/org/jdesktop/j3d/examples/cg_shader" includes ="*.cg"/>
+
+ <!-- Copy all non class files from src to build -->
+ <copy todir="${build}/classes/org/jdesktop/j3d/examples">
+ <fileset dir="${src}/classes/org/jdesktop/j3d/examples" includes ="**/*.vert **/*.frag **/*.cg **/*.cfg **/*.html"/>
</copy>
- <!-- GLSL shader -->
- <copy todir="${build}/classes/org/jdesktop/j3d/examples/glsl_shader">
- <fileset dir="${src}/classes/org/jdesktop/j3d/examples/glsl_shader" includes ="*.vert, *.frag"/>
- </copy>
</target>
@@ -148,13 +145,41 @@
</java>
</target>
+ <target name="run.Applet3D" depends="init-run">
+ <java fork="true"
+ classname="org.jdesktop.j3d.examples.applet3d.Applet3D">
+ <classpath refid="run.classpath"/>
+ </java>
+ </target>
+
<target name="run.BackgroudGeometry" depends="init-run">
<java fork="true"
classname="org.jdesktop.j3d.examples.background.BackgroundGeometry">
<classpath refid="run.classpath"/>
</java>
</target>
+
+ <target name="run.ConfigObjLoad" depends="init-run">
+ <java fork="true"
+ classname="org.jdesktop.j3d.examples.configured_universe.ConfigObjLoad">
+ <classpath refid="run.classpath"/>
+ </java>
+ </target>
+
+ <target name="run.DepthFuncTest" depends="init-run">
+ <java fork="true"
+ classname="org.jdesktop.j3d.examples.depth_func.DepthFuncTest">
+ <classpath refid="run.classpath"/>
+ </java>
+ </target>
+ <target name="run.FourByFour" depends="init-run">
+ <java fork="true"
+ classname="org.jdesktop.j3d.examples.four_by_four.FourByFour">
+ <classpath refid="run.classpath"/>
+ </java>
+ </target>
+
<target name="run.HelloUniverse" depends="init-run">
<java fork="true"
classname="org.jdesktop.j3d.examples.hello_universe.HelloUniverse">
@@ -238,6 +263,13 @@
<classpath refid="run.classpath"/>
</java>
</target>
+
+ <target name="run.TickTockCollision" depends="init-run">
+ <java fork="true"
+ classname="org.jdesktop.j3d.examples.collision.TickTockCollision">
+ <classpath refid="run.classpath"/>
+ </java>
+ </target>
<target name="run.Viewer" depends="init-run">
<java fork="true"