# HG changeset patch # User Jaroslav Tulach # Date 1438181027 -7200 # Node ID 88eaf485259505b01e990270362ddbe4b8be030a # Parent a96b05205d3b135d98ca1469f1fade0f6fe6c540 No need for special maven-install-truffle - generic maven-install should be good enough diff -r a96b05205d3b -r 88eaf4852595 mx.truffle/mx_truffle.py --- a/mx.truffle/mx_truffle.py Wed Jul 29 16:14:32 2015 +0200 +++ b/mx.truffle/mx_truffle.py Wed Jul 29 16:43:47 2015 +0200 @@ -39,21 +39,6 @@ opts2 = mx.build(['--source', '1.7'] + args) assert len(opts2.remainder) == 0 -def maven_install_truffle(args): - """install Truffle into your local Maven repository""" - for name in mx._dists: - dist = mx._dists[name] - if dist.isProcessorDistribution: - continue - mx.archive(["@" + name]) - path = dist.path - slash = path.rfind('/') - dot = path.rfind('.') - if dot <= slash: - mx.abort('Dot should be after / in ' + path) - artifactId = path[slash + 1: dot] - mx.run(['mvn', 'install:install-file', '-DgroupId=com.oracle.' + dist.suite.name, '-DartifactId=' + artifactId, '-Dversion=' + mx.suite('truffle').release_version('SNAPSHOT'), '-Dpackaging=jar', '-Dfile=' + path]) - def sl(args): """run an SL program""" vmArgs, slArgs = mx.extract_VM_args(args) @@ -71,7 +56,6 @@ mx_gate.add_gate_runner(_suite, _truffle_gate_runner) mx.update_commands(_suite, { - 'maven-install-truffle' : [maven_install_truffle, ''], 'sl' : [sl, '[SL args|@VM options]'], 'sldebug' : [sldebug, '[SL args|@VM options]'], })