ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: if/unless Attributes
Date Thu, 24 Sep 2009 15:45:42 GMT
On 2009-09-24, Matt Benson <gudnabrsam@yahoo.com> wrote:

> Along these lines, I was just in the process of coding up a
> BooleanEvaluator for the props antlib--I was just thinking
> e.g. ${boolean:on} and delegate to Project.toBoolean(String).  If used
> in conjunction with the NestedPropertyExpander, ${boolean:${foo}}
> should return true given
> <property name="foo" value="[on|yes|true]" />.

Yes, when you have NestedPropertyExpander at hand, this makes much more
sense.

Stefan

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


Mime
View raw message