ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: java.home
Date Fri, 24 Aug 2001 13:12:20 GMT
On Fri, 24 Aug 2001, Kyle Adams <kadams@gfs.com> wrote:

> (by altering "build.compiler" in a property file).

"javac" is not a valid value for this property, see the documentation
of the <javac> task for the values Ant knows how to deal with (you
want to set it to "modern" or "classic" - or not set it at all).

>  Ant choked,

If build.compiler is set to a value Ant doesn't recognize, this one is
taken to be the name of a class (implementing CompilerAdapter) - as
Ant doesn't know "javac" it tries to load a class named "javac", and
obviously fails to find it.

Stefan

Mime
View raw message