Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@jakarta.apache.org Received: (qmail 33623 invoked by uid 500); 26 Jul 2001 05:17:41 -0000 Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: ant-user@jakarta.apache.org Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 33614 invoked from network); 26 Jul 2001 05:17:40 -0000 X-Authentication-Warning: bodewig.bost.de: bodewig set sender to bodewig@apache.org using -f To: ant-user@jakarta.apache.org Subject: Re: [antlist] delete and filesets References: <006301c11456$8986f270$7300a8c0@leusden.barito.nl> <07ca01c11520$5c917d60$8b00000a@TariqM> From: Stefan Bodewig Date: 26 Jul 2001 07:17:45 +0200 In-Reply-To: "T Master"'s message of "Wed, 25 Jul 2001 09:42:07 -0600" Message-ID: Lines: 29 User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Cuyahoga Valley) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N On Wed, 25 Jul 2001, T. Master wrote: > I want to delete only *.class files, so i have used the following > code below. A single would have been enough. > However, is it imperative I use the exclude name, to avoid deletion > of source files? No - if you have an include pattern that doesn't match the sources, they won't get deleted. > This won't parse - do you want verbose messages or not? > Missing dir attribute. > Won't work as fileset has an implicit , as long as you don't set the defaultexcludes attribute to false, that is. If you have, an include and an exclude pattern that matches, the exclude wins. Stefan