I am having trouble getting the Build command in Sublime Text 2 working with Ant. I have defined a project, and in the root of the project is a build.xml file. Then in Sublime Text 2, with the project open, I choose Tools -> Build System -> Ant. Then if I try to run Tools -> Build, I get the following output:
Buildfile: build.xml does not exist!
Build failed
[Finished]
I’m sure there’s something simple I’m missing. I’m on Windows XP. Thanks.
By default Sublime Text 2 looks for the build.xml in the root of your project folder. The easiest thing might be moving your build.xml there.
Otherwise, you can change the working_dir by modifying the Ant.sublime-build (not sure where this lives in Windows, search your system for it). Alternately, you can copy the contents of that file and make a new build system (Tools -> Build System -> New Build System).
Take a look at this thread for more details: http://www.sublimetext.com/forum/viewtopic.php?f=2&t=1444&start=20