ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kendall Collett" <kcoll...@convio.com>
Subject Re: "Unknown source" in stack trace
Date Wed, 09 Oct 2002 22:31:58 GMT
You may also need to specify something like debuglevel="source,lines"; from
the Ant documentation: "If debuglevel is not specified, by default, :none
will be appended to -g."

Kendall

----- Original Message -----
From: "Tolles, James" <James_Tolles@mpaa.org>
To: "'Ant Users List'" <ant-user@jakarta.apache.org>
Sent: Tuesday, October 08, 2002 17:02
Subject: RE: "Unknown source" in stack trace


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



--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message