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 184840 - Conditional recursive listeners
Summary: Conditional recursive listeners
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Parsing & Indexing (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Vitezslav Stejskal
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-23 12:15 UTC by Vitezslav Stejskal
Modified: 2010-05-05 04:59 UTC (History)
1 user (show)

See Also:
Issue Type: TASK
Exception Reporter:


Attachments
The patch supporting -J-Dnetbeans.indexing.recursiveListeners=true/false system property (9.40 KB, patch)
2010-04-23 12:15 UTC, Vitezslav Stejskal
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Vitezslav Stejskal 2010-04-23 12:15:32 UTC
Created attachment 97913 [details]
The patch supporting -J-Dnetbeans.indexing.recursiveListeners=true/false system property

I'm attaching a patch that properly implements -J-Dnetbeans.indexing.recursiveListeners=true/false system property. The property can be used to turn on filesystem's recursive listeners (-J-Dnetbeans.indexing.recursiveListeners=true). By default recursive listeners are turned off and RepositoryUpdater listens on the root of the master filesystem (ie. the original implementation from Nb68).
Comment 1 Vitezslav Stejskal 2010-05-04 09:58:45 UTC
http://hg.netbeans.org/jet-main/rev/a8d727f54043

I applied the patch with a minor modification - the recursive listeners are turned *on* by default. The system property is -J-Dnetbeans.indexing.recursiveListeners=<true|false>.
Comment 2 Quality Engineering 2010-05-05 04:59:18 UTC
Integrated into 'main-golden', will be available in build *201005050200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/
User: 
Log: