Hi,

Try this:

<javac debug="true" ... >

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


Adam

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
> Gary Lawrence Murphy
> Sent: Wednesday, 16 January 2002 7:33 PM
> To: [EMAIL PROTECTED]
> 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 <[EMAIL PROTECTED]> 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:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to