diff options
author | paulby <[email protected]> | 2007-04-13 00:41:33 +0000 |
---|---|---|
committer | paulby <[email protected]> | 2007-04-13 00:41:33 +0000 |
commit | 4aa069519c612a960a4812aaa22d3b5d179d01c0 (patch) | |
tree | fde1e30adee13a2b2c14a8e60a924a2bb32e9568 | |
parent | b76e210cdf31a63c02d3713f5083ce5d4c5178f0 (diff) |
Add install-opt target
Issue number:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.java.net/svn/j3d-core~svn/trunk@819 ba19aa83-45c5-6ac9-afd3-db810772062c
-rw-r--r-- | build.xml | 4 | ||||
-rw-r--r-- | src/classes/build.xml | 10 |
2 files changed, 14 insertions, 0 deletions
@@ -786,6 +786,10 @@ <ant dir="src/classes" target="install-debug"/> </target> + <target name="install-opt" depends="jar-opt"> + <ant dir="src/classes" target="install-opt"/> + </target> + <target name="uninstall" depends="setupPlatform"> <ant dir="src/classes" target="uninstall"/> </target> diff --git a/src/classes/build.xml b/src/classes/build.xml index 7adc358..50e33d8 100644 --- a/src/classes/build.xml +++ b/src/classes/build.xml @@ -361,6 +361,16 @@ </copy> </target> + <target name="install-opt"> + <copy todir="${java.home}/lib/ext"> + <fileset dir="${build}/${platform}/opt/lib/ext" includes="*.jar"/> + <fileset dir="${vecmath_home}/build/opt/lib/ext" includes="vecmath.jar"/> + </copy> + <copy todir="${java.home}/${install.bin}"> + <fileset dir="${build}/${platform}/opt/${install.bin}" includes="*"/> + </copy> + </target> + <target name="uninstall"> <delete> <fileset dir="${java.home}/lib/ext" includes="j3dcore.jar, j3dutils.jar, vecmath.jar"/> |