命令行下which ant 拷贝路径,注意定位到bin目录下,不然会报错,像这样 export ANT_ROOT=/Users/tim/Desktop/devTools/apache-ant-1.9.4/bin