manifoldcf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kwri...@apache.org
Subject svn commit: r1470302 [3/3] - in /manifoldcf/branches/CONNECTORS-676: ./ connectors/dropbox/ connectors/dropbox/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/dropbox/ connectors/dropbox/connector/src/main/native2ascii/org.apache.manif...
Date Sun, 21 Apr 2013 14:06:31 GMT
Modified: manifoldcf/branches/CONNECTORS-676/connectors/dropbox/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/dropbox/DropboxSession.java
URL: http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-676/connectors/dropbox/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/dropbox/DropboxSession.java?rev=1470302&r1=1470301&r2=1470302&view=diff
==============================================================================
--- manifoldcf/branches/CONNECTORS-676/connectors/dropbox/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/dropbox/DropboxSession.java
(original)
+++ manifoldcf/branches/CONNECTORS-676/connectors/dropbox/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/dropbox/DropboxSession.java
Sun Apr 21 14:06:30 2013
@@ -1,95 +1,114 @@
-/*
- * To change this template, choose Tools | Templates
- * and open the template in the editor.
- */
-package org.apache.manifoldcf.crawler.connectors.dropbox;
-
-import com.dropbox.client2.session.AppKeyPair;
-import java.util.Map;
-import com.dropbox.client2.session.WebAuthSession;
-import com.dropbox.client2.DropboxAPI;
-import com.dropbox.client2.DropboxAPI.DeltaEntry;
-import com.dropbox.client2.DropboxAPI.DropboxInputStream;
-import com.dropbox.client2.DropboxAPI.Entry;
-import com.dropbox.client2.exception.DropboxException;
-import com.dropbox.client2.jsonextract.JsonExtractionException;
-import com.dropbox.client2.jsonextract.JsonList;
-import com.dropbox.client2.jsonextract.JsonMap;
-import com.dropbox.client2.jsonextract.JsonThing;
-import com.dropbox.client2.session.AccessTokenPair;
-import com.dropbox.client2.session.AppKeyPair;
-import com.dropbox.client2.session.Session;
-import com.dropbox.client2.session.WebAuthSession;
-import java.util.HashMap;
-import java.util.HashSet;
-import java.util.List;
-import org.json.simple.parser.ParseException;
-
-/**
- *
- * @author andrew
- */
-public class DropboxSession {
-
-    private DropboxAPI<?> client;
-    private String cursor = null;
-    
-
-    DropboxSession(Map<String, String> parameters) {
-        AppKeyPair appKeyPair = new AppKeyPair(parameters.get(DropboxConfig.APP_KEY_PARAM),
parameters.get(DropboxConfig.APP_SECRET_PARAM));
-        WebAuthSession session = new WebAuthSession(appKeyPair, WebAuthSession.AccessType.DROPBOX);
-        AccessTokenPair ac = new AccessTokenPair(parameters.get(DropboxConfig.KEY_PARAM),
parameters.get(DropboxConfig.SECRET_PARAM));
-        session.setAccessTokenPair(ac);
-        client = new DropboxAPI<WebAuthSession>(session);
-    }
-
-    public Map<String, String> getRepositoryInfo() throws DropboxException {
-        Map<String, String> info = new HashMap<String, String>();
-
-        info.put("Country", client.accountInfo().country);
-        info.put("Display Name", client.accountInfo().displayName);
-        info.put("Referral Link", client.accountInfo().referralLink);
-        info.put("Quota", String.valueOf(client.accountInfo().quota));
-        info.put("Quota Normal", String.valueOf(client.accountInfo().quotaNormal));
-        info.put("Quota Shared", String.valueOf(client.accountInfo().quotaShared));
-        info.put("Uid", String.valueOf(client.accountInfo().uid));
-        return info;
-    }
-
-    HashSet<String> getSeeds() throws DropboxException {
-        HashSet<String> ids = new HashSet<String>();
-        Boolean changed = false;
-        while (true) {
-            // Get /delta results from Dropbox
-            DropboxAPI.DeltaPage<DropboxAPI.Entry> page = client.delta(cursor);
-
-            if (page.reset) {
-                changed = true;
-            }
-            // Apply the entries one by one.
-            for (DeltaEntry<DropboxAPI.Entry> e : page.entries) {
-                ids.add(e.lcPath);
-                changed = true;
-            }
-            cursor = page.cursor;
-            if (!page.hasMore) {
-                break;
-            }
-        }
-        return ids;
-    }
-
-    public DropboxAPI.Entry getObject(String id) throws DropboxException {
-        DropboxAPI.Entry entry = null;
-        try {
-            entry = client.metadata(id, 25000, null, true, null);
-        } catch (DropboxException e) {
-            System.out.println("Something went wrong: " + e);
-        }
-        return entry;
-    }
-
-    public DropboxInputStream getDropboxInputStream(String id) throws DropboxException {
-        return client.getFileStream(id, null);
-    }
-}
+/* $Id$ */
+
+/**
+* Licensed to the Apache Software Foundation (ASF) under one or more
+* contributor license agreements. See the NOTICE file distributed with
+* this work for additional information regarding copyright ownership.
+* The ASF licenses this file to You under the Apache License, Version 2.0
+* (the "License"); you may not use this file except in compliance with
+* the License. You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/*
+ * To change this template, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package org.apache.manifoldcf.crawler.connectors.dropbox;
+
+import com.dropbox.client2.session.AppKeyPair;
+import java.util.Map;
+import com.dropbox.client2.session.WebAuthSession;
+import com.dropbox.client2.DropboxAPI;
+import com.dropbox.client2.DropboxAPI.DeltaEntry;
+import com.dropbox.client2.DropboxAPI.DropboxInputStream;
+import com.dropbox.client2.DropboxAPI.Entry;
+import com.dropbox.client2.exception.DropboxException;
+import com.dropbox.client2.jsonextract.JsonExtractionException;
+import com.dropbox.client2.jsonextract.JsonList;
+import com.dropbox.client2.jsonextract.JsonMap;
+import com.dropbox.client2.jsonextract.JsonThing;
+import com.dropbox.client2.session.AccessTokenPair;
+import com.dropbox.client2.session.AppKeyPair;
+import com.dropbox.client2.session.Session;
+import com.dropbox.client2.session.WebAuthSession;
+import java.util.HashMap;
+import java.util.HashSet;
+import java.util.List;
+import org.json.simple.parser.ParseException;
+
+/**
+ *
+ * @author andrew
+ */
+public class DropboxSession {
+
+    private DropboxAPI<?> client;
+    private String cursor = null;
+    
+
+    DropboxSession(Map<String, String> parameters) {
+        AppKeyPair appKeyPair = new AppKeyPair(parameters.get(DropboxConfig.APP_KEY_PARAM),
parameters.get(DropboxConfig.APP_SECRET_PARAM));
+        WebAuthSession session = new WebAuthSession(appKeyPair, WebAuthSession.AccessType.DROPBOX);
+        AccessTokenPair ac = new AccessTokenPair(parameters.get(DropboxConfig.KEY_PARAM),
parameters.get(DropboxConfig.SECRET_PARAM));
+        session.setAccessTokenPair(ac);
+        client = new DropboxAPI<WebAuthSession>(session);
+    }
+
+    public Map<String, String> getRepositoryInfo() throws DropboxException {
+        Map<String, String> info = new HashMap<String, String>();
+
+        info.put("Country", client.accountInfo().country);
+        info.put("Display Name", client.accountInfo().displayName);
+        info.put("Referral Link", client.accountInfo().referralLink);
+        info.put("Quota", String.valueOf(client.accountInfo().quota));
+        info.put("Quota Normal", String.valueOf(client.accountInfo().quotaNormal));
+        info.put("Quota Shared", String.valueOf(client.accountInfo().quotaShared));
+        info.put("Uid", String.valueOf(client.accountInfo().uid));
+        return info;
+    }
+
+    HashSet<String> getSeeds() throws DropboxException {
+        HashSet<String> ids = new HashSet<String>();
+        Boolean changed = false;
+        while (true) {
+            // Get /delta results from Dropbox
+            DropboxAPI.DeltaPage<DropboxAPI.Entry> page = client.delta(cursor);
+
+            if (page.reset) {
+                changed = true;
+            }
+            // Apply the entries one by one.
+            for (DeltaEntry<DropboxAPI.Entry> e : page.entries) {
+                ids.add(e.lcPath);
+                changed = true;
+            }
+            cursor = page.cursor;
+            if (!page.hasMore) {
+                break;
+            }
+        }
+        return ids;
+    }
+
+    public DropboxAPI.Entry getObject(String id) throws DropboxException {
+        DropboxAPI.Entry entry = null;
+        try {
+            entry = client.metadata(id, 25000, null, true, null);
+        } catch (DropboxException e) {
+            System.out.println("Something went wrong: " + e);
+        }
+        return entry;
+    }
+
+    public DropboxInputStream getDropboxInputStream(String id) throws DropboxException {
+        return client.getFileStream(id, null);
+    }
+}

