You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by ka...@apache.org on 2002/03/25 17:49:21 UTC

cvs commit: jakarta-turbine-maven/xdocs project.xml

kaz         02/03/25 08:49:21

  Modified:    src/dvsl/xdocs site.dvsl
               src/templates/build build-docs.xml
               xdocs    project.xml
  Added:       src/dvsl/xdocs main.css ns4_toxins.css print.css
               src/images help_logo.gif icon_alert.gif jakarta-reverse.gif
                        maven.jpg nw_min.gif strich.gif sw_min.gif
  Log:
  These changes update the look and feel of the Maven generated sites.
  The stylesheets were ripped from Scarab (I'm not sure what comments look
  like in CSS, but we should give proper attribution).  I also created a
  new DVSL stylesheet that can transform an xdoc to this new look and
  feel.  Its only a start, we can make enhancements as time goes on.
  
  Revision  Changes    Path
  1.6       +167 -242  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.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- site.dvsl	18 Mar 2002 04:34:42 -0000	1.5
  +++ site.dvsl	25 Mar 2002 16:49:21 -0000	1.6
  @@ -1,19 +1,9 @@
  -#set( $relative-path = "." )
  -
  -#set( $body-bg = '#ffffff' )
  -#set( $body-fg = '#000000' )
  -#set( $body-link = '#525D76' )
  -#set( $banner-bg = '#525D76')
  -#set( $banner-fg = '#ffffff')
  -#set( $sub-banner-bg = '#828DA6')
  -#set( $sub-banner-fg = '#ffffff')
  -#set( $table-th-bg = '#039acc')
  -#set( $table-td-bg = '#a0ddf0')
  -#set( $source-color = '#023264')
   #set( $projectFilename = "xdocs/project.xml")
   #set( $anakiaProjectFilename = "xdocs/stylesheets/project.xml")
   
   #match( "document" )
  +  <!DOCTYPE html PUBLIC "-//CollabNet//DTD XHTML 1.0 Transitional//EN"
  +      "http://www.collabnet.com/dtds/collabnet_transitional_10.dtd">
   
     ## Setup the relativePath using the toolbox.
   
  @@ -38,6 +28,11 @@
     <html>
       <head>
         <title>$!project.title - $node.properties.title</title>
  +      <style type="text/css">
  +      @import url("$relativePath/style/ns4_toxins.css");
  +      </style>
  +      <link rel="stylesheet" type="text/css" href="$relativePath/style/main.css" />
  +      <link rel="stylesheet" type="text/css" href="$relativePath/style/print.css" media="print" />
   
         #foreach( $n in $node.properties.selectNodes("author") )
           <meta name="author" value="$n"/>
  @@ -46,98 +41,98 @@
   
       </head>
   
  -    <body 
  -      bgcolor="$body-bg" 
  -      text="$body-fg" 
  -      link="$body-link"
  -      alink="$body-link" 
  -      vlink="$body-link">
  -
  -      <table border="0" width="100%" cellspacing="4">
  -
  -      ## PAGE HEADER
  -      <tr><td colspan="2">
  -
  -        ## JAKARTA LOGO
  -        <a href="http://jakarta.apache.org/">
  -          <img src="http://jakarta.apache.org/images/jakarta-logo.gif"
  -             align="left" alt="The Jakarta Project" border="0"/>
  -        </a>
  -
  -        #if( $project.logo )
  -
  -          #set( $alt = $project.logo )
  -          #set( $home = $project.attribute("href") )
  -          #set( $src = $project.logo.attribute( "href" ) )
  -
  -          ## PROJECT LOGO
  -          <a href="$home">
  -          #if ( $src.startsWith("http") )
  -            <img src="$src" align="right" alt="$alt" border="0"/>
  -          #else
  -            <img src="$relativePath$src" align="right" alt="$alt" border="0"/>
  -          #end
  -          </a>
  -        #end
  -
  -      </td></tr>
  -
  -      ## HEADER SEPARATOR
  -      <tr>
  -        <td colspan="2">
  -          <hr noshade="" size="1"/>
  -        </td>
  -      </tr>
  -
  -      <tr>
  -
  -        ## LEFT SIDE NAVIGATION
  -        <td width="20%" valign="top" nowrap="true">
  -          #if ($project)
  -            $context.applyTemplates( $project, "body/menu" )
  -          #end
  -
  -          ## Standard Maven Navigation 
  -          <p><strong>Maven Generated Docs</strong></p>
  -          <ul>
  -            <li><a href="$relativePath/index.html">Front Page</a></li>
  -            <li><a href="$relativePath/mail-lists.html">Mailing Lists</a></li>
  -            <li><a href="$relativePath/developer-list.html">Developers</a></li>
  -            <li><a href="$relativePath/dependencies.html">Dependencies</a></li>
  -            <li><a href="$relativePath/changelog.html">Change Log</a></li>
  -            <li><a href="$relativePath/jdepend-report.html">Metric Results</a></li>
  -            <li><a href="$relativePath/junit-report.html">Unit Tests</a></li>
  -            <li><a href="$relativePath/apidocs">JavaDocs</a></li>
  -            <li><a href="$relativePath/xref">Source XReference</a></li>
  -          </ul>
  -        </td>
  -
  -        <!-- RIGHT SIDE MAIN BODY -->
  -        <td width="80%" valign="top" align="left">
  -          $context.applyTemplates("body/section")
  -          $context.applyTemplates("body/glossary")
  -          $context.applyTemplates("body/changelog")
  -        </td>
  -
  -      </tr>
  +    <body marginwidth="0" marginheight="0">
  +      <div id="banner">
  +        <table border="0" cellspacing="0" cellpadding="8" width="100%">
  +          <tr>
  +            <td>
  +              <a href="http://jakarta.apache.org/">
  +                <img src="$relativePath/images/jakarta-reverse.gif" align="left" alt="The Jakarta Project" border="0"/>
  +              </a>
  +            </td>
  +            <td>
  +              <div align="right" id="login">
  +                #if( $project.logo )
  +
  +                  #set( $alt = $project.logo )
  +                  #set( $home = $project.attribute("href") )
  +                  #set( $src = $project.logo.attribute( "href" ) )
  +
  +                  <a href="$home">
  +                  #if ( $src.startsWith("http") )
  +                    <img src="$src" align="right" alt="$alt" border="0"/>
  +                  #else
  +                    <img src="$relativePath$src" align="right" alt="$alt" border="0"/>
  +                  #end
  +                  </a>
  +                #end
  +              </div>
  +            </td>
  +          </tr>
  +        </table>
  +      </div>
  +
  +      <div id="breadcrumbs">
  +        <table border="0" cellspacing="0" cellpadding="4" width="100%">
  +          <tr>
  +            <td> 
  +              ## May want to put something here at some point
  +              &nbsp;
  +            </td>
  +          </tr>
  +        </table>
  +      </div>
  +
  +      <table border="0" cellspacing="0" cellpadding="8" width="100%" id="main">
  +        <tr valign="top">
  +          <td id="leftcol" width="20%">
  +            <div id="navcolumn">
  +
  +              #if ($project)
  +                $context.applyTemplates( $project, "body/menu" )
  +              #end
  +          
  +              ## Standard Maven Navigation 
  +              <div><strong>Maven Generated Docs</strong>
  +                <div><small><strong><a href="$relativePath/index.html">Front Page</a></strong></small></div>
  +                <div><small><strong><a href="$relativePath/mail-lists.html">Mailing Lists</a></strong></small></div>
  +                <div><small><strong><a href="$relativePath/developer-list.html">Developers</a></strong></small></div>
  +                <div><small><strong><a href="$relativePath/dependencies.html">Dependencies</a></strong></small></div>
  +                <div><small><strong><a href="$relativePath/changelog.html">Change Log</a></strong></small></div>
  +                <div><small><strong><a href="$relativePath/jdepend-report.html">Metric Results</a></strong></small></div>
  +                <div><small><strong><a href="$relativePath/junit-report.html">Unit Tests</a></strong></small></div>
  +                <div><small><strong><a href="$relativePath/apidocs">JavaDocs</a></strong></small></div>
  +                <div><small><strong><a href="$relativePath/xref">Source XReference</a></strong></small></div>
  +              </div>
  +            </div>
  +          </td>
  +          <td>
  +            <div id="bodycol">
  +              ## Insert MAIN body here
  +              <div id="selectmodule" class="app">
  +                <p/>
  +                $context.applyTemplates("body/section")
  +                $context.applyTemplates("body/glossary")
  +                $context.applyTemplates("body/changelog")
   
  -      <!-- FOOTER SEPARATOR -->
  -      <tr>
  -        <td colspan="2">
  -          <hr noshade="" size="1"/>
  -        </td>
  -      </tr>
  +              </div>
  +            </div>
  +          </td>
  +        </tr>
  +      </table>
   
  -      <!-- PAGE FOOTER -->
  -      <tr><td colspan="2">
  -        <div align="center"><font color="$body-link" size="-1"><em>
  -        Copyright &#169; 1999-2001, Apache Software Foundation
  -        </em></font></div>
  -      </td></tr>
  +      <div id="footer">
  +        <table border="0" cellspacing="0" cellpadding="4">
  +          <tr>
  +            <td>
  +              &copy; 1999-2002, Apache Software Foundation
  +            </td>
  +          </tr>
  +        </table>
  +      </div>
   
  -    </table>
       </body>
  -    </html>
  +  </html>
   #end
   
   
  @@ -145,154 +140,95 @@
    *   Process a menu for the navigation bar
    *#
   #match( "menu" )
  -    <p>
  -      <strong>$attrib.name</strong>
  -    </p>
  -    <ul>
  -        $context.applyTemplates("item")
  -    </ul>
  +  <div>
  +    <strong>$attrib.name</strong>
  +    $context.applyTemplates("item")
  +  </div>
   #end
   
   #*
    *   Process a menu item for the navigation bar
    *#
   #match( "item" )
  -
  -    #if( $attrib.href.startsWith("http") )
  -        <li><a href="$attrib.href">$attrib.name</a></li>
  -    #else
  -        <li><a href="$relativePath$attrib.href">$attrib.name</a></li>
  -    #end
  +  <div><small><strong>
  +  #if( $attrib.href.startsWith("http") )
  +    <a href="$attrib.href">$attrib.name</a>
  +  #else
  +    <a href="$relativePath$attrib.href">$attrib.name</a>
  +  #end
  +  </strong></small></div>
   #end
   
  -
   #*
    *  process a documentation section
    *#
   #match( "section" )
  -
  -    <table border="0" cellspacing="0" cellpadding="2" width="100%">
  -
  -      <tr><td bgcolor="$banner-bg">
  -          <font color="$banner-fg" face="arial,helvetica.sanserif">
  -          <a name="$attrib.name">
  -          <strong>$attrib.name</strong></a></font>
  -      </td></tr>
  -
  -      <tr><td><blockquote>
  -        $context.applyTemplates("*")
  -      </blockquote></td></tr>
  -      <tr><td>&nbsp;</td></tr>
  -    </table>
  +  <h3>$attrib.name</h3>
  +  $context.applyTemplates("*")
   #end
   
   #match( "subsection" )
  -
  -    <table border="0" cellspacing="0" cellpadding="2" width="100%">
  -      <!-- Subsection heading -->
  -      <tr><td bgcolor="$sub-banner-bg">
  -          <font color="$sub-banner-fg" face="arial,helvetica.sanserif">
  -          <a name="$attrib.name">
  -          <strong>$attrib.name</strong></a></font>
  -      </td></tr>
  -      <!-- Subsection body -->
  -      <tr><td><blockquote>
  -        $context.applyTemplates("*")
  -      </blockquote></td></tr>
  -      <tr><td>&nbsp;</td></tr>
  -    </table>
  -
  +  <h4>$attrib.name</h4>
  +  $context.applyTemplates("*")
   #end
   
   #match( "source" )
  -
  -    <div align="left">
  -      <table cellspacing="4" cellpadding="0" border="0">
  -        <tr>
  -          <td bgcolor="$source-color" width="1" height="1"><img src="/images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/></td>
  -          <td bgcolor="$source-color" height="1"><img src="/images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/></td>
  -          <td bgcolor="$source-color" width="1" height="1"><img src="/images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/></td>
  -        </tr>
  -        <tr>
  -          <td bgcolor="$source-color" width="1"><img src="/images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/></td>
  -          <td bgcolor="#ffffff" height="1">
  +  <div id="helptext">
  +    <table border="0" cellspacing="0" cellpadding="3" width="100%">
  +      <tr>
  +        <td>
  +          <p/>
             <pre>$toolbox.htmlescape.getText( $node.value() )</pre>
  -          </td>
  -          <td bgcolor="$source-color" width="1"><img src="/images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/></td>
  -        </tr>
  -        <tr>
  -          <td bgcolor="$source-color" width="1" height="1"><img src="/images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/></td>
  -          <td bgcolor="$source-color" height="1"><img src="/images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/></td>
  -          <td bgcolor="$source-color" width="1" height="1"><img src="/images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/></td>
  -        </tr>
  -      </table>
  -    </div>
  +        </td>
  +      </tr>
  +    </table>
  +  </div>
   #end
   
  -
  -
   #match("table")
  -<table>
  -$context.applyTemplates("*")
  -</table>
  +  #set ($rowcount = 0)
  +  <table cellpadding="3" cellspacing="2" border="1" width="100%">
  +    $context.applyTemplates("*")
  +  </table>
   #end
   
   #match("tr")
  -<tr>
  -$context.applyTemplates("*")
  -</tr>
  +  #if ($rowcount % 2 > 0)
  +    <tr class="a"> 
  +  #else
  +    <tr class="b">
  +  #end
  +  #set ($rowcount = $rowcount + 1)
  +    $context.applyTemplates("*")
  +  </tr>
   #end
   
   #match( "td" )
  -
  -#if ($attrib.colspan)
  -    #set ($colspan = $attrib.colspan)
  -#end
  -#if ($attrib.rowspan)
  -    #set ($rowspan = $attrib.rowspan)
  -#end
  -
  -<td 
  -  bgcolor="$table-td-bg" 
  -  colspan="$!colspan" 
  -  rowspan="$!rowspan" 
  -  valign="top" 
  -  align="left">
  -  
  -  <font 
  -    color="#000000" 
  -    size="-1" 
  -    face="arial,helvetica,sanserif">
  -    
  +  #if ($attrib.colspan)
  +      #set ($colspan = $attrib.colspan)
  +  #end
  +  #if ($attrib.rowspan)
  +      #set ($rowspan = $attrib.rowspan)
  +  #end
  +  <td 
  +    colspan="$!colspan" 
  +    rowspan="$!rowspan">
       $node.copy( $node.children() )
  -  </font>
  -</td>
  +  </td>
   #end
   
   #match( "th" )
  -
  -#if ($attrib.colspan)
  -    #set ($colspan = $attrib.colspan )
  -#end
  -#if ($attrib.rowspan)
  -    #set ($rowspan = $attrib.rowspan )
  -#end
  -
  -<td 
  -  bgcolor="$table-th-bg" 
  -  colspan="$!colspan" 
  -  rowspan="$!rowspan" 
  -  valign="top" 
  -  align="left">
  -  
  -  <font 
  -    color="#000000" 
  -    size="-1" 
  -    face="arial,helvetica,sanserif">
  -    
  +  #if ($attrib.colspan)
  +      #set ($colspan = $attrib.colspan )
  +  #end
  +  #if ($attrib.rowspan)
  +      #set ($rowspan = $attrib.rowspan )
  +  #end
  +  <th 
  +    colspan="$!colspan" 
  +    rowspan="$!rowspan">
       $node.copy( $node.children())
  -  </font>
  -</td>
  +  </th>
   #end
   
   ## -----------------------------------------------------
  @@ -305,7 +241,7 @@
   
   #*
   #match ("glossary-entry")
  -  <b>$context.node.name</b>
  +  <strong>$context.node.name</strong>
     <br/>
     $context.node.definition
     <p/>
  @@ -317,39 +253,28 @@
   ## -----------------------------------------------------
   
   #match("changelog")
  -
  -<table>
  -<tr>
  -  <th bgcolor="$table-th-bg" colspan="$!colspan" rowspan="$!rowspan" valign="top" align="left">
  -    Date</th>
  -  <th bgcolor="$table-th-bg" colspan="$!colspan" rowspan="$!rowspan" valign="top" align="left">
  -    Author</th>
  -  <th bgcolor="$table-th-bg" colspan="$!colspan" rowspan="$!rowspan" valign="top" align="left">
  -    Files / Message</th>
  -</tr>
  -$context.applyTemplates("changelog-entry")
  -</table>
  -
  +  <table>
  +    <tr>
  +      <th>Date</th><th>Author</th><th>Files / Message</th>
  +    </tr>
  +    $context.applyTemplates("changelog-entry")
  +  </table>
   #end
   
   #match( "changelog-entry" )
  -<tr>
  -  <td bgcolor="$table-td-bg" colspan="$!colspan" rowspan="$!rowspan" valign="top" align="left">
  -    $node.date.value()</td>
  -  <td bgcolor="$table-td-bg" colspan="$!colspan" rowspan="$!rowspan" valign="top" align="left">
  -    $node.author.value()</td>
  -  <td bgcolor="$table-td-bg" colspan="$!colspan" rowspan="$!rowspan" valign="top" align="left">
  -    $context.applyTemplates("file")
  -    <br/>
  -    $node.msg.value()</td>
  -</tr>
  +  <tr>
  +    <td>$node.date.value()</td>
  +    <td>$node.author.value()</td>
  +    <td>
  +      $context.applyTemplates("file")
  +      <br/>$node.msg.value()
  +    </td>
  +  </tr>
   #end
   
   #match("file")
  -$node.name.value()
  -<br/>
  +  $node.name.value() <br/>
   #end
  -
   
   ## -----------------------------------------------------
   ## D E F A U L T  C O P Y
  
  
  
  1.1                  jakarta-turbine-maven/src/dvsl/xdocs/main.css
  
  Index: main.css
  ===================================================================
  body {
  	background: white;
  	color: black;
  	margin:	0;
  	padding: 0;
  	}
  body, div, p, th, td, li, dl, dd {
  	font-family: Lucida, Arial, Helvetica, sans-serif;
  	}
  code, pre {
  	font-family:	'Andale Mono', Courier, monospace;
  	}
  h2, h3, h4 {
  	font-family:	Tahoma, Verdana, Helvetica, Arial, sans-serif;
  	}
  h2 {
   font-size: 1.67em
   }
  th, td {
   text-align: left;
   vertical-align: top 
   }
  .right {
  	text-align:	right !important;
  	}
  .center {
  	text-align:	center !important;
  	}
  .left {
  	text-align:	center !important;
  	}
  #leftcol a:link, #leftcol a:visited {
  	color: blue; 
  	}
  a:active, a:hover, #leftcol a:active, #leftcol a:hover {
  	color: #f30 !important;
  	}
  #login a:link, #login a:visited {
  	color: white; 
  	text-decoration: underline;
  	}
  #banner a:active, #banner a:hover {
  	color: #f90 !important;
  	}
  #leftcol a, #breadcrumbs a  {
   text-decoration: none;
   }
  .app th {
  	background-color: #ccc;
  	}
  .a td { 
  	background: #efefef;
  	}
  .b td { 
  	background: #fff;
  	}
  .datatablechild th {
  	background: #efefef;
  	color: #000;
  	}
  .datatablechild tr.a td {
  	background: #cf9;
  	}
  body .axial th {
  	background-color: #efefef;
  	text-align: right;
  	color: black
  	}
  .app .axial td th {
  	text-align: left;
  	}
  .alert { 
  	color: red; 
  	}
  .confirm {
  	color: green;
  	}
  .info {
  	color: blue;
  	}
  .selection {
  	background: #ffc;
  	font-weight: bold
  	}
  body td .stb	{
  	margin-top: 1em;
  	text-indent: 0;
  	}
  body td .mtb	{
  	margin-top: 2em;
  	text-indent: 0;
  	}
  dd	{
  	margin-bottom: .67em;
  	}
  #footer {
   margin: 4px
   }
  .username {
  	white-space: nowrap;
  	}
  #login {
  	color: white;
  	}
  #login .username {
  	font-weight: bold;
  	}
  #helptext {
  	margin-top: 1em
  	}
  #helptext td div {
  	margin: .5em
  	}
  #helptext th {
  	background: #cc9;
  	}
  #helptext td {
  	background: #ffc;
  	}
  .tabs a		{
  	text-decoration:	none;
  	}
  .courtesylinks {
  	margin-top: 1em;
  	padding-top: 1em
  	}
  #navcolumn div {
   margin-bottom: .5em;
   }
  #navcolumn div div {
   margin-top: .5em
   }
  #navcolumn div div {
   padding-left: 1em;
   }
  #banner, #banner td { 
  	background: #036;
  	color: white;
  	vertical-align: middle;
  	}
  body #banner #login a { 
  	color: white;
  	}
  .tabs td, .tabs th {
  	background-color: #ccc;
  	padding-left: 7px;
  	padding-right: 7px;
  	}
  body .tabs th {
  	background-color: #999;
  	color: #fff;
  	}
  .tabs td {
  	background-color: #ccc;
  	}
  body.docs, body.nonav {
   margin: 1em
   }
  
  
  
  1.1                  jakarta-turbine-maven/src/dvsl/xdocs/ns4_toxins.css
  
  Index: ns4_toxins.css
  ===================================================================
  html body, body div, body p, body th, body td, body li, body dl, body dd, input, select, textarea, .app h3, .app h4 {
   font-family: Verdana, Helvetica, Arial, sans-serif;
   }
  html body, body th, body td, textarea, .app h3, .app h4, #rightcol h3, .app pre, .app code {
   font-size: x-small;
   voice-family: "\"}\"";
   voice-family: inherit;
   font-size: small
   }
  html>body, html>body th, html>body td, html>body input, html>body select, html>body textarea, html>body .app h3, html>body .app h4, html>body #rightcol h3, html>body .app pre, html>body .app code {
   font-size: small
   }
  small, div#footer td, div#login, div#helptext th, div#helptext td, div.tabs th, div.tabs td, input, select, .paginate, .functnbar, .functnbar2, .functnbar3, #breadcrumbs td, .courtesylinks, #rightcol div.help {
   font-size: xx-small !important;
   voice-family: "\"}\"";
   voice-family: inherit;
   font-size: x-small !important
   }
  html>body small, html>body div#footer td, html>body div#login, html>body div#helptext td, html>body div#helptext th, html>body div.tabs th, html>body div.tabs td, html>body input, html>body select, html>body .paginate, html>body .functnbar, html>body .functnbar2, html>body .functnbar3, html>body #breadcrumbs td, html>body .courtesylinks, html>body #rightcol div.help {
   font-size: x-small !important
   }
  p, ul, ol, dl {
   margin-top: .67em;
   margin-bottom: .67em;
   }
  #bodycol {
   line-height: 1.3;
   padding-left: 12px;
   padding-right: 12px;
   width: 100%;
   voice-family: "\"}\"";
   voice-family: inherit;
   width: auto;
   }
  html>body #bodycol {
   width: auto;
   }
  .docs {
   line-height: 1.4;
   }
  table, th, td {
   border: none
   }
  .app h3, .app h4, .tabs th, .tabs td, .functnbar {
  	background-image: url(@PROJECT_BASE_URL@images/nw_min.gif);
  	background-repeat: no-repeat;
   }
  .app h3, .app h4 {
   padding: 5px;
   margin-right: 2px;
   margin-left: 2px;
   color: #fff;
   }
  .app h3 {
   background-color: #036;
   }
  .app h4 { 
   background-color: #ccc;
   color: #000;
   }
  .app h3 a {
   color: white;
   }
  h2 {
   margin-top: .3em;
   margin-bottom: .2em
   }
  h3, h4 {
   margin-bottom: 0;
   }
  h4 {
   font-size: 1em;
   }
  form {
   margin-top: 0;
   margin-bottom: 0;
   }
  dt {
   font-weight: bold
   }
  .mtb {
   border-top: solid 1px #ccc;
   }
  .colbar {
   background: #ccc;
   padding: 5px;
   margin-top: 2px;
   margin-right: 2px;
   margin-left: 2px;
   }
  #banner {
   border-top: 1px solid #369;
   border-bottom: 1px solid #003;
   }
  #helptext th {
   border-bottom: 1px solid #996;
   border-right: 1px solid #996;
   }
  #helptext td {
   border-bottom: 1px solid #cc9;
   border-right: 1px solid #cc9;
   }
  ul.tasks {
   padding-left: 0;
   margin-left: 2px;
   }
  ul.tasks li {
   display: inline;
   margin-right: 1.5em;
   }
  .tabs { 
   border-bottom: 1em #999 solid;
   margin-top: .67em;
   margin-right: 2px;
   margin-left: 2px;
   }
  .tabs th, .tabs td {
   border-right: 1px solid #666;
   }
  .tabs td {
   border-bottom: 1px solid #ccc;
   }
  #leftcol {
   background: #efefef;
   border-right: 1px solid #999;
   border-bottom: 1px solid #999;
   padding-bottom: .5em;
   }
  #navcolumn div div, body.docs #toc li li  {
   background-image: url(@PROJECT_BASE_URL@images/strich.gif);
   background-repeat: no-repeat;
   background-position: .5em .5em;
   }
  #navcolumn div div.heading  {
   background-image: none;
   }
  #breadcrumbs {
   border-bottom: 1px solid #999;
   background-color: #ccc
   }
  #breadcrumbs td {
   vertical-align: middle;
   padding: 2px 8px;
   font-weight: bold;
   } 
  #leftcol, #breadcrumbs {
   border-top: 1px solid #fff;
   }
  #rightcol div.www, #rightcol div.help {
   border: 1px solid #ccc;
   padding: 0 .5em
   }
  #navcolumn div {
   padding-left: 5px
   }
  div#navcolumn div div {
   margin-top: .3em;
   margin-bottom: .3em;
   }
  div#navcolumn div.focus { 
   margin-top: -.1em;
   padding: .2em 4px; 
   border-top: 1px solid #999;
   border-left: 1px solid #999;
   background-color: #fff;
   } 
  body.docs #toc { 
   position: absolute;
   top: 15px;
   left: 0px;
   width: 120px;
   padding: 0 20px 0 0
   }
  body.docs #toc ul, #toc ol {
   margin-left: 0;
   padding-left: 0;
   }
  body.docs #toc li {
   margin-top: 7px;
   padding-left: 10px;
   list-style-type: none;
   }
  body.docs div#toc {
   font-size: xx-small !important;
   voice-family: "\"}\"";
   voice-family: inherit;
   font-size: x-small !important
   }
  html>body.docs #toc {
   font-size: x-small !important
   }
  body.docs div.docs { 
   margin: 61px 0 0 150px;
   padding: 1em 2em 1em 1em !important;
   background: #fff;
   border-left: 1px solid #ccc;
   border-top: 1px solid #ccc;
   }
  body.docs { 
   background: #efefef url(@PROJECT_BASE_URL@images/help_logo.gif) top right no-repeat !important;
   margin: 0 !important;
   }
  #toc h3 {
   border-top: none;
   }
  .courtesylinks {
   margin: 1em 0
   }
  .docs p+p {
   text-indent: 5%;
   margin-top: -.67em
   }
  .docs .courtesylinks p {
   text-indent: 0
   }
  .docs h3, .docs h4 {
   border-top: solid 1px #000;
   margin-bottom: .1em;
   padding-top: .3em
   }
  #alerterrormessage { 
   background: url(@PROJECT_BASE_URL@images/icon_alert.gif) top left no-repeat !important;
   padding-left: 85px;
   }
  /* Scarab/App - styles start here */
  .functnbar {
   background-color: #999;
   }
  .functnbar2, .functnbar3  {
   background: #999 url(@PROJECT_BASE_URL@images/sw_min.gif) no-repeat bottom left;
   }
  .functnbar3 {
   background-color: #ccc;
   }
  .functnbar, .functnbar2, .functnbar3 {
   padding: 5px;
   margin: .67em 2px;
   color: #000;
   }
  .functnbar a, .functnbar2 a, .functnbar3 a {
   color: #000;
   text-decoration: underline;
   }
  #topmodule {
   background: #efefef;
   border-top: 1px solid white;
   border-bottom: 1px solid #999; 
   border-right: 1px solid #999; 
   }
  #topmodule td {
   vertical-align: middle;
   padding: 2px 8px
   } 
  #topmodule #issueid {
   border-right: 1px solid #999;
   }
  #bodycol {
   margin-top: -8px;
   }
  /* Scarab/App - styles end here */
  
  
  
  1.1                  jakarta-turbine-maven/src/dvsl/xdocs/print.css
  
  Index: print.css
  ===================================================================
  #banner, #crumbbar, #leftcol, #footer {
  	display: none;
  	}
  
  
  1.1                  jakarta-turbine-maven/src/images/help_logo.gif
  
  	<<Binary file>>
  
  
  1.1                  jakarta-turbine-maven/src/images/icon_alert.gif
  
  	<<Binary file>>
  
  
  1.1                  jakarta-turbine-maven/src/images/jakarta-reverse.gif
  
  	<<Binary file>>
  
  
  1.1                  jakarta-turbine-maven/src/images/maven.jpg
  
  	<<Binary file>>
  
  
  1.1                  jakarta-turbine-maven/src/images/nw_min.gif
  
  	<<Binary file>>
  
  
  1.1                  jakarta-turbine-maven/src/images/strich.gif
  
  	<<Binary file>>
  
  
  1.1                  jakarta-turbine-maven/src/images/sw_min.gif
  
  	<<Binary file>>
  
  
  1.35      +32 -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.34
  retrieving revision 1.35
  diff -u -r1.34 -r1.35
  --- build-docs.xml	17 Mar 2002 18:22:13 -0000	1.34
  +++ build-docs.xml	25 Mar 2002 16:49:21 -0000	1.35
  @@ -176,6 +176,7 @@
       <!-- Make sure the source doc directories exist -->
       <mkdir dir="${docs.src}"/>
       <mkdir dir="${docs.src}/images"/>
  +    <mkdir dir="${docs.src}/stylesheets"/>
   
       <!-- Make sure the target directory -->
       <mkdir dir="${docs.dest}"/>
  @@ -212,11 +213,42 @@
         </classpath>
       </dvsl>
   
  +    <!-- Copy site images -->
  +    <copy todir="${docs.dest}/images" filtering="no">
  +      <fileset dir="${maven.home}/images">
  +        <include name="**/*.gif"/>
  +        <include name="**/*.jpeg"/>
  +        <include name="**/*.jpg"/>
  +      </fileset>
  +    </copy>
  +
  +    <!-- Copy user supplied images -->
       <copy todir="${docs.dest}/images" filtering="no">
         <fileset dir="${docs.src}/images">
           <include name="**/*.gif"/>
           <include name="**/*.jpeg"/>
           <include name="**/*.jpg"/>
  +      </fileset>
  +    </copy>
  +
  +    <!-- Copy maven supplied stylesheets.  We need to filter here
  +         because the stylesheets need to reference files in the images
  +         directory.  Since this file is referenced from each page on the
  +         site, relative URLs will not work.  Thus, the base URL must be
  +         passed into the sheet here.  We should also make a note that
  +         the Url in the project descriptor should be the base URL of a
  +         site and that it should end with a trailing slash. -->
  +    <filter token="PROJECT_BASE_URL" value="${url}"/>
  +    <copy todir="${docs.dest}/style" filtering="yes">
  +      <fileset dir="${maven.home}/stylesheets">
  +        <include name="**/*.css"/>
  +      </fileset>
  +    </copy>
  +
  +    <!-- Copy user supplied stylesheets, can override maven -->
  +    <copy todir="${docs.dest}/style" filtering="no">
  +      <fileset dir="${docs.src}/stylesheets">
  +        <include name="**/*.css"/>
         </fileset>
       </copy>
     </target>
  
  
  
  1.19      +1 -1      jakarta-turbine-maven/xdocs/project.xml
  
  Index: project.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine-maven/xdocs/project.xml,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -u -r1.18 -r1.19
  --- project.xml	18 Mar 2002 16:17:34 -0000	1.18
  +++ project.xml	25 Mar 2002 16:49:21 -0000	1.19
  @@ -2,7 +2,7 @@
   <project name="Maven" href="http://jakarta.apache.org/turbine/maven/">
   
     <title>Maven</title>
  -  <logo href="/images/logo.gif">Maven</logo>
  +  <logo href="/images/maven.jpg">Maven</logo>
   
     <body>
       <menu name="Overview">
  
  
  

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: cvs commit: jakarta-turbine-maven/xdocs project.xml (1/2)

