M. A. Dunphy <[EMAIL PROTECTED]> wrote:
> I'm using Ant 1.2 (though it also doesn't work in 1.3).
It will work in 1.3 with a little help from the additional
includeantruntime and includejavaruntime attributes.
> <javac srcdir="${src}" destdir="${build.classes.src}"
> classpath="${ordering.class.path}"/>
> From reading the docs the attribute classpath is meant to specifiy
> the classpath used in this compilation (i.e the javac -classpath
> ...).
This is only half of the story. Ant will add the CLASSPATH it has
been invoked with to the classpath you've specified at the javac task
- it will even prepend it to the explicitly specified one.
If you don't want the CLASSPATH in the mix, use Ant 1.3 and set
includeantruntime to false.
Stefan