Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@apache.org Received: (qmail 2211 invoked from network); 23 Oct 2002 01:42:29 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 23 Oct 2002 01:42:29 -0000 Received: (qmail 15760 invoked by uid 97); 23 Oct 2002 01:43:17 -0000 Delivered-To: qmlist-jakarta-archive-ant-user@jakarta.apache.org Received: (qmail 15653 invoked by uid 97); 23 Oct 2002 01:43:16 -0000 Mailing-List: contact ant-user-help@jakarta.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 ant-user@jakarta.apache.org Received: (qmail 15547 invoked by uid 98); 23 Oct 2002 01:43:15 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Message-ID: From: Mike Dougherty To: 'Ant Users List' Subject: RE: includes and excludes Date: Tue, 22 Oct 2002 13:10:53 -0700 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C27A07.1F83DB50" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N ------_=_NextPart_001_01C27A07.1F83DB50 Content-Type: text/plain; charset="iso-8859-1" > -----Original Message----- > From: Dominique Devienne [mailto:DDevienne@lgc.com] > Sent: Tuesday, October 22, 2002 12:13 PM > To: 'Ant Users List' > Subject: RE: includes and excludes > > > Yes. The file candidate set is first reduced by the include > patterns (the > file name must match one of the include pattern if any), and > then by the > exclude patterns, which removes all files matching them from > the candidate > set. Using two filesets should work for you I think... Try: > > overwrite="${force}"> > > > > > > > > > > --DD > > -----Original Message----- > From: Terry Steichen [mailto:terry@net-frame.com] > Sent: Tuesday, October 22, 2002 2:00 PM > To: Ant Users List > Subject: Re: includes and excludes > > I believe exclude takes precedence. > > Terry > > ----- Original Message ----- > From: "Mike Dougherty" > To: "Ant Users (E-mail)" > Sent: Tuesday, October 22, 2002 2:33 PM > Subject: includes and excludes > > > > I need a little help understanding how 's > and > elements work. I have the following: > > > > > > > > > > > > > > > > > > > > Which I expect to exclude all the classes under **/ejb > except the class I > have explicitly included. However, this does not appear to be > happening. The > PyrLcDiagCd.class does not get copied to the destination > directory. Why is > that? > > > > /mike > > > > > > Mike Dougherty > > Sr. Software Engineer | mdougherty@xifin.com > > XIFIN, Inc. | http://www.xifin.com > Ph: 760.804.0770 x47 | Fax: 760.804.0851 > > This message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender and destroy all copies of the original message. > > > Thanks Dominique, that did what I needed. I appreciate the advice. /mike ------_=_NextPart_001_01C27A07.1F83DB50--