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
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
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
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
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
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
6 matches
Mail list logo