db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Samuel Andrew McIntyre <fuzzylo...@nonintuitive.com>
Subject Re: Extra notes on running tests
Date Fri, 19 Nov 2004 06:58:00 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Nov 13, 2004, at 4:39 AM, Jan Hlavatý wrote:

> I suggeest we take the same approach I created for Jetty -
> have a launcher class that sets up the required classpath
> by setting up a classloader. This moves the problem of creating
> classpaths from platform specific domain to Java domain, which is
> portable.

This is an interesting idea, and having such a launcher would allow us 
to do some other nifty things like making derbyTesting.jar executable.

Also, considering the original problem that items that are passed in on 
the command line with -cp or -classpath aren't reflected in the 
classpath of the forked vm running individual tests, it should be 
possible to modify RunTest's execTestProcess method to pass the 
classpath from RunSuite/RunTest's vm to the forked vm that runs the 
actual test.

andrew
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFBnZl/DfB0XauCH7wRAtyTAJ9oATY0s5GL3oazaeC8g2aWdMMviACeJLR3
vp+Ru8nzy+5b95GseWbADzo=
=1X6u
-----END PGP SIGNATURE-----


Mime
View raw message