Return-Path: Delivered-To: apmail-jackrabbit-users-archive@locus.apache.org Received: (qmail 98082 invoked from network); 1 Mar 2007 17:20:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Mar 2007 17:20:46 -0000 Received: (qmail 93977 invoked by uid 500); 1 Mar 2007 17:20:50 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 93962 invoked by uid 500); 1 Mar 2007 17:20:50 -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 93953 invoked by uid 99); 1 Mar 2007 17:20:50 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Mar 2007 09:20:50 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of jukka.zitting@gmail.com designates 66.249.92.171 as permitted sender) Received: from [66.249.92.171] (HELO ug-out-1314.google.com) (66.249.92.171) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Mar 2007 09:20:39 -0800 Received: by ug-out-1314.google.com with SMTP id p31so402129ugc for ; Thu, 01 Mar 2007 09:20:18 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ruQFbtVNd07zS4Dlchux6Gx/J/XX1p2uiLzTirGzxIbzGMOnv4DDmYU4JBktCjSgxRmMqnkA0IpVSzhrfA5KzYmb+b1t7jRzvoYOPxm/vVtv2n5WhhEXB9MDQ2Fh/gBdb93h1Q6PKM8u0Ejw6sriJJ4igHvmjCPE7F6wpu2gzhw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Lwhn5RN9ZG4L4AsQnVdxitwQdsTpfF8/qr6TDQ6BZ2GunK5+Ee+6A3bWLCbm6xWud3oKOnwtur91Kl8PtKCczA6yYV2CFDRQO7ZeEmqH2bWS7X1jUn2nVJGOSaoGxWvuN/4ShgeWG+n0SCDHpKEYpejtWqrXfv+arFFn87RxgBo= Received: by 10.78.170.17 with SMTP id s17mr175245hue.1172769618057; Thu, 01 Mar 2007 09:20:18 -0800 (PST) Received: by 10.78.106.19 with HTTP; Thu, 1 Mar 2007 09:20:18 -0800 (PST) Message-ID: <510143ac0703010920u5b4c02aar5aebb4dc3847277c@mail.gmail.com> Date: Thu, 1 Mar 2007 19:20:18 +0200 From: "Jukka Zitting" To: users@jackrabbit.apache.org Subject: Re: Get versioned file data In-Reply-To: <45E703F1.8030604@gmx.de> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <45E703F1.8030604@gmx.de> X-Virus-Checked: Checked by ClamAV on apache.org Hi, On 3/1/07, Julian Reschke wrote: > Grizz Lee schrieb: > > ... > > Property property = jcrVersion.getProperty("jcr:data"); // throws javax.jcr.PathNotFoundException > > ... > > Property property = > jcrVersion.getNode("jcr:frozenNode").getProperty("jcr:data"); Or even: Property property = jcrVersion.getProperty("jcr:frozenNode/jcr:data"); BR, Jukka Zitting