Bug 8342 - Rebuilding project results in duplicate error message
Summary: Rebuilding project results in duplicate error message
Status: RESOLVED DUPLICATE of bug 8340
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.0   Edit
Hardware: PC other
: P3 normal (vote)
Target Milestone: 2.0 M3   Edit
Assignee: Kent Johnson CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-01-23 18:34 EST by Knut Radloff CLA
Modified: 2002-01-31 12:05 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Knut Radloff CLA 2002-01-23 18:34:04 EST
build 20020123

I have a workspace with a project org.eclipse.jdt.ui defined by the PDE 
selfhosting plugin. After I used the import feature of that plugin to create a 
selfhosting workspace I had an error "The project was not built since it is 
inconsistent. Refresh this project then rebuild it".
When I refresh the project and rebuild I get another error with the same 
message. The errors don't go away.

Before I added the org.eclipse.jdt.ui project I deleted a manually imported one 
of the same name. I'm pretty sure I selected to delete the contents from disk 
as well but it was still there when I checked after getting the above error 
message. Note that the deleted files were in my workspace directory whereas the 
PDE selfhosting import creates a project residing in the plugin directory. It 
doesn't create it in the workspace directory. That is why the refresh from 
local did not add the stale files from my workspace directory. Perhaps the 
builder got confused by the change in project location?
I'm uploading my workspace to walleye as 
va2000/INCOMING/forKnut/<thisbugnumber>.zip
Comment 1 Kent Johnson CLA 2002-01-30 11:20:34 EST
I think this is related to 8509.

When the original project was deleted it wasn't completely removed.
Comment 2 Kent Johnson CLA 2002-01-30 15:35:53 EST
Knut: the zip file on walleye does not include the projects org.eclipse.jdt.ui 
& org.eclipse.ui.

Both projects believe they're in D:\Images\Eclipse\dev\eclipse20020122\plugins
Comment 3 Knut Radloff CLA 2002-01-30 17:40:06 EST
It should be sufficient if you copy the missing projects/plugins from any 
current drop to the referenced location (D:\Images\Eclipse\dev\eclipse20020122
\plugins). I don't think it matters what code you are working with during the 
rebuild after refreshing. The duplicate errors probably appear because of some 
weird workspace state and not because of the actual code that is used by the 
builder.
Comment 4 Kent Johnson CLA 2002-01-31 12:05:34 EST
All the prereq projects for org.eclipse.jdt.ui & org.eclipse.ui are closed.

In the latest build, you will see a warning for each prereq project which is 
closed. In previous builds, closed projects threw CoreExceptions which were 
trapped with the generic error message you received.

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