= Information about Jakarta Slide


  INTRODUCTION

    This file contains some notes about jakarta slide, which is 
    an implementation of webdav, with both Server and Client components

  LINKS AND NOTES

   http://marc.theaimsgroup.com/?l=slide-user
     A mailing list archive for Jakarta slide

   http://faq.globalvision.com.au/fom-serve/cache/88.html
     A good article about tomcat and slide

 THE CLIENT API
   
   This section contains some information about the Java webdav client api which comes
   with the 'slide' bundle of software

   The client has an 'executeScript' method, so scripts should be supported, I need to
   look in the clientLexer or clientParser to see how to use this feature ??

   The 'WebdavResource' appears to be the key class in the Client Api for WebDav

   http://www.mail-archive.com/slide-user@jakarta.apache.org/
     This mailing list archive has questions and answers about the client api

   $SLIDE_CVS/src/webdav/client/src/org/apache/webdav/cmd/ 
     This cvs location is supposed to contain the source of the webdav client application

 * WebDav client source code | http://cvs.apache.org/viewcvs/jakarta-slide/src/webdav/client/src/org/apache/webdav/cmd/|
   This page contains a 'webview' of the cvs source of the slide webdav client

   This is the basic code to connect to the webdav server using the client API
   we will need at least these imports...

   -->>
    import org.apache.commons.httpclient.HttpException;
    import org.apache.commons.httpclient.HttpStatus;
    import org.apache.util.HttpURL;
    import org.apache.util.QName;
    import org.apache.webdav.lib.Ace;
    import org.apache.webdav.lib.Lock;
    import org.apache.webdav.lib.Privilege;
    import org.apache.webdav.lib.Property;
    import org.apache.webdav.lib.PropertyName;
    import org.apache.webdav.lib.ResponseEntity;
    import org.apache.webdav.lib.WebdavResource;
    import org.apache.webdav.lib.methods.DepthSupport;
    import org.apache.webdav.lib.properties.AclProperty;
    import org.apache.webdav.lib.properties.LockDiscoveryProperty;
    import org.apache.webdav.lib.properties.PrincipalCollectionSetProperty;
    
    httpURL = new HttpURL(uri);
    // It should be used like this way.
    httpURL.setUserInfo(userName, password);
    webdavResource = new WebdavResource(httpURL);
    webdavResource.setDebug(debugLevel);
    webdavResource.getPath());
   --<< 

  We are going to need a classpath which includes something like this
 javac -classpath /var/jakarta-slide-1.0.16/client/lib/webdav.jar:/var/jakarta-slide-1.0.16/client/lib/commons-httpclient.jar GetDavFile.java
 
  
    now use the javadoc for WebdavResource to work out how to put and get

  NOTES

    The Alexis system uses jakarta slide as one of its components. 
    I have had significant trouble in getting it to work properly.
    When Tomcat is stopped and restarted the views of the files
    disappear.