Michael Harris wrote:
On Fri, Jul 18, 2008 at 4:16 AM, Angela Schreiber <[EMAIL PROTECTED]> wrote:

Michael Harris wrote:

Is the webdav-client part package of jackrabbit solid?

what do you mean by solid?

for example, it seems the SearchMethod is not supported by the
SimpleWebdavServlet.

but e.g. the JcrWebdavServlet does.
the reason for it being missing with the filebase (simple) servlet is
that nobody had time to implement it. not because of the client part.

I can't find any
documentation whatsoever on how to use any of the DavMethod classes in that
package.
in the trunk there is a package.html that explains how
to use the methods. hope that helps... if i remember
correctly it also refers to the apache-httpclient docu.

It might say something to the effect that the Method implementations are
intended to be used with HttpClient, but there is absolutely no information
in the api as to how to do simple things.  At least there should be
something on the wiki.  The webdav wiki entry is severely lacking useful
information.

personnaly i think that there is no use in copying the
documentation from apache/httpclient, which is from my
point of view very good... but probably i'm just too close :)

Im thinking examples on how to list the contents of a repo, how to put a
file in the repo using webdav client, etc.

as the whole jackrabbit-webdav project the webdav client package
has no dependency to the jcr repository or to any other repo.

how you map your own repository content to webdav is therefore
not defined by the library either.
jackrabbit provides to examples of such a mapping:
the SimpleWebdavServlet does so by exposing all nodes of type
'nt:file' as non-collection webdav resources, which is probably the
most natural way for those coming from webdav.

Yes they are defined by the RFC, but going to the RFC to figure out simple
things makes using this api prohibitive.  There is nothing useful revealed
by google, and even searching for slide examples isn't useful because the
client api has changed.

i see. yes, very general introductions and/or step-by-step
tutorials are not there.

if you wish, you may create an improvement request on
the JIRA. i can't promise you anything. but at least
people could provide documentation patches.

in the meantime: feel free to document you experiences
in the wiki.

thanks
angela



regards
angela





Reply via email to