ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Conor MacNeill <co...@cortexebusiness.com.au>
Subject Re: Newbie: Two questions
Date Mon, 16 Dec 2002 12:43:59 GMT
Kenneth Lee wrote:
>>There're many attributes accept true/false values, while others accept
>>yes/no, some even accept on/off. Why not make them all accept the
> 
> superset,
> 
>>or is it already the case?
>>

Yes, this is the case. Whenever a task accepts a boolean value, the Ant core
will convert the string value from the build file to a boolean. yes, on and
true are all acceptable true values while no, false and off are all
acceptable false values.

Conor



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


Mime
View raw message