ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craeg Strong" <cstr...@nyc.saic.com>
Subject how would I perform set intersection or disjunction with filesets?
Date Thu, 14 Jul 2005 02:11:38 GMT
Hello:

Here is a fun question: does anyone have any ideas as to how one might
go about producing a fileset that represents the INTERSECTION of two
filesets?

That is, it will include only those files that are in both filesets A
and B.

Another question: how might one produce a fileset that includes all
those files from fileset A that are NOT part of fileset B?

I believe selectors provide the capabilities I would need to get the
above job done at a low level, but it might be nice to be able to
perform set operations like this on filesets directly, for better code
legibility and expressive power.  

Opinions?  Ideas?

Thanks in advance,

--Craeg

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


Mime
View raw message