diff 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
line wrap: on
line diff
--- a/mx/commands.py	Wed Sep 25 21:25:06 2013 +0200
+++ b/mx/commands.py	Wed Sep 25 21:48:38 2013 +0200
@@ -345,8 +345,8 @@
                 pass
     else:
         if not exists(jdk):
-            if _installed_jdks and mx._opts.verbose:
-                mx.log("Could not find JDK directory at " + jdk)
+            if _installed_jdks:
+                mx.log("The selected JDK directory does not (yet) exist: " + jdk)
             _handle_missing_VM(build, vmToCheck if vmToCheck else 'graal')
 
     if installGraalJar: