# HG changeset patch # User Chris Seaton # Date 1407250657 -3600 # Node ID b002c864e974d6033dc7938d45b293b7363a3978 # Parent 387c0fea76d4c0c2fa358bb317dbe0f1e2027015 Truffle: rename install to maven-install-truffle and update location of Truffle JARs. diff -r 387c0fea76d4 -r b002c864e974 mx/mx_graal.py --- 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]'],