ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rizwan Merchant" <riz...@alpha-it.com>
Subject RE: moving directories
Date Fri, 23 Sep 2005 16:24:31 GMT

Hi,
I'm using version 1.6.5

Rizwan Merchant
Software Developer
Alpha-IT Technologies
416-449-2166
rizwan@alpha-it.com
 
-----Original Message-----
From: Matt Benson [mailto:gudnabrsam@yahoo.com] 
Sent: Friday, September 23, 2005 12:21 PM
To: Ant Users List
Subject: Re: moving directories

--- Rizwan Merchant <rizwan@alpha-it.com> wrote:

>  
> 
> Hi,
> 
> I've posted before regarding this topic, but haven't
> been able to solve my
> problem. I am trying to back up a directory by
> moving it to another location
> using the following move task
> 
>  
> 
> <move todir="${backUp.dir}" failonerror="true">
> 
>             <fileset dir="${root.dir}">
> 
>                         <include
> name="UHM-dev*/**"/>
> 
>             </fileset>
> 
> </move>
> 
>  
> 
> The above task does move the directory, all its
> subfolders and files to the
> new location, but it leaves behind the directory
> structure (i.e empty
> folders). I know that the "includeEmptyDirs"
> attribute for the move task is
> defaulted to true, which means nothing should be
> left behind.
> 
> Any help is appreciated.


What version of Ant are you using?

-Matt



		
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com

---------------------------------------------------------------------
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


Mime
View raw message