If you don't want the database deleted, you'll need to remove <drop>true</drop> from your pom.xml. You'll probably want to change CLEAN_INSERT to something else as well.
Matt On 5/25/07, nmall <[EMAIL PROTECTED]> wrote:
If you add createDatabaseIfNotExist to your jdbc.url as below , it creates it only if it does not exist. <jdbc.url><![CDATA[jdbc:mysql://localhost/testapp?createDatabaseIfNotExist=true&useUnicode=true&characterEncoding=utf-8&jdbcCompliantTruncation=false]]></jdbc.url> HTH Balaji D Loganathan wrote: > > Thanks Luke, > Thats help. > Just wondering is there is a way where I can still run the unit tests and > integration tests without clearing the database ? > For unit test we use inmemory hsql db, so thats not an issue. > > Thanks, > Balaji > -- View this message in context: http://www.nabble.com/How-to-avoid-maven-appfuse-not-deleting-the-database-on-every-build-tf3814806s2369.html#a10802367 Sent from the AppFuse - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- http://raibledesigns.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
