ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "W. Sean Hennessy" <shenne...@goldenhourdata.com>
Subject RE: Override ignored for property java.home
Date Fri, 02 Jul 2004 15:05:01 GMT
Perhaps if you change the order in your build.xml

   <property file="${user.home}${file.separator}build.properties"/>
   <property environment="env"/>

-----Original Message-----
From: Karlheinz Toni [mailto:toni@in.tum.de] 
Sent: Friday, July 02, 2004 7:54 AM
To: user@ant.apache.org
Subject: Override ignored for property java.home


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





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


Mime
View raw message