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

Bug 318162

Summary: [backport] Resource filters do not work in CDT 7.0 projects
Product: [Eclipse Project] Platform Reporter: Serge Beauchamp <serge>
Component: ResourcesAssignee: Serge Beauchamp <serge>
Status: VERIFIED FIXED QA Contact:
Severity: major    
Priority: P3 CC: jamesblackburn+eclipse, Szymon.Brandys
Version: 3.6Flags: Szymon.Brandys: review+
Target Milestone: 3.6.1   
Hardware: PC   
OS: All   
Whiteboard:
Bug Depends on: 317783    
Bug Blocks:    
Attachments:
Description Flags
JUnit test
none
Fix none

Description Serge Beauchamp CLA 2010-06-28 07:01:10 EDT
A recent change in CDT 7.0 causes a
refresh local for a resource that doesn't exist in the workspace (because it is
filtered out), but exist in the file system nonetheless.

The proper fix will be in the core.resources to prevent clients from doing so,
but in the mean time, the CDT can be patched to avoid this bug as well (see
included patch).
Comment 1 Serge Beauchamp CLA 2010-06-28 07:02:43 EDT
Created attachment 172888 [details]
JUnit test
Comment 2 Serge Beauchamp CLA 2010-06-28 07:03:19 EDT
Created attachment 172889 [details]
Fix
Comment 3 Szymon Brandys CLA 2010-07-29 08:05:32 EDT
*** Bug 321205 has been marked as a duplicate of this bug. ***
Comment 4 Serge Beauchamp CLA 2010-08-02 07:32:07 EDT
Now fixed on the R3_6_maintenance branch, in the following plugins:

org.eclipse.core.resources
org.eclipse.core.tests.resources
Comment 5 Serge Beauchamp CLA 2010-09-02 10:23:19 EDT
Verified in M20100901-1310