Mercurial > hg > truffle
changeset 5252:1a9a048386d6
added JRE to source path in generated Eclipse launches
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Thu, 19 Apr 2012 16:26:16 +0200 |
parents | 467de393651a |
children | e8e1278101d9 |
files | mxtool/mx.py |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/mxtool/mx.py Wed Apr 18 23:39:07 2012 +0200 +++ b/mxtool/mx.py Thu Apr 19 16:26:16 2012 +0200 @@ -1447,6 +1447,10 @@ slm.open('sourceLookupDirector') slm.open('sourceContainers', {'duplicates' : 'false'}) + # Every Java program depends on the JRE + memento = XMLDoc().element('classpathContainer', {'path' : 'org.eclipse.jdt.launching.JRE_CONTAINER'}).xml() + slm.element('classpathContainer', {'memento' : memento, 'typeId':'org.eclipse.jdt.launching.sourceContainer.classpathContainer'}) + for dep in deps: if dep.isLibrary(): if hasattr(dep, 'eclipse.container'):