On Fri, Feb 19, 2010 at 10:41 AM, Carsten Ziegeler <[email protected]> wrote: > Felix Meschberger wrote: >> Hi, >> >> On 19.02.2010 10:17, Vidar Ramdal wrote: >>>> On 18.02.2010 16:27, Justin Edelson wrote: >>>>> On 2/18/10 9:56 AM, Vidar Ramdal wrote: >>>>>> Hi, >>>>>> >>>>>> I need to provide som basic configuration properties for Sling >>>>>> bundles, most notably the admin username/password for the >>>>>> SlingServerRepository. >>>>>> >>>>>> Since these configurations need to be available *before* the >>>>>> repository starts, I cannot rely on loading configuration files from >>>>>> JCR (as described at [1]). >>>>>> >>>>>> Any suggestions? >>>>>> >>>>>> [1] >>>>>> http://sling.apache.org/site/jcr-installer-jcrjcrinstall-and-osgiinstaller.html >>>>>> >>>>> How about Felix's FileInstall: >>>>> http://felix.apache.org/site/apache-felix-file-install.html >>> On Thu, Feb 18, 2010 at 4:38 PM, Felix Meschberger <[email protected]> >>> wrote: >>>> As an alternative we might want to provide (basic) Configuration Admin >>>> support in the launcher ?? [Absolutely not sure about this, though !] >>> That sounds useful. Do you then imagine providing configurations as >>> .properties files, which are picked up by the launcher? >> >> That would be my idea, yes. Similar to the Apache Felix FileInstall >> format ... >> > Hmm, this more and more sounds like redeveloping the file install stuff :) > Isn't it possible to just use that?
Well yes, I suppose. In my mind, the launcher config support would be even more low-level, to allow configuring e.g. the FileInstall component itself. But I have no need for such a thing currently, and probably never will. -- Vidar S. Ramdal <[email protected]> - http://www.idium.no Sommerrogata 13-15, N-0255 Oslo, Norway + 47 22 00 84 00 / +47 21 531941, ext 2070
