Did you know that it's possible in NetBeans to define easily a keyboard shortcut for an ant target? Just add your custom ant target to build.xml (through Files view). When this file is opened you can see the list of all targets in navigator. You can right-click on any of these targets to define a shorcut:
When you invoke the shortcut, the corresponding ant target is executed. So you can take advantage of ant's power by pressing a single key combination. Similarly you can add a menu item or a toolbar button for the ant target:
Tight integration of NetBeans with ant is a great thing, notice how many things are possible - Geertjan
has in his blog a huge collection of tips how to (mis)use ant integration.
Ah, I just noticed that Geertjan already blogged about defining shortcuts for ant targets. I'm not original this time.