db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rick Hillegas <Richard.Hille...@Sun.COM>
Subject Re: How to specify the classpath in test harness
Date Thu, 22 Dec 2005 16:15:43 GMT
Hi Jean,

I find that I have to wire in  the following:

o All of the jar files in trunk/tools/java
o The compiled Derby class tree
o The DB2JCC jar and license file

I'm attaching a script which I use to setup the classpath.


Jean Morissette wrote:

>Hi devs,
>   I try to figure how the test harness works, however I don't
>understand how the classpath is set.  It seems to be set from a system
>property named "classpath".  However, running the class RunTest in
>debug mode, the property "classpath" is null!  So the execution fail.
>Also, if I change the property name for "java.class.path" instead of
>"classpath", the test classpath is set to that of the running JVM. 
>However, this also don't work because there are some whitespaces (by
>exemple, C:\Program Files\...) in the classpath that the
>jvm.getCommandLine() method doesn't expect (because this method
>tokenizes with whitespace).
>So, my question is how to specify the classpath to run a test?  Am I
>missing something?
>I use version
>Thanks for your help,

View raw message