This post on Stack Overflow (
http://stackoverflow.com/questions/1351296/netbeans-creating-custom-build-target-to-let-sources-be-packaged-to-jar) about how to run customized build targets may help you in the right direction. Although there might not be a way to link it to the Build command, you can access it by right clicking the build.xml and choosing which target to run.
In further discussion, it would be wise not to
bakb wrote:
> [Exclamation] BUMP [Exclamation]
threads. As other developers, like me, tend to look at posts that have no replies. That helps us figure out which ones have answers.
Just a friendly FYI.
As for, smfaisalabbas, when I see the debugging keyword you used in your case, I can't help but think that NetBean's debugger is used for. (Default keybinding 'Ctrl+F5')
Unless there is a special need for building a debug version, the same link could be beneficial.
Happy Coding
------------------------
~Sizzle
Game Crafter's Backpack (
http://code.google.com/p/game-crafters-backpack/)