ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran" <stev...@iseran.com>
Subject <condition> test for a property being true
Date Thu, 18 Apr 2002 06:34:29 GMT

What test do we have for a property being true?

that is if property foo="true" or "yes" it should eval to true; if it is set
to anything else the property should be unset. This is not what isset does,
which tests for declared(foo)

I cant see how to do without using <and> to perform two case insensitive
string comparisions right now, and that seems silly.

Proposal: I knock up a quick <isTrue> and <isFalse> condition pair.

-steve


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


Mime
View raw message