[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ant-user
Subject:    Re: Fileset problem
From:       Eric Richardson <eric.richardson () milagrosoft ! com>
Date:       2001-07-31 19:15:24
[Download RAW message or body]

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic