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

Bug 345014

Summary: Adding API filters for bug 344914 doesn't trigger a build
Product: [Eclipse Project] PDE Reporter: Olivier Thomann <Olivier_Thomann>
Component: API ToolsAssignee: Olivier Thomann <Olivier_Thomann>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: Michael_Rennie
Version: 3.7Flags: Michael_Rennie: review+
Target Milestone: 3.7 RC1   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
Proposed fix none

Description Olivier Thomann CLA 2011-05-06 14:51:48 EDT
I was adding api filters for the errors reported against org.eclipse.help.base and I didn't get a build to get rid of the errors after the filters were added.
Comment 1 Olivier Thomann CLA 2011-05-06 14:52:14 EDT
If I rebuild the project manually, all errors are gone.
Comment 2 Olivier Thomann CLA 2011-05-06 15:21:42 EDT
Created attachment 194978 [details]
Proposed fix

The flags for the resource should also check for IResourceDelta.CONTENT bit. Otherwise when the content of the file is changed, there is no rebuild.
Comment 3 Olivier Thomann CLA 2011-05-06 15:23:10 EDT
Michael, please verify.

To reproduce the problem, you can use org.eclipse.help.base.
Edit the filters and remove some, no rebuild.
Then add all filters again and there is no rebuild.

With the fix applied, as soon as the content has changed, this is causing a rebuild of the project.
Comment 4 Michael Rennie CLA 2011-05-06 16:03:39 EDT
+1 works as advertised.
Comment 5 Michael Rennie CLA 2011-05-06 16:21:55 EDT
This is a regression from 3.5, we should fix it for 3.7.

Applied patch to HEAD.