chemistry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject svn commit: r1340116 - in /chemistry/opencmis/trunk: chemistry-opencmis-server/chemistry-opencmis-server-inmemory/ chemistry-opencmis-test/chemistry-opencmis-test-client/ chemistry-opencmis-test/chemistry-opencmis-test-client/src/main/java/org/apache/c...
Date Fri, 18 May 2012 14:50:37 GMT
Author: jens
Date: Fri May 18 14:50:36 2012
New Revision: 1340116

URL: http://svn.apache.org/viewvc?rev=1340116&view=rev
Log:
cleanup logging after switch to slf4j, minor bug fixes

Modified:
    chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/pom.xml
    chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-client/pom.xml
    chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-client/src/main/java/org/apache/chemistry/opencmis/client/main/ObjGenApp.java

Modified: chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/pom.xml
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/pom.xml?rev=1340116&r1=1340115&r2=1340116&view=diff
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/pom.xml
(original)
+++ chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/pom.xml
Fri May 18 14:50:36 2012
@@ -143,6 +143,11 @@
             <version>2.4</version>
             <scope>provided</scope>
         </dependency>
+        <dependency>
+            <groupId>org.slf4j</groupId>
+            <artifactId>slf4j-log4j12</artifactId>
+            <version>1.6.4</version>          
+        </dependency>
         <!-- copy the dependencies from the server bindings here, because mvn eclipse
ignores them from a .war -->
         <dependency>
             <groupId>commons-fileupload</groupId>

Modified: chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-client/pom.xml
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-client/pom.xml?rev=1340116&r1=1340115&r2=1340116&view=diff
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-client/pom.xml
(original)
+++ chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-client/pom.xml
Fri May 18 14:50:36 2012
@@ -79,5 +79,10 @@
             <artifactId>commons-io</artifactId>
             <version>2.0.1</version>
         </dependency>     
+        <dependency>
+            <groupId>org.slf4j</groupId>
+            <artifactId>slf4j-log4j12</artifactId>
+            <version>1.6.4</version>          
+        </dependency>        
     </dependencies>
 </project>

Modified: chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-client/src/main/java/org/apache/chemistry/opencmis/client/main/ObjGenApp.java
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-client/src/main/java/org/apache/chemistry/opencmis/client/main/ObjGenApp.java?rev=1340116&r1=1340115&r2=1340116&view=diff
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-client/src/main/java/org/apache/chemistry/opencmis/client/main/ObjGenApp.java
(original)
+++ chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-client/src/main/java/org/apache/chemistry/opencmis/client/main/ObjGenApp.java
Fri May 18 14:50:36 2012
@@ -240,7 +240,8 @@ public class ObjGenApp {
             System.out.println("Usage:");
             parser.printHelpOn(System.out);
             System.out.println();
-            System.out.println("Command is one of [CreateDocument, CreateFolder, FillRepository,
RepositoryInfo, CreateFiles]");
+            System.out.println("Command is one of [CreateDocument, CreateFolder, FillRepository,
RepositoryInfo, CreateFiles, " +
+            		"CopyFiles, CopyFilesTest]");
             System.out.println("JVM system properties: " + PROP_ATOMPUB_URL + ", " + PROP_WS_URL
+ ", " + PROP_BROWSER_URL);
             System.out.println("                       " + PROP_USER + ", " + PROP_PASSWORD);
             System.out.println();
@@ -557,7 +558,7 @@ public class ObjGenApp {
         if (null == name || name.length() == 0)
             name = dirName;
         
-        if (null == fRepoId || repoId.length() == 0) {
+        if (null == repoId || repoId.length() == 0) {
             System.out.println("Error: You have to provide a repository id");
             return;
         }
@@ -594,7 +595,7 @@ public class ObjGenApp {
         if (binding.equals(BindingType.ATOMPUB.value())) {
             parameters.put(SessionParameter.ATOMPUB_URL, getAtomPubUrl());
             filLoginParams(parameters, getUser(), getPassword());
-        } if (binding.equals(BindingType.WEBSERVICES.value())) {
+        } else if (binding.equals(BindingType.WEBSERVICES.value())) {
             fillWSParameters(parameters, getWsUrl(), isPrefix(getWsUrl()), getUser(), getPassword());
         } else if (binding.equals(BindingType.BROWSER.value())) {
             parameters.put(SessionParameter.BROWSER_URL, getBrowserUrl());



Mime
View raw message