The problem is that your `include' clause is implicitly ignoring folders, if you wish to use the include clause add another with the value of '*/', otherwise remove <include name="*"/>
On Mon, Dec 22, 2008 at 7:26 PM, blazingwolf7 <blazingwo...@gmail.com> wrote: > > Hi, > > I am trying to used ant to copy all files from one folder to another. But > from the directory the files to be copy from contains some folders as well. > > <copy todir="${build.dir}"> > <fileset dir="${basedir}"> > <include name="*"/> > </fileset> > </copy> > > I tried to copy all the files except for the folders but fail to do so. Can > anyone advice? > -- > View this message in context: > http://www.nabble.com/Copying-Folder-tp21124245p21124245.html > Sent from the Ant - Users mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@ant.apache.org > For additional commands, e-mail: user-h...@ant.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org