Re: Improving maven/wicket deployment process

2009-08-24 Thread Tauren Mills
Igor, Thanks for the suggestion. Definitely looks like a good way to go. Tauren On Sun, Aug 23, 2009 at 5:02 PM, Igor Vaynberg igor.vaynb...@gmail.comwrote: we used to do something like this before we switched to jndi valueclasspath*:/application.properties/value -- prod values

Re: Improving maven/wicket deployment process

2009-08-23 Thread Igor Vaynberg
we used to do something like this before we switched to jndi valueclasspath*:/application.properties/value -- prod values valueconf/application.${user.name}.properties/value that way each dev can create a conf/application.their user name.properties and override production settings with their

Re: Improving maven/wicket deployment process

2009-08-21 Thread Tauren Mills
I just wanted to follow up on this. As an interim solution until I have time to really do this right (using Hudson, etc.), I've done what is suggested here: http://www.developer.com/java/ent/article.php/3811931 In my spring config PropertyPlaceholderConfigurer, I use this:

Re: Improving maven/wicket deployment process

2009-08-17 Thread Tauren Mills
Janos and Jeremy, Thank you both for your feedback! After considering your answers, I think that using Maven profiles is most in line with my needs. And the suggestion to use the command line -Dwicket.configuration=deployment parameter will certainly help. I've never used Hudson before, but I'm

Re: Improving maven/wicket deployment process

2009-08-16 Thread Jeremy Thomerson
I have a shell script that does most of this stuff. Here's my steps: 1 - mvn clean package 2 - scp package to server(s) 3 - on server, run deploy script 3a - script makes temp working directory 3b - script copies web.xml, application.properties, etc from prod into temp dir 3c - script unzips war

Improving maven/wicket deployment process

2009-08-15 Thread Tauren Mills
I currently don't have an automated deployment process in place for a wicket/spring/hibernate/maven project and am looking for suggestions on how to best implement one. I'm open to any suggestions as well as references to helpful URLs and other resources. When it is time to deploy my project, I

Re: Improving maven/wicket deployment process

2009-08-15 Thread Cserep Janos
1.  Edit application.properties and comment out my local development database configuration and uncomment the production database configuration. The settings in this file (jdbc.driver, jdbc.url, jdbc.username, jdbc.password, hibernate.dialect, hibernate.hbm2ddl.auto) are used in my spring