where is ant installed on Mac OS X snow leopard by default?
问题 I don't have ANT_HOME set, so i want to find where the home directory of ant is. I'm using the version of ant that was installed by default on my OSX install. 回答1: Follow these instructions to find the location of any package: whereis ant (replace 'ant' with whatever you're looking for) On my machine, this reports: /usr/bin/ant so, I do: ls -l /usr/bin/ant on my machine this reports: lrwxr-xr-x 1 root wheel 22 Nov 30 17:09 /usr/bin/ant -> /usr/share/ant/bin/ant so, I do : ls -l /usr/share/ant