Thanks everyone for the suggestions. I found that Carlos' method seems to be the best choice for me. I'm just running the SQL to create the tables in the static initialzer for my base test case. Assuming the schema file has already been generated, this allows me to run the unit tests inside of Eclipse as well as with Maven. Thanks again.

Craig S. Cottingham wrote:

On Aug 5, 2004, at 10:55, Eric Hauser wrote:

I switched from using the memory only mode to using Hypersonic in server mode instead. I fired off server mode from the command line, changed the datasource URL, and everything seemed to work fine. I didn't have to change anything regarding the loading of the schema export using ant:sql. Of course, now the issue is that if I want this to be completely automated I have to find a way to get Maven to start up Hypersonic in server mode for me. Here's what I'm trying:


[snip]

I left in the ant:java code which does not work. I seem to remember having this problem before, but I don't think Maven allows for the spawning on a new process properly. How are you firing off Hypersonic?


We run Hypersonic in-memory. Since the database schema is stored in src/test/conf instead of being generated by Maven at test time, we don't have the problem of schema changes being made and then dropped before the tests run.

--
Craig S. Cottingham
[EMAIL PROTECTED]
OpenPGP key available from:
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x7977F79C


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



--
Eric W. Hauser
Application Developer
accessIndiana..."linking hoosiers to government"
http://www.IN.gov
10 W. Market St., Suite 600
Indianapolis, IN 46204
Phone: (317) 233-4007
Fax: (317) 233-2011

**********************************************************************
CONFIDENTIALITY NOTICE:
This E-mail and any attachments are confidential. If you are not the intended recipient, you do not have permission to disclose, copy, distribute, or open any attachments. If you have received this E-mail
in error, please notify us immediately by returning it to the sender and delete this copy from your system. Thank you.
accessIndiana, MyLocal.IN.gov, CivicNet
**********************************************************************



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to