logging-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From c...@apache.org
Subject cvs commit: logging-site/src/xdocs/stylesheets site.vsl project.xml
Date Mon, 22 Dec 2003 10:46:18 GMT
ceki        2003/12/22 02:46:18

  Modified:    .        build.xml
               docs     index.html
               src/xdocs index.xml
               src/xdocs/stylesheets project.xml
  Added:       docs/site news.html
               src/xdocs/site bylaws.xml news.xml
               src/xdocs/stylesheets site.vsl
  Log:
  building up the LS site
  
  Revision  Changes    Path
  1.2       +1 -1      logging-site/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/logging-site/build.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- build.xml	20 Dec 2003 18:43:53 -0000	1.1
  +++ build.xml	22 Dec 2003 10:46:18 -0000	1.2
  @@ -68,7 +68,7 @@
         excludes="**/stylesheets/**"
         includes="**/*.xml"
         lastModifiedCheck="true"
  -      templatePath="${jakarta-site2}/xdocs/stylesheets">
  +      templatePath="src//xdocs/stylesheets">
       </anakia>
   
      
  
  
  
  1.2       +67 -13    logging-site/docs/index.html
  
  Index: index.html
  ===================================================================
  RCS file: /home/cvs/logging-site/docs/index.html,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- index.html	20 Dec 2003 19:10:10 -0000	1.1
  +++ index.html	22 Dec 2003 10:46:18 -0000	1.2
  @@ -13,24 +13,21 @@
               <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
   
                                                       <meta name="author" value="Ceki
Gulcu">
  -            <meta name="email" value="ceki at apache.org">
  +            <meta name="email" value="ceki at apache dot org">
               
              
                                        <meta  name="keywords"  content="java, logging,
tracing, component, framework, API, log4j"  />
    
                           
  -            <title>Logging Services - Introduction</title>
  +            <title>Logging Services - Welcome</title>
           </head>
   
           <body bgcolor="#ffffff" text="#000000" link="#525D76">        
               <table border="0" width="100%" cellspacing="0">
                   <!-- TOP IMAGE -->
                   <tr>
  -                    <td align="left">
  -<a href="http://jakarta.apache.org"><img src="http://jakarta.apache.org/images/jakarta-logo.gif"
border="0"/></a>
  -</td>
  -<td align="right">
  -<a href="http://logging.apache.org/"><img src="./images/logo.jpg" alt="Apache
Logging Services" border="0"/></a>
  +                    <td colspan="2">
  +<a href="http://jakarta.apache.org"><img src="http://jakarta.apache.org/images/jakarta-logo.gif"
align="left" border="0"/></a>
   </td>
                   </tr>
               </table>
  @@ -45,25 +42,82 @@
                       
       <!-- ============================================================ -->
   
  -                <p><strong>Logging Services Project</strong></p>
  +                <p><strong>About Logging Services</strong></p>
  +        <ul>
  +                    <li>    <a href="./index.html">Welcome</a>
  +</li>
  +                    <li>    <a href="./site/news.html">News</a>
  +</li>
  +                </ul>
  +            <p><strong>Projects</strong></p>
  +        <ul>
  +                    <li>    <a href=".">log4cxx  (in incubation)</a>
  +</li>
  +                    <li>    <a href=".">log4cplus  (in incubation)</a>
  +</li>
  +                    <li>    <a href="./log4j/docs">log4j</a>
  +</li>
  +                    <li>    <a href=".">log4net (in incubation)</a>
  +</li>
  +                    <li>    <a href=".">log4php (in incubation)</a>
  +</li>
  +                </ul>
  +            <p><strong>Information</strong></p>
  +        <ul>
  +                    <li>    <a href="./site/mission.html">Mission statement</a>
  +</li>
  +                    <li>    <a href="./site/bylaws.html">Bylaws</a>
  +</li>
  +                    <li>    <a href=".">License</a>
  +</li>
  +                    <li>    <a href="./site/who-we-are.html">Who we are</a>
  +</li>
  +                </ul>
  +            <p><strong>Support</strong></p>
           <ul>
  -                    <li>    <a href="./index.html">Introduction</a>
  +                    <li>    <a href="./site/cvs-repositories.html">CVS repositories</a>
  +</li>
  +                    <li>    <a href="./site/mailing-lists.html">Mailing lists</a>
  +</li>
  +                    <li>    <a href="./site/bug-databse.html">Bug database</a>
   </li>
                   </ul>
                           </td>
                       <td width="80%" align="left" valign="top">
                                                                       <table border="0"
