ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
Subject AW: Sorted Fileset
Date Thu, 13 Sep 2007 09:06:57 GMT
Classpath is a path and not a fileset (it can contain filesets).
With Ant 1.7 classpath is a kind of resource collection.
RCs are sortable.
With Ant 1.7 most tasks are RC-aware.
Paths can contain RCs.

So you should create your "sorted fileset" via RCs. 
  "In addition, one or more Resource Collections can be specified as nested elements 
  (these must consist of file-type resources only)."

Also have a look at Ivy for building you classpath.


>-----Ursprüngliche Nachricht-----
>Von: Knuplesch, Jürgen [] 
>Gesendet: Donnerstag, 13. September 2007 10:52
>Betreff: Sorted Fileset
>To create a correct classpath it is sometimes necessary to 
>order the .jar-Files in the right sequence.
>A fileset does not give the guarantee about the sequence.
>What we have ist a directory with .jar-Files that should be 
>included into the classpath.
>Then I build the classpath by doing a loop using ANTCONTRIB.
>Is it possible to adjust the sequence of a fileset?
>Jürgen Knuplesch          
>icon Systemhaus GmbH                Tel. +49 711 806098-275
>Sophienstraße 40                    
>D-70178 Stuttgart                   Fax. +49 711 806098-299
>Geschäftsführer: Uwe Seltmann
>HRB Stuttgart 17655
>USt-IdNr.: DE 811944121 
>To unsubscribe, e-mail:
>For additional commands, e-mail:

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

View raw message