For a class project, I'm working with the Sphinx open source speech recognition framework produced by Carnegie Mellon University. This is my first exposure to using ant to build applications, and its been an interesting time.
I've written an application whose goal is to take in audio input from either microphone input or a WAV file, transcribe it using one of two available configurations, and output the words as well as the confidence scoring. The code I wrote works, except for the confidence scoring of words. That code was adapted from a demonstration utility included with the svn checkout and that utility works as advertised. However, in my project, it throws a NullPointerException, and I can't figure out why from the code alone.
Since this application is built using ant, I know I need to insert some code in the buildscript to allow debugging. This question was helpful in understanding what to do, but I have no idea where to insert that code. I'm assuming its in the header, but the source really shows no place to include JVM arguments.
How do I accomplish debugging in this situation?