cellspacing="0" cellpadding="2" width="100%">
  -      <tr><td bgcolor="#525D76">
  -        <font color="#ffffff" face="arial,helvetica,sanserif">
  -          <a name="Introduction"><strong>Introduction</strong></a>
  +      <tr><td bgcolor="#2222AA">
  +        <font color="#ffffff" face="arial,helvetica,sanserif" size="+2">
  +          <a name="Welcome to Logging Services Project @ Apache">&nbsp;<strong>Welcome
to Logging Services Project @ Apache</strong></a>
           </font>
         </td></tr>
  +      <tr><td>&nbsp;</td></r> 
         <tr><td>
           <blockquote>
                                       <p>Inserting log statements into your code is
a low-tech method
   	for debugging it.  It may also be the only way because
   	debuggers are not always available or applicable.  This is
   	often the case for distributed applications.</p>
  +                                                    <table border="0" cellspacing="0"
cellpadding="2" width="100%">
  +      <tr><td bgcolor="#828DA6">
  +        <font color="#ffffff" face="arial,helvetica,sanserif">
  +          <a name="toto tot ott "><strong>toto tot ott </strong></a>
  +        </font>
  +      </td></tr>
  +      <tr><td>
  +        <blockquote>
  +                                    <p>In addition to many performance improvements,
bug fixes,
  +          and other small enhancements, log4j 1.2 adds JMX support,
  +          Mapped Diagnostic Contexts, JDBC logging, graphical log
  +          viewer (chainsaw), and buffered IO capability. One important
  +          change is the replacement of the Category class with Logger
  +          class and the Priority class with the Level class in order
  +          to facilitate migrating from the JDK 1.4 logging API to
  +          log4j.
  +          </p>
  +                            </blockquote>
  +      </td></tr>
  +      <tr><td><br/></td></tr>
  +    </table>
                               </blockquote>
           </p>
         </td></tr>
  @@ -78,7 +132,7 @@
                   </td></tr>
                   <tr><td colspan="2">
                       <div align="center"><font color="#525D76" size="-1"><em>
  -                    Copyright &#169; 1999-2003, Apache Software Foundation
  +                    Copyright &#169; 1999-2004, Apache Software Foundation
                       </em></font></div>
                   </td></tr>
               </table>
  
  
  
  1.1                  logging-site/docs/site/news.html
  
  Index: news.html
  ===================================================================
  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  
  <!-- Content Stylesheet for Site -->
  
          
  <!-- start the processing -->
      <!-- ====================================================================== -->
      <!-- GENERATED FILE, DO NOT EDIT, EDIT THE XML FILE IN xdocs INSTEAD! -->
      <!-- Main Page Section -->
      <!-- ====================================================================== -->
      <html>
          <head>
              <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
  
                                                      <meta name="author" value="Ceki Gulcu">
              <meta name="email" value="ceki at qos dot ch">
              
             
                                      
                          
              <title>Logging Services - News and Status</title>
          </head>
  
          <body bgcolor="#ffffff" text="#000000" link="#525D76">        
              <table border="0" width="100%" cellspacing="0">
                  <!-- TOP IMAGE -->
                  <tr>
                      <td colspan="2">
  <a href="http://jakarta.apache.org"><img src="http://jakarta.apache.org/images/jakarta-logo.gif"
