ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: Switching versions of java during an ant build
Date Tue, 16 Apr 2002 15:17:32 GMT
On Tue, 16 Apr 2002, Daniel Barclay <dbarclay@mercator.com> wrote:

> Should Ant provide a general way to run tasks using different Java
> platform versions?

I'm not sure whether you'd want that in general, but for certain task,
sure.

Current CVS will let you get close to this in <javac> at least - set
fork to true and let the executable attribute point to the javac(.exe)
you want to run.

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