support for tool dependencies #1178
Labels
enhancement
New feature or request
Epic
something big that needs to be split into smaller stories (issues)
setup
related to the setup process of devonfw-ide (setup[.bat] and devon ... setup)
software
software-package with 3rd party products
As a devonfw-ide user, I want to have tools being setup with their correct dependencies so that it just works and I do not have to worry.
As illustrated by #1082 or #1170 it currently does not work well:
E.g. several tools have java as dependency:
However, they may all require different versions of java ending up in an inconsistent situation that
devonfw-ide
currently cannot resolve. As a solution I see the following ideas:dependencies
file.dependencies.json
) or just a plain file with one dependency per line (TBD)software/java
but as a symlink to the configured JAVA_VERSION.dependencies
file. If the default Java (JAVA_VERSION) does not match, then an additional java version is found or installed in the shared software repository and used instead by setting JAVA_HOME to it and adding it to the beginning of the PATH but only locally in the commandlet before launching the java based tool.dependencies
for specific tool versions. Where not possible, we will simply put the latest default into the according UrlUpdater class for that tool/edition and have to change it whenever a new version comes out that has different dependencies. If we notice too late (what might be the regular case), we have to change existing dependency version file(s) manually and also change the UrlUpdater then for future versions.The text was updated successfully, but these errors were encountered: