comparison mx/mx_graal.py @ 15638:83c69954bbaa

mxtool: distribution dependency should be a list
author Bernhard Urban <bernhard.urban@jku.at>
date Wed, 14 May 2014 11:19:38 +0200
parents 40f13c935d8b
children ec29b2d3bdb4
comparison
equal deleted inserted replaced
15637:40f13c935d8b 15638:83c69954bbaa
1533 for name in deps: 1533 for name in deps:
1534 if not mx.project(name, fatalIfMissing=False): 1534 if not mx.project(name, fatalIfMissing=False):
1535 if not mx.library(name, fatalIfMissing=False): 1535 if not mx.library(name, fatalIfMissing=False):
1536 mx.log('Skipping ' + groupId + '.' + artifactId + '.jar as ' + name + ' cannot be resolved') 1536 mx.log('Skipping ' + groupId + '.' + artifactId + '.jar as ' + name + ' cannot be resolved')
1537 return 1537 return
1538 d = mx.Distribution(graalSuite, name=artifactId, path=path, sourcesPath=path, deps=deps, excludedDependencies=[], distDependency=None) 1538 d = mx.Distribution(graalSuite, name=artifactId, path=path, sourcesPath=path, deps=deps, excludedDependencies=[], distDependencies=[])
1539 d.make_archive() 1539 d.make_archive()
1540 cmd = ['mvn', 'install:install-file', '-DgroupId=' + groupId, '-DartifactId=' + artifactId, 1540 cmd = ['mvn', 'install:install-file', '-DgroupId=' + groupId, '-DartifactId=' + artifactId,
1541 '-Dversion=1.0-SNAPSHOT', '-Dpackaging=jar', '-Dfile=' + d.path] 1541 '-Dversion=1.0-SNAPSHOT', '-Dpackaging=jar', '-Dfile=' + d.path]
1542 if not mx._opts.verbose: 1542 if not mx._opts.verbose:
1543 cmd.append('-q') 1543 cmd.append('-q')