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

Bug 58964

Summary: Synchronizing while out of synch: give a better error
Product: [Eclipse Project] Platform Reporter: Allan Pratt <apratt>
Component: TeamAssignee: Michael Valenta <Michael.Valenta>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 3.0   
Target Milestone: 3.0 M9   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Allan Pratt CLA 2004-04-16 22:00:26 EDT
If I have changed one of my source files using a mechanism outside Eclipse, my 
workspace is said to be "out of synch" with respect to that file. 

When I run "Team / Synchronize with Repository" using CVS while my workspace is 
out of synch, I get an error message but it's not very specific. It says:

    ERROR: Synchronizing : CVS Workspace

In order to find out what had happened, I had to go to the Error Log view. It 
clearly says this:

An error occurred refreshing <directory name>: Problem accessing resource: 
<path name>. Resource is out of sync with the file system: <project name>

That clear, specific message should appear in the UI somewhere. After all, 
people who aren't doing plug-in development don't usually see the Error Log at 
all.

Better would be to detect this explicitly and offer to synchronize the 
workspace before synchronizing with the repository.
Comment 1 Michael Valenta CLA 2004-04-30 17:06:20 EDT
We need to improve the message and only use a MultiStatus if there are 
multiple problems (in RefreshSubscriberJob)
Comment 2 Michael Valenta CLA 2004-05-05 10:15:00 EDT
Fix released to Head