I am creating an antlib with custom tasks to be used in our build system.
I have looked at antcontrib antlib declaration and noticed that the typedefs/taskdefs have onerror parameter set to ignore, e.g.
<taskdef
name="for"
classname="net.sf.antcontrib.logic.ForTask"
onerror="ignore"/>
The default value of the onerror parameter is fail.
I have 2 questions:
- Why ant-contrib authors use
ignore? - Should I use
ignorein my antlib declaration, orfailis just fine?