Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 76502 invoked from network); 1 Jun 2004 14:37:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 1 Jun 2004 14:37:56 -0000 Received: (qmail 14610 invoked by uid 500); 1 Jun 2004 14:37:52 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 14363 invoked by uid 500); 1 Jun 2004 14:37:50 -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 14337 invoked by uid 99); 1 Jun 2004 14:37:50 -0000 Received: from [66.163.169.94] (HELO web20418.mail.yahoo.com) (66.163.169.94) by apache.org (qpsmtpd/0.27.1) with SMTP; Tue, 01 Jun 2004 07:37:50 -0700 Message-ID: <20040601143730.43353.qmail@web20418.mail.yahoo.com> Received: from [65.247.233.155] by web20406.mail.yahoo.com via HTTP; Tue, 01 Jun 2004 07:37:30 PDT Date: Tue, 1 Jun 2004 07:37:30 -0700 (PDT) From: Matt Benson Subject: Re: Deleting a directory EXCEPT for a specific subdirectory To: Ant Users List In-Reply-To: <6.0.1.1.0.20040531104647.036426a0@mail.speakeasy.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N I don't know about this. Your example works fine for me with bleeding edge Ant. Try 1.6.1 if you can. -Matt --- Elizabeth Cooper wrote: > I have a directory structure such as: > > test > |------- temp > |------- scratch > |------- save > > I want to do a clean of the "test" directory, > leaving ONLY the "save" > subdirectory. I am using Ant 1.5 > > > I have tried something like: > > > > > > > > But this deletes everything in the test directory, > including save. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > user-unsubscribe@ant.apache.org > For additional commands, e-mail: > user-help@ant.apache.org > __________________________________ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org