Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 184287 - No validation on icon in plugin.xml for org.eclipse.ui.editors
Summary: No validation on icon in plugin.xml for org.eclipse.ui.editors
Status: RESOLVED DUPLICATE of bug 129765
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.3   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-26 13:54 EDT by Will Horn CLA
Modified: 2007-04-26 13:58 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Will Horn CLA 2007-04-26 13:54:23 EDT
Build ID: 3.3 M6

Steps To Reproduce:
1. Create a new plugin with an editor (use the Sample XML Editor template, for instance)
2. Open plugin.xml and remove the icon attribute from the org.eclipse.ui.editors extension.
3. Run Eclipse Application with the plugin - the editor is not registered.


More information:
I spent a lot of time trying to figure out why my editor was not getting loaded.  Eventually I realized it was because I didn't have an icon specified in the extension.  Note that the icon attribute does not need to be a valid path; it just need to exist in plugin.xml (icon="" works).

If this is necessary functionality, there should at least be an error/warning in the plugin.xml editor.  Otherwise, maybe this is a bug in the core Eclipse Platform.
Comment 1 Wassim Melhem CLA 2007-04-26 13:58:16 EDT

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