Hi Torgeir,

Torgeir Veimo schrieb:

On 12 Aug 2008, at 16:00, Felix Meschberger wrote:

Nothing needs to be changed to the sling.properties file. Just create a configuration object with the "Provider Root" set to the location where you want to hook (mount) the filesystem provider in the resource tree and set the "Filesystem Root" to "." (just a single dot), which is converted to meaning the location of ${sling.home}.

Also, is this provider in current trunk?

The provider is in the trunk at samples/fsresource.


Ok, I found it and tried configuring with eg. provider.roots = test and provider.file = .

I still cannot seem to trigger that this one is being used when trying to access localhost/sling/test/. Any ideas?

Could it be that the provider.roots property must be set with a leading slash as in /test ?

I just tested it with the current trunk state of the provider and it seems to work just fine.

Regards
Felix

Reply via email to