This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Usually it does; sometimes it doesn't. No obvious pattern. Observed with both j2seproject and apisupport/project. Seems to have something to do with what the state of the file was when the query impl was created. Some problems seem to disappear after a test modification and reversion of the file; others do not.
I think I found it. GFBQ was fine (AFAIK). However it was never receiving the right file change events nor was it getting the correct timestamps from class files - because the filesystem was never refreshed. The Ant module tries to refresh all filesystems after a build. But now that masterfs is no longer mounted, it doesn't find any! Correcting so that Ant after a build, as well as File -> Refresh, try to get a handle to masterfs in a crude way (I don't know of a clean API for it) and refresh it. Seems to make the badge work again. GFBQTest was passing (and still passes with masterfs enabled) even though it uses java.io.File in some places to make changes - because it was directly refreshing the correct filesystem. Radek, please do consider deprecating Repository.add/removeFileSystem and maybe printing warnings if someone tries to use Repository methods that refer to mounted filesystems. It would have saved some debugging time in this case at least.
committed * Up-To-Date 1.94 ant/build.xml committed * Up-To-Date 1.11 ant/src-bridge/org/apache/tools/ant/module/bridge/impl/BridgeImpl.java committed * Up-To-Date 1.3 core/src/org/netbeans/core/actions/RefreshAllFilesystemsAction.java
Verified.