Return-Path: Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list ant-user@jakarta.apache.org Delivered-To: moderator for ant-user@jakarta.apache.org Received: (qmail 92710 invoked from network); 19 Jan 2001 10:27:19 -0000 Received: from unknown (HELO nt7.tel.cril.net) (194.51.4.120) by h31.sny.collab.net with SMTP; 19 Jan 2001 10:27:19 -0000 Received: by intranet.tel.cril.net with Internet Mail Service (5.5.2650.21) id ; Fri, 19 Jan 2001 11:22:11 +0100 Message-ID: <37B2E6BFD50BD411970000B0D021D9C03233FE@intranet.tel.cril.net> From: =?iso-8859-1?Q?MOUSSAUD_Beno=EEt?= To: "'ant-user@jakarta.apache.org'" Subject: How to delete a directory only if it empty? Date: Fri, 19 Jan 2001 11:22:11 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N I have search into the doc and i have not found how to delete a directory obly if its content is empty. I am using ant version 1.2 on windows 2000, jdk 1.3 Have you any solutions? kind regard Benoit Moussaud ---------------------------------------------------------------------------- Benoit Moussaud - benoit.moussaud@criltelecom.com CTS - Cril Telecom Software http://www.criltelecom.com 8 rue danjou 92517 Boulogne Billancourt - France Tel: 01 58 17 04 78