ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gert Driesen" <gert.drie...@pandora.be>
Subject Re: Line numbers in exception stack trace
Date Wed, 06 Feb 2002 19:47:41 GMT
Hi,

I just noticed that it works fine in the Ant 1.5 nightly build if you don't
specify the debugLevel attribute for the javac task.

If I specify both debug="on" and a debugLevel (even debugLevel="vars"), I
loose line number information in stack traces. If I only specify debug="on"
it works fine.

Is this a bug or is this by design ?

Best regards,

Gert Driesen

----- Original Message -----
From: "David Medinets" <medined@mtolive.com>
To: "'Ant Users List'" <ant-user@jakarta.apache.org>
Sent: Wednesday, February 06, 2002 6:56 PM
Subject: RE: Line numbers in exception stack trace


> I think that I solved this issue by adding 'debug="yes"' to my Javac task:
>
> <javac srcdir="${src.dir}" destdir="${build.dir}" debug="yes"
> depend="yes">
> <include name="**/*.java" />
> <classpath refid="class.path"/>
> </javac>
>
> David Medinets, Consultant, http://www.codebits.com
> World-Renowned Nested Tree Modeler
>
>
> --
> 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