harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Ellison <t.p.elli...@gmail.com>
Subject Experiments building security2
Date Thu, 12 Jan 2006 14:29:57 GMT
FYI I just tried using the Harmony classlib code (and IBM VM) to build
'security2' with the existing security2 build scripts.

With a minor tweak(*) to the security2/make/build.xml to reflect the
layout of our deployment, I was able to successfully build security2
using only the class library code from Harmony.

This is good news, since it shows that the security2 component will fit
into the existing classlib builds and maintain our 'self-hosting' status
(i.e. no dependencies on another Java implementations after the initial
bootstrap build).

This is what I ran:

set HY_DEPLOY=/harmony/enhanced/classlib/trunk/deploy
set HY_LIB=%HY_DEPLOY%/jre/lib/boot
set ANT_HOME=/apache-ant-1.6.5
set CLASSPATH=%HY_LIB%/kernel-stubs.jar;%HY_LIB%/luni.jar
set INCLUDE=%HY_DEPLOY%/include;%INCLUDE%

%HY_DEPLOY%\jre\bin\java.exe -cp %ANT_HOME%/lib/ant-launcher.jar
-Dant.home=%ANT_HOME%/lib/ant-launcher.jar
org.apache.tools.ant.launch.Launcher -lib %ANT_HOME%/lib
-Dbuild.compiler=org.eclipse.jdt.core.JDTCompilerAdapter


and it all built successfully :-)

I couldn't run the test suites (the junit fork fails) so still playing
with that.


(*) Minor tweak was adding /boot to the end of the jre/lib directory


Index: build.xml
===================================================================
--- build.xml   (revision 367403)
+++ build.xml   (working copy)
@@ -298,7 +298,7 @@
             <patternset refid="api.src.all"/>
             <bootclasspath>
                 <pathelement path="${build.path}/classes"/>
-                <fileset dir="${java.home}/lib">
+                <fileset dir="${java.home}/lib/boot">
                     <include name="*.jar"/>
                 </fileset>
             </bootclasspath>




-- 

Tim Ellison (t.p.ellison@gmail.com)
IBM Java technology centre, UK.

Mime
View raw message