On Mon, 2 May 2005, Wim Praet <[EMAIL PROTECTED]> wrote:

> <javac srcdir="${src}" destdir="${build}" debug="${debug}"
> compiler="extJavac" executable="${jdk13}" source="1.3" target="1.3">

Try <javac ... compiler="javac1.3" fork="true"/>.

> (where ${jdk13} points to the JDK1.3 javac executable).

with compiler="extJavac" Ant assumes it can use the same command line
arguments as the javac of the current VM, i.e. JDK 1.5 in your case.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to