|How to smoothly migrate between versions? [message #1858871]
||Thu, 27 April 2023 12:13
| Jascha S
Registered: April 2023
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 #1859145 is a reply to message #1859115]
||Mon, 15 May 2023 10:45
| Jascha S
Registered: April 2023
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
Powered by FUDForum
. Page generated in 0.03327 seconds