Propchange: manifoldcf/branches/CONNECTORS-676/connectors/dropbox/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/dropbox/DropboxSession.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: manifoldcf/branches/CONNECTORS-676/connectors/dropbox/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/dropbox/DropboxSession.java
------------------------------------------------------------------------------
    svn:keywords = Id

Modified: manifoldcf/branches/CONNECTORS-676/connectors/dropbox/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/dropbox/Messages.java
URL: http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-676/connectors/dropbox/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/dropbox/Messages.java?rev=1470302&r1=1470301&r2=1470302&view=diff
==============================================================================
--- manifoldcf/branches/CONNECTORS-676/connectors/dropbox/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/dropbox/Messages.java
(original)
+++ manifoldcf/branches/CONNECTORS-676/connectors/dropbox/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/dropbox/Messages.java
Sun Apr 21 14:06:30 2013
@@ -1,141 +1,141 @@
-/* $Id: Messages.java 1295926 2012-03-01 21:56:27Z kwright $ */
-
-/**
-* Licensed to the Apache Software Foundation (ASF) under one or more
-* contributor license agreements. See the NOTICE file distributed with
-* this work for additional information regarding copyright ownership.
-* The ASF licenses this file to You under the Apache License, Version 2.0
-* (the "License"); you may not use this file except in compliance with
-* the License. You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-package org.apache.manifoldcf.crawler.connectors.dropbox;
-
-import java.util.Locale;
-import java.util.Map;
-import org.apache.manifoldcf.core.interfaces.ManifoldCFException;
-import org.apache.manifoldcf.core.interfaces.IHTTPOutput;
-
-public class Messages extends org.apache.manifoldcf.ui.i18n.Messages
-{
-  public static final String DEFAULT_BUNDLE_NAME="com.searchbox.common";
-  public static final String DEFAULT_PATH_NAME="com.searchbox";
-  
-  /** Constructor - do no instantiate
-  */
-  protected Messages()
-  {
-  }
-  
-  public static String getString(Locale locale, String messageKey)
-  {
-    return getString(DEFAULT_BUNDLE_NAME, locale, messageKey, null);
-  }
-
-  public static String getAttributeString(Locale locale, String messageKey)
-  {
-    return getAttributeString(DEFAULT_BUNDLE_NAME, locale, messageKey, null);
-  }
-
-  public static String getBodyString(Locale locale, String messageKey)
-  {
-    return getBodyString(DEFAULT_BUNDLE_NAME, locale, messageKey, null);
-  }
-
-  public static String getAttributeJavascriptString(Locale locale, String messageKey)
-  {
-    return getAttributeJavascriptString(DEFAULT_BUNDLE_NAME, locale, messageKey, null);
-  }
-
-  public static String getBodyJavascriptString(Locale locale, String messageKey)
-  {
-    return getBodyJavascriptString(DEFAULT_BUNDLE_NAME, locale, messageKey, null);
-  }
-
-  public static String getString(Locale locale, String messageKey, Object[] args)
-  {
-    return getString(DEFAULT_BUNDLE_NAME, locale, messageKey, args);
-  }
-
-  public static String getAttributeString(Locale locale, String messageKey, Object[] args)
-  {
-    return getAttributeString(DEFAULT_BUNDLE_NAME, locale, messageKey, args);
-  }
-  
-  public static String getBodyString(Locale locale, String messageKey, Object[] args)
-  {
-    return getBodyString(DEFAULT_BUNDLE_NAME, locale, messageKey, args);
-  }
-
-  public static String getAttributeJavascriptString(Locale locale, String messageKey, Object[]
args)
-  {
-    return getAttributeJavascriptString(DEFAULT_BUNDLE_NAME, locale, messageKey, args);
-  }
-
-  public static String getBodyJavascriptString(Locale locale, String messageKey, Object[]
args)
-  {
-    return getBodyJavascriptString(DEFAULT_BUNDLE_NAME, locale, messageKey, args);
-  }
-
-  // More general methods which allow bundlenames and class loaders to be specified.
-  
-  public static String getString(String bundleName, Locale locale, String messageKey, Object[]
args)
-  {
-    return getString(Messages.class, bundleName, locale, messageKey, args);
-  }
-
-  public static String getAttributeString(String bundleName, Locale locale, String messageKey,
Object[] args)
-  {
-    return getAttributeString(Messages.class, bundleName, locale, messageKey, args);
-  }
-
-  public static String getBodyString(String bundleName, Locale locale, String messageKey,
Object[] args)
-  {
-    return getBodyString(Messages.class, bundleName, locale, messageKey, args);
-  }
-  
-  public static String getAttributeJavascriptString(String bundleName, Locale locale, String
messageKey, Object[] args)
-  {
-    return getAttributeJavascriptString(Messages.class, bundleName, locale, messageKey, args);
-  }
-
-  public static String getBodyJavascriptString(String bundleName, Locale locale, String messageKey,
Object[] args)
-  {
-    return getBodyJavascriptString(Messages.class, bundleName, locale, messageKey, args);
-  }
-
-  // Resource output
-  
-  public static void outputResource(IHTTPOutput output, Locale locale, String resourceKey,
-    Map<String,String> substitutionParameters, boolean mapToUpperCase)
-    throws ManifoldCFException
-  {
-    outputResource(output,Messages.class,DEFAULT_PATH_NAME,locale,resourceKey,
-      substitutionParameters,mapToUpperCase);
-  }
-  
-  public static void outputResourceWithVelocity(IHTTPOutput output, Locale locale, String
resourceKey,
-    Map<String,String> substitutionParameters, boolean mapToUpperCase)
-    throws ManifoldCFException
-  {
-    outputResourceWithVelocity(output,Messages.class,DEFAULT_BUNDLE_NAME,DEFAULT_PATH_NAME,locale,resourceKey,
-      substitutionParameters,mapToUpperCase);
-  }
-
-  public static void outputResourceWithVelocity(IHTTPOutput output, Locale locale, String
resourceKey,
-    Map<String,Object> contextObjects)
-    throws ManifoldCFException
-  {
-    outputResourceWithVelocity(output,Messages.class,DEFAULT_BUNDLE_NAME,DEFAULT_PATH_NAME,locale,resourceKey,
-      contextObjects);
-  }
-  
-}
-
+/* $Id$ */
+
+/**
+* Licensed to the Apache Software Foundation (ASF) under one or more
+* contributor license agreements. See the NOTICE file distributed with
+* this work for additional information regarding copyright ownership.
+* The ASF licenses this file to You under the Apache License, Version 2.0
+* (the "License"); you may not use this file except in compliance with
+* the License. You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+package org.apache.manifoldcf.crawler.connectors.dropbox;
+
+import java.util.Locale;
+import java.util.Map;
+import org.apache.manifoldcf.core.interfaces.ManifoldCFException;
+import org.apache.manifoldcf.core.interfaces.IHTTPOutput;
+
+public class Messages extends org.apache.manifoldcf.ui.i18n.Messages
+{
+  public static final String DEFAULT_BUNDLE_NAME="org.apache.manifoldcf.crawler.connectors.dropbox.common";
+  public static final String DEFAULT_PATH_NAME="org.apache.manifoldcf.crawler.connectors.dropbox";
+  
+  /** Constructor - do no instantiate
+  */
+  protected Messages()
+  {
+  }
+  
+  public static String getString(Locale locale, String messageKey)
+  {
+    return getString(DEFAULT_BUNDLE_NAME, locale, messageKey, null);
+  }
+
+  public static String getAttributeString(Locale locale, String messageKey)
+  {
+    return getAttributeString(DEFAULT_BUNDLE_NAME, locale, messageKey, null);
+  }
+
+  public static String getBodyString(Locale locale, String messageKey)
+  {
+    return getBodyString(DEFAULT_BUNDLE_NAME, locale, messageKey, null);
+  }
+
+  public static String getAttributeJavascriptString(Locale locale, String messageKey)
+  {
+    return getAttributeJavascriptString(DEFAULT_BUNDLE_NAME, locale, messageKey, null);
+  }
+
+  public static String getBodyJavascriptString(Locale locale, String messageKey)
+  {
+    return getBodyJavascriptString(DEFAULT_BUNDLE_NAME, locale, messageKey, null);
+  }
+
+  public static String getString(Locale locale, String messageKey, Object[] args)
+  {
+    return getString(DEFAULT_BUNDLE_NAME, locale, messageKey, args);
+  }
+
+  public static String getAttributeString(Locale locale, String messageKey, Object[] args)
+  {
+    return getAttributeString(DEFAULT_BUNDLE_NAME, locale, messageKey, args);
+  }
+  
+  public static String getBodyString(Locale locale, String messageKey, Object[] args)
+  {
+    return getBodyString(DEFAULT_BUNDLE_NAME, locale, messageKey, args);
+  }
+
+  public static String getAttributeJavascriptString(Locale locale, String messageKey, Object[]
args)
+  {
+    return getAttributeJavascriptString(DEFAULT_BUNDLE_NAME, locale, messageKey, args);
+  }
+
+  public static String getBodyJavascriptString(Locale locale, String messageKey, Object[]
args)
+  {
+    return getBodyJavascriptString(DEFAULT_BUNDLE_NAME, locale, messageKey, args);
+  }
+
+  // More general methods which allow bundlenames and class loaders to be specified.
+  
+  public static String getString(String bundleName, Locale locale, String messageKey, Object[]
args)
+  {
+    return getString(Messages.class, bundleName, locale, messageKey, args);
+  }
+
+  public static String getAttributeString(String bundleName, Locale locale, String messageKey,
Object[] args)
+  {
+    return getAttributeString(Messages.class, bundleName, locale, messageKey, args);
+  }
+
+  public static String getBodyString(String bundleName, Locale locale, String messageKey,
Object[] args)
+  {
+    return getBodyString(Messages.class, bundleName, locale, messageKey, args);
+  }
+  
+  public static String getAttributeJavascriptString(String bundleName, Locale locale, String
messageKey, Object[] args)
+  {
+    return getAttributeJavascriptString(Messages.class, bundleName, locale, messageKey, args);
+  }
+
+  public static String getBodyJavascriptString(String bundleName, Locale locale, String messageKey,
Object[] args)
+  {
+    return getBodyJavascriptString(Messages.class, bundleName, locale, messageKey, args);
+  }
+
+  // Resource output
+  
+  public static void outputResource(IHTTPOutput output, Locale locale, String resourceKey,
+    Map<String,String> substitutionParameters, boolean mapToUpperCase)
+    throws ManifoldCFException
+  {
+    outputResource(output,Messages.class,DEFAULT_PATH_NAME,locale,resourceKey,
+      substitutionParameters,mapToUpperCase);
+  }
+  
+  public static void outputResourceWithVelocity(IHTTPOutput output, Locale locale, String
resourceKey,
+    Map<String,String> substitutionParameters, boolean mapToUpperCase)
+    throws ManifoldCFException
+  {
+    outputResourceWithVelocity(output,Messages.class,DEFAULT_BUNDLE_NAME,DEFAULT_PATH_NAME,locale,resourceKey,
+      substitutionParameters,mapToUpperCase);
+  }
+
+  public static void outputResourceWithVelocity(IHTTPOutput output, Locale locale, String
resourceKey,
+    Map<String,Object> contextObjects)
+    throws ManifoldCFException
+  {
+    outputResourceWithVelocity(output,Messages.class,DEFAULT_BUNDLE_NAME,DEFAULT_PATH_NAME,locale,resourceKey,
+      contextObjects);
+  }
+  
+}
+

