result = self.runjava(
classpath=classpath,
main="com.sun.tools.internal.ws.WsImport",
jvm_options=self.get_options().jvm_options,
args=args,
workunit_name="wsimport")
if result != 0:
After Change
wsimport_cmd = self._build_wsimport_cmd(target, target_workdir, url)
with self.context.new_workunit(name="wsimport",
cmd=" ".join(wsimport_cmd),
labels=[WorkUnitLabel.TOOL]) as workunit:
self.context.log.debug("Executing {}".format(" ".join(wsimport_cmd)))
return_code = subprocess.Popen(wsimport_cmd,
stdout=workunit.output("stdout"),