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 is probably the quickest solution albiet not the prettiest or cleanest.
TR --- 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 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 > > > __________________________________ Do you Yahoo!? New and Improved Yahoo! Mail - Send 10MB messages! http://promotions.yahoo.com/new_mail --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]