Bug 171541

Summary: [search] Open Type does not show project classes
Product: [Eclipse Project] JDT Reporter: Dirk Flachbart <dflachbart>
Component: CoreAssignee: Frederic Fusier <frederic_fusier>
Status: VERIFIED DUPLICATE QA Contact:
Severity: normal    
Priority: P3    
Version: 3.3   
Target Milestone: 3.3 M5   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Dirk Flachbart CLA 2007-01-24 08:57:56 EST
We upgraded from 3.2.1 to 3.3M4 and noticed that none of the classes from our project source show up in 'Open Type' any more, only runtime and external jar classes. The project had been initially created with "Create project from existing source", so the .project file resides in the source directory (under Clearcase control), and we usually import the existing project into a new workspace.

After creating the new workspace, importing the project, and selecting 'Open Type' for the first time, I see the 'Indexing..." dialog which seems to go through all source files (> 2000), but none of our classes show up. 

This can be easily reproduced with a simple project that contains only a single source file:

(1a) create a new project in workspace, with "Use project folder as source root and create a new class mypackage.MyClass

-or-

(1b) create a new project from existing source that contains a class mypackage.MyClass


(2) select "Open Type", the class 'MyClass' does *not* show up


On the other hand, if 

- the project gets created with "Create separate source and output folders", or
- the external source folder is *linked* to the project

the class will be shown.
Comment 1 Frederic Fusier CLA 2007-01-24 09:10:55 EST

*** This bug has been marked as a duplicate of bug 167743 ***
Comment 2 Maxime Daniel CLA 2007-02-06 02:22:45 EST
Verified for 3.3 M5 using build I20070205-1824.