We should put the logic where it belopngs, the delete task should only make sure that it's removed whatever you specify ...
If something that you specify doesn't even exist, the delete task should consider it tasks done. Just my 2 cents. ----- Original Message ----- From: <[EMAIL 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: > ><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 "ignore_failures" (name open to suggestions!) that > toggles the behavior described: > > <delete ignore_failures="false" dir="f00" /> > > Gert's scenario could be accomplished thusly: > <delete ignore_failures="true" dir="foo" /> <!-- if foo doesn't exist, we > will consider that a success --> > > IMO giving people the power to do what they want (with options that they > can ignore if they aren't ready for them) is a more useful approach than > simply having or not having a feature. > > Whichever scenario is the more common, would be the default (or the current > behavior could be the default) > > Does that address your concern Gerry? > > Best, > Bill > > William E. Caputo > ThoughtWorks, Inc. > -------- > It is impossible to design a system so perfect that no one needs to be > good. -- T.S. Eliot > > > > > ------------------------------------------------------- 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