Posted by Daniel Rall <dl...@finemaltcoding.com>.
Looks great Pete!

Since so many projects have started using CollabNet's CSS, Todd
Fahrner (CollabNet CSS gawd) and myself (a mere engineer, claiming not
even an ounce of stylistic talent) have started the swank Style
project for it on Tigris.  Please see <http://style.tigris.org/> --
I'd like to integrate this into our build, rather than maintain a
separate copy of it.  Comments?

kaz@apache.org writes:

> kaz         02/03/25 08:49:21
>
>   Modified:    src/dvsl/xdocs site.dvsl
>                src/templates/build build-docs.xml
>                xdocs    project.xml
>   Added:       src/dvsl/xdocs main.css ns4_toxins.css print.css
>                src/images help_logo.gif icon_alert.gif jakarta-reverse.gif
>                         maven.jpg nw_min.gif strich.gif sw_min.gif
>   Log:
>   These changes update the look and feel of the Maven generated sites.
>   The stylesheets were ripped from Scarab (I'm not sure what comments look
>   like in CSS, but we should give proper attribution).  I also created a
>   new DVSL stylesheet that can transform an xdoc to this new look and
>   feel.  Its only a start, we can make enhancements as time goes on.
>   
>   Revision  Changes    Path
>   1.6       +167 -242  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.5
>   retrieving revision 1.6
>   diff -u -r1.5 -r1.6
>   --- site.dvsl	18 Mar 2002 04:34:42 -0000	1.5
>   +++ site.dvsl	25 Mar 2002 16:49:21 -0000	1.6
>   @@ -1,19 +1,9 @@
>   -#set( $relative-path = "." )
>   -
>   -#set( $body-bg = '#ffffff' )
>   -#set( $body-fg = '#000000' )
>   -#set( $body-link = '#525D76' )
>   -#set( $banner-bg = '#525D76')
>   -#set( $banner-fg = '#ffffff')
>   -#set( $sub-banner-bg = '#828DA6')
>   -#set( $sub-banner-fg = '#ffffff')
>   -#set( $table-th-bg = '#039acc')
>   -#set( $table-td-bg = '#a0ddf0')
>   -#set( $source-color = '#023264')
>    #set( $projectFilename = "xdocs/project.xml")
>    #set( $anakiaProjectFilename = "xdocs/stylesheets/project.xml")
>    
>    #match( "document" )
>   +  <!DOCTYPE html PUBLIC "-//CollabNet//DTD XHTML 1.0 Transitional//EN"
>   +      "http://www.collabnet.com/dtds/collabnet_transitional_10.dtd">
>    
>      ## Setup the relativePath using the toolbox.
>    
>   @@ -38,6 +28,11 @@
>      <html>
>        <head>
>          <title>$!project.title - $node.properties.title</title>
>   +      <style type="text/css">
>   +      @import url("$relativePath/style/ns4_toxins.css");
>   +      </style>
>   +      <link rel="stylesheet" type="text/css" href="$relativePath/style/main.css" />
>   +      <link rel="stylesheet" type="text/css" href="$relativePath/style/print.css" media="print" />
>    
>          #foreach( $n in $node.properties.selectNodes("author") )
>            <meta name="author" value="$n"/>
>   @@ -46,98 +41,98 @@
>    
>        </head>
>    
>   -    <body 
>   -      bgcolor="$body-bg" 
>   -      text="$body-fg" 
>   -      link="$body-link"
>   -      alink="$body-link" 
>   -      vlink="$body-link">
>   -
>   -      <table border="0" width="100%" cellspacing="4">
>   -
>   -      ## PAGE HEADER
>   -      <tr><td colspan="2">
>   -
>   -        ## JAKARTA LOGO
>   -        <a href="http://jakarta.apache.org/">
>   -          <img src="http://jakarta.apache.org/images/jakarta-logo.gif"
>   -             align="left" alt="The Jakarta Project" border="0"/>
>   -        </a>
>   -
>   -        #if( $project.logo )
>   -
>   -          #set( $alt = $project.logo )
>   -          #set( $home = $project.attribute("href") )
>   -          #set( $src = $project.logo.attribute( "href" ) )
>   -
>   -          ## PROJECT LOGO
>   -          <a href="$home">
>   -          #if ( $src.startsWith("http") )
>   -            <img src="$src" align="right" alt="$alt" border="0"/>
>   -          #else
>   -            <img src="$relativePath$src" align="right" alt="$alt" border="0"/>
>   -          #end
>   -          </a>
>   -        #end
>   -
>   -      </td></tr>
>   -
>   -      ## HEADER SEPARATOR
>   -      <tr>
>   -        <td colspan="2">
>   -          <hr noshade="" size="1"/>
>   -        </td>
>   -      </tr>
>   -
>   -      <tr>
>   -
>   -        ## LEFT SIDE NAVIGATION
>   -        <td width="20%" valign="top" nowrap="true">
>   -          #if ($project)
>   -            $context.applyTemplates( $project, "body/menu" )
>   -          #end
>   -
>   -          ## Standard Maven Navigation 
>   -          <p><strong>Maven Generated Docs</strong></p>
>   -          <ul>
>   -            <li><a href="$relativePath/index.html">Front Page</a></li>
>   -            <li><a href="$relativePath/mail-lists.html">Mailing Lists</a></li>
>   -            <li><a href="$relativePath/developer-list.html">Developers</a></li>
>   -            <li><a href="$relativePath/dependencies.html">Dependencies</a></li>
>   -            <li><a href="$relativePath/changelog.html">Change Log</a></li>
>   -            <li><a href="$relativePath/jdepend-report.html">Metric Results</a></li>
>   -            <li><a href="$relativePath/junit-report.html">Unit Tests</a></li>
>   -            <li><a href="$relativePath/apidocs">JavaDocs</a></li>
>   -            <li><a href="$relativePath/xref">Source XReference</a></li>
>   -          </ul>
>   -        </td>
>   -
>   -        <!-- RIGHT SIDE MAIN BODY -->
>   -        <td width="80%" valign="top" align="left">
>   -          $context.applyTemplates("body/section")
>   -          $context.applyTemplates("body/glossary")
>   -          $context.applyTemplates("body/changelog")
>   -        </td>
>   -
>   -      </tr>
>   +    <body marginwidth="0" marginheight="0">
>   +      <div id="banner">
>   +        <table border="0" cellspacing="0" cellpadding="8" width="100%">
>   +          <tr>
>   +            <td>
>   +              <a href="http://jakarta.apache.org/">
>   +                <img src="$relativePath/images/jakarta-reverse.gif" align="left" alt="The Jakarta Project" border="0"/>
>   +              </a>
>   +            </td>
>   +            <td>
>   +              <div align="right" id="login">
>   +                #if( $project.logo )
>   +
>   +                  #set( $alt = $project.logo )
>   +                  #set( $home = $project.attribute("href") )
>   +                  #set( $src = $project.logo.attribute( "href" ) )
>   +
>   +                  <a href="$home">
>   +                  #if ( $src.startsWith("http") )
>   +                    <img src="$src" align="right" alt="$alt" border="0"/>
>   +                  #else
>   +                    <img src="$relativePath$src" align="right" alt="$alt" border="0"/>
>   +                  #end
>   +                  </a>
>   +                #end
>   +              </div>
>   +            </td>
>   +          </tr>
>   +        </table>
>   +      </div>
>   +
>   +      <div id="breadcrumbs">
>   +        <table border="0" cellspacing="0" cellpadding="4" width="100%">
>   +          <tr>
>   +            <td> 
>   +              ## May want to put something here at some point
>   +              &nbsp;
>   +            </td>
>   +          </tr>
>   +        </table>
>   +      </div>
>   +
>   +      <table border="0" cellspacing="0" cellpadding="8" width="100%" id="main">
>   +        <tr valign="top">
>   +          <td id="leftcol" width="20%">
>   +            <div id="navcolumn">
>   +
>   +              #if ($project)
>   +                $context.applyTemplates( $project, "body/menu" )
>   +              #end
>   +          
>   +              ## Standard Maven Navigation 
>   +              <div><strong>Maven Generated Docs</strong>
>   +                <div><small><strong><a href="$relativePath/index.html">Front Page</a></strong></small></div>
>   +                <div><small><strong><a href="$relativePath/mail-lists.html">Mailing Lists</a></strong></small></div>
>   +                <div><small><strong><a href="$relativePath/developer-list.html">Developers</a></strong></small></div>
>   +                <div><small><strong><a href="$relativePath/dependencies.html">Dependencies</a></strong></small></div>
>   +                <div><small><strong><a href="$relativePath/changelog.html">Change Log</a></strong></small></div>
>   +                <div><small><strong><a href="$relativePath/jdepend-report.html">Metric Results</a></strong></small></div>
>   +                <div><small><strong><a href="$relativePath/junit-report.html">Unit Tests</a></strong></small></div>
>   +                <div><small><strong><a href="$relativePath/apidocs">JavaDocs</a></strong></small></div>
>   +                <div><small><strong><a href="$relativePath/xref">Source XReference</a></strong></small></div>
>   +              </div>
>   +            </div>
>   +          </td>
>   +          <td>
>   +            <div id="bodycol">
>   +              ## Insert MAIN body here
>   +              <div id="selectmodule" class="app">
>   +                <p/>
>   +                $context.applyTemplates("body/section")
>   +                $context.applyTemplates("body/glossary")
>   +                $context.applyTemplates("body/changelog")
>    
>   -      <!-- FOOTER SEPARATOR -->
>   -      <tr>
>   -        <td colspan="2">
>   -          <hr noshade="" size="1"/>
>   -        </td>
>   -      </tr>
>   +              </div>
>   +            </div>
>   +          </td>
>   +        </tr>
>   +      </table>
>    
>   -      <!-- PAGE FOOTER -->
>   -      <tr><td colspan="2">
>   -        <div align="center"><font color="$body-link" size="-1"><em>
>   -        Copyright &#169; 1999-2001, Apache Software Foundation
>   -        </em></font></div>
>   -      </td></tr>
>   +      <div id="footer">
>   +        <table border="0" cellspacing="0" cellpadding="4">
>   +          <tr>
>   +            <td>
>   +              &copy; 1999-2002, Apache Software Foundation
>   +            </td>
>   +          </tr>
>   +        </table>
>   +      </div>
>    
>   -    </table>
>        </body>
>   -    </html>
>   +  </html>
>    #end
>    
>    
>   @@ -145,154 +140,95 @@
>     *   Process a menu for the navigation bar
>     *#
>    #match( "menu" )
>   -    <p>
>   -      <strong>$attrib.name</strong>
>   -    </p>
>   -    <ul>
>   -        $context.applyTemplates("item")
>   -    </ul>
>   +  <div>
>   +    <strong>$attrib.name</strong>
>   +    $context.applyTemplates("item")
>   +  </div>
>    #end
>    
>    #*
>     *   Process a menu item for the navigation bar
>     *#
>    #match( "item" )
>   -
>   -    #if( $attrib.href.startsWith("http") )
>   -        <li><a href="$attrib.href">$attrib.name</a></li>
>   -    #else
>   -        <li><a href="$relativePath$attrib.href">$attrib.name</a></li>
>   -    #end
>   +  <div><small><strong>
>   +  #if( $attrib.href.startsWith("http") )
>   +    <a href="$attrib.href">$attrib.name</a>
>   +  #else
>   +    <a href="$relativePath$attrib.href">$attrib.name</a>
>   +  #end
>   +  </strong></small></div>
>    #end
>    
>   -
>    #*
>     *  process a documentation section
>     *#
>    #match( "section" )
>   -
>   -    <table border="0" cellspacing="0" cellpadding="2" width="100%">
>   -
>   -      <tr><td bgcolor="$banner-bg">
>   -          <font color="$banner-fg" face="arial,helvetica.sanserif">
>   -          <a name="$attrib.name">
>   -          <strong>$attrib.name</strong></a></font>
>   -      </td></tr>
>   -
>   -      <tr><td><blockquote>
>   -        $context.applyTemplates("*")
>   -      </blockquote></td></tr>
>   -      <tr><td>&nbsp;</td></tr>
>   -    </table>
>   +  <h3>$attrib.name</h3>
>   +  $context.applyTemplates("*")
>    #end
>    
>    #match( "subsection" )
>   -
>   -    <table border="0" cellspacing="0" cellpadding="2" width="100%">
>   -      <!-- Subsection heading -->
>   -      <tr><td bgcolor="$sub-banner-bg">
>   -          <font color="$sub-banner-fg" face="arial,helvetica.sanserif">
>   -          <a name="$attrib.name">
>   -          <strong>$attrib.name</strong></a></font>
>   -      </td></tr>
>   -      <!-- Subsection body -->
>   -      <tr><td><blockquote>
>   -        $context.applyTemplates("*")
>   -      </blockquote></td></tr>
>   -      <tr><td>&nbsp;</td></tr>
>   -    </table>
>   -
>   +  <h4>$attrib.name</h4>
>   +  $context.applyTemplates("*")
>    #end
>    
>    #match( "source" )
>   -
>   -    <div align="left">
>   -      <table cellspacing="4" cellpadding="0" border="0">
>   -        <tr>
>   -          <td bgcolor="$source-color" width="1" height="1"><img src="/images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/></td>
>   -          <td bgcolor="$source-color" height="1"><img src="/images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/></td>
>   -          <td bgcolor="$source-color" width="1" height="1"><img src="/images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/></td>
>   -        </tr>
>   -        <tr>
>   -          <td bgcolor="$source-color" width="1"><img src="/images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/></td>
>   -          <td bgcolor="#ffffff" height="1">
>   +  <div id="helptext">
>   +    <table border="0" cellspacing="0" cellpadding="3" width="100%">
>   +      <tr>
>   +        <td>
>   +          <p/>
>              <pre>$toolbox.htmlescape.getText( $node.value() )</pre>
>   -          </td>
>   -          <td bgcolor="$source-color" width="1"><img src="/images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/></td>
>   -        </tr>
>   -        <tr>
>   -          <td bgcolor="$source-color" width="1" height="1"><img src="/images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/></td>
>   -          <td bgcolor="$source-color" height="1"><img src="/images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/></td>
>   -          <td bgcolor="$source-color" width="1" height="1"><img src="/images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/></td>
>   -        </tr>
>   -      </table>
>   -    </div>
>   +        </td>
>   +      </tr>
>   +    </table>
>   +  </div>
>    #end
>    
>   -
>   -
>    #match("table")
>   -<table>
>   -$context.applyTemplates("*")
>   -</table>
>   +  #set ($rowcount = 0)
>   +  <table cellpadding="3" cellspacing="2" border="1" width="100%">
>   +    $context.applyTemplates("*")
>   +  </table>
>    #end
>    
>    #match("tr")
>   -<tr>
>   -$context.applyTemplates("*")
>   -</tr>
>   +  #if ($rowcount % 2 > 0)
>   +    <tr class="a"> 
>   +  #else
>   +    <tr class="b">
>   +  #end
>   +  #set ($rowcount = $rowcount + 1)
>   +    $context.applyTemplates("*")
>   +  </tr>
>    #end
>    
>    #match( "td" )
>   -
>   -#if ($attrib.colspan)
>   -    #set ($colspan = $attrib.colspan)
>   -#end
>   -#if ($attrib.rowspan)
>   -    #set ($rowspan = $attrib.rowspan)
>   -#end
>   -
>   -<td 
>   -  bgcolor="$table-td-bg" 
>   -  colspan="$!colspan" 
>   -  rowspan="$!rowspan" 
>   -  valign="top" 
>   -  align="left">
>   -  
>   -  <font 
>   -    color="#000000" 
>   -    size="-1" 
>   -    face="arial,helvetica,sanserif">
>   -    
>   +  #if ($attrib.colspan)
>   +      #set ($colspan = $attrib.colspan)
>   +  #end
>   +  #if ($attrib.rowspan)
>   +      #set ($rowspan = $attrib.rowspan)
>   +  #end
>   +  <td 
>   +    colspan="$!colspan" 
>   +    rowspan="$!rowspan">
>        $node.copy( $node.children() )
>   -  </font>
>   -</td>
>   +  </td>
>    #end
>    
>    #match( "th" )
>   -
>   -#if ($attrib.colspan)
>   -    #set ($colspan = $attrib.colspan )
>   -#end
>   -#if ($attrib.rowspan)
>   -    #set ($rowspan = $attrib.rowspan )
>   -#end
>   -
>   -<td 
>   -  bgcolor="$table-th-bg" 
>   -  colspan="$!colspan" 
>   -  rowspan="$!rowspan" 
>   -  valign="top" 
>   -  align="left">
>   -  
>   -  <font 
>   -    color="#000000" 
>   -    size="-1" 
>   -    face="arial,helvetica,sanserif">
>   -    
>   +  #if ($attrib.colspan)
>   +      #set ($colspan = $attrib.colspan )
>   +  #end
>   +  #if ($attrib.rowspan)
>   +      #set ($rowspan = $attrib.rowspan )
>   +  #end
>   +  <th 
>   +    colspan="$!colspan" 
>   +    rowspan="$!rowspan">
>        $node.copy( $node.children())
>   -  </font>
>   -</td>
>   +  </th>
>    #end
>    
>    ## -----------------------------------------------------
>   @@ -305,7 +241,7 @@
>    
>    #*
>    #match ("glossary-entry")
>   -  <b>$context.node.name</b>
>   +  <strong>$context.node.name</strong>
>      <br/>
>      $context.node.definition
>      <p/>
>   @@ -317,39 +253,28 @@
>    ## -----------------------------------------------------
>    
>    #match("changelog")
>   -
>   -<table>
>   -<tr>
>   -  <th bgcolor="$table-th-bg" colspan="$!colspan" rowspan="$!rowspan" valign="top" align="left">
>   -    Date</th>
>   -  <th bgcolor="$table-th-bg" colspan="$!colspan" rowspan="$!rowspan" valign="top" align="left">
>   -    Author</th>
>   -  <th bgcolor="$table-th-bg" colspan="$!colspan" rowspan="$!rowspan" valign="top" align="left">
>   -    Files / Message</th>
>   -</tr>
>   -$context.applyTemplates("changelog-entry")
>   -</table>
>   -
>   +  <table>
>   +    <tr>
>   +      <th>Date</th><th>Author</th><th>Files / Message</th>
>   +    </tr>
>   +    $context.applyTemplates("changelog-entry")
>   +  </table>
>    #end
>    
>    #match( "changelog-entry" )
>   -<tr>
>   -  <td bgcolor="$table-td-bg" colspan="$!colspan" rowspan="$!rowspan" valign="top" align="left">
>   -    $node.date.value()</td>
>   -  <td bgcolor="$table-td-bg" colspan="$!colspan" rowspan="$!rowspan" valign="top" align="left">
>   -    $node.author.value()</td>
>   -  <td bgcolor="$table-td-bg" colspan="$!colspan" rowspan="$!rowspan" valign="top" align="left">
>   -    $context.applyTemplates("file")
>   -    <br/>
>   -    $node.msg.value()</td>
>   -</tr>
>   +  <tr>
>   +    <td>$node.date.value()</td>
>   +    <td>$node.author.value()</td>
>   +    <td>
>   +      $context.applyTemplates("file")
>   +      <br/>$node.msg.value()
>   +    </td>
>   +  </tr>
>    #end
>    
>    #match("file")
>   -$node.name.value()
>   -<br/>
>   +  $node.name.value() <br/>
>    #end
>   -
>    
>    ## -----------------------------------------------------
>    ## D E F A U L T  C O P Y
>   
>   
>   
>   1.1                  jakarta-turbine-maven/src/dvsl/xdocs/main.css
>   
>   Index: main.css
>   ===================================================================
>   body {
>   	background: white;
>   	color: black;
>   	margin:	0;
>   	padding: 0;
>   	}
>   body, div, p, th, td, li, dl, dd {
>   	font-family: Lucida, Arial, Helvetica, sans-serif;
>   	}
>   code, pre {
>   	font-family:	'Andale Mono', Courier, monospace;
>   	}
>   h2, h3, h4 {
>   	font-family:	Tahoma, Verdana, Helvetica, Arial, sans-serif;
>   	}
>   h2 {
>    font-size: 1.67em
>    }
>   th, td {
>    text-align: left;
>    vertical-align: top 
>    }
>   .right {
>   	text-align:	right !important;
>   	}
>   .center {
>   	text-align:	center !important;
>   	}
>   .left {
>   	text-align:	center !important;
>   	}
>   #leftcol a:link, #leftcol a:visited {
>   	color: blue; 
>   	}
>   a:active, a:hover, #leftcol a:active, #leftcol a:hover {
>   	color: #f30 !important;
>   	}
>   #login a:link, #login a:visited {
>   	color: white; 
>   	text-decoration: underline;
>   	}
>   #banner a:active, #banner a:hover {
>   	color: #f90 !important;
>   	}
>   #leftcol a, #breadcrumbs a  {
>    text-decoration: none;
>    }
>   .app th {
>   	background-color: #ccc;
>   	}
>   .a td { 
>   	background: #efefef;
>   	}
>   .b td { 
>   	background: #fff;
>   	}
>   .datatablechild th {
>   	background: #efefef;
>   	color: #000;
>   	}
>   .datatablechild tr.a td {
>   	background: #cf9;
>   	}
>   body .axial th {
>   	background-color: #efefef;
>   	text-align: right;
>   	color: black
>   	}
>   .app .axial td th {
>   	text-align: left;
>   	}
>   .alert { 
>   	color: red; 
>   	}
>   .confirm {
>   	color: green;
>   	}
>   .info {
>   	color: blue;
>   	}
>   .selection {
>   	background: #ffc;
>   	font-weight: bold
>   	}
>   body td .stb	{
>   	margin-top: 1em;
>   	text-indent: 0;
>   	}
>   body td .mtb	{
>   	margin-top: 2em;
>   	text-indent: 0;
>   	}
>   dd	{
>   	margin-bottom: .67em;
>   	}
>   #footer {
>    margin: 4px
>    }
>   .username {
>   	white-space: nowrap;
>   	}
>   #login {
>   	color: white;
>   	}
>   #login .username {
>   	font-weight: bold;
>   	}
>   #helptext {
>   	margin-top: 1em
>   	}
>   #helptext td div {
>   	margin: .5em
>   	}
>   #helptext th {
>   	background: #cc9;
>   	}
>   #helptext td {
>   	background: #ffc;
>   	}
>   .tabs a		{
>   	text-decoration:	none;
>   	}
>   .courtesylinks {
>   	margin-top: 1em;
>   	padding-top: 1em
>   	}
>   #navcolumn div {
>    margin-bottom: .5em;
>    }
>   #navcolumn div div {
>    margin-top: .5em
>    }
>   #navcolumn div div {
>    padding-left: 1em;
>    }
>   #banner, #banner td { 
>   	background: #036;
>   	color: white;
>   	vertical-align: middle;
>   	}
>   body #banner #login a { 
>   	color: white;
>   	}
>   .tabs td, .tabs th {
>   	background-color: #ccc;
>   	padding-left: 7px;
>   	padding-right: 7px;
>   	}
>   body .tabs th {
>   	background-color: #999;
>   	color: #fff;
>   	}
>   .tabs td {
>   	background-color: #ccc;
>   	}
>   body.docs, body.nonav {
>    margin: 1em
>    }
>   
>   
>   
>   1.1                  jakarta-turbine-maven/src/dvsl/xdocs/ns4_toxins.css
>   
>   Index: ns4_toxins.css
>   ===================================================================
>   html body, body div, body p, body th, body td, body li, body dl, body dd, input, select, textarea, .app h3, .app h4 {
>    font-family: Verdana, Helvetica, Arial, sans-serif;
>    }
>   html body, body th, body td, textarea, .app h3, .app h4, #rightcol h3, .app pre, .app code {
>    font-size: x-small;
>    voice-family: "\"}\"";
>    voice-family: inherit;
>    font-size: small
>    }
>   html>body, html>body th, html>body td, html>body input, html>body select, html>body textarea, html>body .app h3, html>body .app h4, html>body #rightcol h3, html>body .app pre, html>body .app code {
>    font-size: small
>    }
>   small, div#footer td, div#login, div#helptext th, div#helptext td, div.tabs th, div.tabs td, input, select, .paginate, .functnbar, .functnbar2, .functnbar3, #breadcrumbs td, .courtesylinks, #rightcol div.help {
>    font-size: xx-small !important;
>    voice-family: "\"}\"";
>    voice-family: inherit;
>    font-size: x-small !important
>    }
>   html>body small, html>body div#footer td, html>body div#login, html>body div#helptext td, html>body div#helptext th, html>body div.tabs th, html>body div.tabs td, html>body input, html>body select, html>body .paginate, html>body .functnbar, html>body .functnbar2, html>body .functnbar3, html>body #breadcrumbs td, html>body .courtesylinks, html>body #rightcol div.help {
>    font-size: x-small !important
>    }
>   p, ul, ol, dl {
>    margin-top: .67em;
>    margin-bottom: .67em;
>    }
>   #bodycol {
>    line-height: 1.3;
>    padding-left: 12px;
>    padding-right: 12px;
>    width: 100%;
>    voice-family: "\"}\"";
>    voice-family: inherit;
>    width: auto;
>    }
>   html>body #bodycol {
>    width: auto;
>    }
>   .docs {
>    line-height: 1.4;
>    }
>   table, th, td {
>    border: none
>    }
>   .app h3, .app h4, .tabs th, .tabs td, .functnbar {
>   	background-image: url(@PROJECT_BASE_URL@images/nw_min.gif);
>   	background-repeat: no-repeat;
>    }
>   .app h3, .app h4 {
>    padding: 5px;
>    margin-right: 2px;
>    margin-left: 2px;
>    color: #fff;
>    }
>   .app h3 {
>    background-color: #036;
>    }
>   .app h4 { 
>    background-color: #ccc;
>    color: #000;
>    }
>   .app h3 a {
>    color: white;
>    }
>   h2 {
>    margin-top: .3em;
>    margin-bottom: .2em
>    }
>   h3, h4 {
>    margin-bottom: 0;
>    }
>   h4 {
>    font-size: 1em;
>    }
>   form {
>    margin-top: 0;
>    margin-bottom: 0;
>    }
>   dt {
>    font-weight: bold
>    }
>   .mtb {
>    border-top: solid 1px #ccc;
>    }
>   .colbar {
>    background: #ccc;
>    padding: 5px;
>    margin-top: 2px;
>    margin-right: 2px;
>    margin-left: 2px;
>    }
>   #banner {
>    border-top: 1px solid #369;
>    border-bottom: 1px solid #003;
>    }
>   #helptext th {
>    border-bottom: 1px solid #996;
>    border-right: 1px solid #996;
>    }
>   #helptext td {
>    border-bottom: 1px solid #cc9;
>    border-right: 1px solid #cc9;
>    }
>   ul.tasks {
>    padding-left: 0;
>    margin-left: 2px;
>    }
>   ul.tasks li {
>    display: inline;
>    margin-right: 1.5em;
>    }
>   .tabs { 
>    border-bottom: 1em #999 solid;
>    margin-top: .67em;
>    margin-right: 2px;
>    margin-left: 2px;
>    }
>   .tabs th, .tabs td {
>    border-right: 1px solid #666;
>    }
>   .tabs td {
>    border-bottom: 1px solid #ccc;
>    }
>   #leftcol {
>    background: #efefef;
>    border-right: 1px solid #999;
>    border-bottom: 1px solid #999;
>    padding-bottom: .5em;
>    }
>   #navcolumn div div, body.docs #toc li li  {
>    background-image: url(@PROJECT_BASE_URL@images/strich.gif);
>    background-repeat: no-repeat;
>    background-position: .5em .5em;
>    }
>   #navcolumn div div.heading  {
>    background-image: none;
>    }
>   #breadcrumbs {
>    border-bottom: 1px solid #999;
>    background-color: #ccc
>    }
>   #breadcrumbs td {
>    vertical-align: middle;
>    padding: 2px 8px;
>    font-weight: bold;
>    } 
>   #leftcol, #breadcrumbs {
>    border-top: 1px solid #fff;
>    }
>   #rightcol div.www, #rightcol div.help {
>    border: 1px solid #ccc;
>    padding: 0 .5em
>    }
>   #navcolumn div {
>    padding-left: 5px
>    }
>   div#navcolumn div div {
>    margin-top: .3em;
>    margin-bottom: .3em;
>    }
>   div#navcolumn div.focus { 
>    margin-top: -.1em;
>    padding: .2em 4px; 
>    border-top: 1px solid #999;
>    border-left: 1px solid #999;
>    background-color: #fff;
>    } 
>   body.docs #toc { 
>    position: absolute;
>    top: 15px;
>    left: 0px;
>    width: 120px;
>    padding: 0 20px 0 0
>    }
>   body.docs #toc ul, #toc ol {
>    margin-left: 0;
>    padding-left: 0;
>    }
>   body.docs #toc li {
>    margin-top: 7px;
>    padding-left: 10px;
>    list-style-type: none;
>    }
>   body.docs div#toc {
>    font-size: xx-small !important;
>    voice-family: "\"}\"";
>    voice-family: inherit;
>    font-size: x-small !important
>    }
>   html>body.docs #toc {
>    font-size: x-small !important
>    }
>   body.docs div.docs { 
>    margin: 61px 0 0 150px;
>    padding: 1em 2em 1em 1em !important;
>    background: #fff;
>    border-left: 1px solid #ccc;
>    border-top: 1px solid #ccc;
>    }
>   body.docs { 
>    background: #efefef url(@PROJECT_BASE_URL@images/help_logo.gif) top right no-repeat !important;
>    margin: 0 !important;
>    }
>   #toc h3 {
>    border-top: none;
>    }
>   .courtesylinks {
>    margin: 1em 0
>    }
>   .docs p+p {
>    text-indent: 5%;
>    margin-top: -.67em
>    }
>   .docs .courtesylinks p {
>    text-indent: 0
>    }
>   .docs h3, .docs h4 {
>    border-top: solid 1px #000;
>    margin-bottom: .1em;
>    padding-top: .3em
>    }
>   #alerterrormessage { 
>    background: url(@PROJECT_BASE_URL@images/icon_alert.gif) top left no-repeat !important;
>    padding-left: 85px;
>    }
>   /* Scarab/App - styles start here */
>   .functnbar {
>    background-color: #999;
>    }
>   .functnbar2, .functnbar3  {
>    background: #999 url(@PROJECT_BASE_URL@images/sw_min.gif) no-repeat bottom left;
>    }
>   .functnbar3 {
>    background-color: #ccc;
>    }
>   .functnbar, .functnbar2, .functnbar3 {
>    padding: 5px;
>    margin: .67em 2px;
>    color: #000;
>    }
>   .functnbar a, .functnbar2 a, .functnbar3 a {
>    color: #000;
>    text-decoration: underline;
>    }
>   #topmodule {
>    background: #efefef;
>    border-top: 1px solid white;
>    border-bottom: 1px solid #999; 
>    border-right: 1px solid #999; 
>    }
>   #topmodule td {
>    vertical-align: middle;
>    padding: 2px 8px
>    } 
>   #topmodule #issueid {
>    border-right: 1px solid #999;
>    }
>   #bodycol {
>    margin-top: -8px;
>    }
>   /* Scarab/App - styles end here */
>   
>   
>   
>   1.1                  jakarta-turbine-maven/src/dvsl/xdocs/print.css
>   
>   Index: print.css
>   ===================================================================
>   #banner, #crumbbar, #leftcol, #footer {
>   	display: none;
>   	}
>   
>   
>   1.1                  jakarta-turbine-maven/src/images/help_logo.gif
>   
>   	<<Binary file>>
>   
>   
>   1.1                  jakarta-turbine-maven/src/images/icon_alert.gif
>   
>   	<<Binary file>>
>   
>   
>   1.1                  jakarta-turbine-maven/src/images/jakarta-reverse.gif
>   
>   	<<Binary file>>
>   

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: cvs commit: jakarta-turbine-maven/xdocs project.xml (2/2)

