Knuplesch wrote:
Hello,

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.

no, it doesnt,


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?

no, but you can use a filelist instead to explicitly order the list.

Having a program that only works if the classpath order is right is a bad sign. It means you have duplicate resources or classes, and you are going to get in trouble later on. Why not use Ant to create new JAR files that selectively exclude the things you don't want?

--
Steve Loughran                  http://www.1060.org/blogxter/publish/5
Author: Ant in Action           http://antbook.org/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to