You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2002/04/02 16:26:21 UTC
DO NOT REPLY [Bug 6945] -
java task with JDK 1.1.8 - can't change JAVA_HOME env setting
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6945>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6945
java task with JDK 1.1.8 - can't change JAVA_HOME env setting
bodewig@apache.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
------- Additional Comments From bodewig@apache.org 2002-04-02 14:26 -------
It seems you are executing the 1.1.8 VM, aren't you?
Don't get confused by the "Override ignored for env.JAVA_HOME" and the results
of your <echo>s. All they say is that you are trying to change the value of
the *Ant property* env.JAVA_HOME, not the environment variable, and that this
fails because Ant's properties are immutable.
Why do you want to change the value of JAVA_HOME?
Current nightly builds have a <junit> task that supports nested <env> elements
that let you set environment variables. I'll assume this doesn what you want
and close this report for now - please reopen if I have misunderstood your
request.
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>