Return-Path: Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 99261 invoked by uid 500); 15 Jul 2003 15:01:37 -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 99244 invoked from network); 15 Jul 2003 15:01:36 -0000 Received: from lionfish.bull.com (HELO lionfish.az05.bull.com) (141.112.4.90) by daedalus.apache.org with SMTP; 15 Jul 2003 15:01:36 -0000 Received: from us-phx1.az05.bull.com (us-phx1.az05.bull.com [141.112.40.1]) by lionfish.az05.bull.com (8.12.9/8.12.9) with ESMTP id h6FF1aL7019110 for ; Tue, 15 Jul 2003 08:01:37 -0700 Subject: Re: Unable to delete directory To: "Ant Users List" X-Mailer: Lotus Notes Release 5.0.10 March 22, 2002 Message-ID: From: Michael.Giroux@Bull.com Date: Tue, 15 Jul 2003 08:01:36 -0700 X-MIMETrack: Serialize by Router on US-PHX1/US/BULL(Release 5.0.10 |March 22, 2002) at 07/15/2003 08:01:37 AM MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N The patch that I tested 1. attempts to delete the directory 2. if delete fails, does a sleep for 10ms then tries once more to delete. Michael |---------+----------------------------> | | Daniel Barclay | | | | | | | | | 07/15/2003 07:57 | | | Please respond to| | | "Ant Users List" | | | | |---------+----------------------------> >--------------------------------------------------------------------------------------------------------------| | | | To: Ant Users List | | cc: | | Subject: Re: Unable to delete directory | >--------------------------------------------------------------------------------------------------------------| Michael.Giroux@Bull.com wrote: >... my ant script ran successfully with no > errors reported by the delete task. > > I'm not sure if 10ms is enough sleep for the general case, but it seems to > have solved my problem. It might be necessary to provide some means to > configure the sleep value, but it works on my system as proposed. Does it just sleep and then proceed, or does it also wait for successful deletion? If the former case: Do the latter case. (Delaying without synchronizing is not a general fix, and the time-dependent behavior will be a bear to debug.) Daniel --------------------------------------------------------------------- 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