hey thanx for the reply. does one need the jackrabbit-webapp.war to use webdav interface? if you need jetty, you are saying there is no way to access the repo without the servlet engine. I guess that makes sense.
so if I deploy the jackrabbit jars and deps with my application war, and have some sort of startup code that creates a TransientRepo (using a struts plugin), can I then access that repo via webdav by going to localhost/myapp/repo-dir? On Thu, Jul 17, 2008 at 7:07 AM, Alexander Klimetschek <[EMAIL PROTECTED]> wrote: > Hi, > > 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: > > http://jackrabbit.apache.org/api/1.4/org/apache/jackrabbit/webdav/simple/SimpleWebdavServlet.html > > 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 > jackrabbit-webapp.war: > > http://www.apache.org/dyn/closer.cgi/jackrabbit/binaries/jackrabbit-webapp-1.4.war > > Regards, > Alex > > On Wed, Jul 16, 2008 at 9:33 PM, Michael Harris > <[EMAIL PROTECTED]> 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 > [EMAIL PROTECTED] > -- --------------------- Michael Harris
