db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dag H. Wanvik" <Dag.Wan...@Sun.COM>
Subject Re: bug or feature? tests build without debug flag
Date Thu, 02 Jun 2005 03:12:26 GMT


No takers on this one? I tend to think this ia a bug, so I'll file an
issue if nobody tells me this intended behavior.


>>>>> "DHW" == Dag H Wanvik <Dag.Wanvik@Sun.COM> wrote:
DHW> Most tests' build.xml files set/override the debug property in this
DHW> way:
DHW> <property file="${properties.dir}/sane${sanity}.properties"/>
DHW> Since ${sanity} isn't set anywhere I can see, the file
DHW> "${properties.dir}/sanefalse.properties" is read, effectively setting:
DHW>    sane=false
DHW>    debug=false
DHW>    optimize=true
DHW> which, I presume (I am not too familiar with ant), override settings
DHW> you may have in your ant.properties. I *did* notice my test class files
DHW> didn't have debug info ;-)
DHW> Is the reliance on ${sanity} intentional here? I would have thought it
DHW> should be ${sane} instead? Is there a reason not to build tests with
DHW> normal sanity settings?
DHW> Thanks,
DHW> Dag
Dag H. Wanvik
Sun Microsystems, Web Services, Database Technology Group
Haakon VII gt. 7b, N-7485 Trondheim, Norway
Tel: x43496/+47 73842196, Fax:  +47 73842101

NOTICE: This email message is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or distribution
is prohibited. If you are not the intended recipient, please contact
the sender by reply email and destroy all copies of the original

View raw message