Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 340503 - Eclipse 4.1 M6 - Plugin Editor does not show the extension
Summary: Eclipse 4.1 M6 - Plugin Editor does not show the extension
Status: CLOSED FIXED
Alias: None
Product: e4
Classification: Eclipse Project
Component: UI (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-19 17:59 EDT by Lars Vogel CLA
Modified: 2012-05-10 14:04 EDT (History)
2 users (show)

See Also:


Attachments
Screenshot (33.64 KB, image/png)
2011-03-19 18:29 EDT, Lars Vogel CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.