Not really...I just want to copy the files from the root directory But the root directory will have folders as well. Now the problem I faced is how to filter out all the folders so that it only copy the files from the root directory
Rebhan, Gilbert wrote: > > > > -----Ursprüngliche Nachricht----- > Von: blazingwolf7 [mailto:blazingwo...@gmail.com] > Gesendet: Montag, 22. Dezember 2008 09:53 > An: user@ant.apache.org > Betreff: Re: Copying Folder > > /* > Hmm...there are .txt and other files inside there.. > There are folders as well. I want to ignore all folders and copy the rest > of > the files > But just keep failing to do that. It copy everything > */ > > i think you want to recursive copy, but only the files without preserving > the directory structure !? > > look at the flatten attribute from copy task or use a flattenmapper > > Regards, Gilbert > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@ant.apache.org > For additional commands, e-mail: user-h...@ant.apache.org > > > -- View this message in context: http://www.nabble.com/Copying-Folder-tp21124245p21124700.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