Return-Path: Delivered-To: apmail-jackrabbit-users-archive@minotaur.apache.org Received: (qmail 19898 invoked from network); 20 Aug 2009 07:30:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 20 Aug 2009 07:30:15 -0000 Received: (qmail 64386 invoked by uid 500); 20 Aug 2009 07:30:34 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 64327 invoked by uid 500); 20 Aug 2009 07:30:33 -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 64316 invoked by uid 99); 20 Aug 2009 07:30:33 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Aug 2009 07:30:33 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of jukka.zitting@gmail.com designates 209.85.218.206 as permitted sender) Received: from [209.85.218.206] (HELO mail-bw0-f206.google.com) (209.85.218.206) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Aug 2009 07:30:24 +0000 Received: by bwz2 with SMTP id 2so3874137bwz.43 for ; Thu, 20 Aug 2009 00:30:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:content-type :content-transfer-encoding; bh=cCaUrZAM64Jr+oldTVtqQsJQ/NheR49quicbF/HpqOI=; b=ZxidALeMiKeTN250rRmWtXLQ5LfkO55UGCjv6uAg6A2BnfbdRj+d/Qx1dRGt0oBuCe ctX9IPznbVHmphNQ+Eh1KfbcKZ8ltbC1pwgbP8hjXh11sOQRN8Ei0MpiKVIkFWaYxWdu yR1oLqxM4PlClARYX8vtBRvCu16Bo+LxYpyqU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; b=XczUE2jWd+znfo8oja9EZn9cVBAj51bp+drXg9mjhRa/DvkBKX2pxjDhGkAzogThvc RjTf3K2CstCHHTzA0NMhoJ/6MiKOtc2nKMWulzlkx6YIXpB5cPM3XqxjvtI5PycOL8Qy cfFdBFNhP5IZDMHkTMkMTkpko4UIUk2Y7HTT8= MIME-Version: 1.0 Received: by 10.204.32.131 with SMTP id c3mr5767832bkd.29.1250753404291; Thu, 20 Aug 2009 00:30:04 -0700 (PDT) In-Reply-To: References: From: Jukka Zitting Date: Thu, 20 Aug 2009 09:29:44 +0200 Message-ID: <510143ac0908200029q71dd405fq47e7853769345d1c@mail.gmail.com> Subject: Re: JCR utilities library (was: how to store images into jackrabbit repository) To: Jackrabbit Users Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi, On Thu, Aug 20, 2009 at 9:19 AM, Bertrand Delacretaz wrote: > I've been thinking for a while that a JCR utilities library that > encapsulates such things ("create a file from this InputStream", > "create child node with a unique name", ...) in JCR would be useful. > > Is there a module in Jackrabbit for such general-purpose JCR > utilities? Or where should that go? jackrabbit-jcr-commons That component has traditionally been more of a support library for jackrabbit-core (and to some extent also for jackrabbit-jcr2spi), but recent work there (see for example the new JcrUtils class) has been targeted more for JCR clients. I'm still not entirely happy about the scope of that component and it actually might make sense to start a fresh new component in the new JCR Commons subproject for this based on selected parts of the existing code. BR, Jukka Zitting