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 219896 - Text index does not work with relocatable cache
Summary: Text index does not work with relocatable cache
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Vladimir Voskresensky
URL:
Keywords:
Depends on: 219600
Blocks:
  Show dependency tree
 
Reported: 2012-10-11 09:38 UTC by Egor Ushakov
Modified: 2012-12-22 02:29 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Egor Ushakov 2012-10-11 09:38:47 UTC
Text index disabled for now can be enabled with cnd.model.text.index=true.
Currently it resides in global cache directory, but if we use relocatable cache they should be stored together.
Comment 1 Quality Engineering 2012-10-31 02:58:20 UTC
Integrated into 'main-golden', will be available in build *201210310001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/d028ba809e95
User: Egor Ushakov <gorrus@netbeans.org>
Log: fixing #219896 - Text index does not work with relocatable cache:
- initial version of APTIndexingWalker
Comment 2 Egor Ushakov 2012-11-21 13:54:31 UTC
fixed in:
http://hg.netbeans.org/cnd-main/rev/4d2a228bf484
Comment 3 Quality Engineering 2012-11-30 02:41:10 UTC
Integrated into 'main-golden', will be available in build *201211300001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/4d2a228bf484
User: Egor Ushakov <gorrus@netbeans.org>
Log: fixed #219896 - Text index does not work with relocatable cache
Comment 4 Egor Ushakov 2012-12-18 13:28:08 UTC
still does not work because unitIds may change if several projects are opened
Comment 5 Quality Engineering 2012-12-21 02:35:50 UTC
Integrated into 'main-golden', will be available in build *201212210001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/fd439f92520b
User: Egor Ushakov <gorrus@netbeans.org>
Log: fixing #219896 - Text index does not work with relocatable cache:
- replaced map with a queue
Comment 6 Vladimir Voskresensky 2012-12-21 14:05:53 UTC
I will finish it
Comment 7 Vladimir Voskresensky 2012-12-21 16:00:09 UTC
support in repository
http://hg.netbeans.org/cnd-main/rev/87171af475ce

use in index:
http://hg.netbeans.org/cnd-main/rev/4dd737aa6e6c
Comment 8 Quality Engineering 2012-12-22 02:29:51 UTC
Integrated into 'main-golden', will be available in build *201212220001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/87171af475ce
User: Vladimir Voskresensky <vv159170@netbeans.org>
Log: fixing #219896 - Text index does not work with relocatable cache
- introduce relocation support service API and provide it from repository Impl