# HG changeset patch # User Gilles Duboscq # Date 1397226883 -7200 # Node ID f0fc09c0845e1d60f521a332f7ddffe2536274a8 # Parent f9c9eedef118921e00a7ddfc207563b3a662530e Be sure to resolve and download librariesin mx intellijinit diff -r f9c9eedef118 -r f0fc09c0845e mxtool/mx.py --- a/mxtool/mx.py Wed Apr 16 14:27:18 2014 +0200 +++ b/mxtool/mx.py Fri Apr 11 16:34:43 2014 +0200 @@ -3681,12 +3681,12 @@ libraryXml.open('component', attributes={'name': 'libraryTable'}) libraryXml.open('library', attributes={'name': library.name}) libraryXml.open('CLASSES') - libraryXml.element('root', attributes={'url': 'jar://$PROJECT_DIR$/' + os.path.relpath(library.path, suite.dir) + '!/'}) + libraryXml.element('root', attributes={'url': 'jar://$PROJECT_DIR$/' + os.path.relpath(library.get_path(True), suite.dir) + '!/'}) libraryXml.close('CLASSES') libraryXml.element('JAVADOC') if library.sourcePath: libraryXml.open('SOURCES') - libraryXml.element('root', attributes={'url': 'jar://$PROJECT_DIR$/' + os.path.relpath(library.sourcePath, suite.dir) + '!/'}) + libraryXml.element('root', attributes={'url': 'jar://$PROJECT_DIR$/' + os.path.relpath(library.get_source_path(True), suite.dir) + '!/'}) libraryXml.close('SOURCES') else: libraryXml.element('SOURCES')