diff options
author | Kevin Rushforth <[email protected]> | 2008-02-28 20:18:51 +0000 |
---|---|---|
committer | Kevin Rushforth <[email protected]> | 2008-02-28 20:18:51 +0000 |
commit | c5d3057b2e46b8dd9d53f8ee5f628353f5af91c4 (patch) | |
tree | 4f9bab1a5591d22295daf8d9f583b3107ef4899c /build.xml | |
parent | b7f7ab4125676c11ea6be21a14be22575cb90621 (diff) |
Update source code for GPLv2 license
git-svn-id: https://svn.java.net/svn/vecmath~svn/trunk@127 dd45e54d-f42e-c781-df72-dca083a658b1
Diffstat (limited to 'build.xml')
-rw-r--r-- | build.xml | 56 |
1 files changed, 54 insertions, 2 deletions
@@ -16,6 +16,24 @@ <project name="vecmath-1.5.2" default="jar-debug" basedir="."> + <!-- *************************************** --> + <!-- *** Begin build-specific properties *** --> + <!-- *************************************** --> + + <!-- + * The following properties specify the current version of 3D. + * The "version_base" property specifies the dot-dot base version + * number of 3D; it must contain exactly three integer numbers + * separated by "periods ("."). It should match the version base + * defined in the j3d-core build.xml file. + --> + <property name="version_base" value="1.5.2"/> + + <!-- ************************************* --> + <!-- *** End build-specific properties *** --> + <!-- ************************************* --> + + <!-- Set global properties for this build --> <property name="src" location="src"/> <property name="build" location="build"/> @@ -23,6 +41,12 @@ <property name="version" value="1_5_2"/> <property name="docname" value="vecmath-${version}-doc"/> + <property name="build.spec.title" value="3D Vector Math Package"/> + <property name="build.impl.title" value="3D Vector Math Package"/> + <property name="build.spec.vendor" value=""/> + <property name="build.impl.vendor" value=""/> + <property name="build.impl.vendor.id" value=""/> + <target name="echo"> <echo message="user.name = ${user.name}"/> <echo message="user.home = ${user.home}"/> @@ -48,6 +72,7 @@ <!-- Create the debug build directory structure used for compile --> <mkdir dir="${build}/debug/classes"/> + <mkdir dir="${build}/debug/gen"/> <!-- Compile the java code from ${src} into ${build}/debug/classes --> <javac srcdir="${src}" @@ -68,6 +93,7 @@ <!-- Create the opt build directory structure used for compile --> <mkdir dir="${build}/opt/classes"/> + <mkdir dir="${build}/opt/gen"/> <!-- Compile the java code from ${src} into ${build}/opt/classes --> <javac srcdir="${src}" @@ -91,6 +117,19 @@ <!-- Create the jar directory --> <mkdir dir="${build}/debug/lib/ext"/> + <copy todir="${build}/debug/gen" + overwrite="true"> + <fileset dir="${src}" includes="VECMATH.MF"/> + <filterset> + <filter token="VERSION_BASE" value="${version_base}"/> + <filter token="SPEC_TITLE" value="${build.spec.title}"/> + <filter token="SPEC_VENDOR" value="${build.spec.vendor}"/> + <filter token="IMPL_TITLE" value="${build.impl.title}"/> + <filter token="IMPL_VENDOR" value="${build.impl.vendor}"/> + <filter token="IMPL_VENDOR_ID" value="${build.impl.vendor.id}"/> + </filterset> + </copy> + <!-- Copy the copyright file and all license files --> <copy todir="${build}/debug/classes/javax"> <fileset dir="." includes="COPYRIGHT.txt"/> @@ -99,7 +138,7 @@ <!-- Put everything in ${build}/debug/classes into the vecmath.jar file --> <jar jarfile="${build}/debug/lib/ext/vecmath.jar" - manifest="${src}/VECMATH.MF" compress="false" update="yes"> + manifest="${build}/debug/gen/VECMATH.MF" compress="false" update="yes"> <fileset dir="${build}/debug/classes"/> </jar> </target> @@ -108,6 +147,19 @@ <!-- Create the jar directory --> <mkdir dir="${build}/opt/lib/ext"/> + <copy todir="${build}/opt/gen" + overwrite="true"> + <fileset dir="${src}" includes="VECMATH.MF"/> + <filterset> + <filter token="VERSION_BASE" value="${version_base}"/> + <filter token="SPEC_TITLE" value="${build.spec.title}"/> + <filter token="SPEC_VENDOR" value="${build.spec.vendor}"/> + <filter token="IMPL_TITLE" value="${build.impl.title}"/> + <filter token="IMPL_VENDOR" value="${build.impl.vendor}"/> + <filter token="IMPL_VENDOR_ID" value="${build.impl.vendor.id}"/> + </filterset> + </copy> + <!-- Copy the copyright file and all license files --> <copy todir="${build}/opt/classes/javax"> <fileset dir="." includes="COPYRIGHT.txt"/> @@ -116,7 +168,7 @@ <!-- Put everything in ${build}/classes/opt into the vecmath.jar file --> <jar jarfile="${build}/opt/lib/ext/vecmath.jar" - manifest="${src}/VECMATH.MF" compress="false" update="yes"> + manifest="${build}/opt/gen/VECMATH.MF" compress="false" update="yes"> <fileset dir="${build}/opt/classes"/> </jar> </target> |