align="left" border="0"/></a>
  </td>
                  </tr>
              </table>
              <table border="0" width="100%" cellspacing="4">
                  <tr><td colspan="2">
                      <hr noshade="" size="1"/>
                  </td></tr>
                  
                  <tr>
                      <!-- LEFT SIDE NAVIGATION -->
                      <td width="20%" valign="top" nowrap="true">
                      
      <!-- ============================================================ -->
  
                  <p><strong>About Logging Services</strong></p>
          <ul>
                      <li>    <a href="../index.html">Welcome</a>
  </li>
                      <li>    <a href="../site/news.html">News</a>
  </li>
                  </ul>
              <p><strong>Projects</strong></p>
          <ul>
                      <li>    <a href="..">log4cxx  (in incubation)</a>
  </li>
                      <li>    <a href="..">log4cplus  (in incubation)</a>
  </li>
                      <li>    <a href="../log4j/docs">log4j</a>
  </li>
                      <li>    <a href="..">log4net (in incubation)</a>
  </li>
                      <li>    <a href="..">log4php (in incubation)</a>
  </li>
                  </ul>
              <p><strong>Information</strong></p>
          <ul>
                      <li>    <a href="../site/mission.html">Mission statement</a>
  </li>
                      <li>    <a href="../site/bylaws.html">Bylaws</a>
  </li>
                      <li>    <a href="..">License</a>
  </li>
                      <li>    <a href="../site/who-we-are.html">Who we are</a>
  </li>
                  </ul>
              <p><strong>Support</strong></p>
          <ul>
                      <li>    <a href="../site/cvs-repositories.html">CVS repositories</a>
  </li>
                      <li>    <a href="../site/mailing-lists.html">Mailing lists</a>
  </li>
                      <li>    <a href="../site/bug-databse.html">Bug database</a>
  </li>
                  </ul>
                          </td>
                      <td width="80%" align="left" valign="top">
                                                                      <table border="0"
cellspacing="0" cellpadding="2" width="100%">
        <tr><td bgcolor="#2222AA">
          <font color="#ffffff" face="arial,helvetica,sanserif" size="+2">
            <a name="News & Status">&nbsp;<strong>News & Status</strong></a>
          </font>
        </td></tr>
        <tr><td>&nbsp;</td></r> 
        <tr><td>
          <blockquote>
                                      <a name="20031217">
  <h3>17th December 2003 - Creation of the Logging Services Project</h3> 
  
   <p>The Board of Directors of the Apache Software foundation voted
   unanimously for the creation of the Apache Logging Services project.
   </p>
  
  </a>
                                                  <hr noshade="noshade" size="1" />
                                                  <h3>
  Got News?
  </h3>
                                                  <p>If you would like to submit an
item for posting to this page, send
  an email with the subject <b>[NEWS]</b> to the <code>general at logging
dot
  apache dot org</code> mailing list..
  </p>
                              </blockquote>
          </p>
        </td></tr>
        <tr><td><br/></td></tr>
      </table>
                                          </td>
                  </tr>
  
                  <!-- FOOTER -->
                  <tr><td colspan="2">
                      <hr noshade="" size="1"/>
                  </td></tr>
                  <tr><td colspan="2">
                      <div align="center"><font color="#525D76" size="-1"><em>
                      Copyright &#169; 1999-2004, Apache Software Foundation
                      </em></font></div>
                  </td></tr>
              </table>
          </body>
      </html>
  <!-- end the processing -->
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  1.2       +17 -3     logging-site/src/xdocs/index.xml
  
  Index: index.xml
  ===================================================================
  RCS file: /home/cvs/logging-site/src/xdocs/index.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- index.xml	20 Dec 2003 18:43:53 -0000	1.1
  +++ index.xml	22 Dec 2003 10:46:18 -0000	1.2
  @@ -2,20 +2,34 @@
   <document>
   
     <properties>
  -    <author email="ceki at apache.org">Ceki Gulcu</author>
  -    <title>Introduction</title>
  +    <author email="ceki at apache dot org">Ceki Gulcu</author>
  +    <title>Welcome</title>
     </properties>
   
     <meta name="keywords" content="java, logging, tracing, component, framework, API,
