/* 200 */ ClassLoader prevCL = Thread.currentThread().getContextClassLoader();
/* 201 */ ClassLoader antLoader = getClass().getClassLoader();
/* 202 */ Thread.currentThread().setContextClassLoader(antLoader);
/* */ try
/* */ {
/* 205 */ WSContractProvider gen = WSContractProvider.newInstance(getClasspathLoader(antLoader));
/* */
/* 208 */ if (this.verbose)
/* 209 */ gen.setMessageStream(new PrintStream(new LogOutputStream(this, 2)));
/* 210 */ gen.setGenerateSource(this.keep);
/* 211 */ gen.setGenerateWsdl(this.genwsdl);
/* 212 */ if (this.destdir != null)
/* 213 */ gen.setOutputDirectory(this.destdir);
/* 214 */ if (this.resourcedestdir != null)
/* 215 */ gen.setResourceDirectory(this.resourcedestdir);
/* 216 */ if (this.sourcedestdir != null) {
/* 217 */ gen.setSourceDirectory(this.sourcedestdir);
/* */ }
/* 219 */ log("Generating from endpoint: " + this.sei, 2);
/* */
/* 221 */ gen.provide(this.sei);
/* */ }
/* */ finally
/* */ {
/* 225 */ Thread.currentThread().setContextClassLoader(prevCL);
/* */ }