Return-Path: X-Original-To: apmail-jackrabbit-dev-archive@www.apache.org Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2AD534069 for ; Fri, 17 Jun 2011 15:21:29 +0000 (UTC) Received: (qmail 94022 invoked by uid 500); 17 Jun 2011 15:21:28 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 93993 invoked by uid 500); 17 Jun 2011 15:21:28 -0000 Mailing-List: contact dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list dev@jackrabbit.apache.org Received: (qmail 93986 invoked by uid 99); 17 Jun 2011 15:21:28 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Jun 2011 15:21:28 +0000 X-ASF-Spam-Status: No, hits=4.4 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,RFC_ABUSE_POST,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of cadeau77@hotmail.com designates 65.55.90.228 as permitted sender) Received: from [65.55.90.228] (HELO snt0-omc4-s25.snt0.hotmail.com) (65.55.90.228) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Jun 2011 15:21:19 +0000 Received: from SNT140-W51 ([65.55.90.200]) by snt0-omc4-s25.snt0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Fri, 17 Jun 2011 08:20:58 -0700 Message-ID: Content-Type: multipart/alternative; boundary="_c7d2bd37-ea60-43fc-ab96-4b7cc73d0804_" X-Originating-IP: [69.70.200.146] From: "P.A. Cadorette" To: Subject: Newbie question about branching Date: Fri, 17 Jun 2011 15:20:57 +0000 Importance: Normal MIME-Version: 1.0 X-OriginalArrivalTime: 17 Jun 2011 15:20:58.0250 (UTC) FILETIME=[28ACCEA0:01CC2D02] X-Virus-Checked: Checked by ClamAV on apache.org --_c7d2bd37-ea60-43fc-ab96-4b7cc73d0804_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi=2C I'm trying to create branches on versionnable nodes but I can't figure= out how to make it work. VersionManager.checkout( node.getPath() )=3B node.setProperty("blah"=2C"blah")=3B ... Version v =3D VersionManager.checkin(node.getPath())=3B //this genearate a new version lets say 1.10 //I'd like to create 1.10.1 I tried to get the checkout the version -- not possible change property of the frozen node -- not possible What am I missing? Thanks Alexandre = --_c7d2bd37-ea60-43fc-ab96-4b7cc73d0804_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi=2C

 =3B =3B =3B =3B I'm trying to create branches= on versionnable nodes but I can't figure out how to make it work.

V= ersionManager.checkout( node.getPath() )=3B
node.setProperty("blah"=2C"b= lah")=3B
...
Version v =3D VersionManager.checkin(node.getPath())=3B<= br>
//this genearate a new version lets say 1.10
//I'd like to create=  =3B 1.10.1

I tried to get the checkout the version -- not possi= ble
change property of the frozen node -- not possible

What am I = missing?


Thanks

Alexandre
= --_c7d2bd37-ea60-43fc-ab96-4b7cc73d0804_--