QM, Yes, I could definitely do that but the nice thing now is that I don't need to use a build process to copy & merge so it's nice and fast.
Thanks anyway, --Bill On Tue, 22 Feb 2005 19:12:23 -0600, QM <[EMAIL PROTECTED]> wrote: > On Tue, Feb 22, 2005 at 02:08:50PM -0800, Bill Lynch wrote: > : Resin has a new "merge()" function which will merge together different > : doc roots for a webapp: > : [snip] > : <web-app id="/foo" > : document-directory="merge:(c:\webapp;c:\webapp-editionA);" .. /> > : > : This means everything in webapp-editionA will override what's in > : webapp. I do this right now and it works perfectly for development. > : > : My question is -- is this possible in Tomcat? > > To my knowledge, no, this is not possible using Tomcat alone. Tomcat > expects a standard webapp (that is, either wrapped in a WAR file or in > exploded-dir format). > > You can achieve what you're after by moving the merge into your build > process -- that is, have Ant (or whatever you use) create the dir/WAR by > copying all of those webapps to it (that is, copy them over one > another). > > -QM --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
