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.
Hi, when reopening a project, it gets re-parse even if no file has been modified... Thanks, Rolando
Will investigate what's the reason, and see if it's safe to fix in 6.8.
Rolando, could you please take NetBeans' thread dump when it's re-parsing your project?
There is a number of things CND does even if project files are not changed. 1. CND checks if cache version is correct. If not, it discards the cache and reparses everyting. We increment cache version when new features are added. So changing to a newer NetBeans build could trigger complete reparsing. 2. CND reads its caches from /tmp/${USER}-cnd68-caches0 3. CND checks that cache is up to date, by going through all project files and checking that they have not changed. Items 2) and 3) can take noticeable time for a large project. During this activity NetBeans can show "Parsing ..." progress bar, but actually it's not parsing. There is another activity "Scanning projects..." which is not part of CND but is done by NetBeans itself. It builds an index for fast full-text search in the projects. It is not parsing either.
This is incomplete without a thread dump proving that NetBeans is actually parsing. Reading caches and verifying files does not count.
Bug #87590 suggests to change the "Parsing..." message to something like "Loading cache..." to avoid confusion.