Mercurial > hg > truffle
comparison 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 |
comparison
equal
deleted
inserted
replaced
18982:479d2d030bf3 | 18983:43baadc1913a |
---|---|
1724 elif supportedVersion < currentVersion: | 1724 elif supportedVersion < currentVersion: |
1725 mx.log('Supported NetBeans version in igv command should be updated to ' + str(currentVersion)) | 1725 mx.log('Supported NetBeans version in igv command should be updated to ' + str(currentVersion)) |
1726 | 1726 |
1727 if not exists(nbplatform): | 1727 if not exists(nbplatform): |
1728 mx.logv('[This execution may take a while as the NetBeans platform needs to be downloaded]') | 1728 mx.logv('[This execution may take a while as the NetBeans platform needs to be downloaded]') |
1729 # make the jar for Batik 1.7 available. | |
1730 env['IGV_BATIK_JAR'] = mx.library('BATIK').get_path(True) | |
1729 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): | 1731 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): |
1730 mx.abort("IGV ant build & launch failed. Check '" + logFile + "'. You can also try to delete 'src/share/tools/IdealGraphVisualizer/nbplatform'.") | 1732 mx.abort("IGV ant build & launch failed. Check '" + logFile + "'. You can also try to delete 'src/share/tools/IdealGraphVisualizer/nbplatform'.") |
1731 | 1733 |
1732 def maven_install_truffle(args): | 1734 def maven_install_truffle(args): |
1733 """install Truffle into your local Maven repository""" | 1735 """install Truffle into your local Maven repository""" |