Java Mailing List Archive

http://www.ant-tasks.com/

Apache Ant Archive

» Ant Users List
» Ant Developers List
task to 'cp -r --reply=no '

task to 'cp -r --reply=no '

2007-06-12       - By Matt Benson
Reply:     1     2     3     4     5     6     7     8     9     10  


--- Gilbert Rebhan <ant@(protected)> 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@(protected)
> For additional commands, e-mail:
> user-help@(protected)
>
>



     
_______________________________________________________________________________
_____
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@(protected)
For additional commands, e-mail: user-help@(protected)


©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.