harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stepan Mishura <stepan.mish...@gmail.com>
Subject Re: Experiments building security2
Date Mon, 16 Jan 2006 12:35:09 GMT
>great -- and what problems did you see?

Just failing tests :-)

The script from security2 runs all unit tests from Intel's contribution.
Some of them failed due to different reasons but most of them passed.

Thanks,
Stepan Mishura
Intel Middleware Products Division
On 1/16/06, Tim Ellison <t.p.ellison@gmail.com> wrote:

> great -- and what problems did you see?
>
> > cause some tests hang VM
>
> anything else to report?
>
> Tim
>
> Mishura, Stepan M wrote:
> > Tim Ellison wrote:
> >
> >>I think the immediate goal should be to make the 'security2' code a
> >>replacement for 'security'.
> >>
> >>Since security is part of the componentized-build bootstrapping code
> >>(i.e. required to run the compiler in self-hosting mode) then we need
> >
> > to
> >
> >>integrate the security2 build script with the classlib/make/build.xml.
> >
> >
> > I did the following 'quick integration' for my experiments (crypto and
> > x-net code go to security.jar and we don't compile native code for login
> > modules)
> >
> > 1) substitute code in modules/security/src/main with code from security2
> > 2) update make/build-java.xml to compile all source files
> > 3) append to depends/patternsets/security.txt
> > com/openintel/**/*
> > javax/crypto/*
> > javax/crypto/interfaces/*
> > javax/crypto/spec/*
> > javax/net/*
> > javax/net/ssl/*
> >
> > 4) cd make; ant
> >
> >
> >>>>I couldn't run the test suites (the junit fork fails) so still
> >
> > playing
> >
> >>>>with that.
> >
> >
> > To build and run unit tests I used the script from security2.
> >
> > 1) add to classpath jars: JUnit, BouncyCastle, JDT compiler
> > 2) add to INCLUDE path to jni header files or exclude building native
> > libraries
> > 3) update build.xml:
> >    - specify Eclipse JDT compiler with "build.compiler" property
> >    - do you 'minor tweak' for building tests (i.e. add
> > ${java.home}/lib/boot to bootclasspath)
> >    - uncomment exclude clause for tests that requires java.util.logging
> > package to be compiled
> >    - for junit task: set timeout (cause some tests hang VM)and remove
> > prepending bootclasspath with security_alt.jar, crypto.jar and x_net.jar
> > 4) set JAVA_HOME to %HY_DEPLOY%\jre
> > 5) ant tests.run
> >
> > If something unclear or you need more detailed info please let me know.
> >
> > Thanks,
> > Stepan Mishura
> > Intel Middleware Products Division
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message