Return-Path: Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 95784 invoked by uid 500); 12 Aug 2003 16:21:07 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 95738 invoked from network); 12 Aug 2003 16:21:06 -0000 Received: from sandvine.com (HELO mail.sandvine.com) (199.243.201.138) by daedalus.apache.org with SMTP; 12 Aug 2003 16:21:06 -0000 Received: by mail.sandvine.com with Internet Mail Service (5.5.2653.19) id <305LHX35>; Tue, 12 Aug 2003 12:21:08 -0400 Message-ID: From: David McTavish To: 'Ant Users List' Subject: RE: Date: Tue, 12 Aug 2003 12:21:07 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N or exec out to rm I've switched most of my delete requests to this now... delete task needs some overhaul hopefully for 1.7 :) d. -----Original Message----- From: Matt Benson [mailto:gudnabrsam@yahoo.com] Sent: Tuesday, August 12, 2003 12:18 PM To: Ant Users List Subject: Re: I wouldn't think this would be worth writing a custom task. You could use different tricks: verify that the file exists before attempting to delete it, then use failonerror="true", or verify it is gone after deletion, ing if the file still exists. -Matt --- Jack Woehr wrote: > Greeting fellow Formicators :-) > > This tag is > of course > impossible. What I would like to do is delete > quietly if the file > doesn't exist but fail if the file is undeletable. > This seems to be > impossible in the current level of Ant (_sans_ > writing a custom task), > am I correct? > > Thank you. > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > user-unsubscribe@ant.apache.org > For additional commands, e-mail: > user-help@ant.apache.org > __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org