log4j"/>
   
   
   <body>
  -    <section name="Introduction">
  +    <section name="Welcome to Logging Services Project @ Apache">
  +
   
         <p>Inserting log statements into your code is a low-tech method
   	for debugging it.  It may also be the only way because
   	debuggers are not always available or applicable.  This is
   	often the case for distributed applications.</p>
  +
  +       <subsection name="toto tot ott ">
  +          <p>In addition to many performance improvements, bug fixes,
  +          and other small enhancements, log4j 1.2 adds JMX support,
  +          Mapped Diagnostic Contexts, JDBC logging, graphical log
  +          viewer (chainsaw), and buffered IO capability. One important
  +          change is the replacement of the Category class with Logger
  +          class and the Priority class with the Level class in order
  +          to facilitate migrating from the JDK 1.4 logging API to
  +          log4j.
  +          </p>
  +        </subsection>
  +
       </section>
     </body>
   </document>
  
  
  
  1.1                  logging-site/src/xdocs/site/bylaws.xml
  
  Index: bylaws.xml
  ===================================================================
  <?xml version="1.0"?>
  <document>
  
    <properties>
      <author email="ceki at apache dot org">Ceki Gulcu</author>
      <title>Bylaws of the Logging Services Project</title>
    </properties>
  
    <meta name="keywords" content="bylaws, logging services"/>
  
  
  <body>
      <section name="Logging Services project bylaws">
      
      <h1>bla bla</h1>
     
      <p>This document defines the guidelines for the <a
      href="index.html">Apache Logging Services Project</a>. It includes
      definitions of how conflict is resolved by voting, who is able to
      vote, and the procedures to follow for proposing and making
      changes to the Apache products.</p>
  
      <p>The objective here is to avoid unnecessary conflict over
      changes and continue to produce a quality system in a timely
      manner. Not all conflict can be avoided, but at least we can agree
      on the procedures for conflict to be resolved.
      </p>
      </section>
  
      <section name="Logging Services project bylaws">
      </section>
  
      <section name="">
      </section>
  
      <section name="">
      </section>
  
    </body>
  </document>
  
  
  
  
  1.1                  logging-site/src/xdocs/site/news.xml
  
  Index: news.xml
  ===================================================================
  <?xml version="1.0"?>
  <document>
  
    <properties>
      <author email="ceki at qos dot ch">Ceki Gulcu</author>
      <title>News and Status</title>
    </properties>
  
  <body>
  
  <section name="News &amp; Status">
  
  <a name="20031217">
  <h3>17th December 2003 - Creation of the Logging Services Project</h3> 
  
   <p>The Board of Directors of the Apache Software foundation voted
   unanimously for the creation of the Apache Logging Services project.
   </p>
  
  </a>
  
  
  <hr noshade="noshade" size="1"/>
  
  <h3>
  Got News?
  </h3>
  
  <p>If you would like to submit an item for posting to this page, send
  an email with the subject <b>[NEWS]</b> to the <code>general at logging
