incubator-connectors-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kwri...@apache.org
Subject svn commit: r927840 - in /incubator/lcf/trunk/tests: meridio-testing-package/org/apache/lcf/crawler/connectors/meridio/meridiowrapper/MeridioTestWrapper.java sharepoint-testing-package/org/apache/lcf/crawler/connectors/sharepoint/FPSEPublish.java
Date Fri, 26 Mar 2010 13:27:59 GMT
Author: kwright
Date: Fri Mar 26 13:27:59 2010
New Revision: 927840

URL: http://svn.apache.org/viewvc?rev=927840&view=rev
Log:
Update method of obtaining wsdd in test samples also.

Modified:
    incubator/lcf/trunk/tests/meridio-testing-package/org/apache/lcf/crawler/connectors/meridio/meridiowrapper/MeridioTestWrapper.java
    incubator/lcf/trunk/tests/sharepoint-testing-package/org/apache/lcf/crawler/connectors/sharepoint/FPSEPublish.java

Modified: incubator/lcf/trunk/tests/meridio-testing-package/org/apache/lcf/crawler/connectors/meridio/meridiowrapper/MeridioTestWrapper.java
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/tests/meridio-testing-package/org/apache/lcf/crawler/connectors/meridio/meridiowrapper/MeridioTestWrapper.java?rev=927840&r1=927839&r2=927840&view=diff
==============================================================================
--- incubator/lcf/trunk/tests/meridio-testing-package/org/apache/lcf/crawler/connectors/meridio/meridiowrapper/MeridioTestWrapper.java
(original)
+++ incubator/lcf/trunk/tests/meridio-testing-package/org/apache/lcf/crawler/connectors/meridio/meridiowrapper/MeridioTestWrapper.java
Fri Mar 26 13:27:59 2010
@@ -91,7 +91,7 @@ public class MeridioTestWrapper extends 
         throws RemoteException, MalformedURLException, UnknownHostException
         {
                 super(null,new URL(meridioDmwsUrlString),new URL(meridioRmwsUrlString),null,null,null,null,null,null,null,userName,password,
-                      InetAddress.getLocalHost().getHostName(),new ProtocolFactory(),"/usr/lib/metacarta/meridio-client-config.wsdd");
+                      InetAddress.getLocalHost().getHostName(),new ProtocolFactory(),LCF.getProperty("org.apache.lcf.meridio.wsddpath"));
                 this.meridioDmwsUrl = new URL(meridioDmwsUrlString);
                 this.meridioRmwsUrl = new URL(meridioRmwsUrlString);
                 this.userName = userName;

Modified: incubator/lcf/trunk/tests/sharepoint-testing-package/org/apache/lcf/crawler/connectors/sharepoint/FPSEPublish.java
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/tests/sharepoint-testing-package/org/apache/lcf/crawler/connectors/sharepoint/FPSEPublish.java?rev=927840&r1=927839&r2=927840&view=diff
==============================================================================
--- incubator/lcf/trunk/tests/sharepoint-testing-package/org/apache/lcf/crawler/connectors/sharepoint/FPSEPublish.java
(original)
+++ incubator/lcf/trunk/tests/sharepoint-testing-package/org/apache/lcf/crawler/connectors/sharepoint/FPSEPublish.java
Fri Mar 26 13:27:59 2010
@@ -78,7 +78,10 @@ public class FPSEPublish
                 this.userName = userName;
                 this.passWord = password;
                 this.domainName = domainName;
-                this.configuration = new FileProvider("/usr/lib/metacarta/sharepoint-client-config.wsdd");
+		String fileName = LCF.getProperty("org.apache.lcf.sharepoint.wsddpath");
+		if (fileName == null)
+		    throw new LCFException("Missing org.apache.lcf.sharepoint.wsddpath property!",LCFException.SETUP_ERROR);
+                this.configuration = new FileProvider(fileName);
         }
 
         public void close()



Mime
View raw message