manifoldcf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kwri...@apache.org
Subject svn commit: r1647391 - in /manifoldcf/branches/CONNECTORS-1119: connectors/email/build.xml framework/pull-agent/src/main/java/org/apache/manifoldcf/crawler/notificationconnectorpool/NotificationConnectorPool.java
Date Mon, 22 Dec 2014 20:04:44 GMT
Author: kwright
Date: Mon Dec 22 20:04:43 2014
New Revision: 1647391

URL: http://svn.apache.org/r1647391
Log:
Wrong connector manager; use the right one

Modified:
    manifoldcf/branches/CONNECTORS-1119/connectors/email/build.xml
    manifoldcf/branches/CONNECTORS-1119/framework/pull-agent/src/main/java/org/apache/manifoldcf/crawler/notificationconnectorpool/NotificationConnectorPool.java

Modified: manifoldcf/branches/CONNECTORS-1119/connectors/email/build.xml
URL: http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-1119/connectors/email/build.xml?rev=1647391&r1=1647390&r2=1647391&view=diff
==============================================================================
--- manifoldcf/branches/CONNECTORS-1119/connectors/email/build.xml (original)
+++ manifoldcf/branches/CONNECTORS-1119/connectors/email/build.xml Mon Dec 22 20:04:43 2014
@@ -35,6 +35,10 @@ limitations under the License.
             <param name="connector-label" value="EMail"/>
             <param name="connector-class" value="org.apache.manifoldcf.crawler.connectors.email.EmailConnector"/>
         </antcall>
+        <antcall target="general-add-notification-connector">
+            <param name="connector-label" value="EMail"/>
+            <param name="connector-class" value="org.apache.manifoldcf.crawler.notifications.email.EmailConnector"/>
+        </antcall>
     </target>
 
 </project>
\ No newline at end of file

Modified: manifoldcf/branches/CONNECTORS-1119/framework/pull-agent/src/main/java/org/apache/manifoldcf/crawler/notificationconnectorpool/NotificationConnectorPool.java
URL: http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-1119/framework/pull-agent/src/main/java/org/apache/manifoldcf/crawler/notificationconnectorpool/NotificationConnectorPool.java?rev=1647391&r1=1647390&r2=1647391&view=diff
==============================================================================
--- manifoldcf/branches/CONNECTORS-1119/framework/pull-agent/src/main/java/org/apache/manifoldcf/crawler/notificationconnectorpool/NotificationConnectorPool.java
(original)
+++ manifoldcf/branches/CONNECTORS-1119/framework/pull-agent/src/main/java/org/apache/manifoldcf/crawler/notificationconnectorpool/NotificationConnectorPool.java
Mon Dec 22 20:04:43 2014
@@ -156,7 +156,7 @@ public class NotificationConnectorPool i
     protected boolean isInstalled(IThreadContext tc, String className)
       throws ManifoldCFException
     {
-      IConnectorManager connectorManager = ConnectorManagerFactory.make(tc);
+      INotificationConnectorManager connectorManager = NotificationConnectorManagerFactory.make(tc);
       return connectorManager.isInstalled(className);
     }
 



Mime
View raw message