--- a/buildframework/helium/config/signaling_config_default.ant.xml Thu Jun 10 13:50:24 2010 +0800
+++ b/buildframework/helium/config/signaling_config_default.ant.xml Mon Jul 26 11:04:29 2010 +0800
@@ -25,8 +25,6 @@
Definitions of helium signals.
</description>
- <taskdef resource="org/apache/tools/ant/types/conditions/antlib.xml" />
-
<!-- Only for backward compatibility -->
<hlm:notifierList id="defaultSignalFailNotifier">
<hlm:emailNotifier templateSrc="${helium.dir}/tools/common/templates/log/email_new.html.ftl" title="[signal] ${signal.name} - [message] ${signal.message}"
@@ -169,20 +167,6 @@
<hlm:notifierListRef refid="defaultFailNotifier" />
</hlm:signalInput>
- <hlm:signalInput id="testSBSScanlogInput" failbuild="now">
- <hlm:notifierListRef refid="defaultFailNotifier" />
- </hlm:signalInput>
-
- <hlm:signalListenerConfig id="testSBSScanlog" target="test-scanlog-metadata-1" message="sbs scanlog processed">
- <hlm:targetCondition>
- <hlm:hasSeverity severity="error" file="${env.TEMP}/signals/test-scanlog-metadata-1.log.status.xml" />
- </hlm:targetCondition>
- <signalNotifierInput>
- <signalInput refid="testSBSScanlogInput" />
- <notifierInput file = "${env.TEMP}/signals/test-scanlog-metadata-1.log.status.html" />
- </signalNotifierInput>
- </hlm:signalListenerConfig>
-
<hlm:signalListenerConfig id="prepWorkAreaSignal" target="prep-work-area" message="Errors happened during Preparing Work Area">
<hlm:targetCondition>
<hlm:hasSeverity severity="error" file="${build.cache.log.dir}/signals/${build.id}_ccm_get_input.log.status.xml" />
@@ -416,4 +400,19 @@
</notifierInput>
</signalNotifierInput>
</hlm:signalListenerConfig>
+
+ <hlm:signalExceptionConfig id="signal.exception.post.build">
+ <hlm:notifierList>
+ <hlm:executeTaskNotifier>
+ <if>
+ <isset property="exceptions.target" />
+ <then>
+ <runtarget target="${exceptions.target}" />
+ </then>
+ </if>
+ </hlm:executeTaskNotifier>
+ </hlm:notifierList>
+ </hlm:signalExceptionConfig>
</project>
+
+
\ No newline at end of file