ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rizwan Merchant" <>
Subject moving directories
Date Fri, 23 Sep 2005 16:06:33 GMT


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*/**"/>




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.




Rizwan Merchant

Software Developer

Alpha-IT Technologies




  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message