ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rebhan, Gilbert" <>
Subject RE: Enforce order in copying so that my overiding works correctly
Date Thu, 24 Jul 2008 09:21:17 GMT

-----Original Message-----
From: Lars Ræder Clausen [] 
Sent: Thursday, July 24, 2008 9:36 AM
To: Ant Users List
Subject: Re: Enforce order in copying so that my overiding works correctly

[ ... ]

Speaking of FileSet, is it just me who's having trouble doing a set
union on FileSets?  I'd have expected something like

<fileset id="set1" dir="/tmp"><include name="aFile"></fileset>
<fileset id="set2" dir="/etc"><include name="passwd"></fileset>
<fileset id="set3">
  <include refid="set1"/>
  <include refid="set2"/>

to give me a FileSet with two files in it, but it's not even legal,
and I have yet to find a legal way to do it.  Is it just that the
internal representation of FileSet is not compatible with that kind of

that can be achieved via resource collections in ant 1.7

i didn't use ant 1.7 yet, but you can do things like =

<!-- subtract the intersection -->
<difference id="foobar">
 <fileset refid="yourfileset_1" />    
 <fileset refid="yourfileset_2" />

and also count for further math operations =

<resourcecount property="">
 <fileset refid="foo" />

see =

Regards, Gilbert

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

View raw message