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

Bug 341594

Summary: [Tooling] Wizard to convert a Eclipse 3.6 RCP to e4
Product: [Eclipse Project] e4 Reporter: Lars Vogel <Lars.Vogel>
Component: UIAssignee: Project Inbox <e4.ui-inbox>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: bsd, cvgaviao, Lars.Vogel, nobody, pinnamur
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Bug Depends on:    
Bug Blocks: 317912, 378975    
Attachments:
Description Flags
Video of a possible solution none

Description Lars Vogel CLA 2011-04-01 05:32:02 EDT
As discussed via IRC it would be great to have a wizard which allows to add the required dependencies and the required xmi file to an 3.X RCP application to make it run on e4.
Comment 1 Praveen CLA 2011-04-05 00:29:56 EDT
+1
Comment 2 Paul Webster CLA 2011-04-12 10:22:14 EDT
There are still a set of plugins that need to be added to launch a 3.x RCP app:

org.eclipse.e4.ui.workbench.addons.swt
org.eclipse.equinox.ds
org.eclipse.equinox.event
org.eclipse.equinox.util

+ "Add Required Plugins"

PW
Comment 3 Nobody - feel free to take it CLA 2012-04-28 15:53:24 EDT
Is the xmi file part still relevant? Or it is just the plugins to be added?
Comment 4 Lars Vogel CLA 2012-04-29 05:44:37 EDT
@Sopot: the xmi file is not relevant anymore, Paul added a default a while ago.

Thanks for looking into this. This might a a nice addition to the e4 tooling project.
Comment 5 Nobody - feel free to take it CLA 2012-05-08 19:37:40 EDT
Created attachment 215300 [details]
Video of a possible solution

I am currently working on providing some solution to this bug and this video describes a possible workflow on how it can be done. The code is a bit of a mess so I want to be sure it's going the right way before I set it up properly. Please provide some feedback.
Comment 6 Brian de Alwis CLA 2012-05-10 09:31:08 EDT
Sopot,

I think there may be merit in such a wizard, but I think it's at a product file level, not for an individual bundle.

RCP apps shouldn't require any changes to their bundle dependencies, especially to add dependencies for implementation details like org.eclipse.equinox.ds and org.eclipse.equinox.event.  Those services are used in the implementation of the Eclipse 4 platform, but aren't part of the API space of the platform.

But a wizard that would rewrite a .product file to:

  * change it to a feature-based build (if required) and auto-create a feature
  * add org.eclipse.rcp as a feature
  * processed any included features to remove any bundles contained in org.eclipse.rcp (with a prompt for confirmation)

would be pretty cool.
Comment 7 Lars Vogel CLA 2012-05-10 09:34:19 EDT
@Brian / Sopot: The wizard would also need to create a  .product file if this does not exists.
Comment 8 Nobody - feel free to take it CLA 2012-05-10 09:49:36 EDT
Ok. Will give it another try.
Comment 9 Lars Vogel CLA 2013-02-22 10:54:54 EST
Closing as WONTFIX. Please reopen in case you have plans to work on this feature.