ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tolles, James" <James_Tol...@mpaa.org>
Subject RE: "Unknown source" in stack trace
Date Tue, 08 Oct 2002 22:02:25 GMT
you need to turn on the debug flag.
example:
    <javac srcdir="${srcShared}" destdir="${classesShared}" debug="on" >



-----Original Message-----
From: Ian McCall [mailto:bronco_fan_no1@yahoo.com]
Sent: Tuesday, October 08, 2002 2:59 PM
To: ant-user@jakarta.apache.org
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:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message