Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsMigration from E3 + compat to Pure E4 application
https://www.eclipse.org/forums/index.php/mv/msg/1069760/1706505/#msg_1706505
Hallo,
I have an Eclipse 3.x application project that was migrated into Eclipse 4.x by using the compatibility layer.
Now I am investigating the migration to a pure Eclipse 4 application, and I will need a suggestion:
To investigate which classes to fix I will remove all the 3.x dependencies from the manifest of my project.
As example, I know that org.eclipse.core.runtime is part of eclipse 3.x and it must be removed to have a pure E4 application.
Now, my questions are:
Is there a list of the dependencies to remove in order to have a pure e4 application?
Do you think this is a good way to investigate the migration from e3.x to e4.x ?
Thanks in advance Kind Regards, Patrik]]>Patrik Suzzi2015-08-27T12:32:15-00:00Re: Migration from E3 + compat to Pure E4 application
https://www.eclipse.org/forums/index.php/mv/msg/1069760/1706507/#msg_1706507
> Hallo,
> I have an Eclipse 3.x application project that was migrated into Eclipse
> 4.x by using the compatibility layer.
> Now I am investigating the migration to a pure Eclipse 4 application,
> and I will need a suggestion:
> To investigate which classes to fix I will remove all the 3.x
> dependencies from the manifest of my project.
> As example, I know that org.eclipse.core.runtime is part of eclipse 3.x
> and it must be removed to have a pure E4 application.
This is wrong core.runtime can still used.
The problem are:
* org.elipse.ui
* org.eclipse.ui.workbench
* org.eclipse.ui.ide
* org.eclipse.ui.editors
> Now, my questions are:
> Is there a list of the dependencies to remove in order to have a pure e4
> application?
Most likely the ones above are ok
> Do you think this is a good way to investigate the migration from e3.x
> to e4.x ?
It highly depends on your application. If you used 3.x EditorPart you
might have to redo many things!
Tom]]>Thomas Schindl2015-08-27T12:41:39-00:00Re: Migration from E3 + compat to Pure E4 application
https://www.eclipse.org/forums/index.php/mv/msg/1069760/1706513/#msg_1706513
Simon Scholz and I are currently writing a migration tutorial. The resulting code can be found here: https://github.com/fipro78/e4-cookbook-migration-guide
In short, everything that starts with org.eclipse.ui is bad when talking about plain e4.
I agree with Tom that it depends on your application whether it is a good idea to migrate or not. Typically I would always suggest to migrate, but I also faced issues where it is not possible to migrate easily. Especially when third-party plug-ins come into play it might get a mess if they are not migrated. In such a case you are forced to have the compatibility layer in play, and this might lead to strange situations.
Regarding the EditorPart, well, maybe it depends to the EditorPart, but we also migrated one in our migration tutorial, and sure it is some more work, but also not too bad. ]]>Dirk Fauth2015-08-27T13:04:15-00:00