Since upgrading to the latest Mac OSX (10.9.1) I cannot run builds in Sublime Text using the SuperAnt tool. Here is the error:
<> are my privacy omissions
[Errno 2] No such file or directory: 'ant' [cmd: ['ant', '-f', '/Users/stan/Development/<>/<>/build.xml', 'dist-amp']] [dir: /Users/stan/Development/<>/<>] [path: /usr/bin:/bin:/usr/sbin:/sbin] [Finished]
What I'm noticing is that my path listed in the error is not my actual path:
/opt/local/lib/mysql5/bin/:/opt/local/bin:/Applications/Sublime Text 2.app/Contents/SharedSupport/bin:/Users/stan/Development/tomcat7/ImageMagick/bin:/Users/stan/Development/apache-ant-1.8.4/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/local/lib/mysql5/bin/:/usr/local/git/bin:/usr/local/MacGPG2/bin
So my question is two fold.
- Were there changes in the latest OSX service pack that caused this issue to arise?
- How can I manually set this path variable?