Bug 5217

Summary: java search scope: missing enclosing project
Product: [Eclipse Project] JDT Reporter: Adam Kiezun <akiezun>
Component: CoreAssignee: Jerome Lanneluc <jerome_lanneluc>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P2    
Version: 2.0   
Target Milestone: 2.0 M1   
Hardware: PC   
OS: Windows 2000   
Whiteboard:
Bug Depends on:    
Bug Blocks: 5566    

Description Adam Kiezun CLA 2001-10-24 12:45:10 EDT
205
when you create a search scope on 1 Cu, then no enclosing project is added and
enclosingProjectsAndJars() returns an empty array
Comment 1 Philipe Mulet CLA 2001-10-29 06:20:13 EST
Known limitation for now. 
Comment 2 Philipe Mulet CLA 2001-11-06 06:36:36 EST
From Daniel Megert:

this bug priority 4 but I consider it a major bug because the following things 
in Eclipse do not work due to that bug:

1) Working Sets which contain single resources do not work for Java search 
(they do for text search)
2) The Main Class for a JAR export cannot be set anymore because the MainType 
dialog is empty due to the bad search scope

Dani
Comment 3 Jerome Lanneluc CLA 2001-11-06 12:50:09 EST
Fixed by finding the package fragment root of the java element.
Comment 4 Jerome Lanneluc CLA 2001-11-13 06:03:54 EST
*** Bug 5215 has been marked as a duplicate of this bug. ***