ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Davis <>
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 

Stephane Chauvin wrote:

>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 gratuite et en fran├žais !
>Yahoo! Courrier :
>To unsubscribe, e-mail:   <>
>For additional commands, e-mail: <>

Furthermore, I believe bacon prevents hair loss.

Peter Davis
Developer, Speaklink Inc.

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message