ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Abley <james.ab...@volantis.com>
Subject Re: Copy taks, include files exclude subfolders
Date Tue, 01 Feb 2005 10:20:48 GMT
On Tue, 2005-02-01 at 10:16, James Abley wrote:
> On Tue, 2005-02-01 at 10:10, Matt Benic wrote:
> > Hi there,
> > I am having trouble implementing a copy task. Given the following folder
> > layout:
> > /sourcefolder
> >     file1
> >     file2.dat
> >     /subfolder1
> >         file3
> >     /subfolder2
> >         file4
> > 
> > I want to be able to copy all files in the top level directory, but not
> > recurse through the subfolders. ie I would like to see the target directory
> > ending up like this:
> > /targetdir
> >     file1
> >     file2
> > 
> 
> I'm guessing that your include fileset is defined using a '**'? '**'
> will recursively traverse a directory.

This might be helpful too!

http://ant.apache.org/manual/dirtasks.html


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


Mime
View raw message