You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Lukas Theussl (JIRA)" <ji...@codehaus.org> on 2006/01/31 08:18:06 UTC

[jira] Closed: (MPDASHBOARD-30) Add message on status of finding dashboard-single.xml files.

     [ http://jira.codehaus.org/browse/MPDASHBOARD-30?page=all ]
     
Lukas Theussl closed MPDASHBOARD-30:
------------------------------------

     Resolution: Fixed
    Fix Version: 1.9

> Add message on status of finding dashboard-single.xml files.
> ------------------------------------------------------------
>
>          Key: MPDASHBOARD-30
>          URL: http://jira.codehaus.org/browse/MPDASHBOARD-30
>      Project: maven-dashboard-plugin
>         Type: Improvement

>     Reporter: Jeff Jensen
>      Fix For: 1.9
>  Attachments: mpdashboard-30.patch
>
>
> This is a simple addition of a few lines to echo the status of the dashboard-single.xml files.
> I would prefer an error message instead, if the file was not found.  But using the Jelly docs, I could not find out how.
> This on the surface is a trivial thing, but until I finally dug in and added tons of debug echo statements like this to track down what the problem was, I was clueless as to the problem why the Dashboard page was blank.  This echo change was the one I needed, so I think it may help others in the same situation.
> I also wondered about adding a maven.dashboard.debug (or msglevel) property and surrounding a bunch of them, but I am not sure of desire and I am way out of time for now!
> As a side note, the problem was the dashboard-single.xml files were not created in the subprojects.  All the debug statements led me to that in the flow.
> The fix was to do the opposite of what the docs say and change the order of the goals from
>   maven.multiproject.site.goals=site,dashboard:report-single
> to
>   maven.multiproject.site.goals=dashboard:report-single,site
> Tracing through the jelly execution, I saw where the xml file was created and reversed them to make it work.
> Makes me wonder how it even works for others having it in the order the docs say!

-- 
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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org