db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Myrna van Lunteren <m.v.lunte...@gmail.com>
Subject Re: How to specify the classpath in test harness
Date Thu, 22 Dec 2005 07:43:06 GMT
Hi Jean,

In Eclipse (my IDE) I specifically pass -classpath=<derbyjars> on to the
RunTest main class. Did you do that?
Also, I think you will indeed run into trouble if the test dir has spaces in
it, there is/was a bug filed for that, it's currently documented in the
README to not work...(at least, I put it in at one point, it should be
somewhere in there)


On 12/21/05, Jean Morissette <jean.morissette@gmail.com> wrote:
> Thanks for your quick response!
> Test harness run correctly from the jars as specified in readme.html.
> However, when I run instead the Testing source code from my IDE (with
> the other jars in my classpath), the test doesn't execute!  The
> problem is that the classpath is null.  More precisely, the line 919
> in RunTest:
>                classpath = sp.getProperty("classpath");
> return null.
> This is very strange.  Is there a difference between the derbyTesting
> jar and the testing module source code?  Am I missing something?
> Best regards,
> Jean

View raw message