changeset 770:4325d1311d55 ppc-aix-port-b01 ppc-aix-port-b02 ppc-aix-port-b03

Initial PPC-Port checkin With this change the JAXWS repository should build on Linux/PPC with a IBM JDK7 boot JDK. - put the previously build JAXP and the newly build JAXWS classes into the boot class path to avoid problems with the corresponding classes from the IBM boot JDK. Compiled during a full JDK build with the following command lines: debug build: ------------ make FT_CFLAGS=-m64 LANG=C ALT_BOOTDIR=/sapmnt/depot/tools/gen/linuxppc64/licenseware/jse/1.7.0 ALT_OUTPUTDIR=/priv/d046063/OpenJDK/output_ppc-aix_jdk_dbg ARCH_DATA_MODEL=64 HOTSPOT_BUILD_JOBS=8 PARALLEL_COMPILE_JOBS=8 ALT_FREETYPE_LIB_PATH=/usr/local/lib ALT_FREETYPE_HEADERS_PATH=/usr/local/include ANT_HOME=/usr/local/apache-ant-1.8.4 ANT_ARGS=-autoproxy IDLJ=$(ALT_BOOTDIR)/bin/java -cp $(ALT_BOOTDIR)/lib/tools.jar com.sun.tools.corba.se.idl.toJavaPortable.Compile RMIC=$(ALT_BOOTDIR)/bin/java -cp $(ALT_BOOTDIR)/lib/tools.jar sun.rmi.rmic.Main VERBOSE=true HOTSPOT_TARGET=all_debugcore CC_INTERP=true OPENJDK=true CORE_BUILD=true debug_build 2>&1 | tee /priv/d046063/OpenJDK/output_ppc-aix_jdk_dbg.log product build: -------------- make FT_CFLAGS=-m64 LANG=C ALT_BOOTDIR=/sapmnt/depot/tools/gen/linuxppc64/licenseware/jse/1.7.0 ALT_OUTPUTDIR=/priv/d046063/OpenJDK/output_ppc-aix_jdk_opt ARCH_DATA_MODEL=64 HOTSPOT_BUILD_JOBS=8 PARALLEL_COMPILE_JOBS=8 ALT_FREETYPE_LIB_PATH=/usr/local/lib ALT_FREETYPE_HEADERS_PATH=/usr/local/include ANT_HOME=/usr/local/apache-ant-1.8.4 ANT_ARGS=-autoproxy IDLJ=$(ALT_BOOTDIR)/bin/java -cp $(ALT_BOOTDIR)/lib/tools.jar com.sun.tools.corba.se.idl.toJavaPortable.Compile RMIC=$(ALT_BOOTDIR)/bin/java -cp $(ALT_BOOTDIR)/lib/tools.jar sun.rmi.rmic.Main VERBOSE=true HOTSPOT_TARGET=all_productcore CC_INTERP=true OPENJDK=true CORE_BUILD=true product_build 2>&1 | tee /priv/d046063/OpenJDK/output_ppc-aix_jdk_opt.log
author simonis
date Fri, 22 Jun 2012 15:58:17 +0200
parents e0a71584b8d8
children dd26e20e0df8
files build.properties build.xml
diffstat 2 files changed, 13 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/build.properties	Thu May 31 14:06:42 2012 -0700
+++ b/build.properties	Fri Jun 22 15:58:17 2012 +0200
@@ -58,6 +58,9 @@
 build.dir=${output.dir}/build
 build.classes.dir=${build.dir}/classes
 
+# JAXP built files
+jaxp.classes.dir=${output.dir}/../jaxp/build/classes
+
 # Distributed results
 dist.dir=${output.dir}/dist
 dist.lib.dir=${dist.dir}/lib
--- a/build.xml	Thu May 31 14:06:42 2012 -0700
+++ b/build.xml	Fri Jun 22 15:58:17 2012 +0200
@@ -135,9 +135,15 @@
     <target name="compile"
 	    depends="init">
         <mkdir dir="${build.classes.dir}"/>
-        <javac 
-	     includeAntRuntime="false" 
-	     classpath="${build.classes.dir}:${tools.jar}"
+	<!-- 
+	  It seems that the 'includeAntRuntime' and 'includeJavaRuntime' arguments are ignored if 
+	  we use fork=true. This leads to the problem that we end up using classes from the botstrapping
+	  JDK's class path which may be incompatible with the JAXP/JAXWS classes we are currently building. 
+	  To fix this problem we prepend the newly created JAXP/JAXWS classes to javac's boot class path
+	-->
+        <javac
+	     includeAntRuntime="false"
+	     classpath="${jaxp.classes.dir}:${build.classes.dir}:${tools.jar}"
 	     fork="true"
              destdir="${build.classes.dir}"
              memoryInitialSize="${javac.memoryInitialSize}"
@@ -145,7 +151,7 @@
              source="${javac.source}"
 	     debug="${javac.debug}"
              target="${javac.target}">
-            <compilerarg value="-J-Xbootclasspath/p:${javac.jar}"/>
+            <compilerarg value="-J-Xbootclasspath/p:${javac.jar}:${jaxp.classes.dir}:${build.classes.dir}"/>
             <compilerarg line="${javac.version.opt} ${javac.lint.opts} ${javac.no.jdk.warnings}"/>
             <src refid="src.dir.id"/>
         </javac>