| Summary: | Adding API filters for bug 344914 doesn't trigger a build | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] PDE | Reporter: | Olivier Thomann <Olivier_Thomann> | ||||
| Component: | API Tools | Assignee: | Olivier Thomann <Olivier_Thomann> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | Michael_Rennie | ||||
| Version: | 3.7 | Flags: | Michael_Rennie:
review+
|
||||
| Target Milestone: | 3.7 RC1 | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Olivier Thomann
If I rebuild the project manually, all errors are gone. 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.
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. +1 works as advertised. This is a regression from 3.5, we should fix it for 3.7. Applied patch to HEAD. |