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

Bug 466269

Summary: E4 project created from "New Plug-in" wizard generates Activator with error
Product: [Eclipse Project] PDE Reporter: Noopur Gupta <noopur_gupta>
Component: UIAssignee: Olivier Prouvost <olivier.prouvost>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: daniel_megert, Lars.Vogel, olivier.prouvost, Vikas.Chandra
Version: 4.5   
Target Milestone: 4.5 RC1   
Hardware: All   
OS: All   
Whiteboard:
Bug Depends on:    
Bug Blocks: 467819    

Description Noopur Gupta CLA 2015-05-04 05:07:19 EDT
Eclipse 4.5 M7 (I20150430-1445)

- Open a new workspace and open the "New Plug-in Project" wizard.
- Give a name and click Next.
- Select "Yes" for "Would you like to create a rich client application?" and click Next.
- Select "Eclipse 4 RCP application" and click Finish.
- The Activator.java of the generated plug-in extends AbstractUIPlugin, which is not resolved and shows compile error.
=> org.eclipse.ui.workbench should be added to the created plug-in's required bundles while creating the plug-in.
Comment 1 Vikas Chandra CLA 2015-05-04 05:26:16 EDT
Lars, Can you please have a look at this one?
Comment 2 Lars Vogel CLA 2015-05-04 13:01:00 EDT
Olivier, I think your new template should create an Activator which implements BundleActivator instead of AbstractUIPlugin. Can you provide a Gerrit review for that?
Comment 3 Olivier Prouvost CLA 2015-05-04 13:07:07 EDT
??

Yes sure, and this is what it should do !  This behavior has been tested hundred times and it is really strange to find this kind of error... 

I guess my review has not been included in this version... (see bug #463822) ...
Comment 4 Olivier Prouvost CLA 2015-05-04 13:13:05 EDT
You should use this review : 

https://git.eclipse.org/r/46700

Which was proposed in the bug I mentioned
Comment 5 Lars Vogel CLA 2015-05-04 13:30:26 EDT
Sorry for not merging at your existing review. I was not PDE committer before the M7 freeze.

*** This bug has been marked as a duplicate of bug 463822 ***
Comment 6 Lars Vogel CLA 2015-05-15 05:34:23 EDT
*** Bug 466680 has been marked as a duplicate of this bug. ***