Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 98160 invoked from network); 27 Jul 2004 22:01:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 27 Jul 2004 22:01:44 -0000 Received: (qmail 72663 invoked by uid 500); 27 Jul 2004 22:01:34 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 72628 invoked by uid 500); 27 Jul 2004 22:01:34 -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 72614 invoked by uid 99); 27 Jul 2004 22:01:34 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=DNS_FROM_RFC_ABUSE X-Spam-Check-By: apache.org Received: from [66.163.170.249] (HELO web20426.mail.yahoo.com) (66.163.170.249) by apache.org (qpsmtpd/0.27.1) with SMTP; Tue, 27 Jul 2004 15:01:30 -0700 Message-ID: <20040727220129.78307.qmail@web20426.mail.yahoo.com> Received: from [65.247.233.98] by web20426.mail.yahoo.com via HTTP; Tue, 27 Jul 2004 15:01:29 PDT Date: Tue, 27 Jul 2004 15:01:29 -0700 (PDT) From: Matt Benson Subject: Re: copying question... To: Ant Users List In-Reply-To: <434B90BC7B0F2C45945D653A6B4C5F390531EBE5@xena2000.symyx.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N If the glob mapper isn't flexible enough to allow you to remove one directory regardless of whether it is m, n or p (or q six months from now--I assume that's what you want), the regexp mapper may help. -Matt --- Alan Brown wrote: > > I have a directory structure of > > root/a/m/**/*.java > root/a/n/**/*.java > root/c/p/**/*.java > > And I'd like them all to > > Root2/a/**/*.java > root2/a/**/*.java > root2/c/**/*.java > > I've looked at the 'grob' mapper and I've fiddled > around no end with > filesets but there doesn't seem to be a way to do > this with the regular > tasks (ie, without using foreach). > > Is there a way to do this? I'm running the ant task > from root2 and have > access to the value of 'root'. > > > > > > ======= > Notice: This e-mail message, together with any > attachments, contains > information of Symyx Technologies, Inc. that may be > confidential, > proprietary, copyrighted, privileged and/or > protected work product, > and is meant solely for the intended recipient. If > you are not the > intended recipient, and have received this message > in error, please > contact the sender immediately, permanently delete > the original and > any copies of this email and any attachments > thereto. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > user-unsubscribe@ant.apache.org > For additional commands, e-mail: > user-help@ant.apache.org > > __________________________________ Do you Yahoo!? Yahoo! Mail - 50x more storage than other providers! http://promotions.yahoo.com/new_mail --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org