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

Bug 184287

Summary: No validation on icon in plugin.xml for org.eclipse.ui.editors
Product: [Eclipse Project] Platform Reporter: Will Horn <will.horn>
Component: UIAssignee: Platform-UI-Inbox <Platform-UI-Inbox>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3    
Version: 3.3   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

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 ***