Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 7111 invoked from network); 7 Dec 2004 08:03:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 7 Dec 2004 08:03:17 -0000 Received: (qmail 90396 invoked by uid 500); 7 Dec 2004 08:03:06 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 90341 invoked by uid 500); 7 Dec 2004 08:03:05 -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 90315 invoked by uid 99); 7 Dec 2004 08:03:05 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FORGED_RCVD_HELO X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from mail.elca.ch (HELO mail.elca.ch) (193.72.144.2) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 07 Dec 2004 00:03:03 -0800 Received: from exchange.elca.ch (unverified) by mail.elca.ch (Content Technologies SMTPRS 4.3.14) with ESMTP id for ; Tue, 7 Dec 2004 09:02:57 +0100 Received: from pcyma.elca.ch.elca.ch (pcyma.elca.ch [10.10.10.112]) by exchange.elca.ch with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id 4P3HQ0GN; Tue, 7 Dec 2004 09:02:24 +0100 From: Yves Martin To: "Ant Users List" Subject: Re: Special character in file name References: <00b501c4dc32$6cdb8da0$ac018080@S7010> Organization: ELCA Informatique Date: Tue, 07 Dec 2004 09:03:20 +0100 In-Reply-To: <00b501c4dc32$6cdb8da0$ac018080@S7010> (Ming Fai's message of "Tue, 7 Dec 2004 15:57:30 +0800") Message-ID: User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) 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 "Ming Fai" writes: > Hi, > > I want to use ANT to clean up a directory with some files named like > "xxxxxxxx.yyy~", i.e. with '~' character in the file extension. I tried a > few ways including the following method but no success: > > > > > What should I specify as includes value? Thx. You should look in documentation of "FileSet". Section "default excludes". The pattern "**/*~" is included in default excludes, that's why your fileset is empty. So you have to set the attribute defaultexcludes="no" in your fileset element. Regards, -- Yves Martin --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org