ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erik Meade" <>
Subject Re: multiple classpathrefs
Date Thu, 09 Nov 2000 02:52:50 GMT

Stefan Bodewig wrote on 11/8/00 1:22 am:

>>>>>> "EM" == Erik Meade 
> EM> Is there any reason not 
>to allow multiple 
>classpathrefs separated  
>EM> by commas?  I would 
>like to be able to reuse 
>individual classrefs  EM> 
>together without having to 
>define all the combinations.
>You can use nested classpath 
>elements instead. IMHO 
>whenever you feel  need to 
>give a list of things you 
>should use nested elements. 
>Your proposal would prohibit 
>IDs containing a comma.

Yes, this sounds good.

 I got the results I wanted by doing:

<path id="ext.jars">
    <fileset dir="${ext.dir}" >
        <include name="**/*.jar" />
    </fileset >

<path id="weblogic.jars">
    <fileset dir="${weblogic.dir}" >
        <include name="**/*.jar" />
        <include name="**/*.zip" />
    </fileset >

and then in my Javac tasks:

            <path refid="ext.jars" />
            <path refid="weblogic.jars" />


View raw message