File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes Unknown Source???????? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Unknown Source????????" Watch "Unknown Source????????" New topic
Author

Unknown Source????????

Ronnie Phelps
Ranch Hand

Joined: Mar 12, 2001
Posts: 329
I used to use smake and I never had a problem reading the line numbers in my stack trace when run time exceptions occured. Now that i've converted to another make tool, I get exceptions without line numbers. Instead they read....(Unknown Source)....why is that? What can i do to fix this?
Jon Strayer
Ranch Hand

Joined: Dec 04, 2002
Posts: 133
Make sure the compiler compiles with debugging turned on (commandline option -g). ANT (for exapmle ) defaults to no debugging info.


Jon
Ronnie Phelps
Ranch Hand

Joined: Mar 12, 2001
Posts: 329
I think that is the difference. I'll try it out. Thanks.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Unknown Source????????
 
Similar Threads
Need help with this code
can't run jar file in win xp
Why???? (Unknow Source)
display CGM images iingn web browser with out using any viewer in java
install error: java.lang.NoClassDefFoundError