ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karlheinz Toni" <t...@in.tum.de>
Subject AW: Override ignored for property java.home
Date Fri, 02 Jul 2004 17:00:36 GMT

> -----Urspr√ľngliche Nachricht-----
> Von: Peter Nabbefeld [mailto:Peter.Nabbefeld@gmx.de]
> Gesendet: Freitag, 2. Juli 2004 17:37
> An: Ant Users List
> Betreff: Re: Override ignored for property java.home
> 
> AFAIK, java.home is initialized during startup, before any property
> files are evaluated. As ant cannot overwrite properties, You cannot
> overwrite the java.home property, once it is set. So if You want to use
> just one command without writing the parameter value every time, You've
> to write a shell script.

And how is the java.home property determined. It is not the one set by the
JAVA_HOME env. Variable... :(

Why is the java.home property defined first. Shouldn't it be done after
having checked, that it is not user-overridden?

Sincerely
Charly


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message