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.

Bug 183352 - Up-to-date check does not work
Summary: Up-to-date check does not work
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Parsing & Indexing (show other bugs)
Version: 6.x
Hardware: PC Linux
: P2 normal (vote)
Assignee: Vitezslav Stejskal
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-01 13:01 UTC by Tomas Mysik
Modified: 2010-04-07 04:40 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Stacktrace showing where the PathRegistry events are fired from (1.49 KB, text/plain)
2010-04-06 12:21 UTC, Vitezslav Stejskal
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Mysik 2010-04-01 13:01:40 UTC
Every IDE start, all the source files are parsed again - from IDE logs [1][2].

Reproducible with a clean userdir.

Product Version: NetBeans IDE Dev (Build 100401-6669ef6fbdd4)
Java: 1.6.0_16; Java HotSpot(TM) 64-Bit Server VM 14.2-b01
System: Linux version 2.6.31-20-generic running on amd64; UTF-8; cs_CZ (nb)

[1]
Indexing of: file:/home/gapon/public_html/testing/zend-quickstart/ took: 31571 ms (New or modified files: 2372, Deleted files: 0)

[2]
Indexing of: file:/home/gapon/public_html/testing/zend-quickstart/ took: 27550 ms (New or modified files: 2372, Deleted files: 0)
Comment 1 Tomas Mysik 2010-04-01 13:28:01 UTC
Not sure whether it makes any difference or not but I opened a PHP project.
Comment 2 Tomas Mysik 2010-04-06 08:40:00 UTC
Tomas promised to have a look at it. Thanks a lot.
Comment 3 Vitezslav Stejskal 2010-04-06 12:19:33 UTC
This problem was exposed by tmysik's http://hg.netbeans.org/web-main/rev/ff0b5d84dedf. There is way too many path related events fired from a php project when it's opened. Some of them are relevant (paths added), some of them are (IMO) bogus (path includes/excludes changes somehow initiated by VisibilityQuery).
Comment 4 Vitezslav Stejskal 2010-04-06 12:21:14 UTC
Created attachment 96762 [details]
Stacktrace showing where the PathRegistry events are fired from
Comment 5 Vitezslav Stejskal 2010-04-06 12:32:57 UTC
http://hg.netbeans.org/jet-main/rev/bc8faac76681
Comment 6 Quality Engineering 2010-04-07 04:40:19 UTC
Integrated into 'main-golden', will be available in build *201004070201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/bc8faac76681
User: Vita Stejskal <vstejskal@netbeans.org>
Log: #183352: do not force full rescan when path root's includes/excludes change