Awesome
asdf-tomcat
tomcat plugin for the asdf version manager.
Contents
Dependencies
bash
,curl
,tar
: generic POSIX utilities.
Install
Plugin:
asdf plugin add tomcat
# or
asdf plugin add tomcat https://github.com/asdf-community/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.
Setting CATALINA_HOME environment variable
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
Contributing
Contributions of any kind welcome! See the contributing guide.
Thanks goes to these contributors!
License
See LICENSE © Maxim Butov