Changed invalid tool chain tag name to WARNING rather than an ERROR
authorlhauch <lhauch@de2fecce-e211-0410-80a6-f3fac2684e05>
Tue, 17 Oct 2006 23:33:10 +0000 (23:33 +0000)
committerlhauch <lhauch@de2fecce-e211-0410-80a6-f3fac2684e05>
Tue, 17 Oct 2006 23:33:10 +0000 (23:33 +0000)
git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@1781 de2fecce-e211-0410-80a6-f3fac2684e05

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

index 0c0c936..34c5a4c 100644 (file)
@@ -121,10 +121,9 @@ public class ToolChecks {
                     File testPath = new File(path);
                     if (!testPath.exists()) {
                         if (!props[1].trim().contentEquals(lastErrTag))
-                            errLog.add("  -- ERROR: Tool Chain Tag Name: " + props[1].trim() + " is invalid!");
-                            // System.out.println("      +++++ ERROR: Tool Chain: " + props[1].trim() + " is invalid!");
-                        errLog.add("    Tool Code: [" + props[3].trim() + "] Path: " + path + " does not exist!");
-                        // System.out.println(" Tool: " + props[3].trim() + " Path: " + path + " does not exist!");
+                            errLog.add("  -- WARNING: Tool Chain Tag Name: " + props[1].trim() + " is NOT valid!");
+                        if (VERBOSE > 0)
+                            errLog.add("    Tool Code: [" + props[3].trim() + "] Path: " + path + " does not exist!");
                         retCode = 1;
                         lastErrTag = props[1].trim();
                     } else {