Mercurial > hg > truffle
diff mx/mx_graal.py @ 18983:43baadc1913a
Automatically install Batik for SVG export in IGV
author | Tom Rodriguez <tom.rodriguez@oracle.com> |
---|---|
date | Tue, 27 Jan 2015 15:47:34 -0800 |
parents | 926488f5d345 |
children | c9ef5e8bda3a |
line wrap: on
line diff
--- a/mx/mx_graal.py Tue Jan 27 14:54:07 2015 -0800 +++ b/mx/mx_graal.py Tue Jan 27 15:47:34 2015 -0800 @@ -1726,6 +1726,8 @@ if not exists(nbplatform): mx.logv('[This execution may take a while as the NetBeans platform needs to be downloaded]') + # 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(_graal_home, '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'.")