| Questions about migrating from 3.5 to 4.3 [message #1049055]
||Thu, 25 April 2013 09:39
| Sebastien Pennec
Registered: April 2013
I am evaluating a migration for a RCP 3.5 app to the latest E4 4.3M6, and I'd like some help to be sure what is possible and what is not, in the several ways that are available to migrate an app. My app is a fairly large app, with around 35 plugins. None of the plugins are shared with any other app: they are all "modules" of this single app.
Ideally, I would like to port my app as it is now to Eclipse 4, and be able to code new component following the E4 architecture. As the time will pass and existing features will be modified, I'll migrate the existing 3.5 components to be fully compliant E4 citizens.
Based on this article by Jonas Helming, I could use the compatibility layer to run my existing components and add new ones with all the benefits of E4 if I follow his "option 3". This option basically uses the compatibility layer to run the old components, and offers several ways to add E4 components to the app.
Has anyone some experience with this kind of migration strategy?
There seem to be two working ways to implements this option:
- Use a file called LegacyIDE.xmi
- Use a 3.x to 4 bridge
Which of those two strategies would you recommand? If I understand well, using the LegacyIDE file allows me to create E4 components in a real E4 context, while the bridge strategy will allow me to build E4 components that will stay in a 3.x context, is that correct? The article says that this stragegy is not supported. But does it work well anyway? Do some of you have some feedback on implementing this strategy? Or maybe a few articles or step-by-step guides on this strategy?
Another question I have is about P2: the app currently uses a bunch of internal APIs (IArtifactRepositoryManager, IPlaner, ProvisioningContext, Operand, etc...). Does anybody have experience in using P2 to go from a 3.x app to a 4.x? Will auto-update allow me to do that, or will I have to ask my users to re-install the app?
Thanks a lot for your feedback,
Links (cannot use links outside Eclipse.org, sorry for the mess)
Replace eclipse.org by eclipsesource.com for link 1
Replace eclipse.org by www.vogella.com for link 2
Powered by FUDForum
. Page generated in 0.02116 seconds