From users-return-15197-apmail-jackrabbit-users-archive=jackrabbit.apache.org@jackrabbit.apache.org Sat May 01 14:15:34 2010 Return-Path: Delivered-To: apmail-jackrabbit-users-archive@minotaur.apache.org Received: (qmail 40224 invoked from network); 1 May 2010 14:15:33 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 1 May 2010 14:15:33 -0000 Received: (qmail 67808 invoked by uid 500); 1 May 2010 14:15:33 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 67760 invoked by uid 500); 1 May 2010 14:15:32 -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 67751 invoked by uid 99); 1 May 2010 14:15:32 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 May 2010 14:15:32 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of jawad.bokhari@gmail.com designates 209.85.221.188 as permitted sender) Received: from [209.85.221.188] (HELO mail-qy0-f188.google.com) (209.85.221.188) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 May 2010 14:15:24 +0000 Received: by qyk26 with SMTP id 26so1587239qyk.19 for ; Sat, 01 May 2010 07:15:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=pf45UUGeBMtXA51RaymGSwWRJPvrSWFGD8JgxQGKr28=; b=VH/sK5kTjVL1rR/O1RROhuu3OUFuKOpHMVDBg9+VdkM1U/pzEC94uUDlvsYTPEWopK hahvMvIklm509Fo6B4p3ZQxA//msr4FSH7Xh1S0sG3vB6srwtYyK/T9oM+okP9ZP+cA3 RCjuY0PHwcOQr5quVRRIU80ed8dA4+zQ8qCWM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=Ux8yGw2527l3csvTMa7VZjUAmEgII3q/i6rVhNYaQSeyGqQWFjTngiNYBbfX/gOhdF Q4ByoSfL1mhWUAJC/Y80ajsYtRR5iTq2noawQXoAtZ47QsWnXPzNq93Nkm33lJy/qVfa lqRijWqAow2J7videmH0HMJug7u8n/VKRaZmY= MIME-Version: 1.0 Received: by 10.229.232.144 with SMTP id ju16mr880305qcb.107.1272723303247; Sat, 01 May 2010 07:15:03 -0700 (PDT) Received: by 10.229.86.145 with HTTP; Sat, 1 May 2010 07:15:03 -0700 (PDT) Date: Sat, 1 May 2010 19:15:03 +0500 Message-ID: Subject: Shareable Nodes Implementation From: Jawad Bokhari To: users@jackrabbit.apache.org Content-Type: multipart/alternative; boundary=0016363b877c633015048588fc8f X-Virus-Checked: Checked by ClamAV on apache.org --0016363b877c633015048588fc8f Content-Type: text/plain; charset=ISO-8859-1 Hi, I saw Shareable Nodes Model in JSR 283. I wanted to try this out with Jackrabbit, but I can't find any guideline or sample to do that. >From JSR specs, it's clear that I should first decorate a node with mixin type "mix:shareable". But how can I assign a new node the same sharedset as of an already existing node. I actually want to store multiple files with different paths (but with identical content). It appear that Shareable Node model is exactly for the same purpose. But I couldn't find a clue for its implementation anywhere. Thanks for assistance. bokhari --0016363b877c633015048588fc8f--