kaz         02/03/28 19:52:45

  Modified:    src/dvsl/xdocs site.dvsl
               src/templates/build build-docs.xml
  Log:
  If sources aren't present, then don't bother generating links for source
  related "stuff" such as xrefs, unit tests, metrics, etc ...
  
  Revision  Changes    Path
  1.18      +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.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- site.dvsl 29 Mar 2002 00:13:49 -0000      1.17
  +++ site.dvsl 29 Mar 2002 03:52:45 -0000      1.18
  @@ -111,10 +111,12 @@
                   <div><small><a href="$projectDescriptor.issueTrackingUrl">Issue 
Tracking</a></small></div>
                   #end
                   <div><small><a href="$relativePath/changelog.html">Change 
Log</a></small></div>
  +                #if ($context.toolbox.srcpresent == "true")
                   <div><small><a href="$relativePath/jdepend-report.html">Metric 
Results</a></small></div>
                   <div><small><a href="$relativePath/junit-report.html">Unit 
Tests</a></small></div>
                   <div><small><a 
href="$relativePath/apidocs">JavaDocs</a></small></div>
                   <div><small><a href="$relativePath/xref">Source 
XReference</a></small></div>
  +                #end
                   <div><small><a 
href="http://jakarta.apache.org/turbine/maven/development-process.html";>Development 
Process</a></small></div>
                 </div>
   
  
  
  
  1.43      +2 -0      jakarta-turbine-maven/src/templates/build/build-docs.xml
  
  Index: build-docs.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine-maven/src/templates/build/build-docs.xml,v
  retrieving revision 1.42
  retrieving revision 1.43
  diff -u -r1.42 -r1.43
  --- build-docs.xml    29 Mar 2002 02:05:09 -0000      1.42
  +++ build-docs.xml    29 Mar 2002 03:52:45 -0000      1.43
  @@ -195,6 +195,7 @@
           <path refid="maven-classpath"/>
         </classpath>
         <tool name="toolbox.string.docsrc" value="${docs.src}"/>
  +      <tool name="toolbox.string.srcpresent" value="${sourcesPresent}"/>
       </dvsl>
   
       <!-- Then transform user supplied xdocs next -->
  @@ -212,6 +213,7 @@
           <path refid="maven-classpath"/>
         </classpath>
         <tool name="toolbox.string.docsrc" value="${docs.src}"/>
  +      <tool name="toolbox.string.srcpresent" value="${sourcesPresent}"/>
       </dvsl>
   
       <!-- Copy site images -->
  
  
  

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to