Mercurial > hg > graal-jvmci-8
changeset 23321:fc1036575a76
make paths in IGV error message absolute
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Mon, 14 Mar 2016 14:19:51 +0100 |
parents | d9ae6a4319be |
children | f8178417d018 |
files | mx.jvmci/mx_jvmci.py |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/mx.jvmci/mx_jvmci.py Fri Mar 11 16:53:36 2016 +0100 +++ b/mx.jvmci/mx_jvmci.py Mon Mar 14 14:19:51 2016 +0100 @@ -1333,8 +1333,8 @@ def igv(args): """run the Ideal Graph Visualizer""" - logFile = '.ideal_graph_visualizer.log' - with open(join(_suite.dir, logFile), 'w') as fp: + logFile = join(_suite.dir, '.ideal_graph_visualizer.log') + with open(logFile, 'w') as fp: mx.logv('[Ideal Graph Visualizer log is in ' + fp.name + ']') nbplatform = join(_suite.dir, 'src', 'share', 'tools', 'IdealGraphVisualizer', 'nbplatform') @@ -1361,7 +1361,7 @@ # make the jar for Batik 1.7 available. env['IGV_BATIK_JAR'] = mx.library('BATIK').get_path(True) if mx.run(['ant', '-f', mx._cygpathU2W(join(_suite.dir, 'src', 'share', 'tools', 'IdealGraphVisualizer', 'build.xml')), '-l', mx._cygpathU2W(fp.name), 'run'], env=env, nonZeroIsFatal=False): - mx.abort("IGV ant build & launch failed. Check '" + logFile + "'. You can also try to delete 'src/share/tools/IdealGraphVisualizer/nbplatform'.") + mx.abort("IGV ant build & launch failed. Check '" + logFile + "'. You can also try to delete " + join(_suite.dir, 'src/share/tools/IdealGraphVisualizer/nbplatform') + ".") def c1visualizer(args): """run the Cl Compiler Visualizer"""