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.");
+ }
+ } else {
+ System.out.println("");
+ System.out.println(" Tool Configuration File: " + toolConfFile + " is valid!");
}
return returnCode;
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 > 1)
+ errLog.add(" Tool Code: [" + props[3].trim() + "] Path: " + path + " does not exist!");
retCode = 1;
lastErrTag = props[1].trim();
} else {
}
} catch (IOException e) {
System.out.println(" [" + testFile + "] " + e);
- System.exit(1);
+ System.exit(FAIL);
}
if (errLog.size() > 0)
for (int i = 0; i < goodLog.size(); i++) {