ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Benson <gudnabr...@yahoo.com>
Subject Re: Ordered fileset
Date Thu, 11 May 2006 15:27:00 GMT
Ant 1.7 adds resourcecollections including the <sort>
collection which will sort another resourcecollection
(e.g. fileset) according to a specified
resourcecomparator.  If you care to build Ant from svn
HEAD you could try it out now, or wait for 1.7 (2-5
months maybe?)

-Matt

--- "Allwicher, Klaus" <Klaus.Allwicher@nuance.com>
wrote:

> Hi,
> 
> I have to process different files ordered by their
> creation date. (In more
> detail, I have to import them and have to assure the
> the contents of newer
> archives are not overwritten by the contents of
> older files).
> If there a possiblity to define an order for
> filesets or are there any other
> ways to achieve this with standard ANT tasks/types ?
> 
> Or do I have to write a new/extended fileset by my
> own ?
> 
> Currently the ANT target looks something like
> 
> 	<for param="arc_name">
> 		<path> <fileset dir="${dir.import}"
> casesensitive="false"
> includes="${arc_pattern}" /> </path>
> 	<sequential>
> 		<import archive="@{arcname}" />
> 	</sequential>
> 	</for>
> 
> Thanks for you help :-)
> 
> Klaus
> 
>
---------------------------------------------------------------------
> 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