Propchange: manifoldcf/branches/CONNECTORS-676/connectors/dropbox/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/dropbox/Messages.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: manifoldcf/branches/CONNECTORS-676/connectors/dropbox/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/dropbox/Messages.java
------------------------------------------------------------------------------
    svn:keywords = Id

Copied: manifoldcf/branches/CONNECTORS-676/connectors/dropbox/connector/src/main/native2ascii/org/apache/manifoldcf/crawler/connectors/dropbox/common_en_US.properties
(from r1470161, manifoldcf/branches/CONNECTORS-676/connectors/dropbox/connector/src/main/native2ascii/org.apache.manifoldcf.crawler.connectors.dropbox/common_en_US.properties)
URL: http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-676/connectors/dropbox/connector/src/main/native2ascii/org/apache/manifoldcf/crawler/connectors/dropbox/common_en_US.properties?p2=manifoldcf/branches/CONNECTORS-676/connectors/dropbox/connector/src/main/native2ascii/org/apache/manifoldcf/crawler/connectors/dropbox/common_en_US.properties&p1=manifoldcf/branches/CONNECTORS-676/connectors/dropbox/connector/src/main/native2ascii/org.apache.manifoldcf.crawler.connectors.dropbox/common_en_US.properties&r1=1470161&r2=1470302&rev=1470302&view=diff
==============================================================================
--- manifoldcf/branches/CONNECTORS-676/connectors/dropbox/connector/src/main/native2ascii/org.apache.manifoldcf.crawler.connectors.dropbox/common_en_US.properties
(original)
+++ manifoldcf/branches/CONNECTORS-676/connectors/dropbox/connector/src/main/native2ascii/org/apache/manifoldcf/crawler/connectors/dropbox/common_en_US.properties
Sun Apr 21 14:06:30 2013
@@ -1,3 +1,18 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
 DropboxRepositoryConnector.Server=Server
 
 

