i am not doing unit tests for now , i only want to run the application with hsqldb configured.Previously i put a directory called "data" in my project's root directory,and used "jdbc:hsqldb:data/db-name" url to access dabtabse,so where to put the "data" directory in maven, so that the "jdbc:hsqldb:data/ db-name" still can work,thank you so much!
oliver.maven 2008-04-25 发件人: J�rg_Schaible 发送时间: 2008-04-24 23:46:34 收件人: Maven Users List 抄送: 主题: RE: where to put the 'data' directory for hsqldb? Hi Oliver, oliver.maven wrote: > hi, > i am a maven newbie, i want use hsqldb as my development > database,normally it need a directroy to store the related files > where to put this directory within the maven's directory structure? > thanks a lot! there's no defined place. However, what are you doing with it? E.g. if you need it for unit tests you may keep the files somewhere like src/test/db and copy the complete directory over to target/db (possibly in yout setUp) and point HSQLDB to that place. That way you always stgart with a defined content and you do not modify the files you're keeping in your version control. - J�rg --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]