You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bu...@apache.org on 2009/02/22 18:55:12 UTC
DO NOT REPLY [Bug 46739] java.home gives errors when it is set to a
JDK
https://issues.apache.org/bugzilla/show_bug.cgi?id=46739
--- Comment #1 from J.M. (Martijn) Kruithof <jk...@apache.org> 2009-02-22 09:55:11 PST ---
When using the following build.xml file i cannot reproduce the problem
<project name="bug-xxxxy" default="bug" >
<target name="bug">
<echo>Java Home is ${java.home}</echo>
</target>
</project>
Run without -D on java.home
D:\data\eclipseworkspace\ant-trunk\testje>c:\java\apache-ant-1.7.1\bin\ant
Buildfile: build.xml
bug:
[echo] Java Home is c:\java\jdk1.6.0_11\jre
BUILD SUCCESSFUL
Total time: 0 seconds
run with -D on java.home (java.home set to c:\java\jdk1.6.0_11
D:\data\eclipseworkspace\ant-trunk\testje>c:\java\apache-ant-1.7.1\bin\ant
-Djav
a.home=%JAVA_HOME%
Buildfile: build.xml
bug:
[echo] Java Home is c:\java\jdk1.6.0_11
BUILD SUCCESSFUL
Total time: 0 seconds
Please specify when this error arises, preferably including a build file that
reproduces the problem.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.