, 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 not
exist ? Ony when the task runs in verbose mode, if the project runs in
ve
Hi Ian,
When should I log a diagnotic message if the file/Directory does not exist ? Ony when
the task runs in verbose mode, if the project runs in verbose mode or always ?
I would prefer not to log it always, but I'll do whatever you decide ...
What do we do with the path length check that's
[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 abo
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 co
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.
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
forgot reply-all again .
--- Begin Message ---
[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 mi
[EMAIL PROTECTED] wrote:
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 exactly like Ant does, but in this case the Ant approach is correct: deleting a file o
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 exactly
>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 thos
On Wednesday, February 19, 2003, at 10:17 AM,
[EMAIL PROTECTED] wrote:
Gerry:
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 "ignore_failures" (name open
[EMAIL PROTECTED] wrote:
I liked the feature that Gert suggested, but I see Gerry's point. What
about this:
Add an attribute, say "ignore_failures" (name open to suggestions!) that
toggles the behavior described:
Gert's scenario could be accomplished thusly:
IMO giving people the power t
y to delete a file or
directory that doesn't exist.
I everyone agrees, I'll try to post a patch for
this tomorrow.
Gert
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>; <[EMAI
rt Driesen" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Wednesday, February 19, 2003 7:17 PM
Subject: Re: [nant-dev] Delete task behaviour
>
> Gerry:
> >
>
> >The delete task will not raise an error and your directory foo will not
> >
AIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: "Gert Driesen" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Wednesday, February 19, 2003 7:17 PM
Subject: Re: [nant-dev] Delete task behaviour
>
> Gerry:
> >
>
> >The delet
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
&g
Gerry:
>
>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 "ignore_failures" (name open to suggestions!) that
toggles the behavior described:
Gert's scenari
What happens if you have directory foo that you want to delete and you
enter:
The delete task will not raise an error and your directory foo will not
exist.
In my private branch of nant that I'm working on I use functions in
properties so that I can write:
Apache Ant fails on default. T
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.
>
> > Certai
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
Hi,
In my opinion the current behaviour of the delete task is not valid.
It current throws an exception (which causes the build to fail if
failonerror=true) when the file or directory that you want to delete doesn't
exist.
If you want to delete a directory or file that doesn't exist, then this
s
21 matches
Mail list logo