changeset 22118:6b5221d7b5c1

mx: Fix usage of JavaConfig caches while generating eclipse builders
author Gilles Duboscq <gilles.m.duboscq@oracle.com>
date Mon, 29 Jun 2015 17:24:09 +0200
parents bb6e6bc3b773
children 62dc08c8b687 7f897280b00f
files mxtool/mx.py
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mxtool/mx.py	Sun Jun 28 15:10:30 2015 +0200
+++ b/mxtool/mx.py	Mon Jun 29 17:24:09 2015 +0200
@@ -4347,8 +4347,7 @@
     launchOut.open('launchConfiguration', {'type' : 'org.eclipse.ui.externaltools.ProgramBuilderLaunchConfigurationType'})
     launchOut.element('booleanAttribute', {'key' : 'org.eclipse.debug.core.capture_output', 'value': consoleOn})
     launchOut.open('mapAttribute', {'key' : 'org.eclipse.debug.core.environmentVariables'})
-    launchOut.element('mapEntry', {'key' : 'JAVA_HOME', 'value' : _default_java_home.jdk})
-    launchOut.element('mapEntry', {'key' : 'EXTRA_JAVA_HOMES', 'value' :  os.pathsep.join([extraJavaHome.jdk for extraJavaHome in _extra_java_homes])})
+    launchOut.element('mapEntry', {'key' : 'JAVA_HOME', 'value' : java().jdk})
     launchOut.close('mapAttribute')
 
     if refresh: