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

Bug 355127

Summary: [Scanner Discovery] Load build output from file does not have immediate effect
Product: [Tools] CDT Reporter: Andrew Gvozdev <angvoz.dev>
Component: cdt-buildAssignee: cdt-build-inbox <cdt-build-inbox>
Status: NEW --- QA Contact: Jonah Graham <jonah>
Severity: normal    
Priority: P3 CC: cdtdoug, yevshif
Version: 8.0   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
initial try none

Description Andrew Gvozdev CLA 2011-08-18 13:03:11 EDT
[Load] button from project "Discovery Options" would collect scanner discovery entries but does not take effect immediately for "per file" profile. For the settings to appear a trick is needed, such as running a build or closing/reopening a project. That triggers Scanner Configuration Builder which finishes the discovery process.
Comment 1 Andrew Gvozdev CLA 2011-08-18 13:37:22 EDT
Created attachment 201732 [details]
initial try

This patch gives an idea for a fix but does not work reliably. It works if a user quits "Discovery Options" with "Cancel" but not if the user chooses "OK". Presumably, the configuration from properties overwrites the settings over on "OK".