ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
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 <> wrote:

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


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.


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message