allow override of flushpolicy, flushinterval in <clover-setup>, change default 
values
-------------------------------------------------------------------------------------

         Key: MPCLOVER-48
         URL: http://jira.codehaus.org/browse/MPCLOVER-48
     Project: maven-clover-plugin
        Type: Bug
    Versions: 1.10    
 Reporter: Brendan Humphreys
    Priority: Critical


plugin.jelly hardwires Clover to use flushpolicy="interval" 
flushinterval="500". For large projects this can lead to a severe runtime 
performance impact because Clover tries to flush the coverage data to disk 
every 500msecs. I suggest exposing the flushpolicy and flushinterval as plugin 
properties, and also changing the default values:

plugin.properties:
maven.clover.flushpolicy=threaded
maven.clover.flushinterval=5000

plugin.jelly:
    <ant:clover-setup 
        initstring="${maven.clover.database}"
        flushpolicy="${maven.clover.flushpolicy}"
        flushinterval="${maven.clover.flushinterval}">


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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

Reply via email to