How do I install ant on OS X Mavericks?

Posted by Robert Karl on Super User See other posts from Super User or by Robert Karl
Published on 2013-06-20T18:28:51Z Indexed on 2013/10/29 4:01 UTC
Read the original article Hit count: 672

Filed under:
|
|
|

After upgrading to OS X 10.9 Mavericks, ant is no longer on my path.

[126] 11:23:26 rkarl-mba-4:~/mobile-baselayer > ant
zsh: permission denied: ant
[126] 11:23:50 rkarl-mba-4:~/mobile-baselayer > which ant
ant not found

I tried installing through homebrew

[126] 11:23:09 rkarl-mba-4:~/mobile-baselayer > brew install ant
Error: No available formula for ant

It's odd that homebrew doesn't have a formula for that....

After googling, I found this article, which suggested using a user's custom formula for brew.

[1] 11:23:56 rkarl-mba-4:~/mobile-baselayer > brew install https://raw.github.com/adamv/homebrew-alt/master/duplicates/ant.rb

curl: (22) The requested URL returned error: 404 Not Found
Error: Failure while executing: /usr/bin/curl -f#LA Homebrew\ 0.9.4\ (Ruby\ 1.8.7-358;\ Mac\ OS\ X\ 10.9) https://raw.github.com/adamv/homebrew-alt/master/duplicates/ant.rb -o /Library/Caches/Homebrew/Formula/ant.rb

Any help would be appreciated!

© Super User or respective owner

Related posts about osx

Related posts about homebrew