Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 122983

Summary: Packages Erroneously Not Found
Product: [Eclipse Project] JDT Reporter: Sarah Gerweck <tacpub>
Component: CoreAssignee: JDT-Core-Inbox <jdt-core-inbox>
Status: RESOLVED DUPLICATE QA Contact:
Severity: major    
Priority: P3    
Version: 3.1.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Sarah Gerweck CLA 2006-01-06 18:02:18 EST
I have a project with multiple source folders and complex source include/exclude rules. Among other things, I include something like the following:

Include: com.example.a.b.ClassA;com.example.a.b.ClassB
Exclude: (none)

Now, if I "include com.example.a.b.*" in my other file, I get an underlined _com.example.a_ with a "Package not found." My code shows no errors in Package Explorer, but the source editor shows errors on the include and any attempts to use the class. My Problems view also shows no errors.

Switching to include com.example.a and excluding the unnecessary classes makes the editor happy, but there's no reason it shouldn't properly recognize the included packages.
Comment 1 Jerome Lanneluc CLA 2006-01-09 04:44:43 EST

*** This bug has been marked as a duplicate of 119161 ***