From 77b3a9d13e07c8fb1b9c78a3a9cd19aed14917cc Mon Sep 17 00:00:00 2001 From: Kevin Rushforth Date: Wed, 23 May 2007 17:55:48 +0000 Subject: Final changes for issue 491: Refactor platform-specific classes to use non-overlapping class names We now build a common j3dcore.jar file for all platforms. git-svn-id: https://svn.java.net/svn/j3d-core~svn/trunk@845 ba19aa83-45c5-6ac9-afd3-db810772062c --- build.xml | 110 +++++++++++++++++++++++++++++++++++++------------- src/classes/build.xml | 36 ++++++++++++----- 2 files changed, 107 insertions(+), 39 deletions(-) diff --git a/build.xml b/build.xml index 5a70e1e..93d768c 100644 --- a/build.xml +++ b/build.xml @@ -478,12 +478,50 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + @@ -760,7 +798,11 @@ - + + + + + @@ -797,57 +839,67 @@ The following ant targets are available ("jar-opt" is the default): all - execute targets jar-debug and dist. - clean - removes WS/build/ and WS/dist/ for current platform + clean - removes build/ and dist/ for current platform - clean-all - removes WS/build/ and WS/dist/ for all platforms + clean-all - removes build/ and dist/ for all platforms - clean-dist - removes WS/dist. + clean-dist - removes dist. - clean-javaonly - removes java portion of WS/build for current platform + clean-javaonly - removes java portion of build for current platform compile - execute targets compile-debug and compile-opt. - 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-debug - builds all classes and native layer in src into + class files under build/${platform}/debug/classes/ and + native files under build/${platform}/debug/native/ + + compile-opt - builds all classes and native layer in src into + class files under build/${platform}/opt/classes/ and + native files under build/${platform}/opt/native/ - 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 - THIS TARGET IS FOR RELEASE ENGINEERING ONLY; DEVELOPERS NEED NOT + USE THIS TARGET. + Copies the shared jars, and the platform-specific native + libraries, src files, and javadoc to dist/${platform}. + The dist-common target must be run first. - dist - creates the distribution jar, native library and javadoc - under WS/dist/${platform}. + dist-common - THIS TARGET IS FOR RELEASE ENGINEERING ONLY; DEVELOPERS NEED NOT + USE THIS TARGET. + This target must be run on a 32-bit Linux-x86 system. + Creates the shared jar from the linux-i586 and + windows-i586-vc build directories. + The jar-opt target must be run first. - docs - builds all classes in WS/src into javadoc under - WS/build/javadocs. + docs - builds all classes in src into javadoc under + 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 src into javadoc + under 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 src into javadoc + under 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 src into javadoc + under build/javadocs/docs-public. echo - echo some useful information, such as user.home, ant.home, java.home and platform. jar - execute targets jar-debug and jar-opt. - jar-debug - creates WS/build/${platform}/debug/lib for all jar + jar-debug - creates 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. + build/${platform}/debug/classes and + 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 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. + build/${platform}/opt/classes and + build/${platform}/opt/native. jar-opt-javaonly - compiles only the java portion of Java3D and builds diff --git a/src/classes/build.xml b/src/classes/build.xml index 45ea321..f70b6cf 100644 --- a/src/classes/build.xml +++ b/src/classes/build.xml @@ -184,7 +184,7 @@ - + @@ -333,22 +333,38 @@ + + + + + + + + + + + + + + + + + + - - + - - - - - - -- cgit v1.2.3