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


-- 

software  -- http://www.brandxdev.net
tech news -- http://www.RoarNetworX.com


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

Reply via email to