Mercurial > hg > graal-compiler
diff mx/mx_graal.py @ 15819:2460aed6c899
mx: add support for setting a main class in distributions
author | Bernhard Urban <bernhard.urban@jku.at> |
---|---|
date | Wed, 21 May 2014 15:11:14 +0200 |
parents | dffc37fa7157 |
children | f0127716b881 |
line wrap: on
line diff
--- a/mx/mx_graal.py Wed May 21 15:17:21 2014 +0200 +++ b/mx/mx_graal.py Wed May 21 15:11:14 2014 +0200 @@ -1542,7 +1542,7 @@ if not mx.library(name, fatalIfMissing=False): mx.log('Skipping ' + groupId + '.' + artifactId + '.jar as ' + name + ' cannot be resolved') return - d = mx.Distribution(graalSuite, name=artifactId, path=path, sourcesPath=path, deps=deps, excludedDependencies=[], distDependencies=[]) + d = mx.Distribution(graalSuite, name=artifactId, path=path, sourcesPath=path, deps=deps, mainClass=None, excludedDependencies=[], distDependencies=[]) d.make_archive() cmd = ['mvn', 'install:install-file', '-DgroupId=' + groupId, '-DartifactId=' + artifactId, '-Dversion=1.0-SNAPSHOT', '-Dpackaging=jar', '-Dfile=' + d.path]