On Thu, Aug 5, 2010 at 10:26 AM, Federico Paparoni
<[email protected]> wrote:
> I would like to manage a properties file in my bundle and I'm trying to
> understand which is the "Sling-way" to do this.
> Surely it's possible to deploy a JSON/XML node but I don't really like this
> way (and I think it isn't the only one).
> Reading the "Configuration support" page (
> http://sling.apache.org/site/configuration.html) I understood that I can
> manage the properties file using OSGi mechanism (properties under
> conf/config.properties right?). Is it the best way in Sling? Or can I use
> something else?

What are the properties for? Configuration of your components?
If so, I'd use the OSGi configuration support, which will make the
configuration available in the Felix Web Console.

-- 
Vidar S. Ramdal <[email protected]> - http://www.idium.no
Sommerrogata 13-15, N-0255 Oslo, Norway
+ 47 22 00 84 00 / +47 22 00 84 76
Quando omni flunkus moritatus!

Reply via email to