Using ant, you need to set the environment variable JAVA_HOME to the JDK you 
want to use. So JAVA_HOME should be different when you use JDK 1.3 to 
compile the sources.

TestBase.java has a flag in the source to use a server. It does not use a -D 
flag.

I don't know how writing to one database can affect the other one.

Fred


----- Original Message ----- 
From: "Carfield Yim" <[EMAIL PROTECTED]>
To: <hsqldb-developers@lists.sourceforge.net>
Sent: 10 March 2005 11:56
Subject: Re: [Hsqldb-developers] Fwd: Small developer tasks for 1.8.0


> Seems you're making progress. The instructions for CodeSwitcher are also 
> in
> the Guide document.
>
Actually I haven't edit any code yet...

> The main tests to run are those in the org.hsqldb.test directory, 
> especially
> TestSelf.java. Some of these tests require JDK > 1.1, so you can exclude
> them.
>
I can't compile test in JDK 1.3, it always run switchtojdk14 before...
is that any dependence of compile test target? Or it mean to compile
in 1.4 update and run test with 1.4 JVM with hsql jar that compile for
1.1 JVM?

> For client/server, you should modify TestBase to use a network connection
> (you need to change the value of a flag in the source code).
>
I see, may be change to parameter like -Dtest.isNetwork ??

> When you run a command against one of the databases in the Server, it will
> not affect other databases. You are probably using the wrong connection in
> this test.
>
The fact is it will. If I run in 1.1 jvm, it will affect.


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
hsqldb-developers mailing list
hsqldb-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hsqldb-developers 



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
hsqldb-developers mailing list
hsqldb-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hsqldb-developers

Reply via email to