ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Benson <gudnabr...@yahoo.com>
Subject Re: task to 'cp -r --reply=no'
Date Tue, 12 Jun 2007 20:07:32 GMT

--- Gilbert Rebhan <ant@schillbaer.de> wrote:

> 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"
> 

Ahh... yes, my test didn't bother specifying an
includes attribute, so I defaulted to "**/*".  :)

-Matt

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



       
____________________________________________________________________________________
Be a better Heartthrob. Get better relationship answers from someone who knows. Yahoo! Answers
- Check it out. 
http://answers.yahoo.com/dir/?link=list&sid=396545433

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


Mime
View raw message