You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@avalon.apache.org by do...@apache.org on 2002/09/01 10:23:42 UTC

cvs commit: jakarta-avalon-excalibur/site/src/stylesheets changes.vsl docs.vsl templates.vm velocity.properties

donaldp     2002/09/01 01:23:42

  Modified:    site/src/stylesheets changes.vsl docs.vsl templates.vm
                        velocity.properties
  Log:
  Fix up velocity stuff
  
  Revision  Changes    Path
  1.2       +0 -48     jakarta-avalon-excalibur/site/src/stylesheets/changes.vsl
  
  Index: changes.vsl
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/site/src/stylesheets/changes.vsl,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- changes.vsl	17 Jun 2002 11:39:54 -0000	1.1
  +++ changes.vsl	1 Sep 2002 08:23:41 -0000	1.2
  @@ -1,7 +1,5 @@
   <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
   
  -#parse( "templates.vm" )
  -
   <!-- Content Stylesheet for Site -->
   
       ## Defined variables
  @@ -19,49 +17,3 @@
   <!-- start the processing -->
   #changes()
   <!-- end the processing -->
  -
  -#macro (change $action)
  -  <p>$action.getText() ($action.getAttributeValue("dev"))</p>
  -#end
  -
  -#macro (changeset $release)
  -  <table border="0" cellspacing="0" cellpadding="2" width="100%">
  -    <tr><td bgcolor="$subbannerbg">
  -      <font color="$subbannerfg" face="arial,helvetica,sanserif">
  -        <strong>
  -          Revision $release.getAttributeValue("version") ($release.getAttributeValue("date"))
  -        </strong>
  -      </font>
  -    </td></tr>
  -    <tr><td>
  -      <blockquote>
  -        <ul>
  -        #foreach ($action in $release.getChildren("action"))
  -        <li>#change ($action)</li>
  -        #end
  -        </ul>
  -      </blockquote>
  -    </td></tr>
  -  </table>
  -  </a>
  -#end
  -
  -#macro (changes)
  -  #header
  -  <table border="0" cellspacing="0" cellpadding="2" width="100%">
  -    <tr><td bgcolor="$bannerbg">
  -      <font color="$bannerfg" face="arial,helvetica,sanserif">
  -        <strong>ChangeLog</strong>
  -      </font>
  -    </td></tr>
  -    <tr><td>
  -      <blockquote>
  -      #set ($releases = $root.getChildren("release"))
  -      #foreach ( $release in $releases )
  -        #changeset ($release)
  -      #end
  -      </blockquote>
  -    </td></tr>
  -  </table>
  -  #footer
  -#end
  
  
  
  1.4       +0 -43     jakarta-avalon-excalibur/site/src/stylesheets/docs.vsl
  
  Index: docs.vsl
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/site/src/stylesheets/docs.vsl,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- docs.vsl	1 Sep 2002 06:22:31 -0000	1.3
  +++ docs.vsl	1 Sep 2002 08:23:41 -0000	1.4
  @@ -1,50 +1,7 @@
   <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
   
  -#parse( "templates.vm" )
  -
   <!-- This is a generated file.  Do not edit. -->
   ## start the processing
   #document()
   ## end the processing
  -
  -#macro ( subsection $subsection)
  -  <div class="h4">
  -    #if ( $subsection.getAttributeValue("anchor") )
  -      #set ($anchor = $subsection.getAttributeValue("anchor"))
  -    #else
  -      #set ($anchor = $subsection.getAttributeValue("name"))
  -    #end
  -    <h4><a name="$anchor">$subsection.getAttributeValue("name")</a></h4>
  -    #foreach ( $items in $subsection.getChildren() )
  -      #copy($items)
  -    #end
  -  </div>
  -#end
  -
  -#macro ( section $section)
  -  <div class="h3">
  -    #if ( $section.getAttributeValue("anchor") )
  -      #set ($anchor = $section.getAttributeValue("anchor"))
  -    #else
  -      #set ($anchor = $section.getAttributeValue("name"))
  -    #end
  -    <h3><a name="$anchor">$section.getAttributeValue("name")</a></h3>
  -    #foreach ( $items in $section.getChildren() )
  -      #if ($items.getName().equals("subsection"))
  -        #subsection ($items)
  -      #else
  -        #copy($items)
  -      #end
  -    #end
  -  </div>
  -#end
  -
  -#macro (document)
  -  #header()
  -  #set ($allSections = $root.getChild("body").getChildren("section"))
  -  #foreach ( $section in $allSections )
  -    #section ($section)
  -  #end
  -  #footer()
  -#end
   
  
  
  
  1.4       +88 -0     jakarta-avalon-excalibur/site/src/stylesheets/templates.vm
  
  Index: templates.vm
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/site/src/stylesheets/templates.vm,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- templates.vm	7 Jul 2002 08:00:08 -0000	1.3
  +++ templates.vm	1 Sep 2002 08:23:41 -0000	1.4
  @@ -242,3 +242,91 @@
       $element.content
     #end
   #end
  +
  +#macro ( subsection $subsection)
  +  <div class="h4">
  +    #if ( $subsection.getAttributeValue("anchor") )
  +      #set ($anchor = $subsection.getAttributeValue("anchor"))
  +    #else
  +      #set ($anchor = $subsection.getAttributeValue("name"))
  +    #end
  +    <h4><a name="$anchor">$subsection.getAttributeValue("name")</a></h4>
  +    #foreach ( $items in $subsection.getChildren() )
  +      #copy($items)
  +    #end
  +  </div>
  +#end
  +
  +#macro ( section $section)
  +  <div class="h3">
  +    #if ( $section.getAttributeValue("anchor") )
  +      #set ($anchor = $section.getAttributeValue("anchor"))
  +    #else
  +      #set ($anchor = $section.getAttributeValue("name"))
  +    #end
  +    <h3><a name="$anchor">$section.getAttributeValue("name")</a></h3>
  +    #foreach ( $items in $section.getChildren() )
  +      #if ($items.getName().equals("subsection"))
  +        #subsection ($items)
  +      #else
  +        #copy($items)
  +      #end
  +    #end
  +  </div>
  +#end
  +
  +#macro (document)
  +  #header()
  +  #set ($allSections = $root.getChild("body").getChildren("section"))
  +  #foreach ( $section in $allSections )
  +    #section ($section)
  +  #end
  +  #footer()
  +#end
  +
  +
  +#macro (change $action)
  +  <p>$action.getText() ($action.getAttributeValue("dev"))</p>
  +#end
  +
  +#macro (changeset $release)
  +  <table border="0" cellspacing="0" cellpadding="2" width="100%">
  +    <tr><td bgcolor="$subbannerbg">
  +      <font color="$subbannerfg" face="arial,helvetica,sanserif">
  +        <strong>
  +          Revision $release.getAttributeValue("version") ($release.getAttributeValue("date"))
  +        </strong>
  +      </font>
  +    </td></tr>
  +    <tr><td>
  +      <blockquote>
  +        <ul>
  +        #foreach ($action in $release.getChildren("action"))
  +        <li>#change ($action)</li>
  +        #end
  +        </ul>
  +      </blockquote>
  +    </td></tr>
  +  </table>
  +  </a>
  +#end
  +
  +#macro (changes)
  +  #header
  +  <table border="0" cellspacing="0" cellpadding="2" width="100%">
  +    <tr><td bgcolor="$bannerbg">
  +      <font color="$bannerfg" face="arial,helvetica,sanserif">
  +        <strong>ChangeLog</strong>
  +      </font>
  +    </td></tr>
  +    <tr><td>
  +      <blockquote>
  +      #set ($releases = $root.getChildren("release"))
  +      #foreach ( $release in $releases )
  +        #changeset ($release)
  +      #end
  +      </blockquote>
  +    </td></tr>
  +  </table>
  +  #footer
  +#end
  
  
  
  1.3       +1 -2      jakarta-avalon-excalibur/site/src/stylesheets/velocity.properties
  
  Index: velocity.properties
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/site/src/stylesheets/velocity.properties,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- velocity.properties	8 Aug 2002 09:45:10 -0000	1.2
  +++ velocity.properties	1 Sep 2002 08:23:41 -0000	1.3
  @@ -1,3 +1,2 @@
   file.resource.loader.path=../site/src/stylesheets
  -file.resource.loader.path=site/src/stylesheets
  -# disable this for now velocimacro.library=templates.vm
  +velocimacro.library=templates.vm
  
  
  

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