ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: differential pattern sets
Date Sun, 20 Nov 2016 05:08:27 GMT
On 2016-11-19, Alan Snyder wrote:

> I would like to define a file set containing files selected by one pattern set but excluding
those defined by a second pattern set.

> Is there a way to do this?

Kind of. You can get a resource colection by using <difference> on two
<fileset>s each one with one of the pattern sets.

The alternative is to replace the <patternset>s with selectors, likely
<filename>, and use some <or>s and <not>s. This will yield a <fileset>.


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

View raw message