Changed invalid tool chain tag name to WARNING rather than an ERROR
authorlhauch <lhauch@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 17 Oct 2006 23:33:10 +0000 (23:33 +0000)
committerlhauch <lhauch@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 17 Oct 2006 23:33:10 +0000 (23:33 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1781 6f19259b-4bc3-4df7-8a09-765794883524

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

index 0c0c936595edd05172d4ee9364aedc4292844a1e..34c5a4c015a2eda2c02dcde6babf42082edb6e70 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 {