> 1. In 'public ObjectNode retrieveObject(Uri uri)' around line 224
>
> old:      File file = new File(rootpath+ relative + ".structure");
>
> new:     File file = new File(new File(rootpath), relative +
".structure");
>
> The reason being that proper file path concatenation cannot be done with
> '+'. For example, I got rootpath='files', relative='users' and the result
> was file=filesusers.structure
>
> 2. Same place around line 260
>
> old            File file = new File(rootpath+uri.getRelative());
>
> new:             File file = new File(new File(rootpath),
> uri.getRelative());
>
> 3. Same place around line 243

Yes indeed.

It would be a good idea to use this store (when it's done, of course) as the
default store. Unfortunately, I don't have a lot of time to dedicate to it,
so feel free to volunteer to work on it.
If I remember well, the code was very preliminary, and I didn't like the
design that much. So if you don't like it either, you can also dump the
current code and start it again from scratch.

Also, it was proposed some time ago that the .structure and the other
metadata files would contain XML data.

Remy

Reply via email to