ant-user mailing list archives

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

Is there any possibility to set the java.home property except via the 


ant -Djava.home="..." console parameter?

I tried a properties file and set the property in the build.xml file. 
Both entries are ignored (shown by the -verbose output)

*********property file build.properties********
java.home=/usr/local/bin/java/
***********************************************


************ build.xml ***********************
<property file="/usr/test/build.properties"/>
[...]
<property name="java.home"     value="/usr/local/bin/java/"/>
***********************************************


**************** verbose output ***************
[property] Loading /usr/test/build.properties
Override ignored for property java.home
[...]
Override ignored for property java.home
***********************************************


Any ideas?

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