ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Benson <gudnabr...@yahoo.com>
Subject Re: Resource Collections in 1.7
Date Thu, 04 Jan 2007 18:34:23 GMT
--- "Rebo, Alex" <Alex.Rebo@acs-inc.com> wrote:

Any relation to Max?  (sorry, couldn't resist...)

> 
> >Hello,
> >
> >Could you, please, help me to understand how to
> utilize Resource
> >Collections? 
> >
> >As an example, please, consider illustrating how
> Ant task may verify the
> >proper # of elements in a particular collection
> (say, number of files in a
> >fileset) or 
> >operate only on a subset of elements that different
> from the list obtained
> >in an earlier step (i.e., contents of some other
> directory, represented,
> >say, by a fileset).
> >

What?  You want to know how many elements of one
fileset are not in another fileset?  Given filesets f1
and f2:

<resourcecount>
  <difference>
    <fileset refid="fs1" />
    <fileset refid="fs2" />
  </difference>
</resourcecount>

Does that answer your question?

-Matt

> >Honestly tried to figure it out from the manual,
> but ...
> >
> >Many thanks!
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> user-unsubscribe@ant.apache.org
> For additional commands, e-mail:
> user-help@ant.apache.org
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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


Mime
View raw message