ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shawn Castrianni <>
Subject Is recursive property evaluation supported?
Date Mon, 14 Apr 2008 23:11:13 GMT
I was trying to present a list of choices for the user like an interactive textual menu.  I
produced the list of choices and set a property for each.  The user inputs a number corresponding
to the choice he wants, and I get the value corresponding to that choice via my properties
I set.  However, it doesn't work because I need to evaluate a recursive property expression:


where  ${releaseName.selection} would evaluate to the number they typed in [1, 2, 3...] and
then the outer property would be evaluated like ${releaseName.1} if they picked 1.

Is this supported?  I was able to mix parameter evaluation inside property evaluation and
it worked fine:


So I was surprised my recursive property evaluation didn't work.

Any help presenting a list of choices to the user where they pick the number corresponding
to their choice would also be helpful.

Shawn Castrianni

This e-mail, including any attached files, may contain confidential and privileged information
for the sole use of the intended recipient.  Any review, use, distribution, or disclosure
by others is strictly prohibited.  If you are not the intended recipient (or authorized to
receive information for the intended recipient), please contact the sender by reply e-mail
and delete all copies of this message.
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message