Hey guys,

we're implementing Sling ResourceResolver rules on DayCQ 5.5, but I'm
unsure how to configure them other than with the console. Ideally we'd
configure the resolver using the sling:OsgiConfig nodes, but after creating
a node with the
pid org.apache.sling.jcr.resource.internal.JcrResourceResolverFactoryImpl,
the changes are not picked up. I ended up digging into the source code of
org.apache.sling.resource (deprecated, but that's what the config console
says we're using) and then org.apache.sling.resourceresolver package, but
I'm not quite sure what to make of it, and I figured it would be easier to
ask ;)

I've started reading
http://sling.apache.org/site/mappings-for-resource-resolution.html which
seems to be the appropriate way of implementing rules, but I wonder how it
relates to the rules entered in the console (under
localhost:4502/system/console/configMgr).

What is the recommended way of configuring the resolver? Obviously, having
someone enter the rules manually on the console is not an option, so
something that is stored in the tree and can be packaged and redeployed
would be ideal. Is there a way to configure the ResourceResolver (the
JcrResourceResolverImpl to be more precise) via sling:OsgiConfig?

Thanks so much for any help.

-- 
Cheers,
Jakob

Reply via email to