Hi Berin,

maven.junit.usefile is currently being used in the CVS HEAD, and document
at
http://jakarta.apache.org/turbine/maven/ref/properties.html#Test%20Settings

It works well, I'm using it every day now too :)
--
dIon Gillard, Multitask Consulting
Work:      http://www.multitask.com.au
Developers: http://adslgateway.multitask.com.au/developers


                                                                                       
                            
                    "Berin                                                             
                            
                    Loritsch"            To:     
<[EMAIL PROTECTED]>                            
                    <bloritsch@apa       cc:                                           
                            
                    che.org>             Subject:     FW: Turbine swallows test 
information                        
                                                                                       
                            
                    05/22/02 10:34                                                     
                            
                    PM                                                                 
                            
                    Please respond                                                     
                            
                    to "Turbine                                                        
                            
                    Maven                                                              
                            
                    Developers                                                         
                            
                    List"                                                              
                            
                                                                                       
                            
                                                                                       
                            




Could we include this functionality in CVS?  I find it is invaluable
while I am writing tests--but is extraneous info if all you want to
do is build a project.

That way I can turn verbose test info on and off without having to
build documentation, or open an extra file.  The info is right there
on my console.

-----Original Message-----
From: St�phane MOR [mailto:[EMAIL PROTECTED]]
Sent: Saturday, May 11, 2002 1:28 PM
To: Turbine Maven Users List
Subject: Re: Turbine swallows test information


Glenn A. McAllister wrote:

>On Sat, 11 May 2002, Berin Loritsch wrote:
>
>>>From: St�phane MOR [mailto:[EMAIL PROTECTED]]
>>>Maybe something like maven.test.verbose = true | false ...
>>>
>>That would work.  But this is a case where it may actually
>>be easier to decide on one way or another to do things.
>>I don't believe the <junit><formatter/></junit> entry supports an
>>"unless" attribute.
>>
Just tried :

- build-test.xml :

<condition property="maven.test.usefile" value="false">
    <equals arg1="${maven.test.verbose}" arg2="true"/>  // <istrue>
doesn't work on my box
</condition>

<condition property="maven.test.usefile">
    <equals arg1="${maven.test.verbose}" arg2="false"/> </condition>

<junit ...
  <formatter type="plain" usefile="${maven.test.usefile}"> </junit>

- default.properties

maven.test.verbose = false

- ~/build.properties

maven.test.verbose = true | false

This is a quick and dirty hack, but it worked ...

St�phane

PS: it's true that it is easier to debug with the "verbose" mode,
instead of having to build the docs



_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
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]>






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

Reply via email to