Bugs item #1020755, was opened at 2004-09-01 23:39
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1020755&group_id=31650

Category: Tasks
Group: 0.85
Status: Open
Resolution: None
Priority: 5
Submitted By: Doeke Zanstra (doekman)
Assigned to: Nobody/Anonymous (nobody)
Summary: Inconsistent behaviour delete task

Initial Comment:
Take the following Task:
<delete dir="some\dir" failonerror="false"/>

When the to be deleted directory doesn't exist, a
warning is printed. This is as expected.

When the to be deleted directory is locked by another
proces, no warning is printed (and no work is done). I
would expect a warning to be printed, because there was
a problem. 

Side note: one should only perform this task if a
directory exists, like this:
<delete dir="some\dir"
if="${directory::exists('some\dir')}"/>

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1020755&group_id=31650


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to