[Fwd: Re: [nant-dev] Delete task behaviour]

2003-02-20 Thread Ian MacLean
forgot reply-all again . ---BeginMessage--- [EMAIL PROTECTED] wrote: A good article, thanks for the link. IMO, It depends on the type of application -- and the type of user. It also depends on how those items are included. Agreed. I'd just read the article yesterday so it was fresh in my

RE: [nant-dev] Delete task behaviour

2003-02-20 Thread Simon Steele
Ian, I assume you are talking about the quiet attribute. I'm wondering how this overlaps with previous discussions about logging level. ie if the logging level is at a certain level write the error otherwise don't. I'm not sure there is a need for the quiet attribute on individual

Re: [nant-dev] Delete task behaviour

2003-02-20 Thread Ian MacLean
Simon, I assume you are talking about the quiet attribute. I'm wondering how this overlaps with previous discussions about logging level. ie if the logging level is at a certain level write the error otherwise don't. I'm not sure there is a need for the quiet attribute on individual tasks.

Re: Re: [nant-dev] Delete task behaviour

2003-02-20 Thread [EMAIL PROTECTED]
Ian, If I understand you correctly, you want me to remove the quiet attribute and always output a message in the log when you try to delete a file or directory that doesn't exist, right ? I don't really agree with your remarks, but we live in a democracy .. So if I update the patch, you'll

Re: [nant-dev] Delete task behaviour

2003-02-20 Thread Ian MacLean
[EMAIL PROTECTED] wrote: If I understand you correctly, you want me to remove the quiet attribute and always output a message in the log when you try to delete a file or directory that doesn't exist, right ? yeah for now. I don't have a problem with the concept but I think we should think

RE: Re: [nant-dev] Delete task behaviour

2003-02-20 Thread Brian Deacon
] [mailto:[EMAIL PROTECTED]] On Behalf Of [EMAIL PROTECTED] Sent: Thursday, February 20, 2003 6:59 AM To: Ian MacLean; [EMAIL PROTECTED] Cc: Simon Steele; Nant-Developers Subject: Re: Re: [nant-dev] Delete task behaviour Hi Ian, When should I log a diagnotic message if the file/Directory does

Re: [nant-dev] Delete task behaviour

2003-02-19 Thread Ian MacLean
Gert If you want to delete a directory or file that doesn't exist, then this should just be considered a successful execution of the task, shouldn't it be ? yep. And it will work that way for filesets I think. Certainly if there's currently no means to check if a directory (or file) actually

Re: [nant-dev] Delete task behaviour

2003-02-19 Thread Gert . Driesen
Hi Ian, If you want to delete a directory or file that doesn't exist, then this should just be considered a successful execution of the task, shouldn't it be ? yep. And it will work that way for filesets I think. Ok, I'll update the Delete task to do the same. Certainly if

Re: [nant-dev] Delete task behaviour

2003-02-19 Thread Gert . Driesen
Hi Gerry, responses inline - Original Message - From: Gerry Shaw [EMAIL PROTECTED] To: Gert Driesen [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, February 19, 2003 5:39 PM Subject: Re: [nant-dev] Delete task behaviour What happens if you have directory foo that you want

Re: [nant-dev] Delete task behaviour

2003-02-19 Thread Gerry Shaw
On Wednesday, February 19, 2003, at 10:17 AM, [EMAIL PROTECTED] wrote: Gerry: delete dir=f00/ The delete task will not raise an error and your directory foo will not exist. I liked the feature that Gert suggested, but I see Gerry's point. What about this: Add an attribute, say

Re: [nant-dev] Delete task behaviour

2003-02-19 Thread WECaputo
I have to disagree on this point. Not necessarily in this case but in general. Adding more options is not better than working out what the right way to do it is. A good article, thanks for the link. IMO, It depends on the type of application -- and the type of user. It also depends on how those

Re: Re: [nant-dev] Delete task behaviour

2003-02-19 Thread [EMAIL PROTECTED]
Hi Gerry, I agree with you that adding an attribute like 'ignore_failures' should definitely avoided. Please have a look at my updates to the DeleteTask that I sent earlier today. These updates correspond with how Ant currently works, and no, I'm not saying that we should do everything