Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@rponte
Created January 2, 2020 17:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rponte/eb3e8088644da0f73f7cc30f96ebfba6 to your computer and use it in GitHub Desktop.
Save rponte/eb3e8088644da0f73f7cc30f96ebfba6 to your computer and use it in GitHub Desktop.
Using Ant v1.9 on MacOSX - this version supports Java 6.x and 7.x
# first off, install it via HomeBrew
brew install ant@1.9
# now configure Ant-v1.9 on your current PATH variable
export PATH="/usr/local/opt/ant@1.9/bin:$PATH"
# finally, verify if it's ok
ant -version
# Apache Ant(TM) version 1.9.14 compiled on March 12 2019
##
# or just configure Ant-v1.9 for all ZSH sessions
##
echo 'export PATH="/usr/local/opt/ant@1.9/bin:$PATH"' >> ~/.zshrc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment