On Thu, Nov 4, 2010 at 8:01 AM, Dominique Devienne <ddevie...@gmail.com>wrote:

> On Wed, Nov 3, 2010 at 4:49 PM, Daniel Becroft <djcbecr...@gmail.com>
> wrote:
> > I am trying to construct a <fileset> definition to exclude any files in
> > /alpha if the same filename exists in /beta.
>
> See the <present> selector in the manual. --DD
>

Thanks, DD, that looks like it does what I want. However, I only want to
apply this selector to a subset of the entries in the fileset. I forgot to
mention that in the original email.

For example:

\alpha\foo.c
\alpha\A.txt
\beta\foo.c
\beta\bar.c
\gamma\foo.c

I want to select everything, but only apply the <present> selector to
anything under \alpha (everything under \beta and \gamma should be selected
as normal). I can't seem to find a solution without using two FileSets.

This is more out of curiosity.

 PS: I think that's the 3rd time I answered this question recently ;)
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
> For additional commands, e-mail: user-h...@ant.apache.org
>
>

Reply via email to