ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Klara Ward" <klara.w...@debitech.com>
Subject RE: Nested library directories
Date Wed, 11 Jul 2001 12:30:00 GMT

Do you do something like this:
    <classpath>
      <fileset dir="lib">
        <include name="**/*.jar"/>
      </fileset>
    </classpath>
isn't that recursive by nature, the ** can stand for anything, not just a directory?

Klara

> -----Original Message-----
> From: Ola Sandness [mailto:Ola.Sandness@online.acta.no]
> Sent: den 11 juli 2001 14:16
> To: 'ant-user@jakarta.apache.org'
> Subject: Nested library directories
> 
> 
> Hi,
> I understand that you can add all .jar files in one directory to the
> classpath, without naming every single one. That's cool. Is it possible to
> make this recursive, so that you can have a library tree with f.ex. one
> directory for each vendor, like this:
> 
> /lib/
>   |-- sun
>   |    |- somelib.jar
>   |    |- someother.jar
>   |
>   |-- ibm
>        |- ibmlib.jar
>        |- onemore.jar
> 
> 
> And then just recursively add all libraries resident under the 
> lib directory
> somewhere, in one go...
> 
> Possible?
> 
> Regards,
> Ola Sandness
> Accenture
> 


Mime
View raw message