Mercurial > hg > truffle
changeset 16693:b002c864e974
Truffle: rename install to maven-install-truffle and update location of Truffle JARs.
author | Chris Seaton <chris.seaton@oracle.com> |
---|---|
date | Tue, 05 Aug 2014 15:57:37 +0100 |
parents | 387c0fea76d4 |
children | a53c26c989d0 6de97968e3ef |
files | mx/mx_graal.py |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/mx/mx_graal.py Tue Aug 05 16:06:08 2014 +0200 +++ b/mx/mx_graal.py Tue Aug 05 15:57:37 2014 +0100 @@ -1541,11 +1541,11 @@ mx.logv('[This execution may take a while as the NetBeans platform needs to be downloaded]') mx.run(['ant', '-f', join(_graal_home, 'src', 'share', 'tools', 'IdealGraphVisualizer', 'build.xml'), '-l', fp.name, 'run'], env=env) -def install(args): +def maven_install_truffle(args): """install Truffle into your local Maven repository""" mx.archive(["@TRUFFLE"]) - mx.run(['mvn', 'install:install-file', '-DgroupId=com.oracle', '-DartifactId=truffle', '-Dversion=' + graal_version('SNAPSHOT'), '-Dpackaging=jar', '-Dfile=truffle.jar']) - mx.run(['mvn', 'install:install-file', '-DgroupId=com.oracle', '-DartifactId=truffle-dsl-processor', '-Dversion=' + graal_version('SNAPSHOT'), '-Dpackaging=jar', '-Dfile=truffle-dsl-processor.jar']) + mx.run(['mvn', 'install:install-file', '-DgroupId=com.oracle', '-DartifactId=truffle', '-Dversion=' + graal_version('SNAPSHOT'), '-Dpackaging=jar', '-Dfile=build/truffle.jar']) + mx.run(['mvn', 'install:install-file', '-DgroupId=com.oracle', '-DartifactId=truffle-dsl-processor', '-Dversion=' + graal_version('SNAPSHOT'), '-Dpackaging=jar', '-Dfile=build/truffle-dsl-processor.jar']) def c1visualizer(args): """run the Cl Compiler Visualizer""" @@ -2206,7 +2206,7 @@ 'hsdis': [hsdis, '[att]'], 'hcfdis': [hcfdis, ''], 'igv' : [igv, ''], - 'install' : [install, ''], + 'maven-install-truffle' : [maven_install_truffle, ''], 'jdkhome': [print_jdkhome, ''], 'jmh': [jmh, '[VM options] [filters|JMH-args-as-json...]'], 'dacapo': [dacapo, '[VM options] benchmarks...|"all" [DaCapo options]'],