Added: manifoldcf/branches/CONNECTORS-676/connectors/dropbox/connector/src/main/native2ascii/org/apache/manifoldcf/crawler/connectors/dropbox/common_ja_JP.properties
URL: http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-676/connectors/dropbox/connector/src/main/native2ascii/org/apache/manifoldcf/crawler/connectors/dropbox/common_ja_JP.properties?rev=1470302&view=auto
==============================================================================
--- manifoldcf/branches/CONNECTORS-676/connectors/dropbox/connector/src/main/native2ascii/org/apache/manifoldcf/crawler/connectors/dropbox/common_ja_JP.properties
(added)
+++ manifoldcf/branches/CONNECTORS-676/connectors/dropbox/connector/src/main/native2ascii/org/apache/manifoldcf/crawler/connectors/dropbox/common_ja_JP.properties
Sun Apr 21 14:06:30 2013
@@ -0,0 +1,55 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+DropboxRepositoryConnector.Server=Server
+
+
+DropboxRepositoryConnector.AppKeyColon=Application Key:
+DropboxRepositoryConnector.AppSecretColon=Application Secret:
+
+DropboxRepositoryConnector.KeyColon=Key:
+DropboxRepositoryConnector.SecretColon=Secret:
+DropboxRepositoryConnector.PathColon=Path:
+DropboxRepositoryConnector.RepositoryIDColon=Repository ID:
+DropboxRepositoryConnector.Optional=(optional)
+
+
+DropboxRepositoryConnector.TheAppKeyMustNotBeNull=The Application Key must not be null
+DropboxRepositoryConnector.TheAppSecretMustNotBeNull=The Application Secret must not be null
+
+
+DropboxRepositoryConnector.TheKeyMustNotBeNull=The Key must not be null
+DropboxRepositoryConnector.TheSecretMustNotBeNull=The Secret must not be null
+DropboxRepositoryConnector.PathMustNotBeNull=Path must be not null
+
+DropboxRepositoryConnector.DROPBOXQuery=DROPBOX Query
+
+DropboxRepositoryConnector.DROPBOXQueryColon=DROPBOX Query:
+
+DropboxRepositoryConnector.ParametersColon=Parameters:
+DropboxRepositoryConnector.KeyEquals=key=
+DropboxRepositoryConnector.SecretEquals=secret=
+DropboxRepositoryConnector.AppKeyEquals=app_key=
+DropboxRepositoryConnector.AppSecretEquals=app_secret=
+DropboxRepositoryConnector.BindingEquals=binding=
+DropboxRepositoryConnector.ProtocolEquals=protocol=
+DropboxRepositoryConnector.ServerEquals=server=
+DropboxRepositoryConnector.PortEquals=port=
+DropboxRepositoryConnector.PathEquals=path=
+DropboxRepositoryConnector.RepositoryIdEquals=repositoryId=
+
+DropboxRepositoryConnector.Repository=Repository
+DropboxRepositoryConnector.UserMapping=User Mapping
+

