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

Eclipse plugin installation opens an Eclipse window for each plugin installed #356

Closed
hohwille opened this issue May 24, 2024 · 2 comments · Fixed by #652
Closed

Eclipse plugin installation opens an Eclipse window for each plugin installed #356

hohwille opened this issue May 24, 2024 · 2 comments · Fixed by #652
Labels
enhancement New feature or request

Comments

@hohwille
Copy link
Member

I tested #236 now and found a problem:
For every plugin installation IDEasy now opens a new window (Eclipse GUI that appears and then disappears). This should be prevented and was fixed in devonfw-ide 1+ year ago.

I am not yet sure what makes the difference. Somehow related to this old code:
https://github.com/devonfw/ide/blob/cdf4af5de21489f3fdcbfdab41af858822e0d598/scripts/src/main/resources/scripts/command/eclipse#L394-L396

@hohwille hohwille added the enhancement New feature or request label May 24, 2024
@github-project-automation github-project-automation bot moved this to 🆕 New in IDEasy board May 24, 2024
@hohwille
Copy link
Member Author

IDEasy with trace-logging gives me this:

Running command 'D:\projects\_ide\software\default\eclipse\eclipse\2024-03\eclipse.exe' with arguments '-data' 'D:\projects\test3\workspaces\main' '-clean' '-keyring' 'C:\Users\hohwille\.eclipse\.keyring' '-configuration' 'D:\projects\test3\plugins\eclipse\configuration' '-consoleLog' '-nosplash' '-vm' 'D:\projects\test3\software\java\bin' '-application' 'org.eclipse.equinox.p2.director' '-repository' 'https://devonfw.com/cobigen/updatesite/stable/' '-installIU' 'com.devonfw.cobigen.eclipse.feature.feature.group,com.devonfw.cobigen.tempeng-freemarker,com.devonfw.cobigen.htmlplugin,com.devonfw.cobigen.javaplugin,com.devonfw.cobigen.jsonplugin,com.devonfw.cobigen.openapiplugin,com.devonfw.cobigen.propertyplugin,com.devonfw.cobigen.textmerger,com.devonfw.cobigen.tsplugin,com.devonfw.cobigen.tempeng-velocity,com.devonfw.cobigen.xmlplugin' ...

@hohwille
Copy link
Member Author

devonfw-ide with trace-logging gives me this:

+++ /d/projects/test-project/software/eclipse/eclipsec -consoleLog -nosplash -configuration /d/projects/test-project/plugins/eclipse/configuration/ -vm /d/projects/test-project/software/java/bin/java -application org.eclipse.equinox.p2.director -repository https://raw.githubusercontent.com/iloveeclipse/plugins/latest/ -installIU AnyEditTools.feature.group -vmargs ''

OK. so the magic trick seems to call eclipsec instead of eclipse to run headless without GUI window.
Also found the PR diff meanwhile:
https://github.com/devonfw/ide/pull/911/files

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: ✅ Done
Development

Successfully merging a pull request may close this issue.

1 participant