----- Original Message -----
From: "Remy Maucherat" <[EMAIL PROTECTED]>
To: "Tomcat Developers List" <[EMAIL PROTECTED]>
Sent: Wednesday, October 15, 2003 8:31 AM
Subject: Re: [5.0] System properties in server.xml (and elsewhere)


> Henri Gomez wrote:
>
> >>> Do you speak about the ${xxx} properties as present in Tomcat 3.3.x ?
> >>
> >>
> >>
> >> Possibly. Basically, if you have a "foo.bar" sys property, you can put
> >> "${foo.bar}" in server.xml, and it will be replaced with the property
> >> value (like in Ant). I didn't know this was present in 3.3.
> >
> >
> > Yes it was in TC 3.3.1 and you could also set the properties in the
> > command line if I recall well ;)
> >
> >
http://jakarta.apache.org/tomcat/tomcat-3.3-doc/tomcat-ug.html#configuring_t
omcat
> >
> >
> > ...
> >
> > In Tomcat 3.3.1, each attribute value may use the ant-style variable
> > substitution by using "${variable}" in the attribute string, i.e.
> > attribute="text${variable}text".
>
> Let me guess. James did code all that stuff aeons ago, right ? :-D
>

Well, the aeons ago part is right ;-).  But it was the other ant person
(Costin).

The guts of the 3.3 replacement is
o.a.t.u.IntrospectionUtils.replaceProperties, so most of the code is already
in Tomcat 5.

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

This message is intended only for the use of the person(s) listed above as the 
intended recipient(s), and may contain information that is PRIVILEGED and 
CONFIDENTIAL.  If you are not an intended recipient, you may not read, copy, or 
distribute this message or any attachment. If you received this communication in 
error, please notify us immediately by e-mail and then delete all copies of this 
message and any attachments.

In addition you should be aware that ordinary (unencrypted) e-mail sent through the 
Internet is not secure. Do not send confidential or sensitive information, such as 
social security numbers, account numbers, personal identification numbers and 
passwords, to us via ordinary (unencrypted) e-mail.

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

Reply via email to