ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Richardson <eric.richard...@milagrosoft.com>
Subject Re: Fileset problem
Date Tue, 31 Jul 2001 19:15:24 GMT
Stefan Bodewig wrote:
> 
> On Mon, 30 Jul 2001, Eric Richardson <eric.richardson@milagrosoft.com>
> 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

Mime
View raw message