jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Jackrabbit Wiki] Update of "WebDAV" by MarkusLitz
Date Thu, 08 Oct 2009 13:19:21 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Jackrabbit Wiki" for change notification.

The "WebDAV" page has been changed by MarkusLitz:
http://wiki.apache.org/jackrabbit/WebDAV?action=diff&rev1=15&rev2=16

  	
  	System.out.println(copy.getStatusCode() + " "+ copy.getStatusText());
    }}}
+ 
+ ---- /!\ '''Edit conflict - other version:''' ----
    * Reading all properties of a resource
+ 
+ ---- /!\ '''Edit conflict - your version:''' ----
+   * Reading all properties of a resource
+ 
+ ---- /!\ '''End of edit conflict''' ----
    {{{
      DavMethod pFind = new PropFindMethod("http://www.somehost.com/duff/test3.txt", DavConstants.PROPFIND_ALL_PROP,
DavConstants.DEPTH_INFINITY);
      client.executeMethod(pFind);
@@ -108, +115 @@

      }
      
    }}}
+ 
+ ---- /!\ '''Edit conflict - other version:''' ----
    * Getting a list of subresources of a resource
+ 
+ ---- /!\ '''Edit conflict - your version:''' ----
+   * Getting a list of subresources of a resource
+ 
+ ---- /!\ '''End of edit conflict''' ----
    {{{
      String host = "http://www.somehost.com";
      String resourcePath = "/duff";
@@ -131, +145 @@

          DavPropertySet newProps=new DavPropertySet();	
  	DavPropertyNameSet removeProperties=new DavPropertyNameSet();
  	
-         DavProperty testProp=new DefaultDavProperty("TheAnswer","42",DavConstants.NAMESPACE);
+         DavProperty testProp=new DefaultDavProperty("TheAnswer", "42", DavConstants.NAMESPACE);
  	newProps.add(testProp);
- 	PropPatchMethod proPatch=new PropPatchMethod("http://www.somehost.com/duff/test4.txt",newProps,removeProperties);
+ 	PropPatchMethod proPatch=new PropPatchMethod("http://www.somehost.com/duff/test4.txt",
newProps, removeProperties);
  	
  	client.executeMethod(proPatch);
  	System.out.println(proPatch.getStatusCode() + " "+ proPatch.getStatusText());

Mime
View raw message