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

>>>>>> "EM" == Erik Meade 
><[EMAIL PROTECTED]> 
>writes:
>
> 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.
>
>Stefan

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>

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

and then in my Javac tasks:

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

Thanks,
Erik

Reply via email to