On Wed, 17 Apr 2002, Steve Loughran <[EMAIL PROTECTED]> wrote:

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

+1 - but you may also want to cover "on", not only "true" and "yes".
See Project#toBoolean.

If you want to make that <istrue property="property-name" />  instead of
<istrue value="${property-name}" /> that is (as you'd simply use
setValue(boolean) and let Ant do the translation otherwise).

Stefan

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

Reply via email to