import org.apache.log4j.spi.LoggingEvent;\r
import org.apache.tools.ant.BuildEvent;\r
import org.apache.tools.ant.Project;\r
-\r
import org.argeo.slc.core.process.SlcExecution;\r
import org.argeo.slc.core.process.SlcExecutionNotifier;\r
import org.argeo.slc.core.process.SlcExecutionStep;\r
-import org.argeo.slc.core.process.WebServiceSlcExecutionNotifier;\r
+import org.argeo.slc.ws.process.WebServiceSlcExecutionNotifier;\r
+import org.springframework.context.ApplicationContext;\r
+import org.springframework.context.support.AbstractApplicationContext;\r
\r
public class SlcExecutionBuildListener extends AppenderSkeleton implements\r
ProjectRelatedBuildListener {\r
notifier.updateStatus(slcExecution, oldStatus, slcExecution\r
.getStatus());\r
}\r
+\r
+// AbstractApplicationContext context = (AbstractApplicationContext) getProject()\r
+// .getReference(SlcProjectHelper.REF_ROOT_CONTEXT);\r
+// if (context != null)\r
+// context.close();\r
}\r
\r
public void messageLogged(BuildEvent event) {\r
return;\r
}\r
\r
+ // FIXME: make it more generic\r
if (event.getLoggerName().equals(\r
WebServiceSlcExecutionNotifier.class.getName())) {\r
return;\r