ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: How to include contents of jar file in classpath when it doesn't have a jar (or zip) extension
Date Tue, 15 Apr 2003 06:45:24 GMT
On Mon, 14 Apr 2003, Huw Roberts <Huw@mmlive.com> wrote:

> I want to include a .bar file (block archive, from an old version of
> avalon) in the classpath for compiling an application.

How are you trying to do that exactly?  Nested <classpath> element in
<javac>?

I suspect it is not <path> doing anything wierd here (the code doesn't
treat .zip or .jar files in any way different from .bar) but javac
itself (not the task, Sun's code).

Can you run ant -debug and look at the arguments passed to javac?

Stefan

Mime
View raw message