Posted by Daniel Rall <dl...@finemaltcoding.com>.
>   
>   1.1                  jakarta-turbine-maven/src/images/maven.jpg
>   
>   	<<Binary file>>
>   
>   
>   1.1                  jakarta-turbine-maven/src/images/nw_min.gif
>   
>   	<<Binary file>>
>   
>   
>   1.1                  jakarta-turbine-maven/src/images/strich.gif
>   
>   	<<Binary file>>
>   
>   
>   1.1                  jakarta-turbine-maven/src/images/sw_min.gif
>   
>   	<<Binary file>>
>   
>   
>   1.35      +32 -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.34
>   retrieving revision 1.35
>   diff -u -r1.34 -r1.35
>   --- build-docs.xml	17 Mar 2002 18:22:13 -0000	1.34
>   +++ build-docs.xml	25 Mar 2002 16:49:21 -0000	1.35
>   @@ -176,6 +176,7 @@
>        <!-- Make sure the source doc directories exist -->
>        <mkdir dir="${docs.src}"/>
>        <mkdir dir="${docs.src}/images"/>
>   +    <mkdir dir="${docs.src}/stylesheets"/>
>    
>        <!-- Make sure the target directory -->
>        <mkdir dir="${docs.dest}"/>
>   @@ -212,11 +213,42 @@
>          </classpath>
>        </dvsl>
>    
>   +    <!-- Copy site images -->
>   +    <copy todir="${docs.dest}/images" filtering="no">
>   +      <fileset dir="${maven.home}/images">
>   +        <include name="**/*.gif"/>
>   +        <include name="**/*.jpeg"/>
>   +        <include name="**/*.jpg"/>
>   +      </fileset>
>   +    </copy>
>   +
>   +    <!-- Copy user supplied images -->
>        <copy todir="${docs.dest}/images" filtering="no">
>          <fileset dir="${docs.src}/images">
>            <include name="**/*.gif"/>
>            <include name="**/*.jpeg"/>
>            <include name="**/*.jpg"/>
>   +      </fileset>
>   +    </copy>
>   +
>   +    <!-- Copy maven supplied stylesheets.  We need to filter here
>   +         because the stylesheets need to reference files in the images
>   +         directory.  Since this file is referenced from each page on the
>   +         site, relative URLs will not work.  Thus, the base URL must be
>   +         passed into the sheet here.  We should also make a note that
>   +         the Url in the project descriptor should be the base URL of a
>   +         site and that it should end with a trailing slash. -->
>   +    <filter token="PROJECT_BASE_URL" value="${url}"/>
>   +    <copy todir="${docs.dest}/style" filtering="yes">
>   +      <fileset dir="${maven.home}/stylesheets">
>   +        <include name="**/*.css"/>
>   +      </fileset>
>   +    </copy>
>   +
>   +    <!-- Copy user supplied stylesheets, can override maven -->
>   +    <copy todir="${docs.dest}/style" filtering="no">
>   +      <fileset dir="${docs.src}/stylesheets">
>   +        <include name="**/*.css"/>
>          </fileset>
>        </copy>
>      </target>
>   
>   
>   
>   1.19      +1 -1      jakarta-turbine-maven/xdocs/project.xml
>   
>   Index: project.xml
>   ===================================================================
>   RCS file: /home/cvs/jakarta-turbine-maven/xdocs/project.xml,v
>   retrieving revision 1.18
>   retrieving revision 1.19
>   diff -u -r1.18 -r1.19
>   --- project.xml	18 Mar 2002 16:17:34 -0000	1.18
>   +++ project.xml	25 Mar 2002 16:49:21 -0000	1.19
>   @@ -2,7 +2,7 @@
>    <project name="Maven" href="http://jakarta.apache.org/turbine/maven/">
>    
>      <title>Maven</title>
>   -  <logo href="/images/logo.gif">Maven</logo>
>   +  <logo href="/images/maven.jpg">Maven</logo>
>    
>      <body>
>        <menu name="Overview">
>   
>   
>   
>
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: cvs commit: jakarta-turbine-maven/xdocs project.xml

