jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Stocker <christian.stoc...@liip.ch>
Subject Re: version creation using httpclient
Date Sat, 19 Nov 2011 09:47:02 GMT
Hi

Instead of just waiting for an answer, you could have invested some time
by yourself. Debugging a http-protocol isn't too hard.

1) write a simple java client, which does what you want. You can take
https://github.com/jackalope/JavaDavexClient as an example for that

2) Set up a proxy, which intercepts the HTTP traffic. like
http://www.charlesproxy.com/

3) go and see what it does.

If you're more into PHP than Java, you could also check out
https://github.com/jackalope/jackalope which talks to jackrabbit via
webdav and implements the major things (like versioning)

and to your question: Use CHECKIN and CHECKOUT as HTTP methods to create
new versions. But that really isn't too hard to figure out by yourself,
it's open source after all ;)

christian

On 19.11.11 06:54, Parvez Ahmad wrote:
> It is sad to see that those how created jackrabbit and sling do not know how to
> create a version using webdav.
> Really too bad thing for open source

Mime
View raw message