comparison mx/commands.py @ 11797:65dbed1fdf46

be verbose when the JDK specified by --installed-jdks is missing
author Doug Simon <doug.simon@oracle.com>
date Wed, 25 Sep 2013 21:48:38 +0200
parents a2958b7bf83f
children 952ecf32788a
comparison
equal deleted inserted replaced
11796:9c4c197aa6e8 11797:65dbed1fdf46
343 hsdis([], copyToDir=_vmLibDirInJdk(jdk)) 343 hsdis([], copyToDir=_vmLibDirInJdk(jdk))
344 except SystemExit: 344 except SystemExit:
345 pass 345 pass
346 else: 346 else:
347 if not exists(jdk): 347 if not exists(jdk):
348 if _installed_jdks and mx._opts.verbose: 348 if _installed_jdks:
349 mx.log("Could not find JDK directory at " + jdk) 349 mx.log("The selected JDK directory does not (yet) exist: " + jdk)
350 _handle_missing_VM(build, vmToCheck if vmToCheck else 'graal') 350 _handle_missing_VM(build, vmToCheck if vmToCheck else 'graal')
351 351
352 if installGraalJar: 352 if installGraalJar:
353 _installGraalJarInJdks(mx.distribution('GRAAL')) 353 _installGraalJarInJdks(mx.distribution('GRAAL'))
354 354