Hi Tim
I compiled tests with Eclipse JDT compiler . But for building and running
'security2' tests additional configuration steps are required because we
didn't especially design security2/make ant script to run with Harmony
classlib build. I understand that this causes difficulties. May be it makes
sense to patch the 'security2' ant script for running tests with the
classlib.
Also a possible way to avoid tests recompilation is to comment clean
statements in the 'security2' ant script. For example,
Index: modules/security2/make/build.xml
===================================================================
--- modules/security2/make/build.xml (revision 373787)
+++ modules/security2/make/build.xml (working copy)
@@ -242,7 +242,7 @@
<target name="dist" depends="init, init.win, init.linux, compile.api,
build.jars, build.native, copy.security"
description="Building Security binaries">
<!-- clean up -->
- <delete dir="${tmp}"/>
+ <!--delete dir="${tmp}"/-->
</target>
@@ -261,7 +261,7 @@
</target>
<target name="clean">
- <delete dir="${build.path}"/>
+ <!--delete dir="${build.path}"/-->
</target>
<!-- SUPPORT TARGETS -->
Thanks,
Stepan Mishura
Intel Middleware Products Division
On 1/31/06, Tim Ellison <[EMAIL PROTECTED]> wrote:
>
> Can somebody tell me how to run the security2 tests on the Harmony code?
>
> I can checkout the entire library, and with a JDK on the path, I can
> build it all together.
>
> Then if I go into the security2/make dir the ant target to run the tests
> (called "tests.run") compiles the test suite code too, so I still need
> the JDK on the path -- so how do I run the tests on the Harmony JRE
> classlib/deploy?
>
> The security2/make/build.xml still has a bunch of environment
> assumptions about my JAVA_HOME / CLASSPATH etc. Can we get rid of them?
>
> Thanks
> Tim
>
> --
>
> Tim Ellison ([EMAIL PROTECTED])
> IBM Java technology centre, UK.
>