Hi, i'm using the fsresource sling extension to access the filesystem when working on JSP, JS, CSS and so on. When just yanking the bundle into the crx and configuring it via the OSGi console, everything works as expected. But when i try to add a new runmode (configurtion), the result is unsatisfying.
Is the path of the main configuration, which i'm using on a local instance to figure out, how to achieve the desired results, but the best i could get was an unbound configuration displayed in the
system/console/configMgr. The contents of the XML file:
<?xml version="1.0" encoding="UTF-8"?> <jcr:root xmlns:sling="http://sling.apache.org/jcr/sling/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0" jcr:primaryType="sling:OsgiConfig" provider.roots="/apps/ui-samples" provider.file="/Volumes/samples/ui/src/main/content/jcr_root/apps/ui-samples" provider.checkinterval="1000"/>
Apparently, the i just thought too complicated about the name of the file.
for instance does the job.
I guess this is because it is factory configuration. Your first attempt created default factory configuration. See example of Log Manager factory config.
Also try to use something like