ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Barclay <dbarc...@mercator.com>
Subject RE: Switching versions of java during an ant build
Date Tue, 16 Apr 2002 14:12:47 GMT




> From: rvanoo@xs4all.nl [mailto:rvanoo@xs4all.nl]
> .... Now all you should have to 
> do is re-map the
> drive to 1.4 on the fly for running javadoc

Why not just set JAVA_HOME?

If you re-map the drive, you can't run two processes at the
same time with different settings.

If you set JAVA_HOME, you can set it one way in one process
and differently in another.

I guess a question is whether Ant can fork a new JVM from a
different JDK.



Daniel


--
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