ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gilbert Rebhan <...@schillbaer.de>
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="**/*"  =

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


Mime
View raw message