dot
  apache dot org</code> mailing list..
  </p>
  
  
  
  </section>
  </body>
  </document>
  
  
  1.2       +27 -3     logging-site/src/xdocs/stylesheets/project.xml
  
  Index: project.xml
  ===================================================================
  RCS file: /home/cvs/logging-site/src/xdocs/stylesheets/project.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- project.xml	20 Dec 2003 18:43:53 -0000	1.1
  +++ project.xml	22 Dec 2003 10:46:18 -0000	1.2
  @@ -3,13 +3,37 @@
            href="http://logging.apache.org/">
   
     <title>Logging Services</title>
  -  <logo href="images/logo.jpg">Apache Logging Services</logo>
  +  <!-- <logo href="images/logo.jpg">Apache Logging Services</logo> -->
     
     <body>
       
  -    <menu name="Logging Services Project">
  -      <item name="Introduction"   href="/index.html"/>
  +    <menu name="About Logging Services">
  +      <item name="Welcome"   href="/index.html"/>
  +      <item name="News"   href="/site/news.html"/>
       </menu>
  +
  +   <menu name="Projects">
  +     <item name="log4cxx  (in incubation)"   href=""/>
  +     <item name="log4cplus  (in incubation)"   href=""/>
  +     <item name="log4j"   href="/log4j/docs"/>
  +     <item name="log4net (in incubation)"   href=""/>
  +     <item name="log4php (in incubation)"   href=""/>
  +   </menu>
  +
  +
  +   <menu name="Information">
  +     <item name="Mission statement"   href="/site/mission.html"/>
  +     <item name="Bylaws"   href="/site/bylaws.html"/>
  +     <item name="License"   href=""/>
  +     <item name="Who we are"   href="/site/who-we-are.html"/>
  +   </menu>
  +
  +   <menu name="Support">
  +     <item name="CVS repositories"   href="/site/cvs-repositories.html"/>
  +     <item name="Mailing lists"   href="/site/mailing-lists.html"/>
  +     <item name="Bug database"   href="/site/bug-databse.html"/>
  +   </menu>
  +
   
     </body>
   </project>
  
  
  
  1.1                  logging-site/src/xdocs/stylesheets/site.vsl
  
  Index: site.vsl
  ===================================================================
  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  
  <!-- Content Stylesheet for Site -->
  
      ## Defined variables
      #set ($bodybg = "#ffffff")
      #set ($bodyfg = "#000000")
      #set ($bodylink = "#525D76")
  ##    #set ($bannerbg = "#525D76")
      #set ($bannerbg = "#2222AA")
      #set ($bannerfg = "#ffffff")
      #set ($subbannerbg = "#828DA6")
      #set ($subbannerfg = "#ffffff")
      #set ($tablethbg = "#039acc")
      #set ($tabletdbg = "#a0ddf0")
      
  <!-- start the processing -->
  #document()
  <!-- end the processing -->
  
  ## This is where the macro's live
  
  #macro ( table $table)
  <table>
      #foreach ( $items in $table.getChildren() )
          #if ($items.getName().equals("tr"))
              #tr ($items)
          #end
      #end
  </table>
  #end
  
  #macro ( tr $tr)
  <tr>
      #foreach ( $items in $tr.getChildren() )
          #if ($items.getName().equals("td"))
              #td ($items)
          #elseif ($items.getName().equals("th"))
              #th ($items)
          #end
      #end
  </tr>
  #end
  
  #macro ( td $value)
  #if ($value.getAttributeValue("colspan"))
  #set ($colspan = $value.getAttributeValue("colspan"))
  #end
  #if ($value.getAttributeValue("rowspan"))
  #set ($rowspan = $value.getAttributeValue("rowspan"))
  #end
  <td bgcolor="$tabletdbg" colspan="$!colspan" rowspan="$!rowspan" valign="top" align="left">
      <font color="#000000" size="-1" face="arial,helvetica,sanserif">
          #if ($value.getText().length() != 0 || $value.hasChildren())
          $value.getContent()
          #else
          &nbsp;
          #end
      </font>
  </td>
  #end
  
  #macro ( th $value)
  #if ($value.getAttributeValue("colspan"))
  #set ($colspan = $value.getAttributeValue("colspan"))
  #end
  #if ($value.getAttributeValue("rowspan"))
  #set ($rowspan = $value.getAttributeValue("rowspan"))
  #end
  <th bgcolor="$tablethbg" colspan="$!colspan" rowspan="$!rowspan" valign="top" align="left">
      <font color="#000000" size="-1" face="arial,helvetica,sanserif">
          #if ($value.getText().length() != 0 || $value.hasChildren())
          $value.getContent()
          #else
          &nbsp;
          #end
      </font>
  </th>
  #end
  
  #macro ( projectanchor $name $value )
  #if ($value.startsWith("http://"))
      <a href="$value">$name</a>
  ## #elseif ($value.startsWith("/site")) 
  ##    <a href="http://logging.apache.org/site/$value">$name</a> 
  #else
      <a href="$relativePath$value">$name</a>
  #end
  #end
  
  #macro ( metaauthor $author $email )
              <meta name="author" value="$author">
              <meta name="email" value="$email">
  #end
  
  #macro ( image $value )
  #if ($value.getAttributeValue("width"))
  #set ($width=$value.getAttributeValue("width"))
  #end
  #if ($value.getAttributeValue("height"))
  #set ($height=$value.getAttributeValue("height"))
  #end
  #if ($value.getAttributeValue("align"))
  #set ($align=$value.getAttributeValue("align"))
  #end
  <img src="$relativePath$value.getAttributeValue("src")" width="$!width" height="$!height"
