Bug 249932 - Clean + project build does not update 'strictly match JRE' problem
Summary: Clean + project build does not update 'strictly match JRE' problem
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 3.5   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 3.5 M3   Edit
Assignee: Curtis Windatt CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 249620
  Show dependency tree
 
Reported: 2008-10-07 06:31 EDT by Dani Megert CLA
Modified: 2008-10-17 16:30 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dani Megert CLA 2008-10-07 06:31:28 EDT
I20081007-0800.

The new option about strictly matching JRE is not updated when the preference is changed via UI. We clean and build the project but that has no influence as a resource delta on a JRE container is currently needed to trigger this. The easiest solution is probably to register a builder that clears the marker on clean and creates it on full build.
Comment 1 Darin Wright CLA 2008-10-07 13:48:58 EDT
Fixed by refactoring EE error reporting into an compilation participant. Whenever a project is cleaned/built EE errors are potentially created. This appears to work well for all situations - modifying a build path from the UI, by editing the .classpath file, and by changing problem severities.
Comment 2 Darin Wright CLA 2008-10-07 13:49:11 EDT
Please verify, Curtis.
Comment 3 Curtis Windatt CLA 2008-10-17 16:30:55 EDT
Verified.