Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 318162 - [backport] Resource filters do not work in CDT 7.0 projects
Summary: [backport] Resource filters do not work in CDT 7.0 projects
Status: VERIFIED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Resources (show other bugs)
Version: 3.6   Edit
Hardware: PC All
: P3 major (vote)
Target Milestone: 3.6.1   Edit
Assignee: Serge Beauchamp CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 321205 (view as bug list)
Depends on: 317783
Blocks:
  Show dependency tree
 
Reported: 2010-06-28 07:01 EDT by Serge Beauchamp CLA
Modified: 2010-09-02 10:23 EDT (History)
2 users (show)

See Also:
Szymon.Brandys: review+


Attachments
JUnit test (2.79 KB, patch)
2010-06-28 07:02 EDT, Serge Beauchamp CLA
no flags Details | Diff
Fix (935 bytes, patch)
2010-06-28 07:03 EDT, Serge Beauchamp CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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