generator.setCompileToDir(getClassesDir());
return generator;
}
private AbstractGenerator<?> getWSDLGenerator(final File wsdlFile) {
WSDLGeneratorFactory factory = new WSDLGeneratorFactory();
factory.setWSDLVersion(getWSDLVersion());
AbstractGenerator<?> generator = factory.newGenerator();
generator.setToolContext(context);
generator.setAllowImports(context.containsKey(ToolConstants.CFG_CREATE_XSD_IMPORTS));
generator.setOutputBase(wsdlFile);
return generator;
}