db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew McIntyre" <mcintyr...@gmail.com>
Subject Re: [jira] Updated: (DERBY-514) Integrate upgrade tests into test suite
Date Fri, 21 Apr 2006 18:40:45 GMT
On 4/21/06, Myrna van Lunteren <m.v.lunteren@gmail.com> wrote:
>
> Then build, and then I need to copy the 10.1 jars to c:\10jars\10.1? And the
> 10.2 jars can still be anywhere?

10.2 jars can be anywhere, set in your classpath. 10.1 jars can be
anywhere, There are multiple ways to set the location of the 10.1
jars, but this is the most direct:

java -DderbyTesting.jar.path=c:/10jars o.a.d.f.h.RunSuite derbyall

If you really wanted, you could put the location where you're going to
test into the Ant properties of the machine where you're building.
Then, you wouldn't need to pass derbyTesting.jar.path into RunSuite,
but the 10.1 jars will also need to be in the same location on the
build machine as the test machine for the upgrade tests to pass.
Otherwise, if you don't set the property, the build and test will work
as expected on the build machine, and then you'll have to pass the
property on the test machine for the tests to find the upgrade jars.

andrew

Mime
View raw message