Erik Hatcher wrote:
I'm coming into this thread with little actual hands-on Slide experience, but I'm curious about this particular topic.Yes, this is certainly possible. It'd be a very useful store to have someone write, in fact. However, it's not particularly easy - a fact which is obvious when you realise that (since you have a mutable filesystem beneath you that you're allowing access to from other sources) your metadata can, at any time, become out of sync with the actual filesystem contents.
Would it be possible to configure Slide (perhaps with a custom metadata implementation) that could point at an existing filesystem directory and still have Slide recognize it fine and the metadata that is served up be based on the actual file/directory properties (like contentlength and contenttype - I hope I've gotten those terms right)?
There are ways to do this accurately on some operating systems (but not with java - you'd need a couple of JNI hooks, I guess) using directory change notification, and you can do a "best effort" implementation on other platforms, but none of this is particularly easy to get right, and it can be fairly difficult to test.
Not trying to put off anyone interested in doing this - it would be extremely useful - just warning that it will tend to be more difficult than a first naive look might suggest.
Mike
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
