From a8e1928c2fa3706cc79cfb94acc25fb6ef8a1860 Mon Sep 17 00:00:00 2001 From: lhauch Date: Tue, 17 Oct 2006 23:46:01 +0000 Subject: Added instruction on how to remove WARNINGS with -v flag set git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1782 6f19259b-4bc3-4df7-8a09-765794883524 --- .../CheckTools/src/org/tianocore/CheckTools/ToolChecks.java | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'Tools') 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 34c5a4c015..ad4c544ff8 100644 --- a/Tools/Java/Source/CheckTools/src/org/tianocore/CheckTools/ToolChecks.java +++ b/Tools/Java/Source/CheckTools/src/org/tianocore/CheckTools/ToolChecks.java @@ -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(); -- cgit v1.2.3