From a47ee260030f43f99926137d5fc4f1827df74841 Mon Sep 17 00:00:00 2001 From: paulby Date: Sat, 8 Jan 2005 02:03:35 +0000 Subject: Add build.javaonly property and jar-opt-javaonly, jar-debug-javaonly targets. These allow just the java portions of the project to be built. Also changed clean to only clean the current platform. Added clean-all to clean all platforms. git-svn-id: https://svn.java.net/svn/j3d-core~svn/trunk@103 ba19aa83-45c5-6ac9-afd3-db810772062c --- build.xml | 84 ++++++++++++++++++++++++++++++++++++++++++++++++--------------- 1 file changed, 64 insertions(+), 20 deletions(-) (limited to 'build.xml') diff --git a/build.xml b/build.xml index 1e822c0..87a24af 100644 --- a/build.xml +++ b/build.xml @@ -312,11 +312,19 @@ + + + + + + + + @@ -325,11 +333,21 @@ + + + + + + + + + + @@ -398,62 +416,88 @@ - + + + + + + + + + + + + + + + The following ant targets are available ("jar-opt" is the default): - all - execute targets jar-debug and dist. + all - execute targets jar-debug and dist. - clean - removes WS/build/ and WS/dist/ + clean - removes WS/build/ and WS/dist/ for current platform + + clean-all - removes WS/build/ and WS/dist/ for all platforms - clean-dist - removes WS/dist. + clean-dist - removes WS/dist. + + clean-javaonly - removes java portion of WS/build for current platform - compile - execute targets compile-debug and compile-opt. + compile - execute targets compile-debug and compile-opt. - compile-debug - builds all classes and native layer in WS/src into + compile-debug - builds all classes and native layer in WS/src into class files under WS/build/${platform}/debug/classes/ and native files under WS/build/${platform}/debug/native/ - compile-opt - builds all classes and native layer in WS/src into + compile-opt - builds all classes and native layer in WS/src into class files under WS/build/${platform}/opt/classes/ and native files under WS/build/${platform}/opt/native/ - dist - creates the distribution jar, native library and javadoc + dist - creates the distribution jar, native library and javadoc under WS/dist/${platform}. - docs - builds all classes in WS/src into javadoc under + docs - builds all classes in WS/src into javadoc under WS/build/javadocs. - docs-jcp - builds JCP docs of all classes in WS/src into javadoc under - WS/build/javadocs/docs-jcp. + docs-jcp - builds JCP docs of all classes in WS/src into javadoc + under WS/build/javadocs/docs-jcp. - docs-private - builds private docs of all classes in WS/src into javadoc under - WS/build/javadocs/docs-private. + docs-private - builds private docs of all classes in WS/src into javadoc + under WS/build/javadocs/docs-private. - docs-public - builds public docs of all classes in WS/src into javadoc under - WS/build/javadocs/docs-public. + docs-public - builds public docs of all classes in WS/src into javadoc + under WS/build/javadocs/docs-public. - echo - echo some useful information, such as user.home, + echo - echo some useful information, such as user.home, ant.home, java.home and platform. - jar - execute targets jar-debug and jar-opt. + jar - execute targets jar-debug and jar-opt. - jar-debug - creates WS/build/${platform}/debug/lib for all jar + jar-debug - creates WS/build/${platform}/debug/lib for all jar files and libraries from class and native code files under WS/build/${platform}/debug/classes and WS/build/${platform}/debug/native. + + jar-debug-javaonly + - compiles only the java portion of Java3D and builds + jars in same locations as jar-debug - jar-opt - creates WS/build/${platform}/opt/lib for all jar + jar-opt - creates WS/build/${platform}/opt/lib for all jar files and libraries from class and native code files under WS/build/${platform}/opt/classes and WS/build/${platform}/opt/native. + + jar-opt-javaonly + - compiles only the java portion of Java3D and builds + jars in same location as jar-opt - rpm - creates a i586 rpm for installation in /usr/java/jdk1.5.0 + rpm - creates a i586 rpm for installation in /usr/java/jdk1.5.0 the rpm is placed in dist/rpm -- cgit v1.2.3