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

Bug 244676

Summary: .api_filters should contain plug-in version and warn when version doesn't match manifest
Product: [Eclipse Project] PDE Reporter: Markus Keller <markus.kell.r>
Component: API ToolsAssignee: PDE API Tools Inbox <pde-apitools-inbox>
Status: RESOLVED DUPLICATE QA Contact:
Severity: enhancement    
Priority: P3 CC: daniel_megert, darin.eclipse, Michael_Rennie
Version: 3.5Keywords: plan
Target Milestone: ---   
Hardware: PC   
OS: All   
Whiteboard:
Bug Depends on: 255104    
Bug Blocks:    

Description Markus Keller CLA 2008-08-20 06:35:13 EDT
The .api_filters file should contain the plug-in version and
1.) warn when the stored version doesn't match the version of the plug-in in the manifest
2.) only use filters where the filter version matches the current version

I found a number of outdated entries in .api_filters files in HEAD and R3_4_maintenance which should be removed.
Comment 1 Markus Keller CLA 2008-08-20 08:28:30 EDT
Comment 0 probably only applies to problems in the "API Compatibility" tab. These become obsolete in a new development branch (e.g. HEAD after 3.4 has been declared).

I first thought it would apply to more problems because removing the filters did not result in compile errors but only warnings. Most of the filtered usage problems were actually to hide known bugs in the API tools. For these filters, no versioning is necessary, but the API tools could warn about filters that are not actually used (i.e. no problem matches the filter).
Comment 2 Darin Wright CLA 2008-12-03 13:31:18 EST

*** This bug has been marked as a duplicate of bug 256450 ***