ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: Ant 1.4.1: Using javac fork=true and changing java.home
Date Fri, 19 Apr 2002 06:23:15 GMT
On Thu, 18 Apr 2002, Gordon Tyler <gordon.tyler@sitraka.com> wrote:

> However, it seems that <javac fork=true> doesn't use the java.home
> property to execute javac.

Correct.

Ant 1.5alpha has a new attribute in <javac> that lets you explicitly
point Ant to the compiler you want to use.

For 1.4.1 you can either <exec> a new instance of Ant like Diane
suggests or set includejavaruntime and includeantruntime to false, add
tools.jar of JDK 1.4.1 to <javac>'s <classpath> and don't use fork.

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