This script is a command line utility that can be used to install/uninstall/update plugins from any type of update site into the DVT Eclipse distribution.
Usage: $DVT_HOME/bin/dvt_plugin_installer.sh ...
[-i|install <feature>]*
- The name of the feature to be installed
[-d|delete|uninstall <feature>]*
- The name of the feature to be uninstalled
[-u|update <feature>]*
- The name of the feature to be updated
[-r|repo|repository <uri>]*
- Repository URI or filesystem path
[-t|target <dir>]
- Path to the Eclipse directory where the plugins will be installed (default $DVT_HOME/eclipse)
[-w|workspace <dir>]
- Temporary workspace directory for this script (default /tmp/)
[-s|simulate]
- Simulate the operation
[-li|list_installed]
- List installed features
[-h|help]
- Display this help
Examples
Update DVT offline from a downloaded archived update site:
$DVT_HOME/bin/dvt_plugin_installer.sh \
repo /path/to/dvt_update_site-*.zip \
update ro.amiq.dvt.feature
Update DVT from online update site:
$DVT_HOME/bin/dvt_plugin_installer.sh \
repo https://eda.amiq.com/update/latest/ \
update ro.amiq.dvt.feature
Uninstall a plugin (ViPlugin) from the distribution:
$DVT_HOME/bin/dvt_plugin_installer.sh \
delete com.mbartl.eclipse.viplugin.feature
List all installed plugins:
$DVT_HOME/bin/dvt_plugin_installer.sh list_installed
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.