Posted by Daniel Rall <dl...@finemaltcoding.com>.
[moved to dev@style.tigris.org]

"Pete Kazmier" <pe...@kazmier.com> writes:

> On Wed, Mar 27, 2002 at 06:01:31PM -0800, Daniel Rall wrote:
>>
>> I checked in a versioned ZIP file to Scarab and Eyebrowse CVS and
>> integrated expansion of that ZIP file into their builds.  This is a
>> good start, but it might be better to use a the style of updates that
>> Scarab uses for Turbine and its sub-projects.
>
> Do either Scarab or Eyebrowse have any local modifications to the style
> sheets?  I actually had to make one minor change to stylesheet, so
> automatically expanding and replacing the old stylesheet would not be
> desirable in our case.  Until we figure out a better way to merge local
> modifications, I'll clearly mark the stylesheets with comments for any
> local modifications we make so they'll stick out in a diff.

They do not currently have local modifications (though I noticed that
a change I made to EB's build file has been blown away).

>> > Also, Todd said the version in CVS is not the most recent and that you
>> > could update it for us.
>> 
>> As soon as he checks in the updates to Style CVS, I can do so.
>
> I think I was confused in my first email, I wrongly assumed that you
> updated the Style CVS for Todd.  I'll take care of updating the Maven
> stylesheets whenever the Style CVS sheets change.

Cool, thanks Pete.  Yeah, Todd is a Project Owner of the Style project
and takes care of updating things himself.  :)


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: cvs commit: jakarta-turbine-maven/xdocs project.xml

