On Feb 18, 2008 1:04 PM, Jukka Zitting <[EMAIL PROTECTED]> wrote: > Hi, > > On Feb 18, 2008 11:09 AM, Jacco van Weert <[EMAIL PROTECTED]> wrote: > > I am using JR 1.4 with the Datastore. The Garbage collector is called > and > > the not referenced data files correctly removed. > > But the directory paths aren't removed, in time this will turn into a > huge > > tree of unsed empty directories. > > Is there an way to get rid of those directories? > > As an immediate solution it should be safe to use a script or > something to clear out empty directories in the data store. You might > also want to file an improvement request to make the data store > implementation automatically prune empty directories. Patches are also > welcome. :-) > > It was a nice reason to checkout jackrabbit and build it myself :-) (I got snapshot-1.5) It is a small code change (only 4 lines) to implement the automatic empty directory removal (in org.apache.jackrabbit.core.data.FileDataStore)
How do I proceed?.... improvement request? Greetings, Jacco > > -- > ------------------------------------- > Jacco van Weert -- [EMAIL PROTECTED] > JCR Controller -- http://www.xs4all.nl/~weertj/jcr > JeCARS -- http://jecars.sourceforge.net >
