# HG changeset patch # User Christian Humer # Date 1421165433 -3600 # Node ID 869ee319c377c3639547d77a495a9adbcb1f8f75 # Parent 441cc8350b967a2ff9ed3cf1e68b3a86e5000279 mx: Fixed eclipse annotation processor configuration should serialize JAVA_HOME with the original value. diff -r 441cc8350b96 -r 869ee319c377 mxtool/mx.py --- 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')