[prev in list] [next in list] [prev in thread] [next in thread]
List: ant-user
Subject: Re: Enforce order in copying so that my overiding works correctly
From: "=?ISO-8859-1?Q?Lars_R=E6der_Clausen?=" <lrc () amplex ! dk>
Date: 2008-07-24 12:08:25
Message-ID: fec9d0970807240508k2cfbf515y487e5de90a7c008 () mail ! gmail ! com
[Download RAW message or body]
On Thu, Jul 24, 2008 at 11:30 AM, Rebhan, Gilbert
<Gilbert.Rebhan@huk-coburg.de> wrote:
>
>
>
> -----Original Message-----
> From: Rebhan, Gilbert [mailto:Gilbert.Rebhan@huk-coburg.de]
> 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: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic