Mercurial > hg > truffle
comparison mx/mx_graal.py @ 15577:406a94c03ffa
truffle distrubtion: move dsl processor in a separated jar, such that it can be a build-time only dependency
author | Bernhard Urban <bernhard.urban@jku.at> |
---|---|
date | Fri, 09 May 2014 16:11:01 +0200 |
parents | 0c0b479903bb |
children | ce201bb843b4 |
comparison
equal
deleted
inserted
replaced
15576:0c0b479903bb | 15577:406a94c03ffa |
---|---|
1525 for name in deps: | 1525 for name in deps: |
1526 if not mx.project(name, fatalIfMissing=False): | 1526 if not mx.project(name, fatalIfMissing=False): |
1527 if not mx.library(name, fatalIfMissing=False): | 1527 if not mx.library(name, fatalIfMissing=False): |
1528 mx.log('Skipping ' + groupId + '.' + artifactId + '.jar as ' + name + ' cannot be resolved') | 1528 mx.log('Skipping ' + groupId + '.' + artifactId + '.jar as ' + name + ' cannot be resolved') |
1529 return | 1529 return |
1530 d = mx.Distribution(graalSuite, name=artifactId, path=path, sourcesPath=path, deps=deps, excludedLibs=[]) | 1530 d = mx.Distribution(graalSuite, name=artifactId, path=path, sourcesPath=path, deps=deps, excludedDependencies=[]) |
1531 d.make_archive() | 1531 d.make_archive() |
1532 cmd = ['mvn', 'install:install-file', '-DgroupId=' + groupId, '-DartifactId=' + artifactId, | 1532 cmd = ['mvn', 'install:install-file', '-DgroupId=' + groupId, '-DartifactId=' + artifactId, |
1533 '-Dversion=1.0-SNAPSHOT', '-Dpackaging=jar', '-Dfile=' + d.path] | 1533 '-Dversion=1.0-SNAPSHOT', '-Dpackaging=jar', '-Dfile=' + d.path] |
1534 if not mx._opts.verbose: | 1534 if not mx._opts.verbose: |
1535 cmd.append('-q') | 1535 cmd.append('-q') |