Bug 39877 - Rebuild All generates extra "Unable to read classpath" entry.
Summary: Rebuild All generates extra "Unable to read classpath" entry.
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: Macintosh Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: 3.0 M2   Edit
Assignee: Jerome Lanneluc CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-10 11:47 EDT by Mike Wilson CLA
Modified: 2003-07-16 06:26 EDT (History)
0 users

See Also:


Attachments
number of items in table does not match table header (35.11 KB, image/png)
2003-07-10 11:52 EDT, Mike Wilson CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Wilson CLA 2003-07-10 11:47:09 EDT
Tested on eclipse-SDK-I20030709-macosx-carbon.tar.gz

1) Connect to eclipse.org
2) load project org.eclipse.swt
3) notice that the Problems view is showing 2 problems:
        The project cannot be built...
        Unable to read 'org.eclipse.swt/.classpath'.
4) select Project -> Rebuild All
5) notice that a second copy of the "Unable to read 'org.eclipse.swt/.classpath'" has appeared.

Each time you select Rebuild All another copy of the problem is generated. I duplicated this 
behavior on both windows and linux/gtk.
Comment 1 Mike Wilson CLA 2003-07-10 11:50:26 EDT
On the mac (only), I am able to replicate an additional problem wherein the number of problems 
being reported does not necessarilly align with the "(nn items)" display in the view title. Will 
attempt to include a screecapture showing this.
Comment 2 Mike Wilson CLA 2003-07-10 11:52:26 EDT
Created attachment 5419 [details]
number of items in table does not match table header
Comment 3 Jerome Lanneluc CLA 2003-07-11 11:21:38 EDT
Now flush classpath format markers before recomputing the resolved classpath.

Added regression test ClasspathTests.testMissingClasspath()
Comment 4 David Audel CLA 2003-07-16 06:26:59 EDT
Verified.