[已解决]配置ant_root错误

->Check environment variable ANT_ROOT
->Find environment variable ANT_ROOT…
->ANT_ROOT not found

->Find command ant in system…
->Command ant not found

->Please enter the path of ANT_ROOT (or press Enter to skip):/Users/wei/Documents/apache-ant-1.9.4
->Error: “/Users/wei/Documents/apache-ant-1.9.4” is not a valid path of ANT_ROOT. Ignoring it.

Please execute command: “source /Users/wei/.bash_profile” to make added system variables take effect

提示这个路径无效
/Users/wei/Documents/apache-ant-1.9.4
可我mac这个路径明明是存在的啊

试试执行下提示的这个呗 source /Users/wei/.bash_profile

你应该要指定到bin目录

like this

export ANT_ROOT=/Users/tim/Desktop/devTools/apache-ant-1.9.4/bin


```

没有效果。下次还是一样提示路径无效
:12:

你不会ant没解压吧

方便贴出base_profile么

执行

vi /Users/wei/.bash_profile



然后贴出来 你也可以 直接执行 
<pre class="brush:shell; toolbar: true; auto-links: false;">
./Users/wei/Documents/apache-ant-1.9.4/bin/ant -version

看看ant正常否

:14: 可以了。谢谢。。。
就差个/bin