W3C home > Mailing lists > Public > www-jigsaw@w3.org > September to October 1999

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

From: Roland Mainz <Roland.Mainz@informatik.med.uni-giessen.de>
Date: Tue, 12 Oct 1999 15:21:24 +0200
Message-Id: <380335D4.72AC60B6@informatik.med.uni-giessen.de>
To: W3 Jigsaw Mailinglist <www-jigsaw@w3.org>

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 9 April 2012 12:13:33 GMT