you need to turn on the debug flag.
example:
    <javac srcdir="${srcShared}" destdir="${classesShared}" debug="on" >



-----Original Message-----
From: Ian McCall [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 08, 2002 2:59 PM
To: [EMAIL PROTECTED]
Subject: "Unknown source" in stack trace


When using ant to compile and install source/class
files, my stack traces always show (Unknown Source)
instead of (SourceFile.java: line#). This makes
debugging much more of a chore.

I have tried several different approaches from
compiling the source and copying the class files to
the destdir, to copying source files and then
compiling in the destdir. Nothing seems to work
(except for manually compiling the source).

Is this a bug. A feature?

And help would be greatly appreciated.

Thanks,
  Ian

__________________________________________________
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos & More
http://faith.yahoo.com

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to