<javac srcdir="${src}" destdir="${build}" debug="on"> ... </javac>
Programming Tips - Java: How can I get line numbers into stack traces of my code?
Date: 2013nov20
Language: Java
Q. Java: How can I get line numbers into stack traces of my code?
A. Use the -g option for javac.
In Ant use debug="on" like this: