ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simon Jefferies <>
Subject taskdef onerror problem
Date Thu, 15 Jan 2004 14:23:51 GMT
>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?

Example Usage: <taskdef name="example" classname="com.example.ExampleTask"
onerror="warn"> etc etc

Thanks in advance

Simon Jefferies


This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery. NOTE: Regardless of content, this e-mail shall not operate to
bind CSC to any order or other contract unless pursuant to explicit written
agreement or government initiative expressly permitting the use of e-mail
for such purpose.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message