rubys       02/01/07 13:23:24

  Modified:    proposal/gump/stylesheet xref.xsl
  Log:
  Produce a list of modules which have buildable projects WITHOUT javadocs.
  This list is imperfect but useful.  Potential causes for imperfection:
  
  1) gump has no way of distinguishing between jakarta-site2 (which has no
     java code but a build.xml) from modules which contain java code.
  2) the project may contain a target to build javadocs, but not a target
     which will build both javadocs and a jar.  Given a choice, I pick the jar.
  3) the project may, in fact, build the javadocs, but I haven't noticed it.
  4) the module may contain multiple projects, not all of which produce
     javadocs.
  
  In short, the list produced is simply a target rich set of candidates for
  deeper investigation.
  
  Revision  Changes    Path
  1.19      +38 -0     jakarta-alexandria/proposal/gump/stylesheet/xref.xsl
  
  Index: xref.xsl
  ===================================================================
  RCS file: /home/cvs/jakarta-alexandria/proposal/gump/stylesheet/xref.xsl,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -u -r1.18 -r1.19
  --- xref.xsl  1 Jan 2002 18:25:37 -0000       1.18
  +++ xref.xsl  7 Jan 2002 21:23:24 -0000       1.19
  @@ -441,6 +441,44 @@
   
         </html>
   
  +      <!-- =============================================================== -->
  +      <!--         Produce a listing of modules WITHOUT javadocs           -->
  +      <!-- =============================================================== -->
  +
  +      <html log="{@logdir}/nojavadoc.html"
  +        banner-image="{@banner-image}" banner-link="{@banner-link}">
  +
  +        <title>List of modules WITHOUT javadocs</title>
  +
  +        <sidebar>
  +          <strong><a href="index.html">Build logs</a></strong>
  +          <ul>
  +            <xsl:for-each select="project[ant|script]">
  +              <xsl:sort select="@name"/>
  +              <li>
  +                <a href="{@name}.html"><xsl:value-of select="@name"/></a>
  +              </li>
  +            </xsl:for-each>
  +          </ul>
  +        </sidebar>
  +
  +        <content>
  +
  +          <ul>
  +             <xsl:for-each select="/workspace/module[not(javadoc)]">
  +               <xsl:sort select="@name"/>
  +               <xsl:variable name="name" select="@name"/>
  +
  +               <xsl:if test="../project[ant and @module=$name]">
  +                 <li> <xsl:value-of select="$name"/> </li>
  +               </xsl:if>
  +             </xsl:for-each>
  +          </ul>
  +
  +        </content>
  +
  +      </html>
  +
       </xref>
   
     </xsl:template>
  
  
  

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

Reply via email to