Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#277 build.xml compile doesn't provide class debug info

open
nobody
General (151)
5
2006-12-10
2006-12-10
Anonymous
No

the bsh.jar classes don't come with debug info (showing line numbers while debugging) but from looking at build.xml it looks like the developers do want this.

the build.xml for bsh has a javac with
<javac...
debug="on"
...>

Now due to some problems in ant world, the two valid options are actually debug="off" debug="true".

Once I changed my local build.xml file to debug="true" the generated jar gave me line numbers in stack traces.

Thanks
James Andrews

Discussion