Added instruction on how to remove WARNINGS with -v flag set
authorlhauch <lhauch@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 17 Oct 2006 23:46:01 +0000 (23:46 +0000)
committerlhauch <lhauch@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 17 Oct 2006 23:46:01 +0000 (23:46 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1782 6f19259b-4bc3-4df7-8a09-765794883524

Tools/Java/Source/CheckTools/src/org/tianocore/CheckTools/ToolChecks.java

index 34c5a4c..ad4c544 100644 (file)
@@ -86,6 +86,13 @@ public class ToolChecks {
                 System.out.println("Tool Chain Tag Name: " + goodLog.get(i) + " is valid!");
             for (int i = 0; i < errLog.size(); i++)
                 System.out.println(errLog.get(i));
+            if (VERBOSE > 0) {
+                System.out.println();
+                System.out.println("You can remove these WARNING messages by editing the file:");
+                System.out.println("  " + toolConfFile);
+                System.out.println("and commenting out out or deleting the entries for the tool");
+                System.out.println("chain tag names that do not apply to your system.");
+            }
         }
 
         return returnCode;
@@ -122,7 +129,7 @@ public class ToolChecks {
                     if (!testPath.exists()) {
                         if (!props[1].trim().contentEquals(lastErrTag))
                             errLog.add("  -- WARNING: Tool Chain Tag Name: " + props[1].trim() + " is NOT valid!");
-                        if (VERBOSE > 0)
+                        if (VERBOSE > 1)
                             errLog.add("    Tool Code: [" + props[3].trim() + "] Path: " + path + " does not exist!");
                         retCode = 1;
                         lastErrTag = props[1].trim();