Community
Participate
Working Groups
When we are installing an extension that only provides metadata, then we should not prompt for restart and refresh the projects. This will make for a better user experience.
Created attachment 188146 [details] Modify Restart policy In the attached patch I created a subclass of the InstallOperation which allows us to set the restart policy for the ProvisioningJobs that are returned by it. Unfortunately because of bug 336015 I also needed to subclass the PreselectedIUsInstallWizard. After speaking with Pascal we decided to keep the solution simple and use a tag on items in the catalog to mark that they do not require a restart. If all items to be installed are of this type then the changes are applied, otherwise the restart policy is Yes/Not Now. (Apply being unavailable)
Created attachment 188152 [details] Updated patch
Fixed
Moved to https://github.com/eclipse-m2e/m2e-core/issues/