Bug 171541 - [search] Open Type does not show project classes
Summary: [search] Open Type does not show project classes
Status: VERIFIED DUPLICATE of bug 167743
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.3   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.3 M5   Edit
Assignee: Frederic Fusier CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-24 08:57 EST by Dirk Flachbart CLA
Modified: 2007-02-06 02:22 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.