Skip to content

#1976: extend tool commandlet installation logic#2144

Open
Caylipp wants to merge 2 commits into
devonfw:mainfrom
Caylipp:feature/1976-extend-toolcomandlet-installation-logic
Open

#1976: extend tool commandlet installation logic#2144
Caylipp wants to merge 2 commits into
devonfw:mainfrom
Caylipp:feature/1976-extend-toolcomandlet-installation-logic

Conversation

@Caylipp

@Caylipp Caylipp commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

This PR fixes #1976

Implemented changes:

  • Added ignoreProject support to ToolInstallRequest
  • Added CLI option --ignore-project to InstallCommandlet
  • Updated dependency installation to skip project symlinks when ignoring project or outside project context
  • Updated GUI launcher dependencies to install in the software repository
  • Added tests for ignore project flag and inheritance

Testing instructions

  1. Run ide install java --ignore-project inside an IDEasy project and verify Java is installed in the
    software repository without creating a symlink under software/java.
  2. Run ide install java --ignore-project outside any project and verify the tool is installed in the
    software repository.
  3. Run added tests.

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"

-add ToolInstallRequest ignoreProject support
-skip project symlinks when ignoring project
-update dependency installation to ignore project version
-add CLI --ignore-project flag - update GUI launcher dependencies
-add tests for ignore project flag
@github-project-automation github-project-automation Bot moved this to 🆕 New in IDEasy board Jul 9, 2026
@Caylipp Caylipp self-assigned this Jul 9, 2026
@Caylipp Caylipp moved this from 🆕 New to Team Review in IDEasy board Jul 9, 2026
@Caylipp Caylipp added enhancement New feature or request java related to Java code, the Java Virtual Machine and directly related tooling (OpenJDK, Adoptium) commandlet ide sub-command install installation process of IDE + tools and install commandlet labels Jul 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

commandlet ide sub-command enhancement New feature or request install installation process of IDE + tools and install commandlet java related to Java code, the Java Virtual Machine and directly related tooling (OpenJDK, Adoptium)

Projects

Status: Team Review

Development

Successfully merging this pull request may close these issues.

Extend ToolCommandlet installation logic to allow software-repository-only installation requests.

1 participant