harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From smish...@apache.org
Subject svn commit: r655752 - /harmony/enhanced/buildtest/trunk/infra/scripts/publisher.xml
Date Tue, 13 May 2008 06:54:23 GMT
Author: smishura
Date: Mon May 12 23:54:23 2008
New Revision: 655752

URL: http://svn.apache.org/viewvc?rev=655752&view=rev
Log:
Remove call to 'error-notify' macrodef and macrodef itself.

It doesn't make sense to try to send notification again if previous attempt failed.
Most probably the second attempt will fail for the same reason as the first one.
But the second attempt causes the build to fail as it is not inside try-catch block.

Modified:
    harmony/enhanced/buildtest/trunk/infra/scripts/publisher.xml

Modified: harmony/enhanced/buildtest/trunk/infra/scripts/publisher.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/buildtest/trunk/infra/scripts/publisher.xml?rev=655752&r1=655751&r2=655752&view=diff
==============================================================================
--- harmony/enhanced/buildtest/trunk/infra/scripts/publisher.xml (original)
+++ harmony/enhanced/buildtest/trunk/infra/scripts/publisher.xml Mon May 12 23:54:23 2008
@@ -122,30 +122,9 @@
 ${mail.sending.exception}
 
 </echo>
-            <error-notify>
-Mail Notification Sending failed with the following message: ${mail.sending.exception}
-
-----------
-Test Suite '${suite.name}' execution status: ${mail.execution.status}
-            </error-notify>
         </catch>
         </trycatch>
     </target>
 
-    <macrodef name="error-notify">
-        <text name="text"/>
-        <sequential>
-            <mail mailhost="${mail}"
-                  tolist="${to}"
-                  bcclist="${mail.bcc}"
-                  from="${mail.from}"
-                  subject="${mail.subject.line}">
-                <message>
-@{text}
-                </message>
-            </mail>
-        </sequential>
-    </macrodef>
-
 </project>
 



Mime
View raw message