[kaffe] Re: using ant to build kaffe - ant needs non-free java!

Carlos Valiente yo@virutass.net
05 Aug 2002 17:47:07 +0100


On Mon, 2002-08-05 at 17:24, Dalibor Topic wrote:
> Hi Ean,
> 
> ant uses Sun's javac unless told otherwise. You have
> to pass it a build.compiler property (either in the
> build.xml file of the project you intend to build, or
> via command line) to make it use a different compiler.

You can also create a file called $HOME/.antrc containing the following
line:

export ANT_OPTS="-Dbuild.compiler=jikes"

to use 'jikes' as your default compiler. A very simple way to save
*lots* of time with ant-based compilations :-)

Cheers,

Carlos