Propchange: manifoldcf/branches/CONNECTORS-676/connectors/dropbox/connector/src/main/native2ascii/org/apache/manifoldcf/crawler/connectors/dropbox/common_ja_JP.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: manifoldcf/branches/CONNECTORS-676/connectors/dropbox/connector/src/main/native2ascii/org/apache/manifoldcf/crawler/connectors/dropbox/common_ja_JP.properties
------------------------------------------------------------------------------
    svn:keywords = Id

Modified: manifoldcf/branches/CONNECTORS-676/connectors/dropbox/pom.xml
URL: http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-676/connectors/dropbox/pom.xml?rev=1470302&r1=1470301&r2=1470302&view=diff
==============================================================================
--- manifoldcf/branches/CONNECTORS-676/connectors/dropbox/pom.xml (original)
+++ manifoldcf/branches/CONNECTORS-676/connectors/dropbox/pom.xml Sun Apr 21 14:06:30 2013
@@ -1,3 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements.  See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License.  You may obtain a copy of the License at
+
+     http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
 
@@ -78,34 +96,31 @@
         </plugins>
     </build>
 
-
-
-    
     <dependencies>
         <dependency>
-            <groupId>org.apache.manifoldcf</groupId>
+            <groupId>${project.groupId}</groupId>
             <artifactId>mcf-core</artifactId>
