Hi,
According to ant documentation,
<include name="html/"/>
is the same as
<include name="html/**"/>
Quoting: There is one "shorthand" - if a pattern ends with / or \, then **
is appended. For example, mypackage/test/ is interpreted as if it were
mypackage/test/**.
Azariah
> -----Original Message-----
> From: David Jencks [mailto:[EMAIL PROTECTED]]
> Sent: Monday, September 24, 2001 1:10 PM
> To: [EMAIL PROTECTED]
> Subject: Re: FileSet question
>
>
> Maybe add
> > <local dir="${rootdir}">
> > <include name="html/**"/>
> > <include name="cgi-bin/**"/>
> > </local>
> so you get files in the directories and not just the directories
> themselves.
>
> david jencks
>
> On 2001.09.24 13:56:01 -0400 JohnA wrote:
> > I have a fileset that looks like this:
> >
> > <local dir="${rootdir}">
> > <include name="."/>
> > <include name="html/"/>
> > <include name="cgi-bin/"/>
> > </local>
> >
> > What this is trying to do is include _only_ the two
> directories html and
> > cgi-bin in rootdir, i.e. exclude everything else. If I don't add the
> > include
> > for "." it excludes everything in rootdir (I guess since "." is not
> > included).
> >
> > Is this normal behaviour for Filesets or is this a bug in
> my taskdef? :)
> >
> > John
> >
> >
> >
>