aspose 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
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????????