Sublime Forum

ANT build failing except after fresh launch of ST2

#1

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

0 Likes

#2

Anybody any idea? Any other information I can provide?

0 Likes

#3

Hmm. It is resolved, without re-installing. No idea how.

0 Likes