And how would this differ from setting failonerror to "false"?Gerry:<delete dir="f00"/>I liked the feature that Gert suggested, but I see Gerry's point. What
The delete task will not raise an error and your directory foo will not
exist.
about this:
Add an attribute, say "ignore_failures" (name open to suggestions!) that
toggles the behavior described:
For example,
<!-- if foo exists, delete it otherwise do nothing -->
<delete dir="foo" failonerror="false"/>
I do see the point of it being a bit ugly when what you want to write a clean target and just delete a build folder but at the same time if the <delete> task by default ignored errors there would be no way to trigger a failure if that IS what the user wanted without adding a new attribute.
-------------------------------------------------------
This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.
The most comprehensive and flexible code editor you can use.
Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial.
www.slickedit.com/sourceforge
_______________________________________________
Nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers