
This script is a command line utility that can be used to **install / uninstall plugins** delivered with the DVT Kit Distros.

The script allows you to enable in a DVT distro any of the following plugins:

**Available Plugins**

Revision Control System Plugins: 
 - CVS                  (org.eclipse.cvs)
 - CLEARCASE            (net.sourceforge.eclipseccase)
 - GIT                  (org.eclipse.egit)
 - PERFORCE.2021.2      (com.perforce.team.feature) - Only in distros based on Eclipse 4.22
 - PERFORCE.2022.1      (com.perforce.team.feature) - Only in distros based on Eclipse 4.22
 - PERFORCE.2022.2      (com.perforce.team.feature) - Only in distros based on Eclipse 4.22
 - PERFORCE.2023.1      (com.perforce.team.feature) - Only in distros based on Eclipse 4.22
 - PERFORCE.2023.2      (com.perforce.team.feature) - Only in distros based on Eclipse 4.22
 - PERFORCE.2024.1      (com.perforce.team.feature) - Only in distros based on Eclipse 4.33, 4.37
 - PERFORCE.2024.2      (com.perforce.team.feature) - Only in distros based on Eclipse 4.37
 - PERFORCE.2025.1      (com.perforce.team.feature) - Only in distros based on Eclipse 4.37
 - SVN                  (org.eclipse.team.svn)

Language Support Plugins: 
 - BASH                 (de.jcup.basheditor)
 - CPP                  (org.eclipse.cdt)
 - JAVA                 (org.eclipse.jdt)
 - JENKINSFILE          (de.jcup.jenkinseditor) - Only in distros based on Eclipse 4.33, 4.37
 - JSON                 (jsonedit-feature)
 - PERL                 (org.epic.feature.main)
 - PYTHON               (org.python.pydev.feature)
 - RUBY                 (io.github.pyvesb.eclipse_solargraph)
 - TCL                  (org.eclipse.dltk.tcl)
 - YAML                 (de.jcup.yamleditor)

Review and Task Management Plugins: 
 - GERRIT               (org.eclipse.egerrit.feature)
 - MYLYN                (org.eclipse.mylyn_feature)

Other Plugins: 
 - EDITOR_CONFIG        (editorconfig-eclipse-feature)

**Usage**

.. code-block:: 
  
 dvt_kit_installer.sh [options] operation
 
 OPTIONS:
   
     The options must be specified before the operation
         
         [-t|target <dir>]
             - Path to the Eclipse directory where the plugins will be installed (default $DVT_HOME/eclipse)

         [-w|workspace <dir>]
             - Temporary workspace directory (default /tmp/)
 
         [-s|simulate]
             - Simulate the operation
 
         [-h|help]
             - Display this help
 
 OPERATIONS:
 
     The operation must be specified after the options and only one operation
     can be specified followed by a list of plugins (containing at least one plugin)
 
     [-i|install <space separated list of plugins>]
         - Install the plugins specified in the list
 
     [-d|delete|uninstall <space separated list of plugins>]
         - Uninstall the plugins specified in the list
 
     [-li|list_installed]
         - List the plugins installed with this script

     [-la|list_available]
         - List the plugins available for this distribution

**Examples**

Install the plugins for GIT and C++

.. code-block:: 

  $DVT_HOME/bin/dvt_kit_installer.sh install GIT CPP
 
Uninstall the plugin for GIT

.. code-block:: 

  $DVT_HOME/bin/dvt_kit_installer.sh uninstall GIT
 
List installed plugins

.. code-block:: 

  $DVT_HOME/bin/dvt_kit_installer.sh list_installed

List available plugins for this distribution

.. code-block:: 

  $DVT_HOME/bin/dvt_kit_installer.sh list_available
 
Simulate the installation of the JAVA plugin

.. code-block:: 

  $DVT_HOME/bin/dvt_kit_installer.sh -s install JAVA

**Notes**

* If you are using the wrapper version of this script from the *linux-all* DVT distribution, you may select the DVT's architecture on which this script will be executed by passing the following argument: **-arch <linux-amd64|linux-arm64|all>**. By default, the value of this argument is set to **all**.
