ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: Javac Problem
Date Fri, 03 Aug 2001 12:02:25 GMT
On Fri, 3 Aug 2001, Tim Sawyer <Tim.Sawyer@PanCredit.com> 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

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

in your javac task.

Stefan

Mime
View raw message