You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Euan Guttridge <EG...@buildonline.com> on 2002/11/28 14:05:11 UTC

changing JAVA_HOME dynamically

I have two Ant builds. One requires JDK1.3.1 and the other JDK1.2.1. Is
there a way to change the JAVA_HOME from within the Ant scripts? I'd like
avoid writing a shell script just to do this..
 
Thanks,
Euan