sshikov / jsendnsca

Automatically exported from code.google.com/p/jsendnsca
0 stars 0 forks source link

Compile with debug information #29

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The 1.3.1 release is not compiled with debug information turned on.

This prevents to see line information in stacktraces.

For example the NPE in JSend NSCA is not possible to see where happens

java.lang.NullPointerException
at com.googlecode.jsendnsca.core.mocks.NagiosNscaStub.stop(Unknown Source)

Original issue reported on code.google.com by claus.ib...@gmail.com on 9 Apr 2010 at 7:28

GoogleCodeExporter commented 9 years ago
Hi Claus

If you want to fix and release, go right ahead, 

If so, let me know if anything i can do for you

Regards

Raj

Original comment by rajneeshpatel on 9 Apr 2010 at 8:11

GoogleCodeExporter commented 9 years ago
Its okay, lets just get this into the 2.0 release.

I cant remember but I think maven will by default compile with debug info. But 
we need to double check how the 
compiler settings may have been setup in the pom.xml file

Original comment by claus.ib...@gmail.com on 9 Apr 2010 at 8:29

GoogleCodeExporter commented 9 years ago
Yeah maven does this by default
http://maven.apache.org/plugins/maven-compiler-plugin/compile-mojo.html

Original comment by claus.ib...@gmail.com on 9 Apr 2010 at 8:36