ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam Murdoch" <adammurdoch...@yahoo.com>
Subject RE: Debug compile property is driving me nuts
Date Wed, 16 Jan 2002 10:29:30 GMT

Hi,

Try this:

<javac debug="true" ... >

However, debuggers don't always like the debug info that jikes generates.


Adam

> -----Original Message-----
> From: garym@maya.dyndns.org [mailto:garym@maya.dyndns.org]On Behalf Of
> Gary Lawrence Murphy
> Sent: Wednesday, 16 January 2002 7:33 PM
> To: ant-user@jakarta.apache.org
> Subject: Debug compile property is driving me nuts
>
>
>
> I'm using Ant 1.4.1 and I can't find the magic command or property
> to turn on the jikes -g switch --- has something changed in the
> properties?
>
> I've tried:
>
> 1) build.debug=on       (also "yes" and "true")
> 2) build.compile.debug=on
> 3) -Dbuild.debug (and build.compile.debug)
> 4) build.compile.options=-g
>
> Various net docs give different keys for this property, so I tried
> all combinations, and  when I do ant -debug -verbose I do see
>
>     Setting project property: build.compiler -> jikes
>     Setting project property: build.debug -> on
>     Setting project property: build.compiler.debug -> on
>     Setting project property: build.compiler.options -> -g
>
> but it always reports an unchanged command line for Jikes:
>
>     [javac] Compilation args: jikes -d classes -classpath ...  -O
>
> What am I missing?
>
> --
> Gary Lawrence Murphy <garym@teledyn.com> TeleDynamics Communications Inc
> Business Innovations Through Open Source Systems: http://www.teledyn.com
> "Computers are useless.  They can only give you answers."(Pablo Picasso)
>
>
> --
> 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