Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 67617 invoked from network); 16 Feb 2007 13:40:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 Feb 2007 13:40:54 -0000 Received: (qmail 33881 invoked by uid 500); 16 Feb 2007 13:40:58 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 33837 invoked by uid 500); 16 Feb 2007 13:40:57 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 33826 invoked by uid 99); 16 Feb 2007 13:40:57 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Feb 2007 05:40:57 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of mikael.petterson@ericsson.com designates 193.180.251.62 as permitted sender) Received: from [193.180.251.62] (HELO mailgw4.ericsson.se) (193.180.251.62) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Feb 2007 05:40:45 -0800 Received: from mailgw4.ericsson.se (unknown [127.0.0.1]) by mailgw4.ericsson.se (Symantec Mail Security) with ESMTP id C0083203A6 for ; Fri, 16 Feb 2007 14:40:23 +0100 (CET) X-AuditID: c1b4fb3e-b16d6bb0000007e1-2d-45d5b4476602 Received: from esealmw128.eemea.ericsson.se (unknown [153.88.254.121]) by mailgw4.ericsson.se (Symantec Mail Security) with ESMTP id AC1F120161 for ; Fri, 16 Feb 2007 14:40:23 +0100 (CET) Received: from esealmw104.eemea.ericsson.se ([153.88.200.67]) by esealmw128.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.1830); Fri, 16 Feb 2007 14:40:23 +0100 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: Exclude list of files with fileset Date: Fri, 16 Feb 2007 14:40:22 +0100 Message-ID: <3AB568CCAC1BCA49AF26F838D0BD3DD7174922@esealmw104.eemea.ericsson.se> In-Reply-To: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Exclude list of files with fileset Thread-Index: AcdRrEooN7gL4Cg7S0+Fid7G/H4TmwAIu/qQ From: "Mikael Petterson \(KI/EAB\)" To: "Ant Users List" X-OriginalArrivalTime: 16 Feb 2007 13:40:23.0557 (UTC) FILETIME=[02373B50:01C751D0] X-Brightmail-Tracker: AAAAAA== X-Virus-Checked: Checked by ClamAV on apache.org Hi, I need to exclude specific file names since these are clearcase elements and cannot ( should not ) be removed. I don't want the error message to show so I thought excluding them from the fileset would do it. =20 Here is the output that I still get. How can I get rid of the [delete] Unable to delete file ...=20 It seems like the exclude does not work! What am I missing out? Cheers, //mikael=20 -----Original Message----- From: Kevin Jackson [mailto:foamdino@gmail.com]=20 Sent: den 16 februari 2007 10:24 To: Ant Users List Subject: Re: Exclude list of files with fileset Hi, > Is this the way to exclude the a list of files ( I have more names=20 > that I need to exclude)? Shall I use ';' or the regular ',' ? If you check the manual online : http://ant.apache.org/manual/CoreTypes/fileset.html You'll see that the the excludesfile is actually a text file of exclude patterns (or filenames) to exclude from the fileset You need to use something like : but if you just want to exclude your test sources (so long as they follow the pattern of being called *Test.java) > > > = name=3D"**/AlarmListInfoTest.java;**/AlarmsDefinitionsConsistencyTest.ja > va > " > Thanks, Kev --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org