Author: ltheussl
Date: Mon Jan 30 23:16:42 2006
New Revision: 373747
URL: http://svn.apache.org/viewcvs?rev=373747&view=rev
Log:
PR: MPDASHBOARD-30
Add message on status of finding dashboard-single.xml.
Modified:
maven/maven-1/plugins/trunk/dashboard/plugin.jelly
maven/maven-1/plugins/trunk/dashboard/xdocs/changes.xml
Modified: maven/maven-1/plugins/trunk/dashboard/plugin.jelly
URL:
http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/dashboard/plugin.jelly?rev=373747&r1=373746&r2=373747&view=diff
==============================================================================
--- maven/maven-1/plugins/trunk/dashboard/plugin.jelly (original)
+++ maven/maven-1/plugins/trunk/dashboard/plugin.jelly Mon Jan 30 23:16:42 2006
@@ -123,6 +123,7 @@
xmlns="dashboard">
<dashboard>
<j:forEach var="reactorProject" items="${reactorProjects}">
+ <j:set var="dashboard.single.report.available" value="false"/>
<u:available
file="${reactorProject.context.getVariable('maven.build.dir')}/dashboard-single.xml">
<!-- FIXME: this should be maven.dashboard.report.single -->
@@ -141,8 +142,14 @@
name="${reactorProject.context.getVariable('maven.build.dir')}/dashboard-single.xml"/>
<x:parse var="doc" xml="${dashboardAsFile}"/>
<x:copyOf select="$doc//aggregator"/>
- </x:element>
+ </x:element>
+ <j:set var="dashboard.single.report.available" value="true"/>
</u:available>
+ <j:if test="${dashboard.single.report.available == 'false'}">
+ <echo>
+*** WARNING: no file dashboard-single.xml found for reactor project:
${reactorProject}
+ </echo>
+ </j:if>
</j:forEach>
</dashboard>
</j:file>
Modified: maven/maven-1/plugins/trunk/dashboard/xdocs/changes.xml
URL:
http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/dashboard/xdocs/changes.xml?rev=373747&r1=373746&r2=373747&view=diff
==============================================================================
--- maven/maven-1/plugins/trunk/dashboard/xdocs/changes.xml (original)
+++ maven/maven-1/plugins/trunk/dashboard/xdocs/changes.xml Mon Jan 30 23:16:42
2006
@@ -25,6 +25,7 @@
</properties>
<body>
<release version="1.9-SNAPSHOT" date="in svn">
+ <action dev="ltheussl" type="add" issue="MPDASHBOARD-30" due-to="Jeff
Jensen">Add message on status of finding dashboard-single.xml.</action>
<action dev="ltheussl" type="fix" issue="MPDASHBOARD-35"
due-to="Christoph Jerolimov">Fix count of changelog-entries with
maven-changelog-plugin-1.9.</action>
<action dev="ltheussl" type="add">Add new aggregators
<code>jiraopen</code> and <code>jirascheduled</code>.</action>
<action dev="ltheussl" type="fix" issue="MPDASHBOARD-24" due-to="Wim
Deblauwe">Incorrect links with multiproject independent navigation.</action>