Re: Debug attribute on wocompile
Re: Debug attribute on wocompile
- Subject: Re: Debug attribute on wocompile
- From: Paul Hoadley <email@hidden>
- Date: Tue, 17 Aug 2010 21:37:40 +0930
Hi Hugi,
On 16/08/2010, at 8:56 PM, Hugi Thordarson wrote:
> Set the attribute debuglevel="lines" for the wocompile task.
>
> Check the documentation for the javac task (which wocompile extends) for more info on the values you can use in this attribute.
>
> http://www.jajakarta.org/ant/ant-1.6.1/docs/en/manual/CoreTasks/javac.html
Thanks for the pointer.
It turns out that no combination of optimize="off", debug="true" and debuglevel="lines"/debuglevel="source,lines" is putting line numbers or filenames in my exception stack traces.
To recap, this is building externally, with Ant, in Hudson. Build machine's javac is 1.6.0_20. Deployment machine's JRE is 1.6.0_12, running the app under JavaMonitor. Passing "-v" to Ant shows that the -g option is being set:
[wocompile] '-g:source,lines'
Does anyone have any further ideas?
--
Paul.
http://logicsquad.net/
_______________________________________________
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