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

Bug 340503

Summary: Eclipse 4.1 M6 - Plugin Editor does not show the extension
Product: [Eclipse Project] e4 Reporter: Lars Vogel <Lars.Vogel>
Component: UIAssignee: Project Inbox <e4.ui-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: Lars.Vogel, remy.suen
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
Screenshot none

Description Lars Vogel CLA 2011-03-19 17:59:48 EDT
I created a new e4 project with the wizard from the tools. 

If I open the extension tab on plugin.xml (which is initially hidden), I don't see the defined extension. Also the plugin.xml tab is missing.

See attached screenshot. If I open the plugin.xml in a text editor I see.

<?xml version="1.0" encoding="UTF-8"?>
<plugin>

   <extension
         id="product"
         point="org.eclipse.core.runtime.products">
      <product
            name="de.vogella.e4.rcp.wizard"
            application="org.eclipse.e4.ui.workbench.swt.E4Application">
         <property
               name="appName"
               value="de.vogella.e4.rcp.wizard">
         </property>
         <property
               name="applicationXMI"
               value="de.vogella.e4.rcp.wizard/Application.e4xmi">
         </property>
         <property
               name="applicationCSS"
               value="platform:/plugin/de.vogella.e4.rcp.wizard/css/default.css">
         </property>
      </product>
   </extension>

</plugin>
Comment 1 Remy Suen CLA 2011-03-19 18:16:19 EDT
(In reply to comment #0)
> See attached screenshot. If I open the plugin.xml in a text editor I see.

Please attach the screenshot.
Comment 2 Lars Vogel CLA 2011-03-19 18:29:02 EDT
Created attachment 191570 [details]
Screenshot

Sorry
Comment 3 Remy Suen CLA 2011-03-19 18:43:35 EDT
Probably the same problem as bug 333965 and bug 340099?
Comment 4 Lars Vogel CLA 2011-03-19 18:46:13 EDT
Don't think that these bugs cover completely the same, the tab "plugin.xml" is also missing.
Comment 5 Remy Suen CLA 2011-03-21 12:02:26 EDT
(In reply to comment #0)
> If I open the extension tab on plugin.xml (which is initially hidden)

This bit I've been able to reproduce. This is quite weird.
Comment 6 Remy Suen CLA 2011-04-05 09:32:13 EDT
Tom, I think you may want to delay the opening of the MANIFEST.MF file after all the files have been created in your E4NewProjectWizard. When the file is first opened it doesn't have any tabs relating to the plugin.xml file. If you close the opened editor and then reopen it, the tabs appear.
Comment 7 Lars Vogel CLA 2012-05-10 14:04:30 EDT
Fixed by a patch from Dani in Eclipse 4.2 M7.