changeset 18861:869ee319c377

mx: Fixed eclipse annotation processor configuration should serialize JAVA_HOME with the original value.
author Christian Humer <christian.humer@gmail.com>
date Tue, 13 Jan 2015 17:10:33 +0100
parents 441cc8350b96
children be2351580c7d
files mxtool/mx.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mxtool/mx.py	Tue Jan 13 14:08:14 2015 +0100
+++ b/mxtool/mx.py	Tue Jan 13 17:10:33 2015 +0100
@@ -3820,7 +3820,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' : java(p.javaCompliance).jdk})
+    launchOut.element('mapEntry', {'key' : 'JAVA_HOME', 'value' : _opts.java_home})
     launchOut.element('mapEntry', {'key' : 'EXTRA_JAVA_HOMES', 'value' : _opts.extra_java_homes})
     launchOut.close('mapAttribute')