The DirectoryWatcher does not track file deletions between runs.
e.g. "scannedFiles" is computed based on the current run and is not
The RepositoryListener on the other-hand does perists ius/artifact
descriptors between runs so needs to verify everything in its repo is
I'm a bit undecided if it's better to track persistence in a listener
or in a specialized directory watcher but for now we're doing it in a
listener. We could factor that out to a common listener super class
p2-dev-bounces@xxxxxxxxxxx wrote on 09/10/2008 05:20:40 PM:
> [image removed]
> [p2-dev] why is it not enough to just listen for removed files
> Jeff McAffer
> P2 developer discussions
> 09/10/2008 05:21 PM
> Sent by:
> Please respond to P2 developer discussions
> in the RepositoryListener there is code that deals with
> etc . it seems to be there as a compensation for a failing it the
> directory watcher where it is not reporting all removed files.
> got an idea what that failing is and how we can address it?
> everyone who uses the dir watcher will have the same problem.
> p2-dev mailing list
p2-dev mailing list