On Fri, Nov 27, 2009 at 10:06 AM, Alexander Klimetschek
<[email protected]> wrote:

> .../apps/mybundle/config/org.apache.sling.config.log.LogManager.factory
> (using the sling:OsgiConfig nodetype)...

The folder name has to be "install" with the default jcrinstall config
used in Sling (that's DEFAULT_FOLDER_NAME_REGEXP in JcrInstaller.java:
.*/install$).

Or install.foo where foo is a runmode that's currently active, as set
by the org.apache.sling.runmode bundle - this allows you to have
different configs based on run mode.

So that would be

/apps/mybundle/install/org....

and it's correct that the node that holds the config has to be of
sling:OsgiConfig node type.

Note that dashes in the sling:OsgiConfig node name have a special
meaning, they are used to separate between the factory and
configuration PIDs, a node named like o.a.s.foo.bar-a for example uses
"a" as its factory PID, and "o.a.s.foo.bar" as its configuration PID .

-Bertrand

Reply via email to