comparison mx/mx_graal.py @ 15637:40f13c935d8b

mx: fix constructor call
author Bernhard Urban <bernhard.urban@jku.at>
date Wed, 14 May 2014 11:08:05 +0200
parents 62738ce98804
children 83c69954bbaa
comparison
equal deleted inserted replaced
15636:92a939e551c4 15637:40f13c935d8b
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=[]) 1538 d = mx.Distribution(graalSuite, name=artifactId, path=path, sourcesPath=path, deps=deps, excludedDependencies=[], distDependency=None)
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')