Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 351896 - References in workspace excludes closed projects
Summary: References in workspace excludes closed projects
Status: RESOLVED INVALID
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Search (show other bugs)
Version: 4.1   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-Search-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-12 16:28 EDT by spamy2004 CLA
Modified: 2011-07-13 02:15 EDT (History)
1 user (show)

See Also:


Attachments
Sample projects to reproduce error (3.59 KB, application/zip)
2011-07-12 16:39 EDT, spamy2004 CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description spamy2004 CLA 2011-07-12 16:28:59 EDT
Build Identifier: 20110218-0911

According to help.eclipse.org "all projects and files in the workspace are included" in the java search with scope workspace.

However, if I close a project referencing a method from another project in the same workspace, then this reference will not show up in the search results.

In my opinion this is a bug as it is in direct contradiction to the documentation which states that "all projects and files in the workspace are included".

Reproducible: Always

Steps to Reproduce:
1. Create a project A with a class AClass and a method AMethod
2. Create a project B with a class BClass and a method BMethod
3. Let BMethod make a call to AMethod (You need to add project A to the required projects for project B) 
4. If both projects are open and you search for references in workspace (ctrl + shift + g) for AMethod, the result shows the reference in BMethod
5. If you close project B now and repeat the same search (step 4) the reference will not show up
Comment 1 spamy2004 CLA 2011-07-12 16:39:26 EDT
Created attachment 199533 [details]
Sample projects to reproduce error
Comment 2 Dani Megert CLA 2011-07-13 02:15:27 EDT
The point of closed projects is to remove them from any operations to save time.