Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Separate eclipse plugins and keep software installation pristine #1114

Closed
hohwille opened this issue Apr 24, 2023 · 5 comments · Fixed by #1135
Closed

Separate eclipse plugins and keep software installation pristine #1114

hohwille opened this issue Apr 24, 2023 · 5 comments · Fixed by #1135
Assignees
Labels
eclipse related to Eclipse IDE enhancement New feature or request plugins related to plugins (for Eclipse, Intellij, VSCode, etc.) setup related to the setup process of devonfw-ide (setup[.bat] and devon ... setup) software software-package with 3rd party products

Comments

@hohwille
Copy link
Member

hohwille commented Apr 24, 2023

As a devonfw-ide maintainer and product-owner, I want to keep the installation of the Eclipse IDE product pristine and have plugins and their updates in a separate folder so that the Eclipse installation itself remains "read-only" and pristine and can be shared across multiple devonfw-ide instances without side-effects between projects.

We already have managed to archive this goal for vscode and intellij so Eclipse is the only tool missing to complete the goal (see also bug #1082 that otherwise cannot be cleanly resolved).

One option could be to set this:

-Dorg.eclipse.equinox.p2.reconciler.dropins.directory=«my-plugins-folder»

However, this will only cause Eclipse to load (additional) plugins/features from there while still installing new plugins/features into the Eclipse product itself that therefore manipulates itself.

Another option to try could be:

-configuration «my-plugin-folder»

See related issue #1147

Maybe there are even other options so first step would be to test, evaluate and analyse this before even creating a PR.
The goal would be that plugins installed via commandline AND plugins installed within Eclipse itself (ideally including via Eclipse update functionality of its own internal plugins shipped with the product) would go to the newly configured «my-plugin-folder» that could be ${DEVON_IDE_HOME}/software/eclipse-plugins to follow current conventions. But also we could revisit this and consider moving plugins from software to their own top-level plugins folder as they are something different to the rest we put in software.

@hohwille hohwille added enhancement New feature or request eclipse related to Eclipse IDE plugins related to plugins (for Eclipse, Intellij, VSCode, etc.) setup related to the setup process of devonfw-ide (setup[.bat] and devon ... setup) software software-package with 3rd party products labels Apr 24, 2023
@alfeilex alfeilex self-assigned this Apr 27, 2023
@alfeilex
Copy link
Member

I tried the -configuration option and it works to install plugins in an external location, either with command or via a GUI.

I mentioned that the plugins do not show up in the Eclipse GUI, but after searching for the installed plugin in the marketplace, the plugin shown as "installed" marked.

@alfeilex
Copy link
Member

alfeilex commented May 3, 2023

I have a problem uninstalling plugins via devon eclipse remove-plugin <id>. There is no uninstall option to specify the location of installed plugins.

@alfeilex
Copy link
Member

alfeilex commented May 4, 2023

I have a problem uninstalling plugins via devon eclipse remove-plugin <id>. There is no uninstall option to specify the location of installed plugins.

I could fix this problem by 7fcc663

@alfeilex
Copy link
Member

Some tests need to be done to check shared configuration etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
eclipse related to Eclipse IDE enhancement New feature or request plugins related to plugins (for Eclipse, Intellij, VSCode, etc.) setup related to the setup process of devonfw-ide (setup[.bat] and devon ... setup) software software-package with 3rd party products
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants