ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fernando Padilla <>
Subject Re: auto-building a classpath
Date Sat, 10 Mar 2001 21:23:05 GMT

<path id="">
 <fileset dir="jar-directory">
  <include name="**/*.jar"/>

please look at the documentation for the above elements for the full
story.  The above defines a path element ( which can be referenced by
various other tasks with classpathrefid etc ).  It uses a fileset and a
matching element to match all file that end in .jar underneatch the


On Sat, 10 Mar 2001, Will Hartung wrote:

> Hi all,
> I'm curious if there is a way to automatically create a classpath.
> Specifically, we have a directory that we like to put all of our 3rd party
> jars into for the build, and I was wondering if there is some way that ANT
> can "look" at the directory, and just add all of the jars to the classpath.
> Thanx!
> Will Hartung
> (

View raw message