Posted by Jason van Zyl <jv...@zenplex.com>.
On Wed, 2002-03-27 at 21:27, Pete Kazmier wrote:
> On Wed, Mar 27, 2002 at 06:01:31PM -0800, Daniel Rall wrote:
> > "Pete Kazmier" <pe...@kazmier.com> writes:
> >
> > I checked in a versioned ZIP file to Scarab and Eyebrowse CVS and
> > integrated expansion of that ZIP file into their builds.  This is a
> > good start, but it might be better to use a the style of updates that
> > Scarab uses for Turbine and its sub-projects.
> 
> Do either Scarab or Eyebrowse have any local modifications to the style
> sheets?  I actually had to make one minor change to stylesheet, so
> automatically expanding and replacing the old stylesheet would not be
> desirable in our case.  Until we figure out a better way to merge local
> modifications, I'll clearly mark the stylesheets with comments for any
> local modifications we make so they'll stick out in a diff.
> 
> > > Also, Todd said the version in CVS is not the most recent and that you
> > > could update it for us.
> > 
> > As soon as he checks in the updates to Style CVS, I can do so.
> 
> I think I was confused in my first email, I wrongly assumed that you
> updated the Style CVS for Todd.  I'll take care of updating the Maven
> stylesheets whenever the Style CVS sheets change.

