Hi,

Is it possible to use macros or environment variables in servlet property
files (or in Apache conf files in general)?

I have a number of servlet zones, and I would like to serve them all out of
a common root directory. As it stands, I have several properties files, each
using the "repositories" directive, and each has this common root directory
"hard coded" -- making it a pain to change. So, instead of:

        repositories=e:\dev\backoffice\root

I'd prefer to have something like:

        repositories=$(SERVLET_HOME)\backoffice\root

This would be a useful facility in general, of course. (I know there are
directives like wrapper.env.copy to pass environment variables on to the
VM/servlet, but these don't appear to allow the properties file itself to
leverage environment variables -- right?).

thanks,
David



--
----------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to