ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: multiple JVM compiling??
Date Mon, 13 May 2002 16:01:30 GMT
On Mon, 13 May 2002, Geoff Meakin <geoffm@isocra.com> 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:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message