Bug 26128 - packages don't appear in package explorer view
Summary: packages don't appear in package explorer view
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.1   Edit
Hardware: PC Windows 2000
: P3 critical (vote)
Target Milestone: 2.1 M3   Edit
Assignee: Jerome Lanneluc CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-11-13 12:08 EST by Veronika Irvine CLA
Modified: 2002-11-14 11:14 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 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.