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 protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to