Re: BUG (!?) in HTTPFrame: Non-existing files are not removed...

Hi !

----

Yves Lafon wrote:

> On Sun, 10 Oct 1999, Roland Mainz wrote:
>
> > Yesterday I digged out a problem with jigsaw:
> > It seems that directory listings contains file (resources) which have
> > been removed long-long ago, wasting the database.
> >
> > I wrote a small fix in HTTPFrame.java's getDirectoryListing(Request);
> > which removes non-existing file resources (removing other resources may
> > be tricky - servlets for example may exists only as a "virtual"
> > HTTP name and not on disk at that location...).
> > Better would be to find a genernal way of automatic cleanup (which
> > should be enabled as default). The following solution only keeps the
> > directory listing clean&&valid:
>
> Accessing to the deleted resource will automatically remove them, but
> doing this here is also valid as it cleans the store along with displaying
> only valid information to the user.

I still miss such a function within JigAdmin(2), e.g. a menu-item "Clean-up
files...".
A menu-item "Reindex current dir..." would also be nice - most times
recursive reindexing isn't wanted - try to reindex the JAVA 2 API JavaDocs,
and you'll notice what I mean =:-)

----

Bye,
Roland

--
  __ .  . __
 (o.\ \/ /.o) Roland.Mainz@informatik.med.uni-giessen.de
  \__\/\/__/  gisburn@informatik.med.uni-giessen.de
  /O /==\ O\  MPEG specialist, C&&JAVA&&Sun&&Unix programmer
 (;O/ \/ \O;) TEL +49 (0) 641/99-13193 FAX +49 (0) 641/99-41359

Received on Tuesday, 12 October 1999 09:55:25 UTC