ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jack J. Woehr" <...@purematrix.com>
Subject Re: Nested Variables in ANT?
Date Thu, 10 Jun 2004 17:05:31 GMT
"Mattos, John" wrote:

> Hi All
>
>
>
> I'd like to use properties in a target that vary depending on a parameter
> sent in... for example instead of
>
>       <echo massage = "${location.${envir}}>
>
> </target>
>
>
>
> Can I do anything like this? It doesn't seem to like the nested ${} 's

Serendipity -- I've submitted a patch for Ant after which Ant behaves in the way you suggest.

If you'd like to try the patch (against the current tree) take a look at bug #29347

http://issues.apache.org/bugzilla/show_bug.cgi?id=29347

--
Jack J. Woehr      # We have gone from the horse and buggy
Senior Consultant  # to the moon rocket in one lifetime, but
Purematrix, Inc.   # there has not been a corresponding moral
www.purematrix.com # growth in mankind. - Dwight D. Eisenhower




---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message