Mercurial > hg > graal-jvmci-8
comparison mxtool/mx.py @ 15134:f0fc09c0845e
Be sure to resolve and download librariesin mx intellijinit
author | Gilles Duboscq <duboscq@ssw.jku.at> |
---|---|
date | Fri, 11 Apr 2014 16:34:43 +0200 |
parents | 11a591a99515 |
children | 0672512feb81 |
comparison
equal
deleted
inserted
replaced
15133:f9c9eedef118 | 15134:f0fc09c0845e |
---|---|
3679 libraryXml = XMLDoc() | 3679 libraryXml = XMLDoc() |
3680 | 3680 |
3681 libraryXml.open('component', attributes={'name': 'libraryTable'}) | 3681 libraryXml.open('component', attributes={'name': 'libraryTable'}) |
3682 libraryXml.open('library', attributes={'name': library.name}) | 3682 libraryXml.open('library', attributes={'name': library.name}) |
3683 libraryXml.open('CLASSES') | 3683 libraryXml.open('CLASSES') |
3684 libraryXml.element('root', attributes={'url': 'jar://$PROJECT_DIR$/' + os.path.relpath(library.path, suite.dir) + '!/'}) | 3684 libraryXml.element('root', attributes={'url': 'jar://$PROJECT_DIR$/' + os.path.relpath(library.get_path(True), suite.dir) + '!/'}) |
3685 libraryXml.close('CLASSES') | 3685 libraryXml.close('CLASSES') |
3686 libraryXml.element('JAVADOC') | 3686 libraryXml.element('JAVADOC') |
3687 if library.sourcePath: | 3687 if library.sourcePath: |
3688 libraryXml.open('SOURCES') | 3688 libraryXml.open('SOURCES') |
3689 libraryXml.element('root', attributes={'url': 'jar://$PROJECT_DIR$/' + os.path.relpath(library.sourcePath, suite.dir) + '!/'}) | 3689 libraryXml.element('root', attributes={'url': 'jar://$PROJECT_DIR$/' + os.path.relpath(library.get_source_path(True), suite.dir) + '!/'}) |
3690 libraryXml.close('SOURCES') | 3690 libraryXml.close('SOURCES') |
3691 else: | 3691 else: |
3692 libraryXml.element('SOURCES') | 3692 libraryXml.element('SOURCES') |
3693 libraryXml.close('library') | 3693 libraryXml.close('library') |
3694 libraryXml.close('component') | 3694 libraryXml.close('component') |