ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: Automatically importing a directory of .jar files.
Date Wed, 25 Jul 2001 05:10:59 GMT
On 24 Jul 2001, <> wrote:

> I want to make it easy for my projects to be downloaded and built
> without any major CLASSPATH hacks.  I am putting all my .jar files
> into PROJECT/lib but I am hving to manually add EACH .jar into the
> "classpath" attribute on the javac task.

This should do it (possible since Ant 1.2):

<javac ...>
    <fileset dir="PROJECT/lib">
      <include name="*.jar" />


View raw message