Bug 5217 - java search scope: missing enclosing project
Summary: java search scope: missing enclosing project
Status: RESOLVED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P2 normal (vote)
Target Milestone: 2.0 M1   Edit
Assignee: Jerome Lanneluc CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 5215 (view as bug list)
Depends on:
Blocks: 5566
  Show dependency tree
 
Reported: 2001-10-24 12:45 EDT by Adam Kiezun CLA
Modified: 2002-01-11 09:13 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 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. ***