Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@apache.org Received: (qmail 28258 invoked from network); 20 Dec 2001 20:45:17 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 20 Dec 2001 20:45:17 -0000 Received: (qmail 9708 invoked by uid 97); 20 Dec 2001 20:44:32 -0000 Delivered-To: qmlist-jakarta-archive-ant-user@jakarta.apache.org Received: (qmail 9541 invoked by uid 97); 20 Dec 2001 20:44:29 -0000 Mailing-List: contact ant-user-help@jakarta.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 ant-user@jakarta.apache.org Received: (qmail 9427 invoked from network); 20 Dec 2001 20:44:28 -0000 X-MimeOLE: Produced By Microsoft Exchange V6.0.4712.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C18997.243A8B1D" Subject: Off topic question? Date: Thu, 20 Dec 2001 14:44:38 -0600 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Off topic question? Thread-Index: AcGJlxxw7H0uMPh5Q1WTmtvkdX7dLA== From: "Steve Cohen" To: X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N ------_=_NextPart_001_01C18997.243A8B1D Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Here's an annoyance of working with ant on Windows 2000. It's not ant's fault but I wonder if anyone has a workaround: Typically an ant project will have a "dist" directory into which the distribution is put. It will also have a "clean" task which will typically have something like=20 If you look at this directory with Explorer,=20 and then go do another build with "clean", the dist directory will be wiped out and Win2K will conveniently destroy the explorer window that was showing it. If you want to look at it again, you have to get a new explorer window with however much drilling-down is necessary. A pain. Now, I know I could get around this by defining clean to be But I'd rather not do that if possible. I'd rather find a way to tell Win2K not to destroy explorer windows for non-existent directories. I'm willing to take the hit of an error message if I attempt to access it before ant can recreate it. Does anyone know how to do this? ------_=_NextPart_001_01C18997.243A8B1D--