#1298: Support for extra tool installations #1605
Draft
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR fixes #1298
This PR implements support for installing multiple versions of the same tool in parallel, addressing the need for projects that require different versions of tools like Java for different components (e.g., frontend vs backend).
Key Features
Environment Variables
EXTRA_«TOOL»_VERSION: Configures the version of the extra tool to installEXTRA_«TOOL»_EDITION: Configures the edition of the extra tool (falls back to regular edition if not set)EXTRA_«TOOL»_HOME: Automatically set to point to the extra tool installationInstallation Behavior
$IDE_HOME/software/extra/«tool»ide install «tool»ifEXTRA_«TOOL»_VERSIONis configuredExample Usage
After running
ide install java, both versions will be available:$IDE_HOME/software/java(in PATH)$IDE_HOME/software/extra/java(accessible via$EXTRA_JAVA_HOME)Tool Support
Implementation Details
Core Changes
Testing
Backward Compatibility
Fixes #1298.
Checklist for this PR
mvn clean testlocally all tests pass and build is successful#«issue-id»: «brief summary»In Progressand assigned to you