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

Hi, 

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.

Dag

>>>>> "DHW" == Dag H Wanvik <Dag.Wanvik@Sun.COM> wrote:
DHW> 
DHW> Most tests' build.xml files set/override the debug property in this
DHW> way:
DHW> 
DHW> <property file="${properties.dir}/sane${sanity}.properties"/>
DHW> 
DHW> Since ${sanity} isn't set anywhere I can see, the file
DHW> "${properties.dir}/sanefalse.properties" is read, effectively setting:
DHW> 
DHW>    sane=false
DHW>    debug=false
DHW>    optimize=true
DHW> 	
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> 
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> 
DHW> Thanks,
DHW> Dag
DHW> 
-- 
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
message.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 

Mime
View raw message