> -----Original Message-----
> From: Jerome Moliere [mailto:[EMAIL PROTECTED]

> faced a situation where my patterns in fileset tasks where mutually 
> exclusive but without the slightest message from ANT.
> So I imagined to add such functionality using mathematical 
> set functions 
> (union, intersections & so on).
> It would be nice to log to the console (or file) that an 
> includes directive 
> is not compatible with an excludes one...

In fact I hardly can see how to add a warning about an include not
compatible with an exclude as it might be something perfectly volunteer to
filter out things and as it also depends on your input.

To ease debugging some kind of stats related to a rule (include/exclude) can
maybe be spitted out in debug with something like:

original input : 1257 elements
include '**.java' keeps 1000 elements ( -257 )
exclude 'Test*.java' keeps 988 elements ( -12 )
final output: 988 elements

But I can't really see how to add something more 'intelligent'.

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to