continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eveni...@apache.org
Subject svn commit: r219538 - in /maven/continuum/trunk/continuum-notifiers: continuum-notifier-irc/src/main/java/org/apache/maven/continuum/notification/irc/ continuum-notifier-jabber/src/main/java/org/apache/maven/continuum/notification/jabber/ continuum-not...
Date Mon, 18 Jul 2005 17:09:31 GMT
Author: evenisse
Date: Mon Jul 18 10:09:07 2005
New Revision: 219538

URL: http://svn.apache.org/viewcvs?rev=219538&view=rev
Log:
Send message only when the build is complete

Modified:
    maven/continuum/trunk/continuum-notifiers/continuum-notifier-irc/src/main/java/org/apache/maven/continuum/notification/irc/IrcContinuumNotifier.java
    maven/continuum/trunk/continuum-notifiers/continuum-notifier-jabber/src/main/java/org/apache/maven/continuum/notification/jabber/JabberContinuumNotifier.java
    maven/continuum/trunk/continuum-notifiers/continuum-notifier-msn/src/main/java/org/apache/maven/continuum/notification/msn/MsnContinuumNotifier.java

Modified: maven/continuum/trunk/continuum-notifiers/continuum-notifier-irc/src/main/java/org/apache/maven/continuum/notification/irc/IrcContinuumNotifier.java
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-notifiers/continuum-notifier-irc/src/main/java/org/apache/maven/continuum/notification/irc/IrcContinuumNotifier.java?rev=219538&r1=219537&r2=219538&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-notifiers/continuum-notifier-irc/src/main/java/org/apache/maven/continuum/notification/irc/IrcContinuumNotifier.java
(original)
+++ maven/continuum/trunk/continuum-notifiers/continuum-notifier-irc/src/main/java/org/apache/maven/continuum/notification/irc/IrcContinuumNotifier.java
Mon Jul 18 10:09:07 2005
@@ -76,18 +76,6 @@
         {
             return;
         }
-        // ----------------------------------------------------------------------
-        //
-        // ----------------------------------------------------------------------
-
-        /*
-        if ( recipients.size() == 0 )
-        {
-            getLogger().info( "No IRC recipients for '" + project.getName() + "'." );
-
-            return;
-        }
-        */
 
         // ----------------------------------------------------------------------
         // Generate and send message

Modified: maven/continuum/trunk/continuum-notifiers/continuum-notifier-jabber/src/main/java/org/apache/maven/continuum/notification/jabber/JabberContinuumNotifier.java
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-notifiers/continuum-notifier-jabber/src/main/java/org/apache/maven/continuum/notification/jabber/JabberContinuumNotifier.java?rev=219538&r1=219537&r2=219538&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-notifiers/continuum-notifier-jabber/src/main/java/org/apache/maven/continuum/notification/jabber/JabberContinuumNotifier.java
(original)
+++ maven/continuum/trunk/continuum-notifiers/continuum-notifier-jabber/src/main/java/org/apache/maven/continuum/notification/jabber/JabberContinuumNotifier.java
Mon Jul 18 10:09:07 2005
@@ -91,7 +91,7 @@
 
         if ( recipients.size() == 0 )
         {
-            getLogger().info( "No jabber recipients for '" + project.getName() + "'." );
+            getLogger().info( "No Jabber recipients for '" + project.getName() + "'." );
 
             return;
         }
@@ -100,6 +100,7 @@
         //
         // ----------------------------------------------------------------------
 
+/*
         if ( source.equals( ContinuumNotificationDispatcher.MESSAGE_ID_BUILD_STARTED ) )
         {
             buildStarted( project, recipients, configuration );
@@ -127,6 +128,11 @@
         else
         {
             getLogger().warn( "Unknown source: '" + source + "'." );
+        }
+*/
+        if ( source.equals( ContinuumNotificationDispatcher.MESSAGE_ID_BUILD_COMPLETE ) )
+        {
+            buildComplete( project, build, recipients, configuration );
         }
     }
 

Modified: maven/continuum/trunk/continuum-notifiers/continuum-notifier-msn/src/main/java/org/apache/maven/continuum/notification/msn/MsnContinuumNotifier.java
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-notifiers/continuum-notifier-msn/src/main/java/org/apache/maven/continuum/notification/msn/MsnContinuumNotifier.java?rev=219538&r1=219537&r2=219538&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-notifiers/continuum-notifier-msn/src/main/java/org/apache/maven/continuum/notification/msn/MsnContinuumNotifier.java
(original)
+++ maven/continuum/trunk/continuum-notifiers/continuum-notifier-msn/src/main/java/org/apache/maven/continuum/notification/msn/MsnContinuumNotifier.java
Mon Jul 18 10:09:07 2005
@@ -94,6 +94,7 @@
         //
         // ----------------------------------------------------------------------
 
+*/
         if ( source.equals( ContinuumNotificationDispatcher.MESSAGE_ID_BUILD_STARTED ) )
         {
             buildStarted( project, recipients, configuration );
@@ -121,6 +122,11 @@
         else
         {
             getLogger().warn( "Unknown source: '" + source + "'." );
+        }
+*/
+        if ( source.equals( ContinuumNotificationDispatcher.MESSAGE_ID_BUILD_COMPLETE ) )
+        {
+            buildComplete( project, build, recipients, configuration );
         }
     }
 



Mime
View raw message