Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 98993 invoked from network); 6 Jan 2005 10:51:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 6 Jan 2005 10:51:07 -0000 Received: (qmail 62106 invoked by uid 500); 6 Jan 2005 10:51:00 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 61810 invoked by uid 500); 6 Jan 2005 10:50:59 -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 61796 invoked by uid 99); 6 Jan 2005 10:50:59 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from Unknown (HELO moon.harbinger-systems.com) (203.199.140.102) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 06 Jan 2005 02:50:55 -0800 Received: from vayu.harbinger.com ([192.168.2.2]) by moon.harbinger-systems.com (8.11.6/8.11.6/SuSE Linux 0.5) with ESMTP id j06AmHR06623 for ; Thu, 6 Jan 2005 16:18:18 +0530 Received: from poonam (poonam.harbinger.com [192.168.2.25]) by vayu.harbinger.com (8.11.6/8.11.6/SuSE Linux 0.5) with SMTP id j06AdRb22232 for ; Thu, 6 Jan 2005 16:09:32 +0530 Message-ID: <004101c4f3dc$c8918070$1902a8c0@harbinger.com> Reply-To: "Poonam" From: "Poonam" To: "Ant Users List" References: <008c01c4f3b2$7013ca90$1902a8c0@harbinger.com> <19265.1105001948@www15.gmx.net> Subject: Re: Copying folders Date: Thu, 6 Jan 2005 16:15:00 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi, Thanks, that was really useful. Actually I am trying to copy a set of folders over network. Is there any way to change the name of the folder while copying at runtime. For eg. The folder name is like ReleaseLock.4BA6844C-8F19-429F-BE93-B8A6AAA2E735. I want to change this name to run1. Similarly there is another folder named ReleaseLock.4371A6844C-8F19-429F-BE93-B8A6AAA2E735. I want to change this name to run2. And another to run3. Can I do it? I tried to use mapper, but was not able to do it. Can you help me? Regards, Poonam ----- Original Message ----- From: "Antoine Levy-Lambert" To: "Poonam" Sent: Thursday, January 06, 2005 2:29 PM Subject: Re: Copying folders > if you are listing directory names in the contents of Driverlists.txt, > just make sure that your patterns end with /**, then you will copy > everything. > > for instance : > > foo/bar/** > orange/lemon/** > > will catch everything recursively under foo/bar and orange/lemon. > > Cheers, > Antoine > > > > Hi, > > > > Actually, the main folder contains around 50 folders, out of which I have > > to > > copy 20 folders. These folders are again 4 level deep, but it is not > > copying > > these folders upto 4th level. It just creates the 1st level folders as > > empty > > folders. But these are not empty folders. > > > > Regards, > > Poonam > > > > ----- Original Message ----- > > From: "EJ Ciramella" > > To: "Ant Users List" > > Sent: Thursday, January 06, 2005 10:53 AM > > Subject: RE: Copying folders > > > > > > but also, why not just create them up one directory instead of copying? > > > > -----Original Message----- > > From: EJ Ciramella [mailto:eciramella@upromise.com] > > Sent: Thursday, January 06, 2005 12:21 AM > > To: Ant Users List > > Subject: RE: Copying folders > > > > > > doesn't ant have a "includeEmptyDirs" parameter to the copy task? > > > > -----Original Message----- > > From: Poonam [mailto:poonam@harbinger-systems.com] > > Sent: Thursday, January 06, 2005 12:06 AM > > To: Ant Users List > > Subject: Copying folders > > > > > > Hi, > > > > I tried using filesets and selectors, but was not able to copy those > > selected 20 directories upto 3 levels. It just copied the first level > > files and empty directories. > > I used fileset as follows - > > > > > > > > > > > > > > > > where DriversList.txt contains the folder name I am want to copy. I want > > to copy these folders completely i.e. upto n level. > > > > Regards, > > Poonam > > > > > > > > --------------------------------------------------------------------- > > 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 > > > > > > > > > > > > --------------------------------------------------------------------- > > 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