kaz 02/05/09 10:38:33
Modified: src/dvsl/xdocs site.dvsl
src/templates/xdocs maven-reports.xml
Log:
Don't provide the ChangeLog link if a <cvsModule> doesn't exist in the
project descriptor. Patch submitted by St�phane MOR
<[EMAIL PROTECTED]>. Thanks!
Revision Changes Path
1.39 +2 -0 jakarta-turbine-maven/src/dvsl/xdocs/site.dvsl
Index: site.dvsl
===================================================================
RCS file: /home/cvs/jakarta-turbine-maven/src/dvsl/xdocs/site.dvsl,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -r1.38 -r1.39
--- site.dvsl 4 May 2002 18:37:14 -0000 1.38
+++ site.dvsl 9 May 2002 17:38:33 -0000 1.39
@@ -192,7 +192,9 @@
#if
($context.toolbox.fileutil.file("$context.toolbox.docSrc/tasks.xml").exists())
<div><small><a
href="$relativePath/tasks.html">Tasks</a></small></div>
#end
+ #if ($pom.cvsModule)
<div><small><a href="$relativePath/changelog.html">Change
Log</a></small></div>
+ #end
#if ($context.toolbox.testSrcPresent == "true")
<div><small><a href="$relativePath/junit-report.html">Unit
Tests</a></small></div>
#end
1.3 +2 -0 jakarta-turbine-maven/src/templates/xdocs/maven-reports.xml
Index: maven-reports.xml
===================================================================
RCS file: /home/cvs/jakarta-turbine-maven/src/templates/xdocs/maven-reports.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- maven-reports.xml 6 May 2002 01:36:02 -0000 1.2
+++ maven-reports.xml 9 May 2002 17:38:33 -0000 1.3
@@ -29,12 +29,14 @@
</td>
</tr>
-->
+ #if ($project.cvsModule)
<tr><td><a href="changelog.html">Change Log</a></td>
<td>
This document provides a history of the most recent
changes made to the project.
</td>
</tr>
+ #end
#if ($files.file($project.build.unitTestSourceDirectory).exists())
<tr><td><a href="junit-report.html">Unit Tests</a></td>
<td>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>