Re: [5.0] System properties in server.xml (and elsewhere)

2003-10-15 Thread Costin Manolache
Remy Maucherat wrote:

> Hi,
> 
> I think it would be possible, using a new rule, to allow system
> properties inside server.xml (and possibly elsewhere) for attribute
> values. This is the same as what is being done by Ant in its build
> scripts. This would add an additional degree of configurability to Tomcat.
> Actually, I wonder why this feature is not available in the digester
> itself (I really got used to that feature over the years by using Ant).
> 
> Comments ?

+1, of course.


Costin


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



Re: [5.0] System properties in server.xml (and elsewhere)

2003-10-15 Thread Craig R. McClanahan
Remy Maucherat wrote:

Hi,

I think it would be possible, using a new rule, to allow system 
properties inside server.xml (and possibly elsewhere) for attribute 
values. This is the same as what is being done by Ant in its build 
scripts. This would add an additional degree of configurability to 
Tomcat. 


Makes sense to me.

Actually, I wonder why this feature is not available in the digester 
itself (I really got used to that feature over the years by using Ant).


Because nobody ever asked, or contributed a patch to make it so :-).

Comments ?

Remy
Craig



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


Re: [5.0] System properties in server.xml (and elsewhere)

2003-10-15 Thread Bill Barker

- 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]

Re: [5.0] System properties in server.xml (and elsewhere)

2003-10-15 Thread Henri Gomez
Remy Maucherat a écrit :

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_tomcat 

...

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
James ?

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


Re: [5.0] System properties in server.xml (and elsewhere)

2003-10-15 Thread Remy Maucherat
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_tomcat 

...

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

Remy



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


Re: [5.0] System properties in server.xml (and elsewhere)

2003-10-15 Thread Henri Gomez
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_tomcat

...

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".







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


Re: [5.0] System properties in server.xml (and elsewhere)

2003-10-15 Thread Remy Maucherat
Henri Gomez wrote:
Remy Maucherat a écrit :

Hi,

I think it would be possible, using a new rule, to allow system 
properties inside server.xml (and possibly elsewhere) for attribute 
values. This is the same as what is being done by Ant in its build 
scripts. This would add an additional degree of configurability to 
Tomcat.
Actually, I wonder why this feature is not available in the digester 
itself (I really got used to that feature over the years by using Ant).
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.

Remy



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


Re: [5.0] System properties in server.xml (and elsewhere)

2003-10-15 Thread Henri Gomez
Remy Maucherat a écrit :

Hi,

I think it would be possible, using a new rule, to allow system 
properties inside server.xml (and possibly elsewhere) for attribute 
values. This is the same as what is being done by Ant in its build 
scripts. This would add an additional degree of configurability to Tomcat.
Actually, I wonder why this feature is not available in the digester 
itself (I really got used to that feature over the years by using Ant).
Do you speak about the ${xxx} properties as present in Tomcat 3.3.x ?

A big +1

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


RE: [5.0] System properties in server.xml (and elsewhere)

2003-10-15 Thread Shapira, Yoav

Howdy,
If it's easy, +1 ;)

Yoav Shapira
Millennium ChemInformatics


>-Original Message-
>From: Remy Maucherat [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, October 15, 2003 10:24 AM
>To: Tomcat Developers List
>Subject: [5.0] System properties in server.xml (and elsewhere)
>
>Hi,
>
>I think it would be possible, using a new rule, to allow system
>properties inside server.xml (and possibly elsewhere) for attribute
>values. This is the same as what is being done by Ant in its build
>scripts. This would add an additional degree of configurability to
Tomcat.
>Actually, I wonder why this feature is not available in the digester
>itself (I really got used to that feature over the years by using Ant).
>
>Comments ?
>
>Remy
>
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


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



Re: [5.0] System properties in server.xml (and elsewhere)

2003-10-15 Thread Tim Funk
+0 (I'd be +1 if I could actually be of help - but love the idea)

-Tim

Remy Maucherat wrote:
Hi,

I think it would be possible, using a new rule, to allow system 
properties inside server.xml (and possibly elsewhere) for attribute 
values. This is the same as what is being done by Ant in its build 
scripts. This would add an additional degree of configurability to Tomcat.
Actually, I wonder why this feature is not available in the digester 
itself (I really got used to that feature over the years by using Ant).


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


[5.0] System properties in server.xml (and elsewhere)

2003-10-15 Thread Remy Maucherat
Hi,

I think it would be possible, using a new rule, to allow system 
properties inside server.xml (and possibly elsewhere) for attribute 
values. This is the same as what is being done by Ant in its build 
scripts. This would add an additional degree of configurability to Tomcat.
Actually, I wonder why this feature is not available in the digester 
itself (I really got used to that feature over the years by using Ant).

Comments ?

Remy

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