其中蚂蚁默认安装在Mac OS X雪豹? [英] where is ant installed on Mac OS X snow leopard by default?
本文介绍了其中蚂蚁默认安装在Mac OS X雪豹?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我没有ANT_HOME集,所以我要寻找到蚂蚁的主目录。我使用的是默认安装在我的OSX安装蚂蚁的版本。
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.
推荐答案
请按照下列指示找到任何软件包的位置:
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
所以,我做的:
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
所以,我做的:
ls -l /usr/share/ant
和获取:
lrwxr-xr-x 1 root wheel 14 Nov 30 17:09 /usr/share/ant -> java/ant-1.8.1
从这个我可以推测蚂蚁安装在 /usr/share/ant/java/ant-1.8.1
这篇关于其中蚂蚁默认安装在Mac OS X雪豹?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文