avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject cvs commit: jakarta-avalon-phoenix/src/xdocs/stylesheets changes.vsl docs.vsl project.xml templates.vm velocity.properties
Date Fri, 06 Sep 2002 23:26:19 GMT
donaldp     2002/09/06 16:26:19

  Modified:    src/xdocs/stylesheets Tag: RELEASE_402-branch changes.vsl
                        docs.vsl project.xml templates.vm
                        velocity.properties
  Log:
  Update to more reliable velocity config.
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.4.2.1   +0 -47     jakarta-avalon-phoenix/src/xdocs/stylesheets/changes.vsl
  
  Index: changes.vsl
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-phoenix/src/xdocs/stylesheets/changes.vsl,v
  retrieving revision 1.4
  retrieving revision 1.4.2.1
  diff -u -r1.4 -r1.4.2.1
  --- changes.vsl	13 Jun 2002 09:20:31 -0000	1.4
  +++ changes.vsl	6 Sep 2002 23:26:18 -0000	1.4.2.1
  @@ -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
  @@ -20,48 +18,3 @@
   #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.6.2.1   +0 -45     jakarta-avalon-phoenix/src/xdocs/stylesheets/docs.vsl
  
  Index: docs.vsl
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-phoenix/src/xdocs/stylesheets/docs.vsl,v
  retrieving revision 1.6
  retrieving revision 1.6.2.1
  diff -u -r1.6 -r1.6.2.1
  --- docs.vsl	9 Jul 2002 07:29:02 -0000	1.6
  +++ docs.vsl	6 Sep 2002 23:26:18 -0000	1.6.2.1
  @@ -1,49 +1,4 @@
   <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
   
  -#parse ( "templates.vm" )
  -
  -#macro(document)
  -  #header()
  -  #set($allSections = $root.getChild("body").getChildren("section"))
  -  #foreach( $section in $allSections )
  -    #section ($section)
  -  #end
  -  #footer()
  -#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
  -
  -#parse ( "templates.vm" )
  -
   <!-- This is a generated file.  Do not edit. -->
   #document()
  
  
  
  1.4.2.1   +1 -0      jakarta-avalon-phoenix/src/xdocs/stylesheets/project.xml
  
  Index: project.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-phoenix/src/xdocs/stylesheets/project.xml,v
  retrieving revision 1.4
  retrieving revision 1.4.2.1
  diff -u -r1.4 -r1.4.2.1
  --- project.xml	30 Jun 2002 21:34:45 -0000	1.4
  +++ project.xml	6 Sep 2002 23:26:19 -0000	1.4.2.1
  @@ -23,6 +23,7 @@
               <item name="for Deployers" href="/guide-deployers.html"/>
               <item name="for Assemblers" href="/assemblers/index.html"/>
               <item name="for Block Developers" href="/bdg/index.html" />
  +            <item name="Management Guide" href="/mx/index.html" />
               <item name="Example configuration" href="/guide-example-configuration.html"
/>
           </menu>
   
  
  
  
  1.7.2.1   +87 -0     jakarta-avalon-phoenix/src/xdocs/stylesheets/templates.vm
  
  Index: templates.vm
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-phoenix/src/xdocs/stylesheets/templates.vm,v
  retrieving revision 1.7
  retrieving revision 1.7.2.1
  diff -u -r1.7 -r1.7.2.1
  --- templates.vm	9 Jul 2002 07:29:02 -0000	1.7
  +++ templates.vm	6 Sep 2002 23:26:19 -0000	1.7.2.1
  @@ -274,3 +274,90 @@
       $element.content
     #end
   #end
  +
  +#macro(document)
  +  #header()
  +  #set($allSections = $root.getChild("body").getChildren("section"))
  +  #foreach( $section in $allSections )
  +    #section ($section)
  +  #end
  +  #footer()
  +#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 (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.2.1   +1 -0      jakarta-avalon-phoenix/src/xdocs/stylesheets/velocity.properties
  
  Index: velocity.properties
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-phoenix/src/xdocs/stylesheets/velocity.properties,v
  retrieving revision 1.3
  retrieving revision 1.3.2.1
  diff -u -r1.3 -r1.3.2.1
  --- velocity.properties	26 May 2002 20:46:17 -0000	1.3
  +++ velocity.properties	6 Sep 2002 23:26:19 -0000	1.3.2.1
  @@ -1,2 +1,3 @@
   file.resource.loader.path=src/xdocs/stylesheets
   # disable this for now velocimacro.library=templates.vm
  +velocimacro.library=templates.vm
  \ No newline at end of file
  
  
  

--
To unsubscribe, e-mail:   <mailto:avalon-cvs-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-cvs-help@jakarta.apache.org>


Mime
View raw message