A trivial patch to site.dvsl to not create the "Change Log" link if there
are no source files - can't have a change log for source that doesn't
exist.

Glenn McAllister
SOMA Networks, Inc.
Index: src/dvsl/xdocs/site.dvsl
===================================================================
RCS file: /home/cvs/jakarta-turbine-maven/src/dvsl/xdocs/site.dvsl,v
retrieving revision 1.34
diff -u -r1.34 site.dvsl
--- src/dvsl/xdocs/site.dvsl    28 Apr 2002 17:48:25 -0000      1.34
+++ src/dvsl/xdocs/site.dvsl    29 Apr 2002 18:47:22 -0000
@@ -168,7 +168,9 @@
                 #if ($projectDescriptor.issueTrackingUrl)
                 <div><small><a href="$projectDescriptor.issueTrackingUrl">Issue 
Tracking</a></small></div>
                 #end
+                #if ($context.toolbox.srcPresent == "true")
                 <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

Reply via email to