I am rewriting my build.xml file so that I can pass it a buildtype 
property value of "development" or "nightly" or "production". Depending 
on the buildtype, I will be substituting different values into my 
web.xml files using filtersets. So far, so good.

However, I would like to maintain all the values for the filtersets in 
the same properties file. My thought was doing something like this:

<filter token="replyToEmail" value="${${buildtype}.replyToEmail}"/>

where I would have a nightly.replyToEmail, a development.replyToEmail, 
and a production.replyToEmail property defined in the properties file.

Is it possible to have a variable inside another like that? If not, can 
I do something like "${(${buildtype}).replyToEmail}" ?

TIA,
Jerry

-- 
Jerry Brown
Worldwide Information Technologies
http://www.wit-usa.com
Email: [EMAIL PROTECTED]
Phone: 214-678-1050, ext. 344


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

Reply via email to