Return-Path: Delivered-To: apmail-incubator-stanbol-dev-archive@minotaur.apache.org Received: (qmail 56900 invoked from network); 1 Mar 2011 18:02:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 1 Mar 2011 18:02:11 -0000 Received: (qmail 63767 invoked by uid 500); 1 Mar 2011 18:02:11 -0000 Delivered-To: apmail-incubator-stanbol-dev-archive@incubator.apache.org Received: (qmail 63645 invoked by uid 500); 1 Mar 2011 18:02:09 -0000 Mailing-List: contact stanbol-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: stanbol-dev@incubator.apache.org Delivered-To: mailing list stanbol-dev@incubator.apache.org Received: (qmail 63635 invoked by uid 99); 1 Mar 2011 18:02:08 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Mar 2011 18:02:08 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of olivier.grisel@gmail.com designates 209.85.216.47 as permitted sender) Received: from [209.85.216.47] (HELO mail-qw0-f47.google.com) (209.85.216.47) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Mar 2011 18:02:02 +0000 Received: by qwi2 with SMTP id 2so3796974qwi.6 for ; Tue, 01 Mar 2011 10:01:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:from :date:x-google-sender-auth:message-id:subject:to:cc:content-type; bh=xj7fe3rSymyoOEP2OrnV2w19nNT4jj82dXMu/NfrWTw=; b=feNi43uvGv9sIy4ofaWfIRGsPf/eI/D/tWuncIhFzNEHLAF3Zd6yF8PvbY4cZVTsMm svAvjH1ioZcklIrXDj7ex8/Co00a8NjucSfW2s9l/blJnETnt8huDYHWFGlXcve3VOv8 l4pFlTIlcx6j5tSAfcRAkeD+GkUH9pZTxOK9E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type; b=bcgvBBJ57v20PyE+YAKVplAae9/UJ5dRJnpF5J046frPRZjlFw9uzJeFElnORqarI4 n8A0jC2j2KMcF50RZqCz6gOtk8DnXiFpfhvylr0m/skGcmY/RboT93yJ7Wq2EjuQxRbX XZnMRtQKz0IFe+saI/xZk8JlRYwylnwNFjunw= Received: by 10.229.221.17 with SMTP id ia17mr5623943qcb.6.1299002501157; Tue, 01 Mar 2011 10:01:41 -0800 (PST) MIME-Version: 1.0 Sender: olivier.grisel@gmail.com Received: by 10.229.88.71 with HTTP; Tue, 1 Mar 2011 10:01:21 -0800 (PST) In-Reply-To: References: From: Olivier Grisel Date: Tue, 1 Mar 2011 19:01:21 +0100 X-Google-Sender-Auth: Mszt4jghUU1bmQDcXexHCI5JeUE Message-ID: Subject: Re: Default OSGi configs (was: Redesigning the Entityhub Configuration) To: stanbol-dev@incubator.apache.org Cc: Bertrand Delacretaz Content-Type: text/plain; charset=UTF-8 X-Virus-Checked: Checked by ClamAV on apache.org 2011/3/1 Olivier Grisel : > 2011/3/1 Bertrand Delacretaz : >> Hi, >> >> On Tue, Mar 1, 2011 at 5:26 PM, Olivier Grisel wrote: >>> ...As for the packaging of the default OSGi configuration I do not really >>> know. Maybe you should ask on the sling and felix user mailing lists? >>> >>> One potential solution would be to make the sling launcher deploy some >>> default OSGi config files into the initial sling/config/ folder >>> created at the first start of the launcher. I don't know how to do >>> that though.... >> >> What's the goal, exactly? >> >> Include default OSGi configurations in the runnable jar, that people >> can then edit using the OSGi console if needed? > > I think that would address most of Rupert's issues. Rupert can you confirm? > >> There are utilities to do this in the Sling launcher, I'll need to >> look up the details though. > > That would be interesting to update the sling launcher documentation > to reflect those capabilities. Maybe just including a > src/main/resources/config/ folder in the launcher source tree with the > default config inside would work? I will give it a try. It works for overriding the sling.properties file but does not work to initialize the config/ folder ... That would have been to easy :) -- Olivier http://twitter.com/ogrisel - http://github.com/ogrisel