tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Allistair Crossley" <>
Subject Using placeholders in context.xml for builds
Date Thu, 20 Oct 2005 09:22:44 GMT

Anyone know if you can use placeholders in context files, e.g

<Context docBase="ROOT" reloadable="${tomcat.webapp.root.reloadable}" antiJARLocking="tomcat.webapp.root.antijarlocking"

Currently I am using Ant to perform replacements on the single quoted values in full, e.g
replace reloadable='true' with reloadable='false'

<Context docBase="ROOT" reloadable='true' antiJARLocking='false' antiResourceLocking='false'>

It works but it's not quite elegant,

Cheers, Allistair

QAS Ltd.
Registered in England: No 2582055
Registered in Australia: No 082 851 474
Disclaimer:  The information contained within this e-mail is confidential and may be privileged.
This email is intended solely for the named recipient only; if you are not authorised you
must not disclose, copy, distribute, or retain this message or any part of it. If you have
received this message in error please contact the sender at once so that we may take the appropriate
action and avoid troubling you further.  Any views expressed in this message are those of
the individual sender.  QAS Limited has the right lawfully to record, monitor and inspect
messages between its employees and any third party.  Your messages shall be subject to such
lawful supervision as QAS Limited deems to be necessary in order to protect its information,
its interests and its reputation.  

Whilst all efforts are made to safeguard Inbound and Outbound emails, QAS Limited cannot guarantee
that attachments are virus free or compatible with your systems and does not accept any liability
in respect of viruses or computer problems experienced.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message