public void execute(boolean exitOnFinish) {
WSDLToJavaProcessor processor = new WSDLToJavaProcessor();
try {
super.execute(exitOnFinish);
if (!hasInfoOption()) {
ProcessorEnvironment env = new ProcessorEnvironment();
env.setParameters(getParametersMap(getArrayKeys()));
if (env.get(ToolConstants.CFG_OUTPUTDIR) == null) {
env.put(ToolConstants.CFG_OUTPUTDIR, ".");
}
if (env.containsKey(ToolConstants.CFG_ANT)) {
setAntProperties(env);
setLibraryReferences(env);
}
if (isVerboseOn()) {
env.put(ToolConstants.CFG_VERBOSE, Boolean.TRUE);
}
env.put(ToolConstants.CFG_CMD_ARG, args);
validate(env);
loadDefaultNSPackageMapping(env);
setPackageAndNamespaces(env);
setExcludePackageAndNamespaces(env);