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

Bug 196318

Summary: [update] Understand the dependencies on the old update
Product: [Eclipse Project] Equinox Reporter: Pascal Rapicault <pascal>
Component: p2Assignee: DJ Houghton <dj.houghton>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: dj.houghton, susan
Version: 3.4   
Target Milestone: 3.5   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Bug Depends on: 238162, 251001, 253979, 258721    
Bug Blocks:    

Description Pascal Rapicault CLA 2007-07-12 10:19:29 EDT
ui.ide and ui.ide.application have a dependencies on the old update plug-ins. It would be interesting to understand what those are.
Comment 1 Susan McCourt CLA 2007-07-13 10:18:38 EDT
ui.ide provides an extension for the org.eclipse.ui.systemSummarySections extension point (system summary info in the AboutDialog).  It reads the configuration in order to do this.   We could provide an alternate extension that uses the new API.

I'm not sure about ui.ide.application.  I removed the dependency and there was no build error.
Comment 2 Pascal Rapicault CLA 2007-10-18 15:28:24 EDT
We also have to see what will be presented in the about dialog and probably a few other places.
Comment 3 Pascal Rapicault CLA 2007-11-27 20:20:51 EST
Making this bug more generic to talk about all the dependencies on update.* plugins.
Here is the list of all the plugins recap'ing what has been said before:
- ui.ide.application. IPlatformConfiguration is used to display the welcome editors that were contributed in eclipse 2.1. See IDEWorkbenchWindowAdvisor#openWelcomeEditors. 
Can we get rid of that?
- ui.ide. Provides an extension for the org.eclipse.ui.systemSummarySections
extension point (system summary info in the AboutDialog).  It reads the
configuration in order to do this.   We could provide an alternate extension
that uses the new API.
- runtime.compatibility. Here we have the org.eclipse.core.boot package we use to contain the concept of IPlatformConfiguration in 2.1. Can we get rid of this?

In addition of making those dependencies on update optional (for people willing to ship only with p2). Some of these functionalities will have to be provided by p2:
- contribute information to the system summary including the groups and the ius of the running system, the agent data area, the profile representing self, ...
- register IBundleGroupProvider for each group installed in the running profile. We will have to see how to provide icons for groups as well as license url, etc.

We will also have to worry about the case where update and p2 are both enabled and  both register the same content (e.g. update has a feature for rcp and p2 has one)
Comment 4 Pascal Rapicault CLA 2007-11-27 20:22:49 EST
Moving this to a later milestone since there is nothing in here that will prevent us to ship m4 and we understand the dependencies.
Comment 5 Susan McCourt CLA 2007-11-28 10:55:09 EST
>- register IBundleGroupProvider for each group installed in the running
>profile. We will have to see how to provide icons for groups as well as license
>url, etc.

See also bug #204473 which requests an icon property for IU's
Comment 6 Susan McCourt CLA 2007-12-13 11:25:01 EST
*** Bug 208045 has been marked as a duplicate of this bug. ***
Comment 7 John Arthorne CLA 2008-02-04 15:21:50 EST
Since 3.4 will ship with org.eclipse.update.* plugins intact, it seems we have nothing to do here for 3.4.
Comment 8 Pascal Rapicault CLA 2008-10-07 19:46:19 EDT

*** This bug has been marked as a duplicate of bug 250026 ***
Comment 9 DJ Houghton CLA 2008-10-08 09:46:12 EDT
Re-opening this bug... it has more comments.
Comment 10 DJ Houghton CLA 2008-10-08 09:46:52 EDT
*** Bug 250026 has been marked as a duplicate of this bug. ***
Comment 11 Pascal Rapicault CLA 2008-12-12 23:04:05 EST

*** This bug has been marked as a duplicate of bug 241545 ***