On 8/21/06, Knut Anders Hatlen <[EMAIL PROTECTED]> 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.

andrew

Reply via email to