ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <dona...@mad.scientist.com>
Subject Fail task
Date Tue, 05 Sep 2000 00:14:56 GMT
Hi,

would it be possible to create a task that's sole purpose was to fail with
a message. 

<fail message="You gonna fail now" />

and it's execute throws a BuildException ??? This is useful when detecting
when resources are absent.


Cheers,

Pete

*------------------------------------------------------*
| "Nearly all men can stand adversity, but if you want |
| to test a man's character, give him power."          |
|       -Abraham Lincoln                               |
*------------------------------------------------------*

Mime
View raw message