Re: [appfuse-user] 1 db for testing 1 for development

2009-09-16 Thread measwel
I guess I can answer that one myself.. I will just make a profile for the test runs, specifying target DB. My main concern changing the db for the create and inserts to the test db and that is set now. So running mvn accidentally can do no harm to the data in my development db. -- View this messa

Re: [appfuse-user] 1 db for testing 1 for development

2009-09-16 Thread measwel
As always.. much obliged. I've changed the DB for hibernate and dbunit plugins, so the creates and inserts now run on a separate DB. The main reason is, that I wanted to use unsigned ID's in my development DB, while the tests typically use negative ID's. I know its kind of crazy to be paranoid abo

Re: [appfuse-user] 1 db for testing 1 for development

2009-09-16 Thread Matt Raible
On Wed, Sep 16, 2009 at 8:05 AM, measwel wrote: > > Yes, good call, this seems to be a problem with Netbeans 6.7. I am > reluctant > to upgrade as it once broke my other projects. I will return to it later. > > right now I want to fix pom execution. Lately I incidentally typed mvn at > command lin

Re: [appfuse-user] 1 db for testing 1 for development

2009-09-16 Thread measwel
Yes, good call, this seems to be a problem with Netbeans 6.7. I am reluctant to upgrade as it once broke my other projects. I will return to it later. right now I want to fix pom execution. Lately I incidentally typed mvn at command line and he started to install. Thankfully I have removed DROP p

Re: [appfuse-user] 1 db for testing 1 for development

2009-09-16 Thread tibi
could be run mvn eclipse:eclipse Matt Raible wrote: > If jetty is not reloading automatically for you, I suspect it's > because your IDE is not compiling your classes to target/classes when > you save them. > > On Wed, Sep 16, 2009 at 7:29 AM, tibi > wrote: > > jetty:run

Re: [appfuse-user] 1 db for testing 1 for development

2009-09-16 Thread Matt Raible
If jetty is not reloading automatically for you, I suspect it's because your IDE is not compiling your classes to target/classes when you save them. On Wed, Sep 16, 2009 at 7:29 AM, tibi wrote: > jetty:run will do that. > > i didn't do any thing apart from the stuff which is in the appfuse > qui

Re: [appfuse-user] 1 db for testing 1 for development

2009-09-16 Thread tibi
jetty:run will do that. i didn't do any thing apart from the stuff which is in the appfuse quickstart tibi measwel wrote: > In my case I have to restart jetty after a class change. I understand you > dont have to? How can I set this up? > -

Re: [appfuse-user] 1 db for testing 1 for development

2009-09-16 Thread measwel
In my case I have to restart jetty after a class change. I understand you dont have to? How can I set this up? -- View this message in context: http://www.nabble.com/1-db-for-testing-1-for-development-tp25418927s2369p25470446.html Sent from the AppFuse - User mailing list archive at Nabble.com.

Re: [appfuse-user] 1 db for testing 1 for development

2009-09-16 Thread tibi
look at your logging you will see reloaded messages tibi measwel wrote: > tibi, > > do you have to restart jetty:run after changing a class, or does it do hot > reload? > - To unsubscribe, e-mail: users-unsubscr...@appfuse.d

Re: [appfuse-user] 1 db for testing 1 for development

2009-09-16 Thread measwel
tibi, do you have to restart jetty:run after changing a class, or does it do hot reload? -- View this message in context: http://www.nabble.com/1-db-for-testing-1-for-development-tp25418927s2369p25470377.html Sent from the AppFuse - User mailing list archive at Nabble.com. ---

Re: [appfuse-user] 1 db for testing 1 for development

2009-09-15 Thread tibi
look at your pom. you will find some examples there. here is mine: demo this iwll work with -P demo tibi measwel wrote: > how do you specify in the profile what DB to use? > > > tibi wrote: >

Re: [appfuse-user] 1 db for testing 1 for development

2009-09-15 Thread measwel
how do you specify in the profile what DB to use? tibi wrote: > > we use profiles > > mvn test -P test > and in the pom file add a prifle named test with a different database. > > tibi > > Matt Raible wrote: >> Not currently, no. However, you can change DbUnit's logic so it >> doesn't replac

Re: [appfuse-user] 1 db for testing 1 for development

2009-09-14 Thread tibi
we use profiles mvn test -P test and in the pom file add a prifle named test with a different database. tibi Matt Raible wrote: > Not currently, no. However, you can change DbUnit's logic so it > doesn't replace your data everytime with sample data. Also, the tests > don't typically modify the d

Re: [appfuse-user] 1 db for testing 1 for development

2009-09-14 Thread Matt Raible
Not currently, no. However, you can change DbUnit's logic so it doesn't replace your data everytime with sample data. Also, the tests don't typically modify the data since they use transactions and roll them back after every test execution. On Sat, Sep 12, 2009 at 4:50 PM, measwel wrote: > > Is t

[appfuse-user] 1 db for testing 1 for development

2009-09-12 Thread measwel
Is there a way to make sure that my tests run on a different DB than the one I am using for development? -- View this message in context: http://www.nabble.com/1-db-for-testing-1-for-development-tp25418927s2369p25418927.html Sent from the AppFuse - User mailing list archive at Nabble.com.