On Thu, Jul 24, 2008 at 11:30 AM, Rebhan, Gilbert <[EMAIL PROTECTED]> wrote: > > > > -----Original Message----- > From: Rebhan, Gilbert [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 24, 2008 11:21 AM > To: Ant Users List > Subject: RE: Enforce order in copying so that my overiding works > correctly > > /* > [ ... ] > > see = > http://ant.apache.org/manual/CoreTypes/resources.html#collection > > */ > > P.S. : > > here are your set operations = > > http://ant.apache.org/manual/CoreTypes/resources.html#union > http://ant.apache.org/manual/CoreTypes/resources.html#intersect > http://ant.apache.org/manual/CoreTypes/resources.html#difference
Went through some permutations -- the docs are a bit scanty -- but here's an example that works: <fileset id="a" dir="${dist}"><include name="ampcom.jar"/> </fileset> <fileset id="b" dir="${extlib}"><include name="ant.jar"/></fileset> <union id="ab"> <fileset refid="a"/><fileset refid="b"/> </union> <target name="aTest"> <copy todir="/tmp"> <union refid="ab"/> </copy> </target> Wish we were using Ant 1.7 generally, there's a number of places this would come in handy. -Lars --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]