Hi Josh, On Wed, Aug 26, 2009 at 12:10 AM, Josh Kennedy<[email protected]> wrote: > ...I'm new to using spring and jackrabbit and was wondering what the best > approach is to configure jackrabbit when it is deployed inside sling inside > a webapp. Currently the only way I have found to successfully configure it > was by "extending" the jackrabbit-server module and repacking it inside a > custom bundles module. This works but seems a bit contrived. I've > attempted to specify which configuration file to use in the sling.properties > file as well as in the web.xml. Neither seemed to work....
The changes of https://issues.apache.org/jira/browse/SLING-739 should help, can you try that? > ...Also, I would like my content bundles to be able to updated local file > system copies from within the maven build directory as things are changed > inside the JCR.... Not sure what you mean, is that about replicating repository content to the filesystem? > ...From the looks of it, jcr install seems it may be able to > do this, however I haven't had much luck finding any documentation on jcr > install, or examples of it being used. Any pointers in the correct > direction on using jcr install would be greatly appreciated.... My plan is to document jcrinstall once I'm done with SLING-1078, so soon hopefully. Briefly, jcrinstall picks up bundles and configs stored in the repository, and activates them. For example, a bundle found under /libs/foo/install/somebundle.jar will be automatically installed, or removed if that file goes away. Same for a sling:OsgiConfig node at /libs/foo/install/some.config.pid. I'm not sure if that's what you need, but if yes I'm happy to elaborate. -Bertrand
