ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Benson <>
Subject Re: AW: Why don't my selectors select anything?
Date Fri, 01 Apr 2005 15:28:54 GMT

--- wrote:
> Personally I think about <ex|include> AS a selector
> :-) Itīs selected if the
> filename
> matches the given string.

I used to think of patternsets as selectors as well.

> <fileset dir="" includes="foo"/> 
> is the same as
> <fileset dir="">
>   <include name="foo"/>
> </fileset>
The nested include is still a pattern rather than a
selector; a better comparison would have been

<fileset dir="">
  <filename name="foo" />

But when you start getting into Ant's filescanning
implementation you see that patterns have precedence
over selectors, which can have surprising results
under the right/wrong circumstances.


Yahoo! Messenger 
Show us what our next emoticon should look like. Join the fun.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message