ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Kelem <>
Subject Re: "Unknown source" in stack trace
Date Mon, 26 Jan 2004 21:56:39 GMT
On 2002-10-08 Matt Benson wrote:

You should try passing -Djava.compiler=NONE to your
Java executable (in combination with compiling with


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

I'm trying to debug someone else's code and having the same problem.
Where to I pass -Djava.compiler=NONE to the executable?

I've compiled (in ant) with debug="true", debuglevel="lines,vars,source",
and even tried including the source tree in the jar file.
By the way, the code I'm trying to debug is an external ant task, with 
the jar file in ant/lib.

Steve Kelem

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message