ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthew Inger <ma...@sedonacorp.com>
Subject Re: Line numbers in .class files ...
Date Fri, 17 Aug 2001 14:09:13 GMT
Everitt, Andrew wrote:

>Hi all!
>
>I just tried using Ant 1.4b1 and found that whenever I print a stack trace I
>don't get any line numbers for my code - since I hadn't noticed this before
>I dropped back to Ant 1.3 and presto line numbers are back.
>
>Is there an undocumented (one I couldn't find) option for the javac task to
>control whether line numbers are included in the byte code??
>
>Any help would be appreciated.
>Andi
>____________________
>Andrew Everitt
>Development Team
>Xerox Mobile Solutions, Cambridge. UK 
>
-Djava.compiler=none

or if you're using a jre
    -nojit


-- 
Matt Inger (matt.inger@sedonacorp.com)
Sedona Corporation
455 S. Gulph Road, Suite 300
King of Prussia, PA 19406
(484) 679-2213
"Self-respect - the secure feeling that no one,
 as yet, is suspicious." -H.L. Mencken 




Mime
View raw message