- 
                Notifications
    You must be signed in to change notification settings 
- Fork 45
Labels
enhancementNew feature or requestNew feature or request
Milestone
Description
Currently we have implemented ToolCommandlet with subclasses like Java or Mvn.
In order to implement Eclipse, Intellij, etc. we need an additional abstract class derived from ToolCommandlet that handles all the features required for IDEs:
- installation of plugins
- removal of plugins
- configuring the workspace (by calling our Configurator- this is the old code https://github.com/devonfw/ide/blob/af67497e06fb82e2e50a4d9ffa10e3f9dda44aa1/scripts/src/main/resources/scripts/functions#L1538)
For the Configurator we should:
- remove main method: IDEasy/cli/src/main/java/com/devonfw/tools/ide/configurator/Configurator.java Lines 247 to 252 in ebb06e5 public static void main(String[] args) { Configurator configurator = new Configurator(); int exitCode = configurator.run(args); System.exit(exitCode); } 
- instead of the runmethod withString[]args, we should add explicit parameters to the constructor and change therunmethod to bepublic void run()instead. Seepublic int run(String... args) { 
- It would make sense to pass IdeContextorIdeLoggertoConfiguratoras Constructor arg and use that instead of the old logger:Log.debug(buffer.toString()); 
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request
Type
Projects
Status
✅ Done