Derby, JUnit, Ant and fork

2007-06-26 Thread Elliotte Harold
My tests pass when run in Eclipse. However, when I run them in Ant I see errors like this: Another instance of Derby may have already booted the database C:\Documents and Settings\eharold\workspace\foo\build\CentralConfig.db. ERROR XSDB6: Another instance of Derby may have already booted the

Re: Derby, JUnit, Ant and fork

2007-06-26 Thread Bryan Pendleton
My tests pass when run in Eclipse. However, when I run them in Ant I see errors like this: Another instance of Derby may have already booted the database Only a single JVM at a time can access a Derby embedded database. However, you can shutdown the Derby embedded system from the first JVM,

Re: Derby, JUnit, Ant and fork

2007-06-26 Thread Elliotte Harold
Perhaps it is Eclipse itself that is holding Derby open, or perhaps your tests are not fully shutting down Derby at the end? No. It's in Eclipse that everything works. It's only when I run from Ant that everything fails. :-( -- Elliotte Rusty Harold [EMAIL PROTECTED]