[
http://jira.codehaus.org/browse/MOJO-1208?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=146388#action_146388
]
dvicente72 edited comment on MOJO-1208 at 8/29/08 2:58 AM:
--------------------------------------------------------------
Hi,
The existence or not of a plugin configuration in the dashboard configuration
file doesn't manage the historic generation.
It's the existence in the pom.xml.
If a findbug report configuration exists in the reporting section, i do the
generation and if the configuration doesn't exist for any reason , i write an
error message.
You can't have the findbugs report without the historic report if you use the
dashboard.
If you want , i can add an "enable" parameter in
as
{panel}
<section id="findbugs.summary" title="FindBugs Report Summary"
groupId="org.codehaus.mojo" artifactId="findbugs-maven-plugin">
<historicgraphs {color:red}*enable="true"*{color}>
<graph id="findbugs.currentweek" title="FindBugs current Week"
timeUnit="day" startPeriod="Startof_thisweek" endPeriod="Endof_thisweek"/>
<graph id="findbugs.previousweek" title="FindBugs previous
Week" timeUnit="day" startPeriod="Startof_lastweek" endPeriod="Endof_lastweek"/>
</historicgraphs>
</section>
{panel}
true as default and if you want to disable specific historic plugin generation
, you must it as "false" and you will not have the error message ?
was (Author: dvicente72):
Hi,
The existence or not of a plugin configuration in the dashboard configuration
file doesn't manage the historic generation.
It's the existence in the pom.xml.
If a findbug report configuration exists in the reporting section, i do the
generation and if the configuration doesn't exist for any reason , i write an
error message.
You can't have the findbugs report without the historic report if you use the
dashboard.
If you want , i can add an "enable" parameter in
as
{code:xml}
<section id="findbugs.summary" title="FindBugs Report Summary"
groupId="org.codehaus.mojo" artifactId="findbugs-maven-plugin">
<historicgraphs {color:red}*enable="true"*{color}>
<graph id="findbugs.currentweek"
title="FindBugs current Week" timeUnit="day" startPeriod="Startof_thisweek"
endPeriod="Endof_thisweek"/>
<graph id="findbugs.previousweek"
title="FindBugs previous Week" timeUnit="day" startPeriod="Startof_lastweek"
endPeriod="Endof_lastweek"/>
</historicgraphs>
</section>
{code}
true as default and if you want to disable specific historic plugin generation
, you must it as "false" and you will not have the error message ?
> Historic findbug report error
> -----------------------------
>
> Key: MOJO-1208
> URL: http://jira.codehaus.org/browse/MOJO-1208
> Project: Mojo
> Issue Type: Bug
> Components: dashboard
> Environment: dashboard 1.0-SNAPSHOT, 1.0.0-beta-1, 2.0-SNAPSHOT
> findbugs 2.0-SNAPSHOT
> Reporter: Jérémie HATTAT
> Assignee: David Vicente
> Attachments: dashboard-config.xml, pom.xml
>
>
> It seem that dashboard is trying to generate the dashboard report even if it
> is not specified in the dashboard configuration file.
> This result in message "Error: Unable to generate FindBugs historic graphs."
> in place of the graph, in the historical page.
--
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 from this list, please visit:
http://xircles.codehaus.org/manage_email