+1
 
> Thanks!
> Pete
> 
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
-- 
jvz.

Jason van Zyl
jvanzyl@apache.org

http://tambora.zenplex.org


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: cvs commit: jakarta-turbine-maven/xdocs project.xml

Posted by Daniel Rall <dl...@finemaltcoding.com>.
Jason van Zyl <jv...@zenplex.com> writes:

> On Wed, 2002-03-27 at 21:30, Jon Scott Stevens wrote:
> > on 3/27/02 6:27 PM, "Pete Kazmier" <pe...@kazmier.com> wrote:
>> 
>> > On Wed, Mar 27, 2002 at 06:01:31PM -0800, Daniel Rall wrote:
>> >> "Pete Kazmier" <pe...@kazmier.com> writes:
>> >> 
>> >> I checked in a versioned ZIP file to Scarab and Eyebrowse CVS and
>> >> integrated expansion of that ZIP file into their builds.  This is a
>> >> good start, but it might be better to use a the style of updates that
>> >> Scarab uses for Turbine and its sub-projects.
>> > 
>> > Do either Scarab or Eyebrowse have any local modifications to the style
>> > sheets?  I actually had to make one minor change to stylesheet, so
>> > automatically expanding and replacing the old stylesheet would not be
>> > desirable in our case.  Until we figure out a better way to merge local
>> > modifications, I'll clearly mark the stylesheets with comments for any
>> > local modifications we make so they'll stick out in a diff.
>> 
>> The idea is that you don't locally modify the stylesheet or we should build
>> some sort of system so that local modifications can be @import'ed in without
>> having to locally modify it.
>> 
>> > I think I was confused in my first email, I wrongly assumed that you
>> > updated the Style CVS for Todd.  I'll take care of updating the Maven
>> > stylesheets whenever the Style CVS sheets change.
>> 
>> The point Dan is trying to make is that you should use a versioned
>> distribution from style.tigris.org so that we can more easily stay in sync.

