Karlheinz Toni
2004-07-02 14:54:17 UTC
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
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