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]> wrote: > > 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 <skip> element. I can add this > element, but I'm uncertain of the exact content that it would need. If you > could provide a specific example of how I would disable the table > delete/insert behavior, or point me to some docs for this file, I'd be very > happy. > > mraible wrote: > > > > 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 <skip> element > > so it only runs when you do something like -Ddbunit.active=true. > > > > Matt > > > > On 9/11/07, TransWebT <[EMAIL PROTECTED]> wrote: > >> > >> 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 appears that the contents of the tables is reset to the default > >> values. > >> So, when I create a new user, then stop the app and restart, the newly > >> created user is gone. Is there another setting in pom.xml or some other > >> config file to prevent this data loss? > >> -Terry > >> > >> > >> mraible wrote: > >> > > >> > The hibernate3-maven-plugin drops tables by default. Comment out the > >> > <drop>true</drop> 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, 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 > >> >> below > >> >> to suspend this behavior? > >> >> -Terry > >> >> > >> >> > >> >> > >> >> Jason Thrasher wrote: > >> >> > > >> >> > 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,..... > >> >> >> > >> >> >> > >> >> >> Thanx for giving tips to my previous qtions........ I 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 > >> >> command > >> >> >> so that it should modify the tables without deleting any tables or > >> >> >> deleting datas. please help me on this issue.... > >> >> >> > >> >> >> > >> >> >> regards, > >> >> >> jithesh > >> >> >> > >> >> > > >> >> > > >> >> > >> >> -- > >> >> View this message in context: > >> >> http://www.nabble.com/Deleting-tables-tf3831795s2369.html#a12586295 > >> >> > >> >> 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] > >> > > >> > > >> > > >> > >> -- > >> View this message in context: > >> http://www.nabble.com/Deleting-tables-tf3831795s2369.html#a12607129 > >> > >> 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] > > > > > > > > -- > View this message in context: > http://www.nabble.com/Deleting-tables-tf3831795s2369.html#a12934118 > 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]
