ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dominique Devienne" <ddevie...@gmail.com>
Subject Re: Question regarding recursive copy
Date Tue, 15 Aug 2006 13:43:34 GMT
> <copy preservelastmodified="yes" todir="./dst">
>   <fileset dir="./src" includes="**" />
> </copy>
>
> it copies the direct subfolders of src, but the content of the
> subsubfolders will be flattened.

I doubt it. <copy> preserves the file hierarchy, unless an explicit
<flattenmapper> is used. --DD

PS: Your ** pattern is fine, although I prefer to use **/* myself.
**/*.* will only copy files with an extension, and some files could
have none.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message