diff options
author | kcr <kcr@28c7f869-5b4e-e670-f602-82bfaf57f300> | 2006-09-29 18:22:42 +0000 |
---|---|---|
committer | kcr <kcr@28c7f869-5b4e-e670-f602-82bfaf57f300> | 2006-09-29 18:22:42 +0000 |
commit | e08760feb275049e2d45c1ca75d44f9b20f78431 (patch) | |
tree | ec0be362afd7dbd9e16e4bc9a03300d89dff0802 | |
parent | b4d205c19104de8b9b0ef175f8af2e2c9dd578ee (diff) |
Make dev-1_5 branch obsolete. The 1.5 development is now on the main trunk.dev-1_5
-rw-r--r-- | build.xml | 504 |
1 files changed, 37 insertions, 467 deletions
@@ -2,43 +2,16 @@ <!-- /* + *************************************************************** + *** WARNING: THIS CVS BRANCH IS NOW OBSOLETE *** + *** ALL 1.5.0 development is now on the trunk (MAIN branch) *** + *************************************************************** + * * $RCSfile$ * * Copyright (c) 2006 Sun Microsystems, Inc. All rights reserved. * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * - * - Redistribution of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * - * - Redistribution in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in - * the documentation and/or other materials provided with the - * distribution. - * - * Neither the name of Sun Microsystems, Inc. or the names of - * contributors may be used to endorse or promote products derived - * from this software without specific prior written permission. - * - * This software is provided "AS IS," without a warranty of any - * kind. ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND - * WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT, ARE HEREBY - * EXCLUDED. SUN MICROSYSTEMS, INC. ("SUN") AND ITS LICENSORS SHALL - * NOT BE LIABLE FOR ANY DAMAGES SUFFERED BY LICENSEE AS A RESULT OF - * USING, MODIFYING OR DISTRIBUTING THIS SOFTWARE OR ITS - * DERIVATIVES. IN NO EVENT WILL SUN OR ITS LICENSORS BE LIABLE FOR - * ANY LOST REVENUE, PROFIT OR DATA, OR FOR DIRECT, INDIRECT, SPECIAL, - * CONSEQUENTIAL, INCIDENTAL OR PUNITIVE DAMAGES, HOWEVER CAUSED AND - * REGARDLESS OF THE THEORY OF LIABILITY, ARISING OUT OF THE USE OF OR - * INABILITY TO USE THIS SOFTWARE, EVEN IF SUN HAS BEEN ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGES. - * - * You acknowledge that this software is not designed, licensed or - * intended for use in the design, construction, operation or - * maintenance of any nuclear facility. + * Use is subject to license terms. * * $Revision$ * $Date$ @@ -46,439 +19,36 @@ */ --> -<project name="j3d-examples-1.5.0" default="jar"> - - <target name="init"> - <!-- Set global properties for this build --> - <property name="src" location="src"/> - <property name="build" location="build"/> - <property name="dist" location="dist"/> - <property name="output.jar" location="dist/j3d-examples.jar"/> - <property name="output.zip" location="dist/j3d-examples-1_5_0-src.zip"/> - <property name="j3ddir" location="../j3d-core/build/default/debug"/> - <property name="vecmathdir" location="../vecmath/build/debug"/> - <property name="j3dcore.jar" location="${j3ddir}/lib/ext/j3dcore.jar"/> - <property name="j3dutils.jar" location="${j3ddir}/lib/ext/j3dutils.jar"/> - <property name="vecmath.jar" location="${vecmathdir}/lib/ext/vecmath.jar"/> - <property name="native.dir" location="${j3ddir}/native"/> - </target> - - <target name="compile" depends="init-compile"> - <!-- Create the build directory --> - <mkdir dir="${build}/classes"/> - - <!-- Compile the java code from ${src}/classes into ${build}/classes --> - <javac srcdir="${src}/classes" - destdir="${build}/classes" - source="1.5" - target="1.5" - debug="true" - deprecation="off"> - <classpath refid="comp.classpath"/> - </javac> - - <!-- Copy resources to build in preparation for jarring --> - <copy todir="${build}/classes/org/jdesktop/j3d/examples/resources"> - <fileset dir="${src}/resources"/> - </copy> - - <!-- 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 **/*.txt"/> - </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" - update="no" - compress="true"> - <fileset dir="${build}/classes" includes="org/**/*"/> - </jar> - </target> - - <target name="zip" depends="init"> - <mkdir dir="${dist}"/> - <zip destfile="${output.zip}"> - <fileset dir=".." includes="j3d-examples/src/**"/> - <fileset dir=".." includes="j3d-examples/COPYRIGHT.txt"/> - <fileset dir=".." includes="j3d-examples/README*.*"/> - <fileset dir=".." includes="j3d-examples/*LICENSE*.*"/> - <fileset dir=".." includes="j3d-examples/build.xml"/> - <fileset dir=".." includes="j3d-examples/manifest.mf"/> - <fileset dir=".." includes="j3d-examples/nbproject/**" excludes="j3d-examples/nbproject/private/**"/> - </zip> +<project name="java3d-1.5.0" default="do.fail" basedir="."> + + <target name="echo" depends="do.fail" /> + <target name="init" depends="do.fail" /> + <target name="compile-debug" depends="do.fail" /> + <target name="compile-opt" depends="do.fail" /> + <target name="compile" depends="do.fail" /> + <target name="jar-debug" depends="do.fail" /> + <target name="jar-opt" depends="do.fail" /> + <target name="jar" depends="do.fail" /> + <target name="docs-jcp" depends="do.fail" /> + <target name="docs-public" depends="do.fail" /> + <target name="docs-private" depends="do.fail" /> + <target name="docs" depends="do.fail" /> + <target name="dist" depends="do.fail" /> + <target name="all" depends="do.fail" /> + <target name="rpm" depends="do.fail" /> + <target name="release" depends="do.fail" /> + <target name="clean-dist" depends="do.fail" /> + <target name="clean" depends="do.fail" /> + <target name="clean-all" depends="do.fail" /> + <target name="install-debug" depends="do.fail" /> + <target name="uninstall" depends="do.fail" /> + + <target name="do.fail"> + <echo message="***************************************************************"/> + <echo message="*** WARNING: THIS CVS BRANCH IS NOW OBSOLETE ***"/> + <echo message="*** ALL 1.5.0 development is now on the trunk (MAIN branch) ***"/> + <echo message="***************************************************************"/> + + <fail message="ABORT"/> </target> - - <target name="all" depends="init,jar,zip"> - </target> - - <target name="clean" depends="init"> - <delete dir="${build}"/> - <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}"/> - <pathelement location="${j3dcore.jar}"/> - <pathelement location="${j3dutils.jar}"/> - <pathelement location="${vecmath.jar}"/> - </path> - </target> - - <target name="run" depends="run.HelloUniverse"> - </target> - - <!-- - ************************************************** - * Individual run targets for each example program - ************************************************** - --> - - <target name="run.AppearanceMixed" depends="init-run"> - <java fork="true" - classname="org.jdesktop.j3d.examples.appearance.AppearanceMixed"> - <classpath refid="run.classpath"/> - <sysproperty key="java.library.path" value="${native.dir}"/> - </java> - </target> - - <target name="run.AppearanceTest" depends="init-run"> - <java fork="true" - classname="org.jdesktop.j3d.examples.appearance.AppearanceTest"> - <classpath refid="run.classpath"/> - <sysproperty key="java.library.path" value="${native.dir}"/> - </java> - </target> - - <target name="run.Applet3D" depends="init-run"> - <java fork="true" - classname="org.jdesktop.j3d.examples.applet3d.Applet3D"> - <classpath refid="run.classpath"/> - <sysproperty key="java.library.path" value="${native.dir}"/> - </java> - </target> - - <target name="run.BackgroundGeometry" depends="init-run"> - <java fork="true" - classname="org.jdesktop.j3d.examples.background.BackgroundGeometry"> - <classpath refid="run.classpath"/> - <sysproperty key="java.library.path" value="${native.dir}"/> - </java> - </target> - - <target name="run.ConfigObjLoad" depends="init-run"> - <java fork="true" - classname="org.jdesktop.j3d.examples.configured_universe.ConfigObjLoad"> - <classpath refid="run.classpath"/> - <sysproperty key="java.library.path" value="${native.dir}"/> - </java> - </target> - - <target name="run.DepthFuncTest" depends="init-run"> - <java fork="true" - classname="org.jdesktop.j3d.examples.depth_func.DepthFuncTest"> - <classpath refid="run.classpath"/> - <sysproperty key="java.library.path" value="${native.dir}"/> - </java> - </target> - - <target name="run.DistortGlyphTest" depends="init-run"> - <java fork="true" - classname="org.jdesktop.j3d.examples.distort_glyph.DistortGlyphTest"> - <classpath refid="run.classpath"/> - <sysproperty key="java.library.path" value="${native.dir}"/> - </java> - </target> - - <target name="run.Dot3Demo" depends="init-run"> - <java fork="true" - classname="org.jdesktop.j3d.examples.dot3.Dot3Demo"> - <classpath refid="run.classpath"/> - <sysproperty key="java.library.path" value="${native.dir}"/> - </java> - </target> - - <target name="run.EnvironmentMappingGLSL" depends="init-run"> - <java fork="true" - classname="org.jdesktop.j3d.examples.glsl_shader.EnvironmentMappingGLSL"> - <classpath refid="run.classpath"/> - <sysproperty key="java.library.path" value="${native.dir}"/> - </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"/> - <sysproperty key="java.library.path" value="${native.dir}"/> - </java> - </target> - - <target name="run.FPSCounterDemo" depends="init-run"> - <java fork="true" - classname="org.jdesktop.j3d.examples.fps_counter.FPSCounterDemo"> - <classpath refid="run.classpath"/> - <sysproperty key="java.library.path" value="${native.dir}"/> - </java> - </target> - - <target name="run.GearBox" depends="init-run"> - <java fork="true" - classname="org.jdesktop.j3d.examples.gears.GearBox"> - <classpath refid="run.classpath"/> - <sysproperty key="java.library.path" value="${native.dir}"/> - </java> - </target> - - <target name="run.GearTest" depends="init-run"> - <java fork="true" - classname="org.jdesktop.j3d.examples.gears.GearTest"> - <classpath refid="run.classpath"/> - <sysproperty key="java.library.path" value="${native.dir}"/> - </java> - </target> - - <target name="run.HelloUniverse" depends="init-run"> - <java fork="true" - classname="org.jdesktop.j3d.examples.hello_universe.HelloUniverse"> - <classpath refid="run.classpath"/> - <sysproperty key="java.library.path" value="${native.dir}"/> - </java> - </target> - - <target name="run.ImageComponentByReferenceTest" depends="init-run"> - <java fork="true" - classname="org.jdesktop.j3d.examples.geometry_by_ref.ImageComponentByReferenceTest"> - <classpath refid="run.classpath"/> - <sysproperty key="java.library.path" value="${native.dir}"/> - </java> - </target> - - <target name="run.InterleavedNIOBuffer" depends="init-run"> - <java fork="true" - classname="org.jdesktop.j3d.examples.geometry_by_ref.InterleavedNIOBuffer"> - <classpath refid="run.classpath"/> - <sysproperty key="java.library.path" value="${native.dir}"/> - </java> - </target> - - <target name="run.InterleavedTest" depends="init-run"> - <java fork="true" - classname="org.jdesktop.j3d.examples.geometry_by_ref.InterleavedTest"> - <classpath refid="run.classpath"/> - <sysproperty key="java.library.path" value="${native.dir}"/> - </java> - </target> - - <target name="run.LOD" depends="init-run"> - <java fork="true" - classname="org.jdesktop.j3d.examples.lod.LOD"> - <classpath refid="run.classpath"/> - <sysproperty key="java.library.path" value="${native.dir}"/> - </java> - </target> - - <target name="run.Morphing" depends="init-run"> - <java fork="true" - classname="org.jdesktop.j3d.examples.morphing.Morphing"> - <classpath refid="run.classpath"/> - <sysproperty key="java.library.path" value="${native.dir}"/> - </java> - </target> - - <target name="run.MultiTextureTest" depends="init-run"> - <java fork="true" - classname="org.jdesktop.j3d.examples.texture.MultiTextureTest"> - <classpath refid="run.classpath"/> - <sysproperty key="java.library.path" value="${native.dir}"/> - </java> - </target> - - <target name="run.ObjLoad" depends="init-run"> - <java fork="true" - classname="org.jdesktop.j3d.examples.objload.ObjLoad"> - <classpath refid="run.classpath"/> - <sysproperty key="java.library.path" value="${native.dir}"/> - </java> - </target> - - <target name="run.ObjLoadCg" depends="init-run"> - <java fork="true" - classname="org.jdesktop.j3d.examples.cg_shader.ObjLoadCg"> - <classpath refid="run.classpath"/> - <sysproperty key="java.library.path" value="${native.dir}"/> - <sysproperty key="j3d.shadingLanguage" value="Cg"/> - </java> - </target> - - <target name="run.ObjLoadGLSL" depends="init-run"> - <java fork="true" - classname="org.jdesktop.j3d.examples.glsl_shader.ObjLoadGLSL"> - <classpath refid="run.classpath"/> - <sysproperty key="java.library.path" value="${native.dir}"/> - </java> - </target> - - <target name="run.OrientedPtTest" depends="init-run"> - <java fork="true" - classname="org.jdesktop.j3d.examples.oriented_shape3d.OrientedPtTest"> - <classpath refid="run.classpath"/> - <sysproperty key="java.library.path" value="${native.dir}"/> - </java> - </target> - - <target name="run.OrientedTest" depends="init-run"> - <java fork="true" - classname="org.jdesktop.j3d.examples.oriented_shape3d.OrientedTest"> - <classpath refid="run.classpath"/> - <sysproperty key="java.library.path" value="${native.dir}"/> - </java> - </target> - - <target name="run.PrintCanvas3D" depends="init-run"> - <java fork="true" - classname="org.jdesktop.j3d.examples.print_canvas3d.PrintCanvas3D"> - <classpath refid="run.classpath"/> - <sysproperty key="java.library.path" value="${native.dir}"/> - </java> - </target> - - <target name="run.PhongShadingGLSL" depends="init-run"> - <java fork="true" - classname="org.jdesktop.j3d.examples.glsl_shader.PhongShadingGLSL"> - <classpath refid="run.classpath"/> - <sysproperty key="java.library.path" value="${native.dir}"/> - </java> - </target> - - <target name="run.PureImmediate" depends="init-run"> - <java fork="true" - classname="org.jdesktop.j3d.examples.pure_immediate.PureImmediate"> - <classpath refid="run.classpath"/> - <sysproperty key="java.library.path" value="${native.dir}"/> - </java> - </target> - - <target name="run.PureImmediateStereo" depends="init-run"> - <java fork="true" - classname="org.jdesktop.j3d.examples.pure_immediate.PureImmediateStereo"> - <classpath refid="run.classpath"/> - <sysproperty key="java.library.path" value="${native.dir}"/> - </java> - </target> - -<target name="run.Pyramid2Cube" depends="init-run"> - <java fork="true" - classname="org.jdesktop.j3d.examples.morphing.Pyramid2Cube"> - <classpath refid="run.classpath"/> - <sysproperty key="java.library.path" value="${native.dir}"/> - </java> - </target> - - <target name="run.QueryProperties" depends="init-run"> - <java fork="true" - classname="org.jdesktop.j3d.examples.package_info.QueryProperties"> - <classpath refid="run.classpath"/> - <sysproperty key="java.library.path" value="${native.dir}"/> - </java> - </target> - - <target name="run.SamplerTestGLSL" depends="init-run"> - <java fork="true" - classname="org.jdesktop.j3d.examples.glsl_shader.SamplerTestGLSL"> - <classpath refid="run.classpath"/> - <sysproperty key="java.library.path" value="${native.dir}"/> - </java> - </target> - - <target name="run.ShaderTestGLSL" depends="init-run"> - <java fork="true" - classname="org.jdesktop.j3d.examples.glsl_shader.ShaderTestGLSL"> - <classpath refid="run.classpath"/> - <sysproperty key="java.library.path" value="${native.dir}"/> - </java> - </target> - -<target name="run.SphereMotion" depends="init-run"> - <java fork="true" - classname="org.jdesktop.j3d.examples.sphere_motion.SphereMotion"> - <classpath refid="run.classpath"/> - <sysproperty key="java.library.path" value="${native.dir}"/> - </java> - </target> - - <target name="run.SphereGLSL" depends="init-run"> - <java fork="true" - classname="org.jdesktop.j3d.examples.glsl_shader.SphereGLSL"> - <classpath refid="run.classpath"/> - <sysproperty key="java.library.path" value="${native.dir}"/> - </java> - </target> - - <target name="run.SphereCg" depends="init-run"> - <java fork="true" - classname="org.jdesktop.j3d.examples.cg_shader.SphereCg"> - <classpath refid="run.classpath"/> - <sysproperty key="java.library.path" value="${native.dir}"/> - <sysproperty key="j3d.shadingLanguage" value="Cg"/> - </java> - </target> - - <target name="run.TextureByReference" depends="init-run"> - <java fork="true" - classname="org.jdesktop.j3d.examples.texture_by_ref.TextureByReference"> - <classpath refid="run.classpath"/> - <sysproperty key="java.library.path" value="${native.dir}"/> - </java> - </target> - - <target name="run.TextureImage" depends="init-run"> - <java fork="true" - classname="org.jdesktop.j3d.examples.texture.TextureImage"> - <classpath refid="run.classpath"/> - <sysproperty key="java.library.path" value="${native.dir}"/> - </java> - </target> - - <target name="run.TickTockCollision" depends="init-run"> - <java fork="true" - classname="org.jdesktop.j3d.examples.collision.TickTockCollision"> - <classpath refid="run.classpath"/> - <sysproperty key="java.library.path" value="${native.dir}"/> - </java> - </target> - - <target name="run.VertexAttrTestGLSL" depends="init-run"> - <java fork="true" - classname="org.jdesktop.j3d.examples.glsl_shader.VertexAttrTestGLSL"> - <classpath refid="run.classpath"/> - <sysproperty key="java.library.path" value="${native.dir}"/> - </java> - </target> - - <target name="run.VertexAttrTestCg" depends="init-run"> - <java fork="true" - classname="org.jdesktop.j3d.examples.cg_shader.VertexAttrTestCg"> - <classpath refid="run.classpath"/> - <sysproperty key="java.library.path" value="${native.dir}"/> - <sysproperty key="j3d.shadingLanguage" value="Cg"/> - </java> - </target> - </project> |