I am using ST2 on Mountain Lion. I keep getting this error when building (Google Closure javascript compiler) with ANT:
[Errno 2] No such file or directory
[cmd: [u'ant']]
[dir: /Users/martijn/Code/enketo/Stuff]
[path: /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin:/Users/martijn/bin]
[Finished]
The weird thing is that when I exit ST2 (completely, with Quit) and then relaunch, it works fine for a while. I guess, I’ll have to figure what I do that makes it stop working after a while, but maybe somebody has an idea already?
Typing ant in the terminal (while in ~/) properly finds the application (as I get the ‘build.xml does not exist’ error).
I hope somebody can help.
Cheers,
Martijn