Community
Participate
Working Groups
N20110810-2000. Something is fishy when determining the severity of an API Errors/Warnings problem. 1. start new workspace 2. set 'Missing execution environment descriptions' to 'Warning' 3. checkout 'org.eclipse.ui.navigator' from HEAD ==> WRONG: error after build due to missing EE description 4. open the 'API Errors/Warnings' property page for the project ==> OK: the page indicates that the problem should be reported as warning
Seems very similar to bug 315417, probably just need to add the preference identifier to the list of preferences checked for in ApiPlugin#hasProjectSettings method.
(In reply to comment #0) > N20110810-2000. > > Something is fishy when determining the severity of an API Errors/Warnings > problem. > > 1. start new workspace > 2. set 'Missing execution environment descriptions' to 'Warning' > 3. checkout 'org.eclipse.ui.navigator' from HEAD > ==> WRONG: error after build due to missing EE description > 4. open the 'API Errors/Warnings' property page for the project > ==> OK: the page indicates that the problem should be reported as warning probably.
The store sequence in which the preferences are fetched is wrong. This has already been mentioned in bug 315417 but since it was late in the game we made a very conservative fix. It's time now for the right fix i.e. revert the changes for bug 315417 and use the correct store sequence. The attache patch also fixed bug 344417.
Created attachment 201908 [details] Fix
Mike, can you take care of this? I don't have PDE from Git yet.
Applied patch to HEAD
Verified in I20110823-0925.