Yes, that was what I was getting at.

> I don't think this will be an onerous task taking a peek at them before
> updating. As these changes may potentially affect a lot of people I very
> like the fact that Pete scrutinizes the changes before they get passed
> on the users of Maven. I imagine Pete will get involved and talk with
> Todd and the process may get closer to automation but I'm actually more
> comfortable looking at the mods first.

Pete has commit to the Style project, so I imagine he'll generally
know what's going on in the code base and know what version is good
for Maven.  Todd is working on defining a overlay process (comparable
to Velocity resource loaders).

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: cvs commit: jakarta-turbine-maven/xdocs project.xml

Posted by Jason van Zyl <jv...@zenplex.com>.
On Wed, 2002-03-27 at 21:30, Jon Scott Stevens wrote:
> on 3/27/02 6:27 PM, "Pete Kazmier" <pe...@kazmier.com> wrote:
> 
> > On Wed, Mar 27, 2002 at 06:01:31PM -0800, Daniel Rall wrote:
> >> "Pete Kazmier" <pe...@kazmier.com> writes:
> >> 
> >> I checked in a versioned ZIP file to Scarab and Eyebrowse CVS and
> >> integrated expansion of that ZIP file into their builds.  This is a
> >> good start, but it might be better to use a the style of updates that
> >> Scarab uses for Turbine and its sub-projects.
> > 
> > Do either Scarab or Eyebrowse have any local modifications to the style
> > sheets?  I actually had to make one minor change to stylesheet, so
> > automatically expanding and replacing the old stylesheet would not be
> > desirable in our case.  Until we figure out a better way to merge local
> > modifications, I'll clearly mark the stylesheets with comments for any
> > local modifications we make so they'll stick out in a diff.
> 
> The idea is that you don't locally modify the stylesheet or we should build
> some sort of system so that local modifications can be @import'ed in without
> having to locally modify it.
> 
> > I think I was confused in my first email, I wrongly assumed that you
> > updated the Style CVS for Todd.  I'll take care of updating the Maven
> > stylesheets whenever the Style CVS sheets change.
> 
> The point Dan is trying to make is that you should use a versioned
> distribution from style.tigris.org so that we can more easily stay in sync.

I don't think this will be an onerous task taking a peek at them before
updating. As these changes may potentially affect a lot of people I very
like the fact that Pete scrutinizes the changes before they get passed
on the users of Maven. I imagine Pete will get involved and talk with
Todd and the process may get closer to automation but I'm actually more
comfortable looking at the mods first.
 
> -jon
> 
> 
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
-- 
jvz.

Jason van Zyl
jvanzyl@apache.org

http://tambora.zenplex.org


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: cvs commit: jakarta-turbine-maven/xdocs project.xml

Posted by Jon Scott Stevens <jo...@latchkey.com>.
on 3/27/02 6:27 PM, "Pete Kazmier" <pe...@kazmier.com> wrote:

