Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@apache.org Received: (qmail 30165 invoked from network); 14 Aug 2002 16:06:42 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 14 Aug 2002 16:06:42 -0000 Received: (qmail 25164 invoked by uid 97); 14 Aug 2002 16:06:54 -0000 Delivered-To: qmlist-jakarta-archive-ant-user@jakarta.apache.org Received: (qmail 25148 invoked by uid 97); 14 Aug 2002 16:06:54 -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 25136 invoked by uid 98); 14 Aug 2002 16:06:53 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) X-MimeOLE: Produced By Microsoft Exchange V6.0.5762.3 content-class: urn:content-classes:message Subject: RE: Moving a set of directories. MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Date: Wed, 14 Aug 2002 09:06:27 -0700 Message-ID: <6B504A36CFE60F40BAF99C001D1BC029C77E59@ADFDEX01.C-IV.org> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Moving a set of directories. Thread-Index: AcJDocmJiRWUtTpfQKmM/a50OV8jEAACjiIw From: "Milind Nirgun" To: "Ant Users List" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N If supported as a nested element, you could easily do = what you intend to by using But that doesn't work! Maybe opportunity for a new patch here. Seems like Move is good for moving files only at the moment. -Milind =20 > -----Original Message----- > From: Joyce Li [mailto:jli@dwl.com] > Sent: Wednesday, August 14, 2002 7:48 AM > To: Ant Users List > Subject: Re: Moving a set of directories. >=20 >=20 > I tried all the suggestions but nothing seems to work. I am=20 > using Ant 1.5 on > Windows 2000 and Linux. > The problem only exists if I'm moving a directory to be under=20 > a new directory. > If I just simply rename the source directory, it works. So=20 > the following code > would work >=20 > > > >=20 > That would rename srcdir to tardir. > And the following code would not delete the srcdir because=20 > I'm trying to move > srcdir under tardir: >=20 > includeEmptyDirs=3D"yes"> > defaultexcludes=3D"no"> > > > > >=20 >=20 > Looks like I'll have to either rename each directory=20 > individually or do an extra > delete operation after the move. > I appreciate all the help. >=20 >=20 > Joyce >=20 >=20 > Martin Gainty wrote: >=20 > > Joyce: > > > > to Move a set of files to a new directory > > > > //the exact target directory > > //the exact src directory > > //include these files > > //exclude these files > > > > > > > > Keep us apprised, > > -Martin > > >=20 >=20 > -- > To unsubscribe, e-mail: =20 For additional commands, e-mail: = -- To unsubscribe, e-mail: For additional commands, e-mail: