Hi, On 19.02.2010 10:41, Carsten Ziegeler 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?
I was thinking much the same, the second I clicked the send button ;-) Maybe this is an option in the form of: launchpad unpacks its resources in the file system already -- and instead of implementing our own bundle installation/configuration we just configure a "private FileInstall instance" to watch over this territory... Thus dynamic update is then possible by dropping files there (in addition to using JCR Install)... But this might require some more work to be applied to File Install to support our SNAPSHOT bundle update and start level support .. (or we adapt to similar support of File Install, provided it exists already). Regards Felix > > Carsten
