151152153154155156157158159160161
if (options.length == 0) { printUsage(); bail(GENERAL_FAILURE); } reportable.output("Using cache directory: " + config.getCacheDirectory().getAbsolutePath()); for (int i = 0; i < options.length; i++) { if (i != 0) { reportable.output("");
156157158159160161162163164165166
reportable.output("Using cache directory: " + config.getCacheDirectory().getAbsolutePath()); for (int i = 0; i < options.length; i++) { if (i != 0) { reportable.output(""); } handleOption(options[i]); } }
190191192193194195196197198199200
try { final String abspath = file.getAbsolutePath(); if (verbose) { reportable.output("Validating BEL Document: " + abspath); } int numWarnings = 0; int numErrors = 0;
292293294295296297298299300301302
if (summary) { printSummary(fileArg, numWarnings, numErrors); } if (numErrors == 0) { reportable.output(ALL_DOCUMENTS_PASSED_VALIDATION); bail(ExitCode.SUCCESS); } else { bail(ExitCode.VALIDATION_FAILURE); } } catch (Exception e) {