Re: [JBoss-dev] No line numbers in stack trace
It is because the default values for the key javac options in the task.properties files are: javac.optimize=onjavac.debug=off This should be reversed. The main branch default should always be to enable debugging and turn off optimization. To compile with these value copy the jboss-all/build/etc/local.properties-example to jboss-all/build/etc/local.properties and change the javac.x properties to what you want. - Original Message - From: Bill Burke To: Jboss-Development@Lists. Sourceforge. Net Sent: Thursday, September 13, 2001 10:15 PM Subject: [JBoss-dev] No line numbers in stack trace I'm getting no line numbers in stack traces of JBoss code. Does the build system compile without debug information? If not, how do I turn this on. Sorry for this simple question, Bill
Re: [JBoss-dev] No line numbers in stack trace
check that build/local.properties is setting java.debug=on. If you still don't get traces, run with -debug and check if javac is actually getting debug flags. If it is not please mail me the output and I will look into it further. --jason On Fri, 14 Sep 2001, Bill Burke wrote: I'm getting no line numbers in stack traces of JBoss code. Does the build system compile without debug information? If not, how do I turn this on. Sorry for this simple question, Bill ___ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
Re: [JBoss-dev] No line numbers in stack trace
Why isn't this default setting? - Original Message - From: Jason Dillon [EMAIL PROTECTED] To: Jboss-Development@Lists. Sourceforge. Net [EMAIL PROTECTED] Sent: Friday, September 14, 2001 1:58 AM Subject: Re: [JBoss-dev] No line numbers in stack trace check that build/local.properties is setting java.debug=on. If you still don't get traces, run with -debug and check if javac is actually getting debug flags. If it is not please mail me the output and I will look into it further. --jason On Fri, 14 Sep 2001, Bill Burke wrote: I'm getting no line numbers in stack traces of JBoss code. Does the build system compile without debug information? If not, how do I turn this on. Sorry for this simple question, Bill ___ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development ___ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
Re: [JBoss-dev] No line numbers in stack trace
Note that the local.properties file needs to be in the build directory, not build/etc directory as I indicated. - Original Message - From: Bill Burke To: [EMAIL PROTECTED] Sent: Friday, September 14, 2001 8:19 AM Subject: RE: [JBoss-dev] No line numbers in stack trace Thanks. I apologize for my ignorance of the build system. Bill -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Scott M StarkSent: Friday, September 14, 2001 3:38 AMTo: [EMAIL PROTECTED]Subject: Re: [JBoss-dev] No line numbers in stack trace It is because the default values for the key javac options in the task.properties files are: javac.optimize=onjavac.debug=off This should be reversed. The main branch default should always be to enable debugging and turn off optimization. To compile with these value copy the jboss-all/build/etc/local.properties-example to jboss-all/build/etc/local.properties and change the javac.x properties to what you want. - Original Message - From: Bill Burke To: Jboss-Development@Lists. Sourceforge. Net Sent: Thursday, September 13, 2001 10:15 PM Subject: [JBoss-dev] No line numbers in stack trace I'm getting no line numbers in stack traces of JBoss code. Does the build system compile without debug information? If not, how do I turn this on. Sorry for this simple question, Bill
Re: [JBoss-dev] No line numbers in stack trace
It should be... if it is not them my appoligies. --jason On Fri, 14 Sep 2001, Scott M Stark wrote: Why isn't this default setting? - Original Message - From: Jason Dillon [EMAIL PROTECTED] To: Jboss-Development@Lists. Sourceforge. Net [EMAIL PROTECTED] Sent: Friday, September 14, 2001 1:58 AM Subject: Re: [JBoss-dev] No line numbers in stack trace check that build/local.properties is setting java.debug=on. If you still don't get traces, run with -debug and check if javac is actually getting debug flags. If it is not please mail me the output and I will look into it further. --jason On Fri, 14 Sep 2001, Bill Burke wrote: I'm getting no line numbers in stack traces of JBoss code. Does the build system compile without debug information? If not, how do I turn this on. Sorry for this simple question, Bill ___ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development ___ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development ___ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
RE: [JBoss-dev] No line numbers in stack trace
It is because the default values for the key javac options in the task.properties files are: javac.optimize=on javac.debug=off This should be reversed. The main branch default should always be to enable These are simply default values, local.properties should be used to set the environment specific values. build/etc/local.properties-example should be setup with reasonable defaults for development. --jason ___ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
Re: [JBoss-dev] No line numbers in stack trace
this file should be included after processing local.properties, do you see anything related to that? I had some machine trouble and am rebuilding my environment at the moment. I will look into this more when I am up and running again. The include of ${project.build}/local.properties (and ${module.root}/local.properties) comes before the task.properties include, so definitions from either of those files should take precidence... --jason On Fri, 14 Sep 2001, Scott M Stark wrote: It is not, thus the loss of line numbers in stack traces in recent builds. Running ant with -debug shows the values from task.properties as opposite what they should be: build 1139sh build.sh -debug ... [property] Resource Loading planet57/tools/buildmagic/task.properties Setting project property: javac.verbose - off Setting project property: junit.timeout - 30 Setting project property: javac.deprecation - on Setting project property: javadoc.verbose - false Setting project property: javac.target - 1.2 Setting project property: junit.printsummary - true Setting project property: junit.haltonerror - false Setting project property: javac.optimize - on ... Setting project property: javac.debug - off - Original Message - From: Jason Dillon [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, September 14, 2001 2:14 PM Subject: Re: [JBoss-dev] No line numbers in stack trace It should be... if it is not them my appoligies. --jason On Fri, 14 Sep 2001, Scott M Stark wrote: Why isn't this default setting? - Original Message - From: Jason Dillon [EMAIL PROTECTED] To: Jboss-Development@Lists. Sourceforge. Net [EMAIL PROTECTED] Sent: Friday, September 14, 2001 1:58 AM Subject: Re: [JBoss-dev] No line numbers in stack trace check that build/local.properties is setting java.debug=on. If you still don't get traces, run with -debug and check if javac is actually getting debug flags. If it is not please mail me the output and I will look into it further. --jason On Fri, 14 Sep 2001, Bill Burke wrote: I'm getting no line numbers in stack traces of JBoss code. Does the build system compile without debug information? If not, how do I turn this on. Sorry for this simple question, Bill ___ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development ___ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development ___ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development ___ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development ___ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
Re: [JBoss-dev] No line numbers in stack trace
If I create a local.properties it is picked up, but there is no local.properties in a clean checkout of jboss-all: cvsroot 1013cd jboss-all/build/ build 1014ls build.bat* build.sh* build.xml CVS/ etc/ build 1015ls etc/ CVS/ local.properties-example local.properties-production root/ - Original Message - From: Jason Dillon [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, September 14, 2001 4:53 PM Subject: Re: [JBoss-dev] No line numbers in stack trace this file should be included after processing local.properties, do you see anything related to that? I had some machine trouble and am rebuilding my environment at the moment. I will look into this more when I am up and running again. The include of ${project.build}/local.properties (and ${module.root}/local.properties) comes before the task.properties include, so definitions from either of those files should take precidence... --jason On Fri, 14 Sep 2001, Scott M Stark wrote: It is not, thus the loss of line numbers in stack traces in recent builds. Running ant with -debug shows the values from task.properties as opposite what they should be: build 1139sh build.sh -debug ... [property] Resource Loading planet57/tools/buildmagic/task.properties Setting project property: javac.verbose - off Setting project property: junit.timeout - 30 Setting project property: javac.deprecation - on Setting project property: javadoc.verbose - false Setting project property: javac.target - 1.2 Setting project property: junit.printsummary - true Setting project property: junit.haltonerror - false Setting project property: javac.optimize - on ... Setting project property: javac.debug - off - Original Message - From: Jason Dillon [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, September 14, 2001 2:14 PM Subject: Re: [JBoss-dev] No line numbers in stack trace It should be... if it is not them my appoligies. --jason On Fri, 14 Sep 2001, Scott M Stark wrote: Why isn't this default setting? - Original Message - From: Jason Dillon [EMAIL PROTECTED] To: Jboss-Development@Lists. Sourceforge. Net [EMAIL PROTECTED] Sent: Friday, September 14, 2001 1:58 AM Subject: Re: [JBoss-dev] No line numbers in stack trace check that build/local.properties is setting java.debug=on. If you still don't get traces, run with -debug and check if javac is actually getting debug flags. If it is not please mail me the output and I will look into it further. --jason On Fri, 14 Sep 2001, Bill Burke wrote: I'm getting no line numbers in stack traces of JBoss code. Does the build system compile without debug information? If not, how do I turn this on. Sorry for this simple question, Bill ___ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development ___ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development ___ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development ___ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development ___ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development ___ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development