Bug 252014 - [metadata] Support images from feature.xml
Summary: [metadata] Support images from feature.xml
Status: RESOLVED WONTFIX
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: p2 (show other bugs)
Version: 3.5   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: P2 Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: helpwanted, usability
: 70666 280687 315160 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-10-24 11:27 EDT by Tim deBoer CLA
Modified: 2012-05-08 10:52 EDT (History)
10 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tim deBoer CLA 2008-10-24 11:27:16 EDT
The feature.xml format contains a reference to an image for each feature:

   <feature
      id="org.myfeature"
      ...
      image="myImage.gif">

Update manager supported this field via IFeature.getImage() (which returns a (locally cached) URL), but I cannot find anything equivalent in p2. Please provide a mechanism to obtain this image from an IU.
Comment 1 Benjamin Cabé CLA 2008-10-24 11:32:27 EDT
see bug 70666
Comment 2 Pascal Rapicault CLA 2008-10-31 14:24:24 EDT
*** Bug 204473 has been marked as a duplicate of this bug. ***
Comment 3 Tim deBoer CLA 2009-06-18 09:56:42 EDT
*** Bug 280687 has been marked as a duplicate of this bug. ***
Comment 4 John Arthorne CLA 2009-06-18 16:46:30 EDT
*** Bug 70666 has been marked as a duplicate of this bug. ***
Comment 5 Susan McCourt CLA 2010-06-09 12:49:16 EDT
*** Bug 315160 has been marked as a duplicate of this bug. ***
Comment 6 Susan McCourt CLA 2010-06-09 12:52:21 EDT
In the most recent duplicate bug, Kit Lo says:

> If the "image" attribute is still supported in 3.6, then the image should be
> displayed. If the design is changed and the image will no longer be displayed,
> then the "eclipse_update_120.jpg" files should probably be removed from all
> features.

I'm wondering...does p2 discovery use feature images when gathering its extended metadata?

The risk of removing the image from features is that someone, somewhere is still using them, even if the generic p2 properties views are not.
Comment 7 Steffen Pingel CLA 2010-06-09 17:44:42 EDT
No, discovery is not using it. I have always wondered what the purpose of this image was as I have never seen it in the UI.
Comment 8 John Arthorne CLA 2012-05-08 10:52:28 EDT
Based on bug 70666, we can see this feature image property has not been used since Eclipse 2.1. The feature manifest editor does not have any field to input this value, so any new feature after 3.0 likely does not have it. This was conceptually replaced with the images defined in product branding plugins. Based on all that, I think it's fair to mark this as WONTFIX.