On Mon, 2 May 2005, Wim Praet <[EMAIL PROTECTED]> wrote:
>> 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"/>.
>
> When I try to do that ( being:
> <javac srcdir="${src}" destdir="${build}" debug="${debug}"
> compiler="javac1.3" fork="true" source="1.3" target="1.3">
executable="${jdk13}"
is missing. You need to tell Ant (1) that you want to run an external
JDK compiler (fork="true"), (2) that you don't want the one of the
current JDK, but a different executable (executable="...") and (3)
that the compile accepts a command line compatible with the one of JDK
1.3 (compiler="javac1.3").
Your original setup lacked (3), your second attempt lacked (2).
Cheers
Stefan
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]