ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Benson <gudnabr...@yahoo.com>
Subject Re: moving directories
Date Fri, 23 Sep 2005 16:21:15 GMT
--- 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


Mime
View raw message