Return-Path: X-Original-To: apmail-jackrabbit-users-archive@minotaur.apache.org Delivered-To: apmail-jackrabbit-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 93BA67AC2 for ; Mon, 21 Nov 2011 07:22:31 +0000 (UTC) Received: (qmail 46228 invoked by uid 500); 21 Nov 2011 07:22:30 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 46170 invoked by uid 500); 21 Nov 2011 07:22:27 -0000 Mailing-List: contact users-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@jackrabbit.apache.org Delivered-To: mailing list users@jackrabbit.apache.org Received: (qmail 46154 invoked by uid 99); 21 Nov 2011 07:22:25 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Nov 2011 07:22:25 +0000 X-ASF-Spam-Status: No, hits=4.3 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,HTML_MESSAGE,SPF_NEUTRAL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: 216.139.236.26 is neither permitted nor denied by domain of parvez12@gmail.com) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Nov 2011 07:22:20 +0000 Received: from joe.nabble.com ([192.168.236.139]) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1RSOCW-00041u-DQ for users@jackrabbit.apache.org; Sun, 20 Nov 2011 23:22:00 -0800 Date: Sun, 20 Nov 2011 23:22:00 -0800 (PST) From: parvez12 To: users@jackrabbit.apache.org Message-ID: In-Reply-To: <4EC77B16.2000601@liip.ch> References: <4EC77B16.2000601@liip.ch> Subject: Re: version creation using httpclient MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_2409_6939973.1321860120409" ------=_Part_2409_6939973.1321860120409 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Thanks Mr. christian for your helping mail. I checked all the sites, they use jcr rmi repositories to talk to jackrabbi= t. I will check what parameters we can pass in checkout method to create a ver= sion with a name(say abc). It is unfortunate the team who manage jackrabbit are not providing any documentation, from last two months As a feedback, In webdav implementations of jackrabbit checkout method, we should be able to pass a version name that will get created. When the method is executed we should know get the information about the URL of version of created. There should be simple webdav methods for creating, restoring, a specific version. The labelmethod and reportmethod are useless. regards Parvez Ahmad Hakim Software Researcher Srinagar Kashmir India www.abobjects.com On Sat, Nov 19, 2011 at 3:17 PM, Christian Stocker [via Jackrabbit] wrote: > 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=C2=A0as 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=C2=A0which 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 > > > ________________________________ > If you reply to this email, your message will be added to the discussion > below: > http://jackrabbit.510166.n4.nabble.com/version-creation-using-httpclient-= tp3807209p4085973.html > To unsubscribe from version creation using httpclient, click here. > NAML -- View this message in context: http://jackrabbit.510166.n4.nabble.com/versio= n-creation-using-httpclient-tp3807209p4090782.html Sent from the Jackrabbit - Users mailing list archive at Nabble.com. ------=_Part_2409_6939973.1321860120409--