maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jstrac...@apache.org
Subject cvs commit: jakarta-turbine-maven/src/plugins-build/xdoc site.jsl
Date Wed, 11 Dec 2002 18:58:55 GMT
jstrachan    2002/12/11 10:58:55

  Modified:    src/plugins-build/xdoc site.jsl
  Log:
  Patched the navigation menus to work properly
  
  Revision  Changes    Path
  1.9       +8 -5      jakarta-turbine-maven/src/plugins-build/xdoc/site.jsl
  
  Index: site.jsl
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine-maven/src/plugins-build/xdoc/site.jsl,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- site.jsl	11 Dec 2002 18:46:43 -0000	1.8
  +++ site.jsl	11 Dec 2002 18:58:55 -0000	1.9
  @@ -142,16 +142,19 @@
                       </x:if>
                                                                  
                       <!-- Standard Maven Navigation -->
  +										<j:set var="fileName">${file}</j:set>
  +										
                       <div><strong>Project Documentation</strong>
                         <div><small><a href="${relativePath}/index.html">Front
Page</a></small></div>
                         <div>
                           <small><a href="${relativePath}/project-info.html">Project
Info</a></small>
                           <util:tokenize var="projectInfoFiles" delim=",">dependencies.xml,mail-lists.xml,project-info.xml,team-list.xml</util:tokenize>
  +                        
                           <j:forEach var="infoFile" items="${projectInfoFiles}">
  -                          <j:if test="${relativePath == '.' and file.endsWith(infoFile)}">
  -                            <div><small><a href="${relativePath+'/mail-lists.html'}">Mailing
Lists</a></small></div>
  -                            <div><small><a href="${relativePath+'/team-list.html'}">Project
Team</a></small></div>
  -                            <div><small><a href="${relativePath+'/dependencies.html'}">Dependencies</a></small></div>
  +                          <j:if test="${relativePath == '.' and fileName.endsWith(infoFile)}">
  +                            <div><small><a href="${relativePath}/mail-lists.html">Mailing
Lists</a></small></div>
  +                            <div><small><a href="${relativePath}/team-list.html">Project
Team</a></small></div>
  +                            <div><small><a href="${relativePath}/dependencies.html">Dependencies</a></small></div>
                               <j:if test="${!empty(pom.repository.url)}">
                                 <div><small><a href="${pom.repository.url.trim()}">Source
Repository</a></small></div>
                               </j:if>
  @@ -167,7 +170,7 @@
   file-activity-report.xml,javadoc.xml,jdepend-report.xml,junit-report.xml,maven-reports.xml,task-list.xml,tasks.xml,changes.xml,
   cactus-report.xml</util:tokenize>
                           <j:forEach var="reportFile" items="${projectReportFiles}">
  -                          <j:if test="${relativePath == '.' and file.endsWith(reportFile.trim())}">
  +                          <j:if test="${relativePath == '.' and fileName.endsWith(reportFile.trim())}">
                               <util:available file="${maven.docs.src}/tasks.xml">
                                 <div><small><a href="${relativePath}/tasks.html">Tasks</a></small></div>
                               </util:available>
  
  
  

Mime
View raw message