From: lhauch Date: Tue, 17 Oct 2006 23:33:10 +0000 (+0000) Subject: Changed invalid tool chain tag name to WARNING rather than an ERROR X-Git-Tag: edk2-stable201903~24093 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=c81d735d570e86056e90ea2e7b5ddfad66736f22;ds=sidebyside Changed invalid tool chain tag name to WARNING rather than an ERROR git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1781 6f19259b-4bc3-4df7-8a09-765794883524 --- diff --git a/Tools/Java/Source/CheckTools/src/org/tianocore/CheckTools/ToolChecks.java b/Tools/Java/Source/CheckTools/src/org/tianocore/CheckTools/ToolChecks.java index 0c0c936595..34c5a4c015 100644 --- a/Tools/Java/Source/CheckTools/src/org/tianocore/CheckTools/ToolChecks.java +++ b/Tools/Java/Source/CheckTools/src/org/tianocore/CheckTools/ToolChecks.java @@ -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 {