{
WSDLReference wsdlReference = null;
UDDIReference uddiReference = null;
// Get new config reader
AnalyzerConfigReader analyzerConfigReader = new AnalyzerConfigReaderImpl();
analyzerConfigReader.init(this.messageList);
// Analyzer config object which will be merged after all of the input parms are processed
AnalyzerConfig analyzerConfigFromArgs = null;
// Assertion results option
AssertionResultsOption assertionResultsOption = null;
// If no input arguments, then throw exception
if (args.length == 0)
{
// ADD:
throw new IllegalArgumentException(
getMessage("usage01", Analyzer.USAGE_MESSAGE));
}
// Parse the command line arguments to locate the config file option (if it was specified)
for (int argCount = 0; argCount < args.length; argCount++)
{
// -config
if ((args[argCount].equalsIgnoreCase("-config"))
|| (args[argCount].equals("-c")))
{
argCount++;
analyzerConfigFromArgs =
analyzerConfigReader.readAnalyzerConfig(
getOptionValue(args, argCount));
}
}
// If config file was not specified, then create analyzer config object