ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Davis <pe...@speaklink.com>
Subject Re: Unknown Source in compiled classes.
Date Thu, 08 Nov 2001 22:28:30 GMT
Your javac task should have the attribute debug="yes".  It defaults to 
"no".  That will cause the generated class files to include debugging 
symbols.

Stephane Chauvin wrote:

>Hi,
>when I have got an exception in my code, the stack doesn't
>display anymore the line number: 
>         at test.Test.main(Unknown Source)
>
>It occurs only when I compile with the javac task from Ant. With
>a DOS command, the stack returns correctly the line number.
>
>I am using Ant 1.4.1, JDK 1.3.1, Windows 2000.
>I have this problem since I get the last ANT version.
>
>Any ideas?
>
>
>___________________________________________________________
>Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran├žais !
>Yahoo! Courrier : http://courrier.yahoo.fr
>
>--
>To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
>For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>
>
>
>

-- 
Furthermore, I believe bacon prevents hair loss.

Peter Davis
Developer, Speaklink Inc.
peter@speaklink.com




--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message