Skip to content

#1987: Fixed GUI not launching for snapshot versions#2036

Draft
laim2003 wants to merge 7 commits into
devonfw:mainfrom
laim2003:fix/#1987-Gui-commandlet-broken-for-snapshots
Draft

#1987: Fixed GUI not launching for snapshot versions#2036
laim2003 wants to merge 7 commits into
devonfw:mainfrom
laim2003:fix/#1987-Gui-commandlet-broken-for-snapshots

Conversation

@laim2003

@laim2003 laim2003 commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

This PR fixes #1987

Implemented changes:

  • Added -U flag to the maven execution command
  • Specified maven exec plugin version to 3.1.0
  • Added definition to the gui-launcher pom file
  • Added --enableLogging / -l flag to the GUI commandlet. This will launch the GUI in ProcessMode.DEFAULTrather then ProcessMode.BACKGROUND_SILENT; this way all internal JavaFX/Maven logs etc are printed to the terminal, making debugging easier.

Testing instructions

Please add conscise, understandable instructions on how a reviewer can test/verify the functionality of your contribution here:

Testing the snapshot version fix:

  1. Upgrade your IDEasy version to the latest snapshot/nightly build: ide upgrade --mode=snapshot
  2. run ide gui
  3. GUI should now launch without any issues.

Testing the new --enableLogging flag:

  1. Upgrade your IDEasy version to the latest snapshot/nightly build: ide upgrade --mode=snapshot
  2. run ide gui --enableLogging or ide gui -l (small L)
  3. Instaed of the terminal resuming to the default input state, you should now see all maven and javafx internal logs being printed to the terminal.

Checklist for this PR

Make sure everything is checked before merging this PR. For further info please also see
our DoD.

  • When running mvn clean test locally all tests pass and build is successful
  • PR title is of the form #«issue-id»: «brief summary» (e.g. #921: fixed setup.bat). If no issue ID exists, title only.
  • PR top-level comment summarizes what has been done and contains link to addressed issue(s)
  • PR and issue(s) have suitable labels
  • Issue is set to In Progress and assigned to you or there is no issue (might happen for very small PRs)
  • You followed all coding conventions
  • You have added the issue implemented by your PR in CHANGELOG.adoc unless issue is labeled
    with internal
  • You have formulated clear instructions on how to test your contribution under "Testing instructions"

…/--enableLogging flag to enable the printing of logs to the terminal for debugging purposes.
@github-project-automation github-project-automation Bot moved this to 🆕 New in IDEasy board Jun 16, 2026
@laim2003 laim2003 self-assigned this Jun 16, 2026
@laim2003 laim2003 added GUI Graphical User Interface of IDEasy (aka dashboard) build with JavaFx commandlet ide sub-command labels Jun 16, 2026
@laim2003 laim2003 moved this from 🆕 New to 🏗 In progress in IDEasy board Jun 16, 2026
@laim2003 laim2003 added this to the release:2026.06.001 milestone Jun 16, 2026
@coveralls

coveralls commented Jun 16, 2026

Copy link
Copy Markdown
Collaborator

Coverage Report for CI Build 27694924959

Coverage increased (+0.05%) to 71.337%

Details

  • Coverage increased (+0.05%) from the base build.
  • Patch coverage: No coverable lines changed in this PR.
  • 5 coverage regressions across 3 files.

Uncovered Changes

No uncovered changes found.

Coverage Regressions

5 previously-covered lines in 3 files lost coverage.

File Lines Losing Coverage Coverage
com/devonfw/tools/ide/tool/gui/Gui.java 3 87.88%
com/devonfw/tools/ide/tool/ide/IdeToolCommandlet.java 1 78.33%
com/devonfw/tools/ide/version/VersionSegment.java 1 89.76%

Coverage Stats

Coverage Status
Relevant Lines: 16228
Covered Lines: 12075
Line Coverage: 74.41%
Relevant Branches: 7252
Covered Branches: 4675
Branch Coverage: 64.46%
Branches in Coverage %: Yes
Coverage Strength: 3.15 hits per line

💛 - Coveralls

@laim2003 laim2003 removed this from the release:2026.06.001 milestone Jun 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

commandlet ide sub-command GUI Graphical User Interface of IDEasy (aka dashboard) build with JavaFx

Projects

Status: 🏗 In progress

Development

Successfully merging this pull request may close these issues.

Gui commandlet broken for snapshots

2 participants