Repository Based Development
WebDAV Support
WebDAV support in Sling is based on the Simple WebDAV
implementation of Apache Jackrabbit which is integrated in the jcr/webdav project. By default the WebDAV server is running below /dav URL where the URL path consists of three parts:
prefix/workspace/item
- prefix is the URL prefix to address the WebDAV servlet. By default this is set to /dav but may be configured to any valid path.
- workspace is the name of the workspace to be accessed through WebDAV.
- item is the path to the JCR Item to access.
If you access the WebDAV server at the prefix path – e.g. !http://localhost:8080/dav – you will be redirected to the default workspace with a temporary redirect status 302. Some clients, such as the Linux davfs, do not like this redirection and must be configured to explicitly address the default workspace.
In addition to access WebDAV using the prefix, you may access the workspace used by Sling itself by just accessing the Sling root URL with your casual WebDAV client. So if you access Sling from the browser as !http://localhost:8080/sling you may point your WebDAV client to !http://localhost:8080/sling.
Eclipse plugin for JCR
TBD