How to smoothly migrate between versions? [message #1858871] |
Thu, 27 April 2023 12:13 |
Jascha S Messages: 8 Registered: April 2023 |
Junior Member |
|
|
Hi all,
I'm trying to update Eclipse from 2021-12 to 2023-03.
This Eclipse installation is part of a software package that is deployed to developers company-wide. It includes several plug-ins, most notably ABAP Development Tools from SAP.
In the current installation (2021-12), the plug-ins reside in the Eclipse installation path (in C:\Program Files\...) under the "plugins" folder.
This way, they are shared and it is ensured that all developers use the same plugin versions and don't have to worry about installing them manually.
Workspace settings etc. are still stored per-user under "%localappdata%/.../workspaces/<workspace_name>".
The problem I'm now facing during updating to 2023-03 is the following:
If Eclipse notices that there is already a workspace (from the previous install and usage), it will launch the migration wizard.
The wizard takes over the preferences and projects. But, it does not recognize any plugin from the shared plugin folder and thinks that it has to re-install every plugin, see screenshot attached.
Even if the users try to execute the update, it will fail because of some missing dependencies. Anyway, we don't want the user to run the update manually.
Cancelling the wizard is possible, but Eclipse will only work correctly when restarting it after closing the wizard. Unfortunately, this will be too confusing for the users...
How can I provide a smooth migration for this update and for the future with these points?
- Take over workspace settings
- Use newest shared plugins
- Minimal effort for users
Or is there a general guide on how to manage Eclipse installations across multiple users?
|
|
|
|
Re: How to smoothly migrate between versions? [message #1859052 is a reply to message #1858882] |
Tue, 09 May 2023 07:32 |
Jascha S Messages: 8 Registered: April 2023 |
Junior Member |
|
|
Thanks for the reply, Ed.
The Wizard shows all units, not just the ABAP ones.
They have been installed this way:
I had set up a fresh install of the Eclipse Platform, started it and installed all additional packages (ABAP for example) through the Install Software dialogue. Then I copied the plugins from the user-specific folder under %localappdata% to the plugins folder in the Eclipse installation path, so that they can be delivered to all users that request the whole Eclipse installation.
Maybe there is a better way?
[Updated on: Tue, 09 May 2023 07:34] Report message to a moderator
|
|
|
|
|
|
|
|
Re: How to smoothly migrate between versions? [message #1859145 is a reply to message #1859115] |
Mon, 15 May 2023 10:45 |
Jascha S Messages: 8 Registered: April 2023 |
Junior Member |
|
|
Okay, I'll try to explain it more in detail:
Our current installation of Eclipse 2021-12 was created like this:
- Extracted Eclipse platform ZIP into C:/Program Files/..., this should mean it supports roaming
- Installed additional plugins via "Install new software"
Then comes the part that might confuse you and might be wrong:
- Copy "plugins" folder from the installing users' Eclipse folder into the installation folder
-> This was done for two reasons:
-> The regular users later on should not be and are not able to download any plugins freely
-> The plugins should not take up space on every user's profile when they actually are the same for all users. The user profile is a synchronized folder and the program files folder not.
That was all done with an administrative user. Then the Eclipse installation (the "full result") is packaged and regular users can request it to be installed to their system.
Now, when I update the installation to 2023-03, I do the same procedure.
The problem is that Eclipse 2023-03 tries to install the old plugin versions (during the migration wizard) which seem to be somehow referenced in the user's profile (workspace). It doesn't notice that there are newer versions of them in the Eclipse installation folder.
[Updated on: Mon, 15 May 2023 11:12] Report message to a moderator
|
|
|
|
|
|
|
|
Re: How to smoothly migrate between versions? [message #1861793 is a reply to message #1861791] |
Fri, 03 November 2023 17:42 |
Ed Merks Messages: 33224 Registered: July 2009 |
Senior Member |
|
|
Yes, it's shared read-only installation that each user can extend if they wish and that you can update centrally on their behalf when you wish. There just aren't experts around anywhere who can answer questions about this. You'd even have a hard time finding a paid expert to help you with this. Unfortunately that's how "free" works. People develop free things and then very often they move on...
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.11001 seconds