ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: question on an Ant property
Date Fri, 19 Jan 2001 14:45:17 GMT
Sibon Barman <> wrote:

> What does the following property do:
> <property name="build.compiler.emacs" value="on"/>

This is one of a couple of magic properties for Jikes. If you are
using jikes as your compiler (by setting yet another magic property
named build.compiler to jikes) this will enable jikes' +E switch


> Also I saw there is no classpath defined in that script ---- does
> that mean it gets the classpath from the os environment?

Yes - well mostly. Ant 1.2 is not really consistent about that, some
tasks use the classpath of the environment, some don't. The current
CVS version is as inconsistent to be backwards compatible by default,
but you have a little bit of extra control.

There is a new magic property build.sysclasspath that you can set to a
couple of values:

"ignore" - Never use the os environment classpath for anything.
"only"   - Always use the os environment classpath for anything, don't
           use the explicit paths listed in the buildfile.
"first"  - Prepend os environment classpath to any other classpath specified.
"last"   - Append os environment classpath to any other classpath specified.

All this applies to tasks where you can specify a classpath. All other
tasks will use the classpath Ant has been invoked with and nothing


View raw message