REPOSITORY MOVED TO https://github.com/asdf-community/asdf-tomcat
tomcat plugin for the asdf version manager.
bash
,curl
,tar
: generic POSIX utilities.
Plugin:
asdf plugin add tomcat
# or
asdf plugin add tomcat https://github.com/mbutov/asdf-tomcat.git
tomcat:
# Show all installable versions
asdf list-all tomcat
# Install specific version
asdf install tomcat latest
# Set a version globally (on your ~/.tool-versions file)
asdf global tomcat latest
# Now tomcat commands are available
catalina.sh version
Check asdf readme for more instructions on how to install & manage versions.
For setting CATALINA_HOME environment variable, add the following line into ~/.bashrc
or ~/.zshrc
(depending on your shell) file:
. ~/.asdf/plugins/tomcat/set-catalina-home.sh
Contributions of any kind welcome! See the contributing guide.
Thanks goes to these contributors!
See LICENSE © Maxim Butov