Update in order to ease reporting
authorMathieu Baudier <mbaudier@argeo.org>
Mon, 9 Jun 2008 15:07:29 +0000 (15:07 +0000)
committerMathieu Baudier <mbaudier@argeo.org>
Mon, 9 Jun 2008 15:07:29 +0000 (15:07 +0000)
git-svn-id: https://svn.argeo.org/slc/trunk@1226 4cfe0d0a-d680-48aa-b62c-e0a02a3f76cc

org.argeo.slc.agent/src/main/java/org/argeo/slc/ant/SlcExecutionBuildListener.java

index 922b03d48d366fc13b9a6fcb9e74b257f8b07f46..2b373a08219db1c663df007c4948026fddf2bede 100644 (file)
@@ -12,6 +12,8 @@ import org.argeo.slc.core.process.SlcExecution;
 import org.argeo.slc.core.process.SlcExecutionNotifier;\r
 import org.argeo.slc.core.process.SlcExecutionStep;\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
@@ -69,6 +71,11 @@ public class SlcExecutionBuildListener extends AppenderSkeleton implements
                        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