comparison 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
comparison
equal deleted inserted replaced
8181:989e0582a30f 8182:e0db99483b35
2263 2263
2264 def _genEclipseBuilder(dotProjectDoc, p, name, mxCommand, refresh=True, async=False, logToConsole=False): 2264 def _genEclipseBuilder(dotProjectDoc, p, name, mxCommand, refresh=True, async=False, logToConsole=False):
2265 launchOut = XMLDoc(); 2265 launchOut = XMLDoc();
2266 consoleOn = 'true' if logToConsole else 'false' 2266 consoleOn = 'true' if logToConsole else 'false'
2267 launchOut.open('launchConfiguration', {'type' : 'org.eclipse.ui.externaltools.ProgramBuilderLaunchConfigurationType'}) 2267 launchOut.open('launchConfiguration', {'type' : 'org.eclipse.ui.externaltools.ProgramBuilderLaunchConfigurationType'})
2268 launchOut.open('mapAttribute', {'key' : 'org.eclipse.debug.core.environmentVariables'})
2269 launchOut.element('mapEntry', {'key' : 'JAVA_HOME', 'value' : java().jdk})
2270 launchOut.close('mapAttribute')
2271
2268 if refresh: 2272 if refresh:
2269 launchOut.element('stringAttribute', {'key' : 'org.eclipse.debug.core.ATTR_REFRESH_SCOPE', 'value': '${project}'}) 2273 launchOut.element('stringAttribute', {'key' : 'org.eclipse.debug.core.ATTR_REFRESH_SCOPE', 'value': '${project}'})
2270 launchOut.element('booleanAttribute', {'key' : 'org.eclipse.debug.ui.ATTR_CONSOLE_OUTPUT_ON', 'value': consoleOn}) 2274 launchOut.element('booleanAttribute', {'key' : 'org.eclipse.debug.ui.ATTR_CONSOLE_OUTPUT_ON', 'value': consoleOn})
2271 launchOut.element('booleanAttribute', {'key' : 'org.eclipse.debug.core.capture_output', 'value': consoleOn}) 2275 launchOut.element('booleanAttribute', {'key' : 'org.eclipse.debug.core.capture_output', 'value': consoleOn})
2272 if async: 2276 if async: