ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gilbert Rebhan <>
Subject Re: task to 'cp -r --reply=no'
Date Tue, 12 Jun 2007 20:03:47 GMT
Gilbert Rebhan wrote:

> Blank directorie are not copied, how to achieve that if wanted ?
> (manual says <cop<> task is set to ncludeEmptyDirs="true" ?

it's simply a question of the fileset include pattern
if used

includes="**/*"  =

      [echo] Files to copy =
      [copy] Copied 1 empty directory to 1 empty directory under J:\copyto

so if i want to include empty dirs i use the pattern
includes="**/*" and need to exclude all the stuff i don't need,
i.e. excludes="**/*.bak, *.log"

Regards, Gilbert

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message