ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 45499] DirectoryScanner infinitely recurses on symlinks to parent directories
Date Thu, 04 Sep 2008 02:04:49 GMT

--- Comment #4 from Tim Whittington <>  2008-09-03 19:04:48
PST ---
(In reply to comment #1)
> I'm not convinced that ignoring the symlink completely is the right thing to
> do, we probably should follow it but make sure we don't scan directories we've
> already seen again.

It looks like DirectoryScanner already avoids scanning directories it's already
encountered (via hasBeenScanned(String)). I haven't verified this actually
works as intended though, and it only seems to fire on fast scans.

I'd struggle to imagine a real use case for a symlink to a parent directory
that I'd actually want to recurse through, but it'd be sensible if you're
looking for a bullet-proof general solution.

Configure bugmail:
------- You are receiving this mail because: -------
You are on the CC list for the bug.

View raw message