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

Bug 335485

Summary: [discovery] Trigger project configuration update upon restart
Product: z_Archived Reporter: Pascal Rapicault <pascal>
Component: m2eAssignee: Matthew Piggott <matthew>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:
Attachments:
Description Flags
Update configuration of projects with configuration errors
none
Update Configuration after successful install
none
Updated patch pascal: iplog+

Description Pascal Rapicault CLA 2011-01-26 13:38:46 EST
After installing a new connector that requires restart, we need to be able to automatically update the configuration of the projects that have LM errors.
We can use a startup hook, but to not use too much cycles on startup we should only activate the startup hook when it is necessary.
Comment 1 Matthew Piggott CLA 2011-01-28 09:37:44 EST
Created attachment 187842 [details]
Update configuration of projects with configuration errors

After the Discovery wizard closes through Finish (rather than cancel) early startup for the bundle is enabled and projects with configuration errors are collected and persisted to preferences.  At the next startup those projects are refreshed & early startup is disabled.
Comment 2 Matthew Piggott CLA 2011-02-02 09:44:37 EST
I would like to modify this patch after the changes in bug 335486
Comment 3 Matthew Piggott CLA 2011-02-02 14:40:45 EST
Created attachment 188183 [details]
Update Configuration after successful install

The main change with the updated patch is that it should ensure that the profile change was successful.
Comment 4 Matthew Piggott CLA 2011-02-04 09:27:18 EST
Created attachment 188319 [details]
Updated patch
Comment 5 Pascal Rapicault CLA 2011-02-04 10:26:34 EST
Comment on attachment 188319 [details]
Updated patch

Patch committed.
Comment 6 Denis Roy CLA 2021-04-19 13:25:18 EDT
Moved to https://github.com/eclipse-m2e/m2e-core/issues/