Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 335485 - [discovery] Trigger project configuration update upon restart
Summary: [discovery] Trigger project configuration update upon restart
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: m2e (show other bugs)
Version: unspecified   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Matthew Piggott CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-26 13:38 EST by Pascal Rapicault CLA
Modified: 2021-04-19 13:25 EDT (History)
0 users

See Also:


Attachments
Update configuration of projects with configuration errors (23.26 KB, patch)
2011-01-28 09:37 EST, Matthew Piggott CLA
no flags Details | Diff
Update Configuration after successful install (24.23 KB, patch)
2011-02-02 14:40 EST, Matthew Piggott CLA
no flags Details | Diff
Updated patch (70.99 KB, patch)
2011-02-04 09:27 EST, Matthew Piggott CLA
pascal: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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/