db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew McIntyre" <mcintyr...@gmail.com>
Subject Re: Re: LineNumber table in class files and sane=false strangeness
Date Tue, 22 Aug 2006 06:23:09 GMT
On 8/21/06, Knut Anders Hatlen <Knut.Hatlen@sun.com> wrote:
> Don't you have to set debug=true/false as well?
> Insane with line numbers:    ant -Dsane=false -Ddebug=true
> Insane without line numbers: ant -Dsane=false -Ddebug=false
> Sane with line numbers:      ant -Dsane=true -Ddebug=true
> Sane without line numbers:   ant -Dsane=true -Ddebug=false

You shouldn't need to. The default behavior is for insane to compile
without line numbers and for sane to compile with line numbers,
accomplished via the settings in sane(false|true).properties in
tools/ant/properties. You can override that behavior by passing in the
debug flag on the command line.

The problem fixed with the patch attached to DERBY-744 would lead to
sane being set to true, even if it was passed in as false in a
properties file or in some circumstances on the command-line. The
workaround was to run 'ant insane', which bypassed the incorrect use
of the <isset> condition that led to sane being set to true during the
init phase of the build.


View raw message