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

Category: Tasks
Group: 0.85
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Doeke Zanstra (doekman)
>Assigned to: Gert Driesen (drieseng)
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')}"/>

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

>Comment By: Gert Driesen (drieseng)
Date: 2004-10-24 19:45

Message:
Logged In: YES 
user_id=707851

When failonerror is "true", errors were only output in verbose 
mode.

I've now modified it it to output these errors with 
level "Warning".

Thanks for the report !

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

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: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to