Return-Path: X-Original-To: apmail-jackrabbit-oak-dev-archive@minotaur.apache.org Delivered-To: apmail-jackrabbit-oak-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 987AF10900 for ; Mon, 10 Feb 2014 10:36:02 +0000 (UTC) Received: (qmail 74779 invoked by uid 500); 10 Feb 2014 10:36:01 -0000 Delivered-To: apmail-jackrabbit-oak-dev-archive@jackrabbit.apache.org Received: (qmail 74602 invoked by uid 500); 10 Feb 2014 10:35:57 -0000 Mailing-List: contact oak-dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: oak-dev@jackrabbit.apache.org Delivered-To: mailing list oak-dev@jackrabbit.apache.org Received: (qmail 74589 invoked by uid 99); 10 Feb 2014 10:35:55 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Feb 2014 10:35:55 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy includes SPF record at spf.trusted-forwarder.org) Received: from [64.18.1.218] (HELO exprod6og125.obsmtp.com) (64.18.1.218) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Feb 2014 10:35:46 +0000 Received: from outbound-smtp-1.corp.adobe.com ([192.150.11.134]) by exprod6ob125.postini.com ([64.18.5.12]) with SMTP ID DSNKUvirbaSiKvUTZbLlcjShactF6vGEPxrR@postini.com; Mon, 10 Feb 2014 02:35:26 PST Received: from inner-relay-1.corp.adobe.com ([153.32.1.51]) by outbound-smtp-1.corp.adobe.com (8.12.10/8.12.10) with ESMTP id s1AAVOvV006316 for ; Mon, 10 Feb 2014 02:31:24 -0800 (PST) Received: from [10.132.1.216] ([10.132.1.216]) by inner-relay-1.corp.adobe.com (8.12.10/8.12.10) with ESMTP id s1AAZOrJ006764 for ; Mon, 10 Feb 2014 02:35:24 -0800 (PST) Message-ID: <52F8AB6E.7040709@apache.org> Date: Mon, 10 Feb 2014 11:35:26 +0100 From: =?ISO-8859-1?Q?Michael_D=FCrig?= User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: oak-dev@jackrabbit.apache.org Subject: Re: Make "Whiteboard" accessible through ContentRepository References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org On 9.2.14 6:49 , Jukka Zitting wrote: > Hi, > > On Sun, Feb 9, 2014 at 4:05 AM, Davide Giannella > wrote: >> It would make for example a lot easier to inject a CommitHook like a >> custom index. So far the only way to achieve so is to recompile the >> oak-run adding .with(new MyIndexProvider()) while I'd rather add a >> Service implementation the OSGi whiteboard. > > Some of us prefer to recompile the jar. :-) Because this usually works, while starting up an OSGi container and deploying bundles usually results in getting tied up in manual dependency analysis and class loader debugging, which is quite distracting if you just want to run a quick benchmark. Well that, my experience anyway. OTHO I agree that we should probably make an OSGi option available since this is our primary deployment scenario. Michael > > Of course that doesn't mean we couldn't do both. If someone's up to > it, an OSGi-based runnable Oak jar would be a nice contribution. > > BR, > > Jukka Zitting >