align="$!align">
  #end
  
  #macro ( source $value)
      <div align="left">
      <table cellspacing="4" cellpadding="0" border="0">
      <tr>
        <td bgcolor="#023264" width="1" height="1"><img src="/images/void.gif" width="1"
height="1" vspace="0" hspace="0" border="0"/></td>
        <td bgcolor="#023264" height="1"><img src="/images/void.gif" width="1" height="1"
vspace="0" hspace="0" border="0"/></td>
        <td bgcolor="#023264" width="1" height="1"><img src="/images/void.gif" width="1"
height="1" vspace="0" hspace="0" border="0"/></td>
      </tr>
      <tr>
        <td bgcolor="#023264" width="1"><img src="/images/void.gif" width="1" height="1"
vspace="0" hspace="0" border="0"/></td>
        <td bgcolor="#ffffff"><pre>$escape.getText($value.getText())</pre></td>
        <td bgcolor="#023264" width="1"><img src="/images/void.gif" width="1" height="1"
vspace="0" hspace="0" border="0"/></td>
      </tr>
      <tr>
        <td bgcolor="#023264" width="1" height="1"><img src="/images/void.gif" width="1"
height="1" vspace="0" hspace="0" border="0"/></td>
        <td bgcolor="#023264" height="1"><img src="/images/void.gif" width="1" height="1"
vspace="0" hspace="0" border="0"/></td>
        <td bgcolor="#023264" width="1" height="1"><img src="/images/void.gif" width="1"
height="1" vspace="0" hspace="0" border="0"/></td>
      </tr>
      </table>
      </div>
  #end
  
  #macro ( subsection $subsection)
      <table border="0" cellspacing="0" cellpadding="2" width="100%">
        <tr><td bgcolor="$subbannerbg">
          <font color="$subbannerfg" face="arial,helvetica,sanserif">
            <a name="$subsection.getAttributeValue("name")"><strong>$subsection.getAttributeValue("name")</strong></a>
          </font>
        </td></tr>
        <tr><td>
          <blockquote>
          #foreach ( $items in $subsection.getChildren() )
              #if ($items.getName().equals("img"))
                  #image ($items)
              #elseif ($items.getName().equals("source"))
                  #source ($items)
              #elseif ($items.getName().equals("table"))
                  #table ($items)
              #else
                  $items
              #end
          #end
          </blockquote>
        </td></tr>
        <tr><td><br/></td></tr>
      </table>
  #end
  
  ## ================================
  ##          section macro
  ## ================================
  #macro ( section $section)
      <table border="0" cellspacing="0" cellpadding="2" width="100%">
        <tr><td bgcolor="$bannerbg">
          <font color="$bannerfg" face="arial,helvetica,sanserif" size="+2">
            <a name="$section.getAttributeValue("name")">&nbsp;<strong>$section.getAttributeValue("name")</strong></a>
          </font>
        </td></tr>
        <tr><td>&nbsp;</td></r> 
        <tr><td>
          <blockquote>
          #foreach ( $items in $section.getChildren() )
              #if ($items.getName().equals("img"))
                  #image ($items)
              #elseif ($items.getName().equals("source"))
                  #source ($items)
              #elseif ($items.getName().equals("table"))
                  #table ($items)
              #elseif ($items.getName().equals("subsection"))
                  #subsection ($items)
              #else
                  $items
              #end
          #end
          </blockquote>
          </p>
        </td></tr>
        <tr><td><br/></td></tr>
      </table>
  #end
  
  #macro ( makeProject )
  
      <!-- ============================================================ -->
  
      #set ($menus = $project.getChild("body").getChildren("menu"))
      #foreach ( $menu in $menus )
          <p><strong>$menu.getAttributeValue("name")</strong></p>
          <ul>
          #foreach ( $item in $menu.getChildren() )
              #set ($name = $item.getAttributeValue("name"))
              <li>#projectanchor($name $item.getAttributeValue("href"))</li>
          #end
          </ul>
      #end
  #end
  
  #macro (getProjectImage)
  #if ($project.getChild("logo"))
  <td align="left">
  <a href="http://jakarta.apache.org"><img src="http://jakarta.apache.org/images/jakarta-logo.gif"
