Bug 258215 - [jdt-weaving] Index aspects without requiring changes
Summary: [jdt-weaving] Index aspects without requiring changes
Status: RESOLVED FIXED
Alias: None
Product: AJDT
Classification: Tools
Component: UI (show other bugs)
Version: DEVELOPMENT   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 2.0.1   Edit
Assignee: AJDT-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-09 20:01 EST by Ramnivas Laddad CLA
Modified: 2009-10-06 23:50 EDT (History)
1 user (show)

See Also:


Attachments
mylyn/context/zip (1.61 KB, application/octet-stream)
2008-12-10 12:17 EST, Andrew Eisenberg CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ramnivas Laddad CLA 2008-12-09 20:01:25 EST
This is for the weaving-based AJDT.

Currently, AJDT requires a change in an aspect to be indexed (and thus be available with Cttl+Shift+T). For the use cases such as opening a new project (say after a fresh checkout from a version control system), this can be a problem i.e. user may think that the aspect doesn't exist, when in fact it just hasn't been indexed.
Comment 1 Andrew Eisenberg CLA 2008-12-10 11:25:04 EST
Seems that this would be more of a one-time thing, that you may want your aspects (re-)indexed when the weaving plugin is firs installed, and thereafter indexing can be handled by JDT.  

Perhaps a better solution would be to prompt the user on install if they would like aspects re-indexed, and then also provide a button for this in the preferences page.
Comment 2 Andrew Eisenberg CLA 2008-12-10 12:17:31 EST
I committed a small change that puts a button on the preferences page to reindex the whole workspace.  This is not ideal since it is a hidden feature, but is perhaps sufficient for now.  In later versions, I would like to add a prompt on install to reindex.
Comment 3 Andrew Eisenberg CLA 2008-12-10 12:17:34 EST
Created attachment 120075 [details]
mylyn/context/zip
Comment 4 Andrew Eisenberg CLA 2009-10-06 23:50:19 EDT
Fixed.  Now, user is prompted on the first startup after weaving is enabled to reindex all aspects.