> On Wed, Mar 27, 2002 at 06:01:31PM -0800, Daniel Rall wrote:
>> "Pete Kazmier" <pe...@kazmier.com> writes:
>> 
>> I checked in a versioned ZIP file to Scarab and Eyebrowse CVS and
>> integrated expansion of that ZIP file into their builds.  This is a
>> good start, but it might be better to use a the style of updates that
>> Scarab uses for Turbine and its sub-projects.
> 
> Do either Scarab or Eyebrowse have any local modifications to the style
> sheets?  I actually had to make one minor change to stylesheet, so
> automatically expanding and replacing the old stylesheet would not be
> desirable in our case.  Until we figure out a better way to merge local
> modifications, I'll clearly mark the stylesheets with comments for any
> local modifications we make so they'll stick out in a diff.

The idea is that you don't locally modify the stylesheet or we should build
some sort of system so that local modifications can be @import'ed in without
having to locally modify it.

> I think I was confused in my first email, I wrongly assumed that you
> updated the Style CVS for Todd.  I'll take care of updating the Maven
> stylesheets whenever the Style CVS sheets change.

The point Dan is trying to make is that you should use a versioned
distribution from style.tigris.org so that we can more easily stay in sync.

-jon


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: cvs commit: jakarta-turbine-maven/xdocs project.xml

Posted by Pete Kazmier <pe...@kazmier.com>.
On Wed, Mar 27, 2002 at 06:01:31PM -0800, Daniel Rall wrote:
> "Pete Kazmier" <pe...@kazmier.com> writes:
>
> I checked in a versioned ZIP file to Scarab and Eyebrowse CVS and
> integrated expansion of that ZIP file into their builds.  This is a
> good start, but it might be better to use a the style of updates that
> Scarab uses for Turbine and its sub-projects.

Do either Scarab or Eyebrowse have any local modifications to the style
sheets?  I actually had to make one minor change to stylesheet, so
automatically expanding and replacing the old stylesheet would not be
desirable in our case.  Until we figure out a better way to merge local
modifications, I'll clearly mark the stylesheets with comments for any
local modifications we make so they'll stick out in a diff.

> > Also, Todd said the version in CVS is not the most recent and that you
> > could update it for us.
> 
> As soon as he checks in the updates to Style CVS, I can do so.

I think I was confused in my first email, I wrongly assumed that you
updated the Style CVS for Todd.  I'll take care of updating the Maven
stylesheets whenever the Style CVS sheets change.

Thanks!
Pete

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: cvs commit: jakarta-turbine-maven/xdocs project.xml

Posted by Jon Scott Stevens <jo...@latchkey.com>.
on 3/28/02 10:04 AM, "Daniel Rall" <dl...@finemaltcoding.com> wrote:

> Jon Scott Stevens <jo...@latchkey.com> writes:
> 
>> on 3/27/02 6:01 PM, "Daniel Rall" <dl...@finemaltcoding.com> wrote:
>> 
>>> I checked in a versioned ZIP file to Scarab and Eyebrowse CVS and
>>> integrated expansion of that ZIP file into their builds.  This is a
>>> good start, but it might be better to use a the style of updates that
>>> Scarab uses for Turbine and its sub-projects.  Jon, any thoughts on
>>> this?
>> 
>> I like what you did. The only thing I would change is to make it so that it
>> doesn't unzip/delete every time the build file is run. Only do that if the
>> .zip is newer than the .css files that were copied into target
> 
> At your suggestion, I just gave that a try.  However, I couldn't get a
> reasonable implementation without insanely complicating the build (so
> I scrapped what I had).  :-\

I implemented it in Scarab's build system, so take a look at how I did
it...wasn't 100% pretty, but it works...

-jon


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: cvs commit: jakarta-turbine-maven/xdocs project.xml

Posted by Daniel Rall <dl...@finemaltcoding.com>.
Jon Scott Stevens <jo...@latchkey.com> writes:

> on 3/27/02 6:01 PM, "Daniel Rall" <dl...@finemaltcoding.com> wrote:
>
>> I checked in a versioned ZIP file to Scarab and Eyebrowse CVS and
>> integrated expansion of that ZIP file into their builds.  This is a
>> good start, but it might be better to use a the style of updates that
>> Scarab uses for Turbine and its sub-projects.  Jon, any thoughts on
>> this?
>
> I like what you did. The only thing I would change is to make it so that it
> doesn't unzip/delete every time the build file is run. Only do that if the
> .zip is newer than the .css files that were copied into target

At your suggestion, I just gave that a try.  However, I couldn't get a
reasonable implementation without insanely complicating the build (so
I scrapped what I had).  :-\


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: cvs commit: jakarta-turbine-maven/xdocs project.xml

Posted by Jon Scott Stevens <jo...@latchkey.com>.
on 3/27/02 6:01 PM, "Daniel Rall" <dl...@finemaltcoding.com> wrote:

> I checked in a versioned ZIP file to Scarab and Eyebrowse CVS and
> integrated expansion of that ZIP file into their builds.  This is a
> good start, but it might be better to use a the style of updates that
> Scarab uses for Turbine and its sub-projects.  Jon, any thoughts on
> this?

I like what you did. The only thing I would change is to make it so that it
doesn't unzip/delete every time the build file is run. Only do that if the
.zip is newer than the .css files that were copied into target

-jon


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: cvs commit: jakarta-turbine-maven/xdocs project.xml

Posted by James Taylor <jt...@4lane.com>.
On Wed, 2002-03-27 at 21:28, todd fahrner wrote:
> On Wednesday, March 27, 2002, at 06:01 , Daniel Rall wrote:
> 
> >> I agree.  We just need to figure out how to easily integrate any local
> >> changes we make to the stylesheets.  Right now I've just mark the local
> >> modifications in the stylesheet.
> 
> One approach to consider is to keep your local mods in a separate 
> stylesheet, link to it separately from your html head, *after* the links 
> to the 'canonical' stylesheets, and let the cascade handle it. 

+1, the cascade rocks when it works.

Another possibility is to process the canonical stylesheet at build
time. Either by patching it or by having some velocity directives in it.
This might make it easier for people to use the canonical stylesheet but
change some more pervasive design elements (basic colors, border styles,
et cetera). I haven't looked at the style-sheet in any detail though so
I don't know how hard that would really be. 

I think a combination of these approaches is ideal. Anything that can be
done (easily) with the cascade should. Anything more complicated could
be done by transforming the canonical style-sheet.

-- jt


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: cvs commit: jakarta-turbine-maven/xdocs project.xml

Posted by todd fahrner <tf...@collab.net>.
On Wednesday, March 27, 2002, at 06:01 , Daniel Rall wrote:

>> I agree.  We just need to figure out how to easily integrate any local
>> changes we make to the stylesheets.  Right now I've just mark the local
>> modifications in the stylesheet.

One approach to consider is to keep your local mods in a separate 
stylesheet, link to it separately from your html head, *after* the links 
to the 'canonical' stylesheets, and let the cascade handle it. It could 
get a little more complicated than that in a few cases (certain 
additions/overrides will be easier than others, and then there are the 
Nav4-suicide-prevention techniques to preserve), but nothing insolubly 
so as far as I can imagine. Upside of course is that you needn't modify 
the sheets from s.t.o, and your mods are easy to track. Also, if your 
mods are generally popular, they might eventually be folded into the 
base styles.

We might break the s.t.o stylesheets into several modules to avoid 
sending, say, Scarab-specific styles to Eyebrowse, and use the 
multiple-link method above to avoid having to do server-side CSS 
processing.

> I checked in a versioned ZIP file to Scarab and Eyebrowse CVS and
> integrated expansion of that ZIP file into their builds.  This is a
> good start, but it might be better to use a the style of updates that
> Scarab uses for Turbine and its sub-projects.

sounds nifty

>> Also, Todd said the version in CVS is not the most recent and that you
>> could update it for us.
>
> As soon as he checks in the updates to Style CVS, I can do so.

SourceCast head has the latest, and did at the time of Daniel's initial 
check-in to Style. Not sure where the disconnect was/is. Meanwhile I am 
slowly, timorously learning to deal with style.tigris.org directly, as 
befits its owner (I suppose). Still queasy with CVS.


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: cvs commit: jakarta-turbine-maven/xdocs project.xml

Posted by Daniel Rall <dl...@finemaltcoding.com>.
"Pete Kazmier" <pe...@kazmier.com> writes:

> On Mon, Mar 25, 2002 at 06:15:37PM -0800, Daniel Rall wrote:
> > Looks great Pete!
>
> Thanks.
>
>> Please see <http://style.tigris.org/> -- I'd like to integrate this
>> into our build, rather than maintain a separate copy of it.  Comments?
>
> I agree.  We just need to figure out how to easily integrate any local
> changes we make to the stylesheets.  Right now I've just mark the local
> modifications in the stylesheet.

I checked in a versioned ZIP file to Scarab and Eyebrowse CVS and
integrated expansion of that ZIP file into their builds.  This is a
good start, but it might be better to use a the style of updates that
Scarab uses for Turbine and its sub-projects.  Jon, any thoughts on
this?


> Also, Todd said the version in CVS is not the most recent and that you
> could update it for us.

As soon as he checks in the updates to Style CVS, I can do so.

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: cvs commit: jakarta-turbine-maven/xdocs project.xml

Posted by Pete Kazmier <pe...@kazmier.com>.
On Mon, Mar 25, 2002 at 06:15:37PM -0800, Daniel Rall wrote:
> Looks great Pete!

Thanks.

> Please see <http://style.tigris.org/> -- I'd like to integrate this
> into our build, rather than maintain a separate copy of it.  Comments?

I agree.  We just need to figure out how to easily integrate any local
changes we make to the stylesheets.  Right now I've just mark the local
modifications in the stylesheet.

Also, Todd said the version in CVS is not the most recent and that you
could update it for us.

Thanks!
Pete

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: cvs commit: jakarta-turbine-maven/xdocs project.xml

Posted by Jason van Zyl <jv...@zenplex.com>.
On Mon, 2002-03-25 at 21:15, Daniel Rall wrote:
> Looks great Pete!
> 
> Since so many projects have started using CollabNet's CSS, Todd
> Fahrner (CollabNet CSS gawd) and myself (a mere engineer, claiming not
> even an ounce of stylistic talent) have started the swank Style
> project for it on Tigris.  Please see <http://style.tigris.org/> --
> I'd like to integrate this into our build, rather than maintain a
> separate copy of it.  Comments?

Cool!

If we can make some sort of substition system so that maven can absorb
new revisions of Style then that would be amazing! 

 
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
-- 
jvz.

Jason van Zyl
jvanzyl@apache.org

http://tambora.zenplex.org


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: cvs commit: jakarta-turbine-maven/xdocs project.xml

Posted by Daniel Rall <dl...@finemaltcoding.com>.
Looks great Pete!

Since so many projects have started using CollabNet's CSS, Todd
Fahrner (CollabNet CSS gawd) and myself (a mere engineer, claiming not
even an ounce of stylistic talent) have started the swank Style
project for it on Tigris.  Please see <http://style.tigris.org/> --
I'd like to integrate this into our build, rather than maintain a
separate copy of it.  Comments?

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>