border="0"/></a>
  </td>
  <td align="right">
  #set ( $logoString = $project.getChild("logo").getAttributeValue("href") )
  #if ( $logoString.startsWith("/") )
  <a href="$project.getAttributeValue("href")"><img src="$relativePath$logoString"
alt="$project.getChild("logo").getText()" border="0"/></a>
  #else
  <a href="$project.getAttributeValue("href")"><img src="$relativePath/$logoString"
alt="$project.getChild("logo").getText()" border="0"/></a>
  #end
  </td>
  #else
  <td colspan="2">
  <a href="http://jakarta.apache.org"><img src="http://jakarta.apache.org/images/jakarta-logo.gif"
align="left" border="0"/></a>
  </td>
  #end
  #end
  
  #macro (printMeta $metaElement)
  <meta #set ($attribs = $metaElement.getAttributes())
  #foreach ($a in $attribs) $a.getName()="$a.getValue()" #end />
  #end
  
  #macro (document)
      <!-- ====================================================================== -->
      <!-- GENERATED FILE, DO NOT EDIT, EDIT THE XML FILE IN xdocs INSTEAD! -->
      <!-- Main Page Section -->
      <!-- ====================================================================== -->
      <html>
          <head>
              <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
  
              #set ($authors = $root.getChild("properties").getChildren("author"))
              #foreach ( $au in $authors )
                  #metaauthor ( $au.getText() $au.getAttributeValue("email") )
              #end
  
             #set ($metas = $root.getChildren("meta"))
  
              ##    Parse meta directives such as
              ##    <meta name="keyword" content="jakarta, java"/>
              #foreach ($meta in $metas) #printMeta($meta) #end
  
              ##    Support for <base> tags.
              #if ($root.getChild("properties").getChild("base"))
                #set ($url = $root.getChild("properties").getChild("base").getAttributeValue("href"))
                <base href="$url"/>
              #end
  
              <title>$project.getChild("title").getText() - $root.getChild("properties").getChild("title").getText()</title>
          </head>
  
          <body bgcolor="$bodybg" text="$bodyfg" link="$bodylink">        
              <table border="0" width="100%" cellspacing="0">
                  <!-- TOP IMAGE -->
                  <tr>
                      #getProjectImage()
                  </tr>
              </table>
              <table border="0" width="100%" cellspacing="4">
                  <tr><td colspan="2">
                      <hr noshade="" size="1"/>
                  </td></tr>
                  
                  <tr>
                      <!-- LEFT SIDE NAVIGATION -->
                      <td width="20%" valign="top" nowrap="true">
                      #makeProject()
                      </td>
                      <td width="80%" align="left" valign="top">
                      #set ($allSections = $root.getChild("body").getChildren("section"))
                      #foreach ( $section in $allSections )
                          #section ($section)
                      #end
                      </td>
                  </tr>
  
                  <!-- FOOTER -->
                  <tr><td colspan="2">
                      <hr noshade="" size="1"/>
                  </td></tr>
                  <tr><td colspan="2">
                      <div align="center"><font color="$bodylink" size="-1"><em>
                      Copyright &#169; 1999-2004, Apache Software Foundation
                      </em></font></div>
                  </td></tr>
              </table>
          </body>
      </html>
  #end
  
  
  
  
  
  
  
  

Mime
View raw message