Re: [appfuse-user] Deleting tables

2007-09-27 Thread Matt Raible
If you're using a modular project, you'll want to look in core/pom.xml and web/pom.xml. You should be able to google for the plugin's name for most documentation or refer to the AppFuse Maven Plugins page. http://appfuse.org/display/APF/Maven+Plugins Matt On 9/27/07, TransWebT <[EMAIL PROTECTED]

Re: [appfuse-user] Deleting tables

2007-09-27 Thread TransWebT
I'm afraid I'm a bit of a newbie when it comes to editing these pom.xml files. Where should I look for reference material that will help me make the changes you're suggesting? If everything that I would change is in the top-level pom.xml file, then I don't see a element. I can add this element

Re: [appfuse-user] Deleting tables

2007-09-10 Thread Matt Raible
The dbunit-maven-plugin is deleting data and re-inserting it. You could create a new profile that overrides both the hibernate3 and dbunit executions so they don't execute at all. Or you could look at the configuration of the dbunit plugin and modify it's element so it only runs when you do someth

Re: [appfuse-user] Deleting tables

2007-09-10 Thread TransWebT
That change did seem to prevent the tables from being dropped. Here's an excerpt from the log: [sparcs] ERROR [main] SchemaExport.create(275) | Table 'app_user' already exists However, the data that is saved in one session vanishes once I restart with the command: mvn jetty:run-war It ap

Re: [appfuse-user] Deleting tables

2007-09-09 Thread Matt Raible
The hibernate3-maven-plugin drops tables by default. Comment out the true in your pom.xml to change this behavior. Matt On 9/10/07, TransWebT <[EMAIL PROTECTED]> wrote: > > I am a new user of AppFuse 2.0 (RC1). I'm having the same problem - every > time I restart the server using mvn jetty:run,

Re: [appfuse-user] Deleting tables

2007-09-09 Thread TransWebT
I am a new user of AppFuse 2.0 (RC1). I'm having the same problem - every time I restart the server using mvn jetty:run, the default tables (i.e. user table) are dropped and recreated. Since 2.0 uses maven, how would I go about performing an operation similar to the ant script edit described bel

Re: [appfuse-user] Deleting tables

2007-05-29 Thread Jason Thrasher
You need to disable the ant task that flushes the tables. "db-drop" deletes the database data, and "db-prepare" creates the data. You'll need to make sure that these don't get called. Try to just comment out the contents of those ant targets. -Jason jithesh wrote: > > Hai,. > > >T

[appfuse-user] Deleting tables

2007-05-28 Thread jithesh
Hai,. Thanx for giving tips to my previous qtionsI am using appfuse 1.9x. The problem i am facing is with the ant builder. when i run the ant setup it deletes all existing tables and data , and recreates it. So each time it does so the data is lost. How can i run the ant comma