ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Reilly <peter.rei...@corvil.com>
Subject Re: taskdef onerror problem
Date Thu, 15 Jan 2004 14:38:05 GMT
Conor MacNeill wrote:

>>From: Simon Jefferies [mailto:sjefferies@csc.com]
>>Sent: Friday, 16 January 2004 12:29 AM
>>To: user@ant.apache.org
>>Subject: taskdef onerror problem
>>
>>
>>>From the ANT 1.6 documentation, it says that taskdef is a form of typedef
>>which provides the 'onerror' attribute.  The doc then goes on to say...
>>The values are fail - cause a build exception, warn output a warning, but
>>continue, ignore, do nothing. The default is fail. (introduced in ant1.6)
>>... the problem I am having is that 'warn' does not work giving me a "warn
>>is not a legal value for this attribute" message, but 'fail' and 'ignore'
>>do work.  Is this a bug or have I missed something?
>>
>>    
>>
>
>It is a doco error - I've checked the code and you can use "report" in place
>of "warn"
>  
>
Thanks,
I have fixed the manual so this should be corrected for ant 1.6.1.

Peter


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


Mime
View raw message