ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: Javac Problem
Date Fri, 03 Aug 2001 12:02:25 GMT
On Fri, 3 Aug 2001, Tim Sawyer <> wrote:

> I'm using the version of Ant that comes with netbeans 3.2,

I hope it is Ant 1.3.

> The problem I'm having is that when I do a compile, the compiler
> doesn't pick up the jars that I have in WEB-INF/lib, even though
> that directory is on the classpath for the javac.

The jars themselves must be on the classpath, not the directory
containing them.

You may want to define a classpath like

  <fileset dir="$(deploy.home}/WEB-INF/lib" includes="*.jar" />

in your javac task.


View raw message