ANT has a few built-in behavior, like the files excluded by copy, and that would only add some here, to hardcode the list of "true" values to just true/on/yes. How about allowing to override/extend these defaults, so that: * Someone on MacOS can easily add **/_* to the default list of excludes? * Someone from a different country can add its "true" values, e.g. oui/vrai in French?
More specifically about <istrue>/<isfalse>, thanks Steve, it's a great idea. --DD -----Original Message----- From: Stefan Bodewig [mailto:[EMAIL PROTECTED] Sent: Thursday, April 18, 2002 2:04 AM To: [EMAIL PROTECTED] Subject: Re: <condition> test for a property being true 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]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
