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

hth,

robert

> -----Original Message-----
> From: Dave Bender [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 10, 2004 4:59 PM
> To: 'Struts Users Mailing List'
> Subject: Moving from environment to environment
> 
> 
> 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 only in that file, but if
> you want to have different database configs in the different environments,
> it seems like you have to edit that file.  Am I missing something? Is there
> a way around that?
> 
> Dave
> 
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to