String wsc = wsimport.getAbsolutePath();
String wscompileArgs =
" -keep -d " + classesDir.getAbsolutePath() +
" " + ref.wsdlLocation();
if (logger!=null) {
logger.log(Level.INFO, "Invoking wsimport with " + ref.wsdlLocation());
} else {
System.out.println("Invoking " + wsimport.getAbsolutePath() + " with " + ref.wsdlLocation() + "in " + classesDir.getAbsolutePath());
}
String command = wsc + " " + wscompileArgs;
if (logger!=null && logger.isLoggable(Level.FINE))