ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From J S <>
Subject Path-Like-Struture. How tom maintain order for classpath?
Date Thu, 11 Jul 2002 01:07:16 GMT
I see in the ant docs under path-like-structures this

Note: The order in which the files building up a
FileSet are added to the path-like structure is not

I need to maintain order of jar files in my classpath
but I would also like to use a patternset.  How can I
do it?  They always end up alphabetical just as the
above note explains.  Thanks in advance!!!

Here is my rule:

<patternset id="weblogic.set" >
            <include name="log4j.jar"/>
            <include name="commons-beanutils.jar"/>
            <include name="commons-digester.jar"/>
            <include name="commons-collections.jar"/>
            <include name="commons-validator.jar"/>
            <include name="commons-logging.jar"/>
            <include name="jakarta-regexp-1.2.jar"/>

<path id="patterntofileset">
        <filelist dir="${SERVER_LIBS}">
          <patternset refid="weblogic.set"/>

   <classpath refid="patterntofileset"/>

Do You Yahoo!?
Sign up for SBC Yahoo! Dial - First Month Free

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

View raw message