manifoldcf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kwri...@apache.org
Subject svn commit: r1370769 - /manifoldcf/branches/CONNECTORS-497/connectors/sharepoint/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/sharepoint/SharePointRepository.java
Date Wed, 08 Aug 2012 13:56:10 GMT
Author: kwright
Date: Wed Aug  8 13:56:10 2012
New Revision: 1370769

URL: http://svn.apache.org/viewvc?rev=1370769&view=rev
Log:
Add debugging output for list metadata fields

Modified:
    manifoldcf/branches/CONNECTORS-497/connectors/sharepoint/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/sharepoint/SharePointRepository.java

Modified: manifoldcf/branches/CONNECTORS-497/connectors/sharepoint/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/sharepoint/SharePointRepository.java
URL: http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-497/connectors/sharepoint/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/sharepoint/SharePointRepository.java?rev=1370769&r1=1370768&r2=1370769&view=diff
==============================================================================
--- manifoldcf/branches/CONNECTORS-497/connectors/sharepoint/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/sharepoint/SharePointRepository.java
(original)
+++ manifoldcf/branches/CONNECTORS-497/connectors/sharepoint/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/sharepoint/SharePointRepository.java
Wed Aug  8 13:56:10 2012
@@ -722,6 +722,12 @@ public class SharePointRepository extend
               {
                 String[] sortedMetadataFields = getInterestingFieldSetSorted(metadataInfo,encodedSitePath,listID,fieldListMap);
                 
+                System.out.println("sorted metadata fields seen in getDocumentVersions:");
+                for (int j = 0; j < sortedMetadataFields.length; j++)
+                {
+                  System.out.println(" "+sortedMetadataFields[j]);
+                }
+                
                 if (sortedMetadataFields != null)
                 {
                   // Next, get the actual timestamp field for the file.
@@ -1181,6 +1187,12 @@ public class SharePointRepository extend
               ArrayList metadataDescription = new ArrayList();
               int startPosition = unpackList(metadataDescription,version,0,'+');
 
+              System.out.println("In process documents, metadata names we will get are:");
+              for (int j = 0; j < metadataDescription.size(); j++)
+              {
+                System.out.println(" "+(String)metadataDescription.get(j));
+              }
+              
               // Acls
               ArrayList acls = null;
               String denyAcl = null;



Mime
View raw message