Stefan Bodewig wrote:
>
> On Mon, 30 Jul 2001, Eric Richardson <[EMAIL PROTECTED]>
> wrote:
>
> > Hi, I'm using the following to pass to <java> in a
> > classpathref. I've included a jar and the directory in the <fileset>
> > that has some loose class files.
> >
> > <path id="my.classpath">
> > <fileset dir="${catalog.dir}">
> > <include name="catalog.jar"/>
> > <include name="${catalog.dir}"/>
> > </fileset>
> > </path>
>
> The nested <fileset> inside <path> will by design only pick up files,
> not directories - make that
>
> <path id="my.classpath">
> <pathelement location="${catalog.dir}" />
> <pathelement location="${catalog.dir}/catalog.jar" />
> </path>
>
> as you don't need the directory scanning/pattern matching
> functionality of <fileset> anyway.
>
Thanks,
So many ways, so little time.
Eric