FYI: I accidentally hit Command B in Sublime Text today while working on a FlexJS project. My project had a build.xml file for ant builds in it because I was using the command line for building.
It turns out that Sublime Text automatically realizes that the project can be built with ant and goes ahead and does that for you if you hit Command B. The output shows up in an output pane. You can even build while working on unsaved build.xml files to see the result of changes without saving the file first. Very handy! I have no idea how to make Sublime Text build using Maven, but maybe that’s something worth looking into. (I don’t see Maven listed in the list of Build Systems.) Harbs