I followed these guides but with no result:
The First Guide:
- Download ant from http://ant.apache.org/bindownload.cgi
- move the extracted folder to home
- open terminal and type: open -e .bash_profile
- then I added to my path and the path as follow:
export PATH=$PATH:/Users/ayman/adt/sdk/platform-tools:/Users/ayman/adt/sdk/tools:/Users/ayman/ant/bin
the Second Guide:
- Download ant from http://ant.apache.org/bindownload.cgi
- move the extracted folder to home
- open terminal and type: nano $HOME/.profile
- append these: export PATH=$PATH:/Users/ayman/ant/bin export ANT_HOME=/Users/ayman/ant/bin
- source $HOME/.profile
But after both when I try to run in terminal : ant -version
, it gives me command not found