-            <version>1.1.1</version>
+            <version>${project.version}</version>
         </dependency>
         <dependency>
-            <groupId>org.apache.manifoldcf</groupId>
+            <groupId>${project.groupId}</groupId>
             <artifactId>mcf-pull-agent</artifactId>
-            <version>1.1.1</version>
+            <version>${project.version}</version>
         </dependency>
         <dependency>
-            <groupId>org.apache.manifoldcf</groupId>
+            <groupId>${project.groupId}</groupId>
             <artifactId>mcf-agents</artifactId>
-            <version>1.1.1</version>
+            <version>${project.version}</version>
         </dependency>
         <dependency>
-            <groupId>org.apache.manifoldcf</groupId>
+            <groupId>${project.groupId}</groupId>
             <artifactId>mcf-ui-core</artifactId>
-            <version>1.1.1</version>
+            <version>${project.version}</version>
         </dependency>
         <dependency>
             <groupId>commons-lang</groupId>
             <artifactId>commons-lang</artifactId>
-            <version>2.6</version>
+            <version>${commons-lang.version}</version>
             <type>jar</type>
         </dependency>
         <dependency>
@@ -114,23 +129,22 @@
             <version>1.5.3</version>
             <type>jar</type>
         </dependency>
-    
+        <dependency>
+            <groupId>com.googlecode.json-simple</groupId>
+            <artifactId>json-simple</artifactId>
+            <version>1.1</version>
+            <type>jar</type>
+        </dependency>
         <dependency>
             <groupId>commons-logging</groupId>
             <artifactId>commons-logging</artifactId>
-            <version>1.1.1</version>
+            <version>${commons-logging.version}</version>
             <scope>test</scope>
         </dependency>
         <dependency>
             <groupId>log4j</groupId>
             <artifactId>log4j</artifactId>
-            <version>1.2.16</version>
-            <type>jar</type>
-        </dependency>
-        <dependency>
-            <groupId>com.googlecode.json-simple</groupId>
-            <artifactId>json-simple</artifactId>
-            <version>1.1</version>
+            <version>${log4j.version}</version>
             <type>jar</type>
         </dependency>
     </dependencies>



Mime
View raw message