Reputation:
I have an application already developed in Eclipse 3.7, but as Eclipse 4.0 Juno is out I would like to port my RCP application to Juno.
Could someone tell me how to do this?
Upvotes: 4
Views: 342
Reputation: 37905
Since Eclipse 4.x the API for Eclipse based application is completely changed. The new API is created as the Eclipse e4 project. It is not backwards compatible.
You have two choices:
use the legacy plugins to be able to still run the old Eclispe 3.x plugins/applications. It is able to support some of the new and the old APIs. And your application might still run, albeit less efficient.
Rewrite your application (at least the UI part) using the new Eclipse e4 API. The Eclipse e4 API is not yet fully defined and might change in the future. So converting your application and keep it up-to-date with future e4 API changes requires quite some effort.
A very nice tutorial about Eclispe e4 is written by Lars Vogel, it will show you the basics of the new API. Furthermore, check the e4 tag on StackOverflow of course!
Upvotes: 4
Reputation: 1037
You can open the same workspace with the newer version of eclipse right away, in case you wanna be on the safe side, create a new workspace and import the project into it from version control if you are using one.
The first option should work smoothly though, except that if you had some plugins with perspectives installed on the old eclipse version, you might get error notifications about that. If you want it clean, go with the second option.
Upvotes: 1