# HG changeset patch # User Gilles Duboscq # Date 1438679708 -7200 # Node ID 2867e02e6fdb18bc4040f6e434ece4b2d84a29ec # Parent 41c8ef1a33c2d6304c9e12c9eca6942d02ba0b84 Rename truffle-api.jar distribution to TRUFFLE_API diff -r 41c8ef1a33c2 -r 2867e02e6fdb mx.truffle/mx_truffle.py --- a/mx.truffle/mx_truffle.py Tue Aug 04 14:12:24 2015 +0200 +++ b/mx.truffle/mx_truffle.py Tue Aug 04 11:15:08 2015 +0200 @@ -42,7 +42,7 @@ def sl(args): """run an SL program""" vmArgs, slArgs = mx.extract_VM_args(args) - mx.run_java(vmArgs + ['-cp', mx.classpath(["TRUFFLE", "com.oracle.truffle.sl"]), "com.oracle.truffle.sl.SLLanguage"] + slArgs) + mx.run_java(vmArgs + ['-cp', mx.classpath(["TRUFFLE_API", "com.oracle.truffle.sl"]), "com.oracle.truffle.sl.SLLanguage"] + slArgs) def sldebug(args): """run a simple command line debugger for the Simple Language""" diff -r 41c8ef1a33c2 -r 2867e02e6fdb mx.truffle/suite.py --- a/mx.truffle/suite.py Tue Aug 04 14:12:24 2015 +0200 +++ b/mx.truffle/suite.py Tue Aug 04 11:15:08 2015 +0200 @@ -217,7 +217,7 @@ # ------------- Distributions ------------- - "TRUFFLE" : { + "TRUFFLE_API" : { "path" : "build/truffle-api.jar", "subDir" : "truffle", "sourcesPath" : "build/truffle-api.src.zip", @@ -241,7 +241,7 @@ "dependencies" : [ "com.oracle.truffle.tck" ], - "distDependencies" : ["TRUFFLE"], + "distDependencies" : ["TRUFFLE_API"], "exclude" : ["mx:JUNIT"], "description" : """A collection of tests that can certify language implementation to be compliant with most recentrequirements of the Truffle infrastructure and tooling.""", @@ -253,7 +253,7 @@ "sourcesPath" : "build/truffle-dsl-processor.src.zip", "javaCompliance" : "1.7", "dependencies" : ["com.oracle.truffle.dsl.processor"], - "distDependencies" : ["TRUFFLE"], + "distDependencies" : ["TRUFFLE_API"], "description" : "The Truffle DSL Processor generates source code for nodes that are declared using the DSL.", }, @@ -267,7 +267,7 @@ "com.oracle.truffle.sl.test" ], "distDependencies" : [ - "TRUFFLE", + "TRUFFLE_API", "TRUFFLE_TCK", "TRUFFLE_DSL_PROCESSOR" ], @@ -285,7 +285,7 @@ ], "exclude" : ["JLINE"], "distDependencies" : [ - "TRUFFLE", + "TRUFFLE_API", ], "description" : ".", }