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

Reply via email to