jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Klimetschek" <aklim...@day.com>
Subject Re: webdav integration
Date Thu, 17 Jul 2008 11:07:19 GMT

you can extend the SimpleWebdavServlet (inside jackrabbit-jcr-server
and you also need the jackrabbit-webdav lib). The only thing you will
have to do is to overwrite the getRepository() method and provide your
own (Transient)Repository. Then you need to have a servlet container
started from within your application or junit test (I think Jetty is
the simplest for this task).

Have a look at the javadocs:

See also http://wiki.apache.org/jackrabbit/WebDAV for some infos and
links to the javadocs.

Otherwise you can install a servlet container and deploy the entire


On Wed, Jul 16, 2008 at 9:33 PM, Michael Harris
<michael.e.harris@gmail.com> wrote:
> hello
> new to jackrabbit.  I can setup a a TransientRepository and add nodes to it
> (basically by following first hops). what i wanted to do next was access
> that repo via the webdav api.
> the question is, how do i do this in a junit environment without a
> webserver?  Is it even possible?  So setup the Transient Repo in the test
> setup, then have some sort
> of simple client that accesses that repo via webdav.
> I couldn't find any tutorials/help articles on this sort of thing.
> thanx
> --
> ---------------------
> Michael Harris

Alexander Klimetschek

View raw message