RE: Moving from environment to environment

2004-09-11 Thread Dave Bender
Craig McClanahan [mailto:[EMAIL PROTECTED] Sent: Friday, September 10, 2004 4:17 PM To: Struts Users Mailing List Subject: Re: Moving from environment to environment On Fri, 10 Sep 2004 15:59:01 -0500, Dave Bender <[EMAIL PROTECTED]> wrote: > How do you easily move a Struts applic

Re: Moving from environment to environment

2004-09-10 Thread Wendy Smoak
From: "Dave Bender" <[EMAIL PROTECTED]> > How do you easily move a Struts application from one environment to another, > e.g. from development to test to production, without having to change the > struts-config.xml file to use a different database? > The datasources seem like they can be configured

Re: Moving from environment to environment

2004-09-10 Thread Craig McClanahan
On Fri, 10 Sep 2004 15:59:01 -0500, Dave Bender <[EMAIL PROTECTED]> wrote: > How do you easily move a Struts application from one environment to another, > e.g. from development to test to production, without having to change the > struts-config.xml file to use a different database? > > The dataso

RE: Moving from environment to environment

2004-09-10 Thread Robert Taylor
Dave, I have 3 environments: Development, Staging, and Production. I use Ant and have different deployment targets. Each target replaces tokens with the values which correspond to its deployment environment. Ant makes this pretty easy to do. http://ant.apache.org/manual/CoreTypes/filterset.html

Re: Moving from environment to environment

2004-09-10 Thread David Durham
Dave Bender wrote: How do you easily move a Struts application from one environment to another, e.g. from development to test to production, without having to change the struts-config.xml file to use a different database? If you're using ant, then you could maintain 2 seperate struts-configs and

Re: Moving from environment to environment

2004-09-10 Thread El Toro
Dave, I suggest you create three ant targets which install your war on the respective environments and build your war with the respective struts-config file. True, you will have to have to maintain three different struts-config files but the only difference should the datasource properties. This