1.卸载Mac OS下brew工具:
sudo ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall)"
2.安装Mac os下brew工具
3.ant工具安装
brew install ant
4.brew查看安装的工具
brew list
5.查看ant安装路径
which ant
查找lib目录