Mercurial > hg > graal-jvmci-8
comparison mxtool/mx.py @ 15693:807090ddbbf2
use JDK with highest compliance level for generated Eclipse attach launcher
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Thu, 15 May 2014 22:42:08 +0200 |
parents | 50fbda571d99 |
children | e563b7668db5 |
comparison
equal
deleted
inserted
replaced
15691:6a13c422fca4 | 15693:807090ddbbf2 |
---|---|
2992 memento = XMLDoc().element('archive', {'detectRoot' : 'true', 'path' : dep.get_source_path(resolve=True)}).xml(standalone='no') | 2992 memento = XMLDoc().element('archive', {'detectRoot' : 'true', 'path' : dep.get_source_path(resolve=True)}).xml(standalone='no') |
2993 slm.element('container', {'memento' : memento, 'typeId':'org.eclipse.debug.core.containerType.externalArchive'}) | 2993 slm.element('container', {'memento' : memento, 'typeId':'org.eclipse.debug.core.containerType.externalArchive'}) |
2994 elif dep.isProject(): | 2994 elif dep.isProject(): |
2995 memento = XMLDoc().element('javaProject', {'name' : dep.name}).xml(standalone='no') | 2995 memento = XMLDoc().element('javaProject', {'name' : dep.name}).xml(standalone='no') |
2996 slm.element('container', {'memento' : memento, 'typeId':'org.eclipse.jdt.launching.sourceContainer.javaProject'}) | 2996 slm.element('container', {'memento' : memento, 'typeId':'org.eclipse.jdt.launching.sourceContainer.javaProject'}) |
2997 if javaCompliance is None or dep.javaCompliance < javaCompliance: | 2997 if javaCompliance is None or dep.javaCompliance > javaCompliance: |
2998 javaCompliance = dep.javaCompliance | 2998 javaCompliance = dep.javaCompliance |
2999 | 2999 |
3000 if javaCompliance: | 3000 if javaCompliance: |
3001 memento = XMLDoc().element('classpathContainer', {'path' : 'org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-' + str(javaCompliance)}).xml(standalone='no') | 3001 memento = XMLDoc().element('classpathContainer', {'path' : 'org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-' + str(javaCompliance)}).xml(standalone='no') |
3002 slm.element('classpathContainer', {'memento' : memento, 'typeId':'org.eclipse.jdt.launching.sourceContainer.classpathContainer'}) | 3002 slm.element('classpathContainer', {'memento' : memento, 'typeId':'org.eclipse.jdt.launching.sourceContainer.classpathContainer'}) |