Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 43745 invoked from network); 25 Aug 2005 19:20:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 25 Aug 2005 19:20:42 -0000 Received: (qmail 14361 invoked by uid 500); 25 Aug 2005 19:20:36 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 14321 invoked by uid 500); 25 Aug 2005 19:20:36 -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 14308 invoked by uid 99); 25 Aug 2005 19:20:36 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Aug 2005 12:20:36 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [208.200.221.8] (HELO mail.mdli.com) (208.200.221.8) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Aug 2005 12:20:52 -0700 Received: from mdlsloexc1001r.mdli.com (mdlsloexc1001r.mdli.com [145.36.242.148]) by mail.mdli.com (Postfix) with ESMTP id 4671FB5FAD for ; Thu, 25 Aug 2005 12:20:33 -0700 (PDT) Received: from [145.36.245.225] (145.36.245.225 [145.36.245.225]) by mdlsloexc1001r.mdli.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id RNPFBTQM; Thu, 25 Aug 2005 12:20:32 -0700 Message-ID: <430E19FB.5010605@mdl.com> Date: Thu, 25 Aug 2005 12:20:27 -0700 X-Sybari-Trust: 0b8ef92c f0259b84 8b06ebb4 0000093d From: "Alexey N. Solofnenko" User-Agent: Thunderbird 1.0+ (Windows/20050825) MIME-Version: 1.0 To: Ant Users List Subject: Re: Copy task that excludes directories References: <5394.12.27.179.239.1124997232.squirrel@webmail.chiron.lunarpages.com> In-Reply-To: <5394.12.27.179.239.1124997232.squirrel@webmail.chiron.lunarpages.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N You need to put a slash at the end. For example: name="WEB-INF/src/" - Alexey. Frank W. Zammetti wrote: > Hi all, > > I'm trying to set up a task that will copy an entire directory tree > starting at a given root directory, but which will EXCLUDE certain > directories in the tree. > > I started with the entire copy: > > > > > > > > > > > > Basically, I'm trying to exclude a single directory: src in WEB-INF (I'm > copying a webapp obviously). > > This part was easy, and it works. But, I can't seem to figure out the > exclusion... I can't use a in apparently, and the > task is deprecated. I don't see a way to do it with the > task alone. Any ideas? Thanks! > > Frank > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > For additional commands, e-mail: user-help@ant.apache.org > -- ------------------------------------------------------------------------ / Alexey N. Solofnenko MDL Information Systems, Inc. work: 510-357-2222x1726 home: http://trelony.cjb.net/ / --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org