• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Callstacks in jenkins-built apps without line numbers
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Callstacks in jenkins-built apps without line numbers


  • Subject: Re: Callstacks in jenkins-built apps without line numbers
  • From: Johann Werner <email@hidden>
  • Date: Wed, 26 Sep 2012 16:10:55 +0200

Hi Maik,

congrats to mastering jenkins :)

To have more info in your stack traces you have to disable optimization during the compilation. Check your wocompile ant task:

<wocompile destdir="bin" source="${compiler.source}" target="${compiler.target}"
deprecation="${compile.deprecation}" debug="on" optimize="off"
encoding="utf8" includeantruntime="false">

Important is to add the optimize=off otherwise the reported line numbers can differ from your source code line numbers.

jw


Am 26.09.2012 um 15:51 schrieb Maik Musall <email@hidden>:

Hi,

I recently started using Jenkins for my builds. Due to our complicated structure of Wonder, company-specific generic frameworks and project-specific frameworks with all sorts of interdependencies, it took a lot of build.xml tweaking, ERJenkins changes and stuff, but now the first Jenkins-built release is running in production.

The only thing that bugs me is if the app throws an exception, the callstack has lines like this:

com.selbstdenker.foo.Bar.myMethod(Unknown Source)

whereas previously it was:

com.selbstdenker.foo.Bar.myMethod(Bar.java:123)

What could have caused that information to be not contained any more in the builds?

Thanks
Maik


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Callstacks in jenkins-built apps without line numbers
      • From: Maik Musall <email@hidden>
References: 
 >Callstacks in jenkins-built apps without line numbers (From: Maik Musall <email@hidden>)

  • Prev by Date: Re: Callstacks in jenkins-built apps without line numbers
  • Next by Date: Re: Callstacks in jenkins-built apps without line numbers
  • Previous by thread: Re: Callstacks in jenkins-built apps without line numbers
  • Next by thread: Re: Callstacks in jenkins-built apps without line numbers
  • Index(es):
    • Date
    • Thread