ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From blazingwolf7 <blazingwo...@gmail.com>
Subject Re: AW: Copying Folder
Date Mon, 22 Dec 2008 09:11:39 GMT

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:blazingwolf7@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-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@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-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message