/hg/release/icedtea7-forest-2.5/jaxp: PR1753: Ant does not respe...

andrew at icedtea.classpath.org andrew at icedtea.classpath.org
Tue Jun 3 18:03:06 UTC 2014


changeset 49ca8c230020 in /hg/release/icedtea7-forest-2.5/jaxp
details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxp?cmd=changeset;node=49ca8c230020
author: andrew
date: Tue Apr 29 21:54:36 2014 +0100

	PR1753: Ant does not respect JAVA_HOME/jdk.home setting


diffstat:

 make/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r 89656c61a515 -r 49ca8c230020 make/Makefile
--- a/make/Makefile	Fri Apr 18 06:40:52 2014 +0100
+++ b/make/Makefile	Tue Apr 29 21:54:36 2014 +0100
@@ -118,13 +118,13 @@
 ifdef ALT_LANGTOOLS_DIST
   ifdef ALT_BOOTDIR
     ANT_JAVA_HOME = JAVA_HOME=$(ALT_BOOTDIR)
-    ANT_OPTIONS += -Djdk.home=$(ALT_BOOTDIR)
+    ANT_OPTIONS += -Djdk.home=$(ALT_BOOTDIR) -Djava.home=$(ALT_BOOTDIR)
   endif
   ANT_OPTIONS += -Dbootstrap.dir=$(ALT_LANGTOOLS_DIST)/bootstrap
 else
   ifdef ALT_JDK_IMPORT_PATH
     ANT_JAVA_HOME = JAVA_HOME=$(ALT_JDK_IMPORT_PATH)
-    ANT_OPTIONS += -Djdk.home=$(ALT_JDK_IMPORT_PATH)
+    ANT_OPTIONS += -Djdk.home=$(ALT_JDK_IMPORT_PATH) -Djava.home=$(ALT_JDK_IMPORT_PATH)
   endif
 endif
 


More information about the distro-pkg-dev mailing list