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

Bug 175004

Summary: Select Required button does not select features providing required plug-ins
Product: [Eclipse Project] Platform Reporter: Christian Damus <give.a.damus>
Component: Update (deprecated - use Eclipse>Equinox>p2)Assignee: Platform-Update-Inbox <platform-update-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: bjorn.freeman-benson, david_williams, kim.moir, mik.kersten, mlists, mober.at+eclipse, nboldt, wmitsuda
Version: 3.3Keywords: helpwanted
Target Milestone: 3.3 M7   
Hardware: PC   
OS: Linux   
Whiteboard:
Bug Depends on:    
Bug Blocks: 174056, 175108    

Description Christian Damus CLA 2007-02-21 13:43:32 EST
Found in Eclipse Platform 3.3 M5 build.

According to the Eclipse Versioning Guidelines:

   http://wiki.eclipse.org/index.php/Version_Numbering#Versioning_features

Eclipse recommends that a feature's dependencies should only be expressed at the plug-in/bundle level (indicating the plug-ins/bundles that it requires) rather than as dependencies on other features.  This makes sense, as a feature should not be concerned with how the bundles it requires are packaged and delivered to a consumer.

However, the Update Manager UI does not currently support this recommendation:  the "Select Required" button only finds features that are referenced as dependencies.  It should also find features that provide the plug-ins/bundles that a selected feature requires.

Steps to reproduce:

1. Download and install Eclipse 3.3 M5.
2. Select "Help -> Software Updates -> Find and Install...".
3. Add a new Remote Update Site on the following URL:

    http://download.eclipse.org/releases/europa/staging

4. Press "Finish".
5. In the next dialog, expand the "Models and Model Development" category.
6. Select the "Eclipse Modeling Framework Data Integrity Frameworks
   End-User Features" item.
7. Observe the error message about a required plug-in.
8. Press the "Select Required" button.
9. Observe that nothing changes (no additional selections are made).
10. Select the "Eclipse Modeling Framework (EMF)" and "Object Constraint
    Language (OCL) 2.0 End-User Features".
11. Observe that the error message disappears and the "Next" button is
    enabled.

So, the Update Manager knows when the dependencies of a feature are satisfied.  The "Select Required" button should be able to do this automatically.
Comment 1 Mik Kersten CLA 2007-02-21 14:28:35 EST
This could be related to bug 132450.
Comment 2 Martin Oberhuber CLA 2007-02-22 04:19:42 EST
What about changing the summary to:
[update] select required does not find features for bundle level dependencies
Comment 3 Dejan Glozic CLA 2007-04-12 17:55:27 EDT
This works for me with the fix to bug 154505.