Mercurial > hg > truffle
diff mxtool/mx.py @ 8182:e0db99483b35
Merge.
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Fri, 08 Mar 2013 15:58:08 +0100 |
parents | 989e0582a30f 67d654d9ee9a |
children | 4b11a0983557 |
line wrap: on
line diff
--- a/mxtool/mx.py Fri Mar 08 15:57:41 2013 +0100 +++ b/mxtool/mx.py Fri Mar 08 15:58:08 2013 +0100 @@ -2265,6 +2265,10 @@ launchOut = XMLDoc(); consoleOn = 'true' if logToConsole else 'false' launchOut.open('launchConfiguration', {'type' : 'org.eclipse.ui.externaltools.ProgramBuilderLaunchConfigurationType'}) + launchOut.open('mapAttribute', {'key' : 'org.eclipse.debug.core.environmentVariables'}) + launchOut.element('mapEntry', {'key' : 'JAVA_HOME', 'value' : java().jdk}) + launchOut.close('mapAttribute') + if refresh: launchOut.element('stringAttribute', {'key' : 'org.eclipse.debug.core.ATTR_REFRESH_SCOPE', 'value': '${project}'}) launchOut.element('booleanAttribute', {'key' : 'org.eclipse.debug.ui.ATTR_CONSOLE_OUTPUT_ON', 'value': consoleOn})