On Mon, 13 May 2002, Geoff Meakin <[EMAIL PROTECTED]> wrote:
> Does anyone know of a good way to do multiple compiling in a single
> script?
I'll assume Ant 1.5beta, beta2 will have this snippet in its <javac>
documentation:
>> If you want to run the javac compiler of a different JDK, you
>> should tell Ant, where to find the compiler and which version of JDK
>> you will be using so it can choose the correct command line switches.
>> The following example executes a JDK 1.1 javac in a new process and
>> uses the correct command line switches even when Ant is running in a
>> Java VM of a different version:
>>
>> <javac srcdir="${src}"
>> destdir="${build}"
>> fork="yes"
>> executable="/opt/java/jdk1.1/bin/javac"
>> compiler="javac1.1"
>> />
Stefan
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>