Bug 26128

Summary: packages don't appear in package explorer view
Product: [Eclipse Project] JDT Reporter: Veronika Irvine <veronika_irvine>
Component: CoreAssignee: Jerome Lanneluc <jerome_lanneluc>
Status: VERIFIED FIXED QA Contact:
Severity: critical    
Priority: P3    
Version: 2.1   
Target Milestone: 2.1 M3   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description Veronika Irvine CLA 2002-11-13 12:08:31 EST
200211130841

Check org.eclipse.swt out of the CVS repository.
Copy .classpath_win32 to .classpath in the package explorer view.
The SWT code is compiled but none of the packages appear in the Package 
Explorer view.

To make the packages appear, I had to select the project and in the properties 
dialog go to the source folder of the Java build path.  switch back and forth 
between "use project as source folder" and "use source folders".  Then save 
the "changes".
Comment 1 Jerome Lanneluc CLA 2002-11-13 13:13:46 EST
To workaround the problem, you can also close and reopen the project.
Comment 2 Jerome Lanneluc CLA 2002-11-13 15:18:13 EST
While reconciling the .classpath, we used to compare it with getRawClasspath(). 
However getRawClasspath() reads the .classpath if there is none in memory. Thus 
it appeared there were no change.

Fixed by comparing the .classpath with the in-memory classpath.
Comment 3 David Audel CLA 2002-11-14 11:14:31 EST
Verified.