When indexing a large directory tree, the progress panel stays empty while the
crawler is walking directories. IndexingInfo only knows the UNPACKING and
EXTRACTING types, and both are reported per file; FileIndex.visitDirOrZip
reports nothing when it enters a directory.
On slow file systems, network drives in particular, this phase can take a very
long time, and DocFetcher looks like it has frozen. The user cannot tell whether
the program is still working, nor which directory it is currently on.
I have implemented a status line above the progress table showing the directory
currently being scanned, and would like to offer it as a merge request. The
crawler thread only writes the path to a volatile field; the SWT thread polls it
every 200 ms via Display.timerExec, so the GUI load stays constant regardless of
crawling speed and the indexing itself is not slowed down. Six files, 116 added
lines, no new compiler warnings.
Hi there,
DocFetcher is no longer being developed, it'll only receive bugfixes in the future. Thus, I'm afraid I have to decline the offer. As for the work you've already put in, please note that if you publish your changes, they must be put under the Eclipse Public License. On the other hand, if you keep the changes private, no such requirement applies.
Regards
q:-) <= Quang