On Thu, 18 Apr 2002, Gordon Tyler <[EMAIL PROTECTED]> 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:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
