forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nicola...@apache.org
Subject cvs commit: xml-forrest/tools/centipede/targets compile.xtarget init.xtarget
Date Sat, 23 Mar 2002 16:10:44 GMT
nicolaken    02/03/23 08:10:44

  Modified:    src/documentation cocoon.xconf sitemap.xmap
               src/targets project.xtarget
               tools/centipede/targets compile.xtarget init.xtarget
  Added:       .        forrest.xforrest forrest.xgump
               src/documentation/content/xdocs book.xml index.xml
                        license.xml
               src/documentation/library/xslt changes2document.xsl
                        copyover.xsl doclist.xsl doclist2document.xsl
                        faq2document.xsl filterlinks.xsl todo2document.xsl
               src/documentation/resources/images forrest-draft-logo.png
                        project-logo.gif
               src/documentation/skins/cocoon-printer/css simple.css
               src/documentation/skins/cocoon-printer/xslt/html
                        book2menu.xsl document2html.xsl site2xhtml.xsl
               src/documentation/skins/forrest-site/images favicon.ico
               src/documentation/skins/jakarta-site/images
                        built-with-cocoon.gif favicon.ico group-logo.gif
                        krysalis-compatible.jpg
               src/documentation/skins/jakarta-site/xslt/html book2menu.xsl
                        document2html.xsl site2xhtml.xsl
               src/documentation/skins/xml-apache-site/images add.jpg
                        bar-border-bottom.gif bar-border-left.gif
                        bar-border-right.gif bar-border-top.gif
                        bar-bottom-left.gif bar-bottom-right.gif
                        bar-top-left.gif bar-top-right.gif bottom.gif
                        built-with-cocoon.gif button-asf-hi.gif
                        button-asf-lo.gif button-w3c-hi.gif
                        button-w3c-lo.gif button-xml-hi.gif
                        button-xml-lo.gif close.gif dot.gif favicon.ico
                        fix.jpg join.gif label-background_a.gif
                        label-background_b.gif line.gif logo.gif note.gif
                        remove.jpg right.gif separator.gif update.jpg
                        void.gif
               src/documentation/skins/xml-apache-site/xslt/html
                        book2menu.xsl document2html.xsl site2xhtml.xsl
  Removed:     .        project-info.xml
               src/documentation/images add.jpg avalon-compatible.png
                        build-with-with-cocoon.png fix.jpg
                        forrest-draft-logo.png gug1.gif
                        krysalis-compatible.png krysalis-logo-big.png
                        krysalis-logo.png logo.png made-with-cocoon.png
                        remove.jpg update.jpg
               src/documentation/stylesheets book2menu.xsl
                        changes2document.xsl copyover.xsl docbook2body.xsl
                        docbook2fo.xsl document2docbook.xsl
                        faq2document.xsl filterlinks.xsl
                        projectinfo2announcement.xsl projectinfo2todo.xsl
                        projectinfo2txt.xsl site2xhtml.xsl
                        todo2document.xsl
               src/documentation/stylesheets/printer_skin book2menu.xsl
                        copyover.xsl document2html.xsl simple.css
                        site2xhtml.xsl
               src/documentation/xdocs book.xml index.xml license.xml
  Log:
  Updated project descriptor: now it should be usable by Gump.
  Added basic Forrest descriptor.
  Refactored site generation stuff to use skins; still need to integrate with xforrest descriptor.
  Added jakarta-site, xml-apache-site, cocoon-printer skins.
  
  Revision  Changes    Path
  1.1                  xml-forrest/forrest.xforrest
  
  Index: forrest.xforrest
  ===================================================================
  <?xml version="1.0"?>
  <forrest version="0.1">
    
    <skin name="jakarta-site" style="jakarta-site"/>
    
  </forrest>
  
  
  
  
  
  1.1                  xml-forrest/forrest.xgump
  
  Index: forrest.xgump
  ===================================================================
  <?xml version="1.0"?>
  <module name="xml-forrest">
  
    <url href="http://xml.apache.org/forrest/"/>
    
    <cvs repository="jakarta"/> 
  
    <mailing-lists> 
      <mailing-list user="developer" 
                    mail="forrest-dev@xml.apache.org" 
                    subscribe="forrest-dev-subscribe@xml.apache.org" 
                    unsubscribe="forrest-dev-unsubscribe@xml.apache.org"/>    
    </mailing-lists>    
     
    <description>
      Forrest wants to provide a good technological infrastructure for 
      software development for the Apache Software Foundation based on ASF 
      software, ASF practices and experience and modern software design 
      principles.
    </description>
  
    <detailed>
      Ever seen 'sourceforge'? ok, than you know what a technological 
      insfrastructure for open development is. Ever seen Mozilla's
      'tinkerbox' and 'bonsai'? ok, then you know what we mean for
      'helping tools'. Take all the wishes/dreams that you ever had 
      when you were participating in an OSS community... well, we 
      want Forrest to make them possible.
    </detailed>
  
    <what>
      <goal>publishing system for documentation </goal>
      <goal>a build system for code</goal>
      <goal>analysis of logs and publishing of results </goal>
    </what>
      
    <why>
      If you ever participated in ASF open development you know why: there is 
      always the feeling that you are left on your own, that each project, effort, 
      community mail list and invidual has to struggle to keep up with the others 
      and to keep coherence. This effort was started by those who believe that a 
      better and more coherent technical infrastructure is a first step in the 
      right direction.
    </why>
    
    <who>
      <!-- in strict alphabetical order -->
      <person name="David Crossley"     email="crossley@apache.org"  id="DC" />
      <person name="Stefano Mazzocchi"  email="stefano@apache.org"   id="SM" />
      <person name="John Morrison"      email="morrijr@apache.org"   id="JM" />
      <person name="Nicola Ken Barozzi" email="nicolaken@apache.org" id="NKB"/>
      <person name="Steven Noels"       email="stevenn@apache.org"   id="SN" />
      <person name="Sam Ruby"           email="rubys@apache.org"     id="RS" />
      
      <person name="Volunteer needed"   email="forrest-dev@xml.apache.org" id="open"/>    
    </who>
    
    <todo>
     <actions priority="high">
      <action context="code" assigned-to="open">
       Merge other Gump DTDs and work on them. We have to standardize the work on 
       the rest of the DTDs that will be required by Forrest.
      </action>   
      <action context="code" assigned-to="NKB">
       Merge Gump project descriptor DTDs with project-info.xml and give it a first DTD.
      </action>
      <action context="code" assigned-to="NKB">
       Put a CSS in project-info.xml for easy reading and editing.
      </action>
      <action context="code" assigned-to="NKB">
       Ensure solid XML infrastructure. At least the initial XML instances
       (e.g. project-info.xml) need to validate using external tools.
      </action>
      <action context="code" assigned-to="open">
       Make Forrest output its site with an initial style.
      </action>    
      <action context="code" assigned-to="NKB">
       Add Forrest to Gump runs and make Gump update Forrest site automagically;
       in the future this will be used for the generation of other projects too.
      </action>        
     </actions>
    </todo>
    <changes>
     <release version="0.1" date="2002">
      <action dev="SN" type="add">
       Imported Centipede as a build system.
      </action>
      <action dev="DC" type="update" due-to="Steven Noels" due-to-email="stevenn@outerthought.org">
       Ensure that initial DTDs are valid and that the initial XML instances can be
       validated using these DTDs and OASIS Catalogs.
      </action>
      <action dev="SM" type="add">
       Initial Import
      </action>
     </release>
    </changes>  
    <licence>This software is released under the Apache Public License 1.1. 
             For detailed legal and licensing issues, please read the LICENSE.* files
             in the /legal directory.
    </licence>
    <credits>
      <credit>This software includes software developed by the Krysalis Project 
              (http://www.krysalis.org/).
      </credit>
    </credits>
    
    <project name="IzPress">
      <url href="http://www.izforge.com/izpress/"/>
      <description>
        IzPress is a small Java tool that you can use in order to reduce the 
        size of your HTML pages by up to 20%. It preserves your code and only 
        removes the useless characters in it.
      </description>
      <home nested="tools/centipede"/>
      <jar name="lib/IzPress.jar"/>
    </project>
    
    <project name="Forrest">
    
      <version major="0"
               minor="1"   
               fix  ="0"   
               tag="dev"/> 
     
      <package>org.apache.forrest</package>
  
      <ant target="gump"/>
      
      <!-- script name="build"/> -->
      
      <!-- Project jars Forrest build strictly depends on -->
      <!-- needed for build -->
      <depend project="jakarta-ant"/>
      <depend project="xml-xerces"/>
      <depend project="xml-xalan2"/>
      <depend project="jtidy"/>
      <depend project="junit"/>
      <depend project="IzPress"/>
      
      <!-- Project jars Forrest build can use  -->    
      <!-- <option project="xxx"/> -->
   
      <!-- Work dirs to be included in classpath  -->          
      <work nested="build/xml-forrest/classes"/>
      <work nested="build/xml-forrest/testcases"/>
      <work nested="tools/tmp/anttasks"/>
  
      <home nested="build/xml-forrest"/>
  
      <!-- POI jars - the result of the build  -->        
      <jar name="xml-forrest.jar"            id="poi"/>
      <jar name="xml-forrest-scratchpad.jar" id="scratchpad"/>
      <jar name="xml-forrest-contrib.jar"    id="contrib"/>
      <jar name="xml-forrest-examples.jar"   id="examples"/>
      
      <!-- POI Javadocs - location in the build dirs  -->         
      <javadoc parent="build/xml-forrest/javadocs"/>
      
      <!-- Getting ready for automatic site updates
      <deliver fromdir="build/xml-forrest/docs" 
               tosite="jakarta-apache-org"
               todir="poi/" />    
      -->         
              
    </project>
  
  </module>
  
  
  1.2       +3 -64     xml-forrest/src/documentation/cocoon.xconf
  
  Index: cocoon.xconf
  ===================================================================
  RCS file: /home/cvs/xml-forrest/src/documentation/cocoon.xconf,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- cocoon.xconf	3 Mar 2002 08:26:31 -0000	1.1
  +++ cocoon.xconf	23 Mar 2002 16:10:42 -0000	1.2
  @@ -622,11 +622,11 @@
   
     <!-- Resource Monitor:
       The Monitor keeps track on changes to a Resource.
  -  -->
     <monitor logger="core.monitor">
       <thread priority="5" frequency="10000"/>
     </monitor>
  -
  +  -->
  +  
   <!-- ======================== The sitemap  ============================== -->
   
     <!-- Reloading of the sitemap:
  @@ -650,69 +650,8 @@
       asynchron and for more safety the check-reload to no.
   
     <sitemap file="sitemap.xmap" reload-method="asynchron" check-reload="yes" logger="sitemap"/>
  -  -->
  +  -->  
   
     <sitemap class="org.apache.cocoon.treeprocessor.TreeProcessor" logger="sitemap"/>
  -  
  -<!-- ===================== Sitemap Components =========================== -->
  -
  -  <!-- Here defined some core Cocoon sitemap components, as File generator
  -       or XSLT transformer. Note that syntax of this file slightly differs
  -       from the syntax of <map:components> section of the sitemap.xmap file.
  -  -->
  -  <generators>
  -    <component-instance name="file" class="org.apache.cocoon.generation.FileGenerator"
  -                        label="content,data"
  -                        logger="sitemap.generator.file"
  -                        pool-max="32" pool-min="2" pool-grow="4"/>
  -
  -    <component-instance name="serverpages" class="org.apache.cocoon.generation.ServerPagesGenerator"
  -                        label="content,data"
  -                        logger="sitemap.generator.serverpages"
  -                        pool-max="32" pool-min="0" pool-grow="2"/>
  -  </generators>
  -
  -  <transformers>
  -    <component-instance name="xslt" class="org.apache.cocoon.transformation.TraxTransformer"
  -                        logger="sitemap.transformer.xslt"
  -                        pool-max="32" pool-min="2" pool-grow="4">
  -      <use-request-parameters>false</use-request-parameters>
  -      <use-browser-capabilities-db>false</use-browser-capabilities-db>
  -      <use-deli>false</use-deli>
  -    </component-instance>
  -  </transformers>
  -
  -  <serializers>
  -   <component-instance name="links" class="org.apache.cocoon.serialization.LinkSerializer"
  -                       encoding="iso8859-1"
  -                       logger="sitemap.serializer.links"
  -                       pool-max="32" pool-min="2" pool-grow="4"/>
  -
  -   <component-instance name="xml" class="org.apache.cocoon.serialization.XMLSerializer"
  -                       encoding="iso8859-1"
  -                       mime-type="text/xml"
  -                       logger="sitemap.serializer.xml"
  -                       pool-max="32" pool-min="2" pool-grow="4"/>
  -
  -   <component-instance name="html" class="org.apache.cocoon.serialization.HTMLSerializer"
  -                       encoding="iso8859-1"
  -                       mime-type="text/html"
  -                       logger="sitemap.serializer.html"
  -                       pool-max="32" pool-min="4" pool-grow="4">
  -     <buffer-size>1024</buffer-size>
  -   </component-instance>
  -  </serializers>
  -
  -  <readers>
  -   <component-instance name="resource" class="org.apache.cocoon.reading.ResourceReader"
  -                       logger="sitemap.reader.resource"
  -                       pool-max="32"/>
  -  </readers>
  - 
  -<!--
  -  <matchers/>
  -  <selectors/>
  -  <actions/>
  --->
   
   </cocoon>
  
  
  
  1.2       +179 -73   xml-forrest/src/documentation/sitemap.xmap
  
  Index: sitemap.xmap
  ===================================================================
  RCS file: /home/cvs/xml-forrest/src/documentation/sitemap.xmap,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- sitemap.xmap	26 Feb 2002 23:50:25 -0000	1.1
  +++ sitemap.xmap	23 Mar 2002 16:10:42 -0000	1.2
  @@ -5,16 +5,55 @@
   <!-- =========================== Components ================================ -->
   
    <map:components>
  -  <!-- Components used are declared in the cocoon tool section -->
  -   
  -  <map:generators   default="file"/>      <!-- available: file, serverpages -->
  -  <map:transformers default="xslt"/>      <!-- available: xslt              -->
  -  <map:readers      default="resource"/>  <!-- available: resource          -->
  -  <map:serializers  default="html"/>      <!-- available: html, xml, links  -->
  -  <map:matchers     default="wildcard">
  +
  +  <map:generators default="file">
  +   <map:generator  name="file"        src="org.apache.cocoon.generation.FileGenerator" label="content"/>
  +   <!-- FIXME: Change this once better view handling is implemented -->
  +   <map:generator  name="file-nolabel" src="org.apache.cocoon.generation.FileGenerator"/>
  +  </map:generators>
  +
  +  <map:transformers default="xslt">
  +   <map:transformer     name="xslt"      src="org.apache.cocoon.transformation.TraxTransformer">
  +    <use-request-parameters>false</use-request-parameters>
  +    <use-browser-capabilities-db>false</use-browser-capabilities-db>
  +   </map:transformer>
  +  </map:transformers>
  +
  +  <map:readers default="resource">
  +   <map:reader name="resource"       src="org.apache.cocoon.reading.ResourceReader"/>
  +  </map:readers>
  +
  +  <map:serializers default="html">
  +   <map:serializer name="html"   mime-type="text/html"        src="org.apache.cocoon.serialization.HTMLSerializer">
  +     <encoding>iso8859-1</encoding>
  +   </map:serializer>
  +   <map:serializer name="xml"    mime-type="text/xml"         src="org.apache.cocoon.serialization.XMLSerializer">
  +     <encoding>iso8859-1</encoding>
  +   </map:serializer>   
  +   <map:serializer name="links"                               src="org.apache.cocoon.serialization.LinkSerializer">
  +     <encoding>iso8859-1</encoding>
  +   </map:serializer>   
  +   <map:serializer name="svg2jpeg" mime-type="image/jpeg"     src="org.apache.cocoon.serialization.SVGSerializer">
  +       <parameter name="quality" type="float" value="1.0"/>
  +   </map:serializer>
  +   <map:serializer name="svg2png" mime-type="image/png"       src="org.apache.cocoon.serialization.SVGSerializer"/>
  +  </map:serializers>
  +
  +  <map:matchers default="wildcard">
      <map:matcher name="wildcard" src="org.apache.cocoon.matching.WildcardURIMatcher"/>
     </map:matchers>
     
  +  <map:selectors default="skin-parameter">
  +    <map:selector name="request-parameter" logger="sitemap.selector.request-parameter"
  +                 src="org.apache.cocoon.selection.RequestParameterSelector">
  +      <parameter-name>skin</parameter-name> 
  +    </map:selector>
  +    <map:selector name="style-parameter" logger="sitemap.selector.request-parameter"
  +                 src="org.apache.cocoon.selection.RequestParameterSelector">
  +      <parameter-name>style</parameter-name> 
  +    </map:selector>
  +   
  +  </map:selectors>
    </map:components>
   
   <!-- =========================== Views =================================== -->
  @@ -25,72 +64,116 @@
     </map:view>
   
     <map:view name="links" from-position="last">
  -   <map:transform src="stylesheets/filterlinks.xsl"/>
  +   <map:transform src="library/xslt/filterlinks.xsl"/>
      <map:serialize type="links"/>
     </map:view>
  -
    </map:views>
   
  + <map:resources>
  +  <map:resource name="skinit">
  +   <map:transform src="skins/xml-apache-site/xslt/html/{type}.xsl"/>
  +   <map:serialize type="html"/>
  +  </map:resource>
  +  
  +  <map:resource name="skin-style">
  +    <map:read src="skins/xml-apache-site/{path}" mime-type="{mime-type}"/>
  +  </map:resource>
  +
  +  <map:resource name="skin-res">
  +    <map:read src="skins/xml-apache-site/{path}" mime-type="{mime-type}"/>
  +  </map:resource>
  + </map:resources>
  + 
   <!-- =========================== Pipelines ================================= -->
   
    <map:pipelines>
  -
  -  <!-- Documentation pipeline -->
  +  
     <map:pipeline>
  +  
      <map:match pattern="">
       <map:redirect-to uri="index.html"/>
      </map:match>
  +   
  + <!--
   
  +  <map:pipeline>
  +   <map:match pattern="">
  +     <map:redirect-to uri="page3333.html"/>
  +   </map:match>
  +
  +   <map:match pattern="*[*].html">
  +     <map:aggregate element="site" label="content">
  +       <map:part src="site.xml" />
  +       <map:part src="index.xml"/>
  +       <map:part src="{1}.xml" element="book"/>
  +     </map:aggregate>
  +     <map:transform src="site2html.xsl">
  +       <map:parameter name="page-index" value="{2}"/>
  +       <map:parameter name="page-count" value="5"/>
  +       <map:parameter name="page-name" value="{1}"/>
  +     </map:transform>
  +     <map:serialize/>
  +   </map:match>
  +-->
  +   
      <map:match pattern="**book-**.xml">
  -     <map:generate src="xdocs/{1}book.xml"/>
  -       <map:transform src="stylesheets/book2menu.xsl">
  -         <map:parameter name="use-request-parameters" value="true"/>
  -         <map:parameter name="resource" value="{2}.html"/>
  -       </map:transform>
  -     <map:serialize type="xml"/>
  +     <map:generate src="content/xdocs/{1}book.xml"/>
  +     <map:call resource="skinit">
  +      <map:parameter name="type" value="book2menu"/>
  +     </map:call>         
      </map:match>
   
      <map:match pattern="body-todo.xml">
  -     <map:generate type="file" src="xdocs/todo.xml"/>
  -     <map:transform src="stylesheets/todo2document.xsl" label="content"/>     
  -     <map:transform src="stylesheets/document2docbook.xsl"/>
  -     <map:transform src="stylesheets/docbook2body.xsl"/>
  -     <map:serialize/>
  +     <map:generate type="file-nolabel" src="content/xdocs/todo.xml"/>
  +     <map:transform src="library/xslt/todo2document.xsl" label="content"/>
  +     <map:call resource="skinit">
  +      <map:parameter name="type" value="document2html"/>
  +     </map:call>         
      </map:match>
   
      <map:match pattern="body-changes.xml">
  -     <map:generate type="file" src="xdocs/changes.xml"/>
  -     <map:transform src="stylesheets/changes2document.xsl" label="content"/>
  -     <map:transform src="stylesheets/document2docbook.xsl"/>
  -     <map:transform src="stylesheets/docbook2body.xsl"/>
  -     <map:serialize/>
  +     <map:generate type="file-nolabel" src="content/xdocs/changes.xml"/>
  +     <map:transform src="library/xslt/changes2document.xsl" label="content"/>
  +     <map:call resource="skinit">
  +      <map:parameter name="type" value="document2html"/>
  +     </map:call>    
      </map:match>
   
      <map:match pattern="body-faq.xml">
  -     <map:generate type="file" src="xdocs/faq.xml"/>
  -     <map:transform src="stylesheets/faq2document.xsl" label="content"/>
  -     <map:transform src="stylesheets/document2docbook.xsl"/>
  -     <map:transform src="stylesheets/docbook2body.xsl"/>
  -     <map:serialize/>
  +     <map:generate type="file-nolabel" src="content/xdocs/faq.xml"/>
  +     <map:transform src="library/xslt/faq2document.xsl" label="content"/>
  +     <map:call resource="skinit">
  +      <map:parameter name="type" value="document2html"/>
  +     </map:call>    
  +   </map:match>
  +
  +   <!-- Generate the "doclist" - list of all documentation
  +     The first match generates each book.xml and adds a new attribute "uri".
  +     The second match aggregates each book.xml into a doclist and
  +     then converts it to a document.
  +   -->
  +   <map:match pattern="doclist/content/xdocs/**book.xml">
  +     <map:generate src="content/xdocs/{1}book.xml"/>
  +     <map:transform src="library/xslt/doclist.xsl">
  +       <map:parameter name="uri" value="{1}"/>
  +     </map:transform>
  +     <map:serialize type="xml"/>
      </map:match>
  -
  -   <map:match pattern="body-**.xml">
  -     <map:generate src="xdocs/{1}.xml"/>
  -     <map:transform src="stylesheets/document2docbook.xsl"/>
  -     <map:transform src="stylesheets/docbook2body.xsl"/>
  -     <map:serialize/>
  +   <map:match pattern="body-doclist.xml">
  +     <map:aggregate element="doclist">
  +       <map:part src="cocoon:/doclist/content/xdocs/book.xml"/>
  +     </map:aggregate>
  +     <map:transform src="library/xslt/doclist2document.xsl"/>
  +     <map:call resource="skinit">
  +      <map:parameter name="type" value="document2html"/>
  +     </map:call>    
      </map:match>
   
  -   <map:match pattern="*.xml">
  -    <map:aggregate element="site">
  -     <map:part src="cocoon:/book-{1}.xml"/>
  -     <map:part src="cocoon:/body-{1}.xml" label="content"/>
  -    </map:aggregate>
  -    <map:transform src="stylesheets/site2xhtml.xsl">
  -       <map:parameter name="use-request-parameters" value="true"/>
  -       <map:parameter name="header" value="graphics/{1}-header.jpg"/>
  -     </map:transform>
  -    <map:serialize/>
  +   <map:match pattern="body-**.xml">
  +     <map:generate src="content/xdocs/{1}.xml"/>
  +     <map:call resource="skinit">
  +      <map:parameter name="type" value="document2html"/>
  +     </map:call>    
      </map:match>
   
      <map:match pattern="*.html">
  @@ -98,11 +181,9 @@
        <map:part src="cocoon:/book-{1}.xml"/>
        <map:part src="cocoon:/body-{1}.xml" label="content"/>
       </map:aggregate>
  -    <map:transform src="stylesheets/site2xhtml.xsl">
  -       <map:parameter name="use-request-parameters" value="true"/>
  -       <map:parameter name="header" value="graphics/{1}-header.jpg"/>
  -     </map:transform>
  -    <map:serialize/>
  +     <map:call resource="skinit">
  +      <map:parameter name="type" value="site2xhtml"/>
  +     </map:call>    
      </map:match>
   
      <map:match pattern="**/*.html">
  @@ -110,40 +191,65 @@
        <map:part src="cocoon:/{1}/book-{1}/{2}.xml"/>
        <map:part src="cocoon:/body-{1}/{2}.xml" label="content"/>
       </map:aggregate>
  -    <map:transform src="stylesheets/site2xhtml.xsl">
  -       <map:parameter name="use-request-parameters" value="true"/>
  -       <map:parameter name="header" value="graphics/{2}-header.jpg"/>
  -     </map:transform>
  -    <map:serialize/>
  +     <map:call resource="skinit">
  +      <map:parameter name="type" value="site2xhtml"/>
  +     </map:call>    
      </map:match>
   
      <!-- ================  Static  =========================== -->
   
  -   <map:match pattern="**.txt">
  -    <map:read src="xdocs/{1}.txt" mime-type="text/plain"/>
  +   <map:match pattern="common/**.js">
  +     <map:read src="resources/scripts/{1}.js" mime-type="application/javascript"/>
      </map:match>
   
  -   <map:match pattern="**resources/**.js">
  -     <map:read src="stylesheets/{2}.js" mime-type="application/javascript"/>
  +   <map:match pattern="**.js">
  +    <map:read src="resources/css/{1}.css" mime-type="text/css"/>
  +   </map:match>
  +   
  +   <map:match pattern="common/**.css">
  +    <map:read src="resources/css/{1}.css" mime-type="text/css"/>
      </map:match>
   
      <map:match pattern="**.css">
  -    <map:read src="{1}.css" mime-type="text/css"/>
  +    <map:call resource="skin-style">
  +      <map:parameter name="path" value="css/{1}.css"/>
  +      <map:parameter name="mime-type" value="text/css"/>
  +    </map:call>  
  +   </map:match>
  +      
  +   <map:match pattern="common/images/**.*">
  +    <map:read src="resources/images/{1}.{2}" mime-type="image/{2}"/>
      </map:match>
  -
  -   <map:match pattern="**images/*.png">
  -    <map:read src="images/{2}.png" mime-type="image/png"/>
  +   
  +   <map:match pattern="images/**.gif">
  +    <map:call resource="skin-res">
  +      <map:parameter name="path" value="images/{1}.gif"/>
  +      <map:parameter name="mime-type" value="image/gif"/>
  +    </map:call>                                 
      </map:match>
   
  -   <map:match pattern="**images/*.jpg">
  -    <map:read src="images/{2}.jpg" mime-type="image/jpeg"/>
  +   <map:match pattern="images/**.jpg">
  +    <map:call resource="skin-res">
  +      <map:parameter name="path" value="images/{1}.jpg"/>
  +      <map:parameter name="mime-type" value="image/jpeg"/>
  +    </map:call>                                 
      </map:match>
  -
  -   <map:match pattern="**images/*.gif">
  -    <map:read src="images/{2}.gif" mime-type="image/gif"/>
  +   
  +   <map:match pattern="images/**.png">
  +    <map:call resource="skin-res">
  +      <map:parameter name="path" value="images/{1}.png"/>
  +      <map:parameter name="mime-type" value="image/png"/>
  +    </map:call>                                 
  +   </map:match>
  +      
  +   <map:match pattern="**favicon.ico">
  +    <map:call resource="skin-res">
  +      <map:parameter name="path" value="images/favicon.ico"/>
  +      <map:parameter name="mime-type" value="application/ico"/>
  +    </map:call>    
      </map:match>
  -
  +         
     </map:pipeline>
    </map:pipelines>
   
  -</map:sitemap>
  +</map:sitemap>
  \ No newline at end of file
  
  
  
  1.1                  xml-forrest/src/documentation/content/xdocs/book.xml
  
  Index: book.xml
  ===================================================================
  <?xml version="1.0" encoding="UTF-8"?>
  <!DOCTYPE book PUBLIC "-//APACHE//DTD Cocoon Documentation Book V1.0//EN" "book-cocoon-v10.dtd">
  
  <book software="Forrest" 
        title="Forrest" 
        copyright="@year@ The Apache Foundation"
        xmlns:xlink="http://www.w3.org/1999/xlink">
  
    <menu label="About">
      <menu-item label="Index" href="index.html"/>     
      <menu-item label="License" href="license.html"/>     
      <menu-item label="Download" href="foo"/>
      <menu-item label="Who we are" href="foo"/>    
      <menu-item label="FAQ File" href="foo"/>
      <menu-item label="Changes" href="foo"/>
      <menu-item label="Todo" href="foo"/>
    </menu>
    
    <menu label="References">
      <menu-item label="Apache Cocoon" href="http://xml.apache.org/cocoon/"/>
    </menu>
  
    <menu label="Get Involved">
      <menu-item label="Contributing" href="foo"/>
      <menu-item label="Patches" href="foo"/>    
      <menu-item label="Bug Database" href="foo"/>
      <menu-item label="CVS" href="foo"/>
      <menu-item label="Mail Lists" href="foo"/>
    </menu>
  
  </book>
  
  
  
  1.1                  xml-forrest/src/documentation/content/xdocs/index.xml
  
  Index: index.xml
  ===================================================================
  <?xml version="1.0" encoding="UTF-8"?>
  <!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.1//EN" "document-v11.dtd">
  <document>
    <header>
      <title>Welcome to Forrest</title>
      <authors>
        <person name="Steven Noels" email="stevenn@apache.org" id="SN"/>
      </authors>
    </header>
    <body>
      <s1 title="Introduction">
        <p>Forrest provides a sound technological infrastructure for open software development for the Apache Software Foundation based on ASF software, ASF practices and experience, and modern software design principles.</p>
        <p>The Forrest developers - <link href="mailto:forrest-dev@xml.apache.org">forrest-dev@xml.apache.org</link></p>
      </s1>
    </body>
  </document>
  
  
  
  1.1                  xml-forrest/src/documentation/content/xdocs/license.xml
  
  Index: license.xml
  ===================================================================
  <?xml version="1.0" encoding="UTF-8"?>
  <!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.1//EN" "document-v11.dtd">
  
  <document>
   <header>
    <title>The Apache Software License</title>
    <authors>
     <person name="Steven Noels" email="stevenn@apache.org"/>   
    </authors>
   </header>
  
  <body>
  <s1 title="The Apache Software License, Version 1.1">
  <source><![CDATA[
   Copyright (C) @year@ The Apache Software Foundation. All rights reserved.
   
   Redistribution and use in source and binary forms, with or without modifica-
   tion, are permitted provided that the following conditions are met:
   
   1. Redistributions of  source code must  retain the above copyright  notice,
      this list of conditions and the following disclaimer.
   
   2. Redistributions in binary form must reproduce the above copyright notice,
      this list of conditions and the following disclaimer in the documentation
      and/or other materials provided with the distribution.
   
   3. The end-user documentation included with the redistribution, if any, must
      include  the following  acknowledgment:  "This product includes  software
      developed  by the  Apache Software Foundation  (http://www.apache.org/)."
      Alternately, this  acknowledgment may  appear in the software itself,  if
      and wherever such third-party acknowledgments normally appear.
   
   4. The names "Apache Forrest" and  "Apache Software Foundation" must  not be
      used to  endorse or promote  products derived from  this software without
      prior written permission. For written permission, please contact
      apache@apache.org.
   
   5. Products  derived from this software may not  be called "Apache", nor may
      "Apache" appear  in their name,  without prior written permission  of the
      Apache Software Foundation.
   
   THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES,
   INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
   FITNESS  FOR A PARTICULAR  PURPOSE ARE  DISCLAIMED.  IN NO  EVENT SHALL  THE
   APACHE SOFTWARE  FOUNDATION  OR ITS CONTRIBUTORS  BE LIABLE FOR  ANY DIRECT,
   INDIRECT, INCIDENTAL, SPECIAL,  EXEMPLARY, OR CONSEQUENTIAL  DAMAGES (INCLU-
   DING, BUT NOT LIMITED TO, PROCUREMENT  OF SUBSTITUTE GOODS OR SERVICES; LOSS
   OF USE, DATA, OR  PROFITS; OR BUSINESS  INTERRUPTION)  HOWEVER CAUSED AND ON
   ANY  THEORY OF LIABILITY,  WHETHER  IN CONTRACT,  STRICT LIABILITY,  OR TORT
   (INCLUDING  NEGLIGENCE OR  OTHERWISE) ARISING IN  ANY WAY OUT OF THE  USE OF
   THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
   
   This software  consists of voluntary contributions made  by many individuals
   on behalf  of the Apache  Software Foundation. For  more information  on the 
   Apache Software Foundation, please see <http://www.apache.org/>.]]></source>
  </s1>
  </body>
  </document>
  
  
  
  1.1                  xml-forrest/src/documentation/library/xslt/changes2document.xsl
  
  Index: changes2document.xsl
  ===================================================================
  <?xml version="1.0"?>
  
  <xsl:stylesheet
      xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
      version="1.0">
  
   <xsl:import href="copyover.xsl"/>
  
   <xsl:param name="name"/>
  
   <xsl:variable name="bugzilla">http://nagoya.apache.org/bugzilla/show_bug.cgi?id=</xsl:variable>
  
   <xsl:template match="changes">
    <document>
     <header>
      <title><xsl:value-of select="@title"/></title>
     </header>
     <body>
      <xsl:apply-templates/>
     </body>
    </document>
   </xsl:template>
  
   <xsl:template match="release">
    <s2 title="{$name} {@version} ({@date})">
     <sl>
      <xsl:apply-templates/>
     </sl>
    </s2>
   </xsl:template>
  
   <xsl:template match="action">
    <li>
     <icon src="images/{@type}.jpg" alt="{@type}"/>
     <xsl:apply-templates/>
     <xsl:text>(</xsl:text><xsl:value-of select="@dev"/><xsl:text>)</xsl:text>
  
     <xsl:if test="@due-to">
      <xsl:text> Thanks to </xsl:text>
      <link href="mailto:{@due-to-email}"><xsl:value-of select="@due-to"/></link>
      <xsl:text>.</xsl:text>
     </xsl:if>
  
     <xsl:if test="@fixes-bug">
      <xsl:text> Fixes </xsl:text>
      <link href="{$bugzilla}{@fixes-bug}">
       <xsl:text>bug </xsl:text><xsl:value-of select="@fixes-bug"/>
      </link>
      <xsl:text>.</xsl:text>
     </xsl:if>
    </li>
   </xsl:template>
  
   <xsl:template match="devs">
    <!-- remove -->
   </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-forrest/src/documentation/library/xslt/copyover.xsl
  
  Index: copyover.xsl
  ===================================================================
  <?xml version="1.0"?>
  
  <xsl:stylesheet
      xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
      version="1.0">
  
    <xsl:template match="@*|*|text()|processing-instruction()">
      <xsl:copy>
        <xsl:apply-templates select="@*|*|text()|processing-instruction()"/>
      </xsl:copy>
    </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-forrest/src/documentation/library/xslt/doclist.xsl
  
  Index: doclist.xsl
  ===================================================================
  <?xml version="1.0"?>
  
  <xsl:stylesheet
      xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
      version="1.0">
  
   <xsl:param name="uri"/>
  
   <xsl:template match="book">
    <book title="{@title}" uri="{$uri}">
      <xsl:copy-of select="node()"/>
    </book>
   </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-forrest/src/documentation/library/xslt/doclist2document.xsl
  
  Index: doclist2document.xsl
  ===================================================================
  <?xml version="1.0"?>
  
  <xsl:stylesheet
      xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
      version="1.0">
  
   <xsl:template match="doclist">
    <document>
     <header>
      <title>List of all documentation</title>
     </header>
     <body>
      <s1 title="Documentation List">
       <p>
        This complete list shows, at a glance, how all of the documentation
        fits together within the hierarchy of sections.
  <!--      For an overview of the documentation see the new
        &quot;Table of Contents&quot;. -->
       </p>
       <p>
        The side-panel of each actual document is used to reach other documents
        that are relevant to that section. The side-panel will change, according
        to that section's location in the documentation hierarchy.
       </p>
      </s1>
      <xsl:apply-templates/>
     </body>
    </document>
   </xsl:template>
  
   <xsl:template match="book">
    <s1 title="{@title}">
     <xsl:if test="position()=1">
      <p>This first section is a list of the top-level documentation
       (and is a replica of this page's side-panel).</p>
     </xsl:if>
     <xsl:apply-templates/>
    </s1>
   </xsl:template>
  
   <xsl:template match="menu">
    <xsl:if test="@label!='Navigation'">
    <p><strong><xsl:value-of select="@label"/></strong></p>
     <ul>
      <xsl:apply-templates>
       <xsl:with-param name="uri" select="../@uri"/>
      </xsl:apply-templates>
     </ul>
    </xsl:if>
   </xsl:template>
  
   <xsl:template match="menu-item">
    <xsl:param name="uri"/>
    <xsl:if test="not(@type) or @type!='hidden'">
     <xsl:if test="@label!='Main' and @label!='User Documentation'">
  <!-- FIXME: ensure href is not full URL scheme:// -->
  <!--
    (uri=<xsl:value-of select="$uri"/> href=<xsl:value-of select="@href"/>)
  -->
      <li><link href="{$uri}{@href}"><xsl:value-of select="@label"/></link>
      </li>
     </xsl:if>
    </xsl:if>
   </xsl:template>
  
   <xsl:template match="external">
    <xsl:param name="uri"/>
    <xsl:if test="not(@type) or @type!='hidden'">
     <xsl:choose>
      <!-- FIXME: specially handle menu item "API (Javadoc)", it causes a bug. -->
      <xsl:when test="starts-with(@label,'API')">
       <li><link href="http://xml.apache.org/cocoon/apidocs/"><xsl:value-of select="@label"/></link></li>
  <!-- FIXME: here is the bug:
       <li><link href="{@href}"><xsl:value-of select="@label"/></link></li>
       <li><xsl:value-of select="@label"/>href=<xsl:value-of select="@href"/></li>
  -->
      </xsl:when>
      <xsl:otherwise>
       <li><link href="{@href}"><xsl:value-of select="@label"/></link></li>
      </xsl:otherwise>
     </xsl:choose>
    </xsl:if>
   </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-forrest/src/documentation/library/xslt/faq2document.xsl
  
  Index: faq2document.xsl
  ===================================================================
  <?xml version="1.0"?>
  
  <xsl:stylesheet
      xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
      version="1.0">
  
   <xsl:import href="copyover.xsl"/>
  
    <xsl:template match="faqs">
     <document>
      <header>
       <title><xsl:value-of select="@title"/></title>
      </header>
      <body>
        <s1 title="Questions">
         <ul>
          <xsl:apply-templates select="faq" mode="index"/>
         </ul>
        </s1>
        <s1 title="Answers">
          <xsl:apply-templates select="faq"/>
        </s1>
      </body>
     </document>  
    </xsl:template>
  
    <xsl:template match="faq" mode="index">
      <li>
        <jump anchor="faq-{position()}">
          <xsl:value-of select="question"/>
        </jump>
      </li>
    </xsl:template>
  
    <xsl:template match="faq">
      <anchor id="faq-{position()}"/>
      <s2 title="{question}">
        <xsl:apply-templates/>
      </s2>
    </xsl:template>
  
    <xsl:template match="question">
      <!-- ignored since already used -->
    </xsl:template>
  
    <xsl:template match="answer">
      <xsl:apply-templates/>
    </xsl:template>
  
  </xsl:stylesheet>
  
  
  1.1                  xml-forrest/src/documentation/library/xslt/filterlinks.xsl
  
  Index: filterlinks.xsl
  ===================================================================
  <?xml version="1.0"?>
  
  <!--
  This stylesheet filters all references to the javadocs
  and the samples.
  -->
  <xsl:stylesheet
      xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
      version="1.0">
  
    <xsl:template match="@src|@href|@background">
      <xsl:if test="not(contains(.,'apidocs')) and not(starts-with(., 'samples/'))">
        <xsl:copy>
          <xsl:apply-templates select="."/>
        </xsl:copy>
      </xsl:if>
    </xsl:template>
  
    <!-- This is a hack which makes the javascript images work -->
    <xsl:template match="img[@onLoad and starts-with(@src, 'graphics')]">
        <img src="{@src}"/>
        <img>
          <xsl:attribute name="src">
            <xsl:value-of select="substring-before(@src, '.')"/>_over.<xsl:value-of select="substring-after(@src, '.')"/>
          </xsl:attribute>
        </img>
    </xsl:template>
  
    <xsl:template match="img[@onLoad and starts-with(@src, 'images') and contains(@src, '-lo.gif')]">
        <img src="{@src}"/>
        <img>
          <xsl:attribute name="src"><xsl:value-of select="substring-before(@src, '-lo.gif')"/>-hi.gif</xsl:attribute>
        </img>
    </xsl:template>
  
    <xsl:template match="@*|node()">
     <xsl:copy>
      <xsl:apply-templates select="@*|node()"/>
     </xsl:copy>
    </xsl:template>
  
  </xsl:stylesheet>
  
  
  1.1                  xml-forrest/src/documentation/library/xslt/todo2document.xsl
  
  Index: todo2document.xsl
  ===================================================================
  <?xml version="1.0"?>
  
  <xsl:stylesheet
      xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
      version="1.0">
  
   <xsl:import href="copyover.xsl"/>
   
   <xsl:template match="todo">
    <document>
     <header>
      <title><xsl:value-of select="@title"/></title>
     </header>
     <body>
      <xsl:apply-templates/>
     </body>
    </document>
   </xsl:template>
  
   <xsl:template match="actions">
    <s2 title="{@priority}">
     <sl>
      <xsl:for-each select="action">
       <li>
        <strong><xsl:text>[</xsl:text><xsl:value-of select="@context"/><xsl:text>]</xsl:text></strong><xsl:text> </xsl:text>
        <xsl:apply-templates/>
       </li>
      </xsl:for-each>
     </sl>
    </s2>
   </xsl:template>
   
  </xsl:stylesheet>
  
  
  
  1.1                  xml-forrest/src/documentation/resources/images/forrest-draft-logo.png
  
  	<<Binary file>>
  
  
  1.1                  xml-forrest/src/documentation/resources/images/project-logo.gif
  
  	<<Binary file>>
  
  
  1.1                  xml-forrest/src/documentation/skins/cocoon-printer/css/simple.css
  
  Index: simple.css
  ===================================================================
  body {
  	background: white fixed no-repeat left top; 
  	color: black; 
  	font-family: sans-serif; 
  	margin: 2em 1em 2em 1em;
  }
  
  h1 {
  	text-align: left;
  	color: #005a9c;
  	font: 170% sans-serif;
  }
  
  h2 {
  	text-align: left;
  	color: #005a9c;
  	font: 140% sans-serif;
  }
  
  h3 {
  	text-align: left;
  	color: #005a9c;
  	font: 120% sans-serif;
  }
  
  h4 {
  	text-align: left;
  	color: #005a9c;
  	font: bold 100% sans-serif;
  }
  
  #main-panel {}
  #side-bar {}
  #content-panel {}
  
  #s1
  #s2
  #s3
  #s4
  
  p {
          padding: 10px 10px 10px 10px;
          margin: 10px 20px 10px 20px;
          text-align: justify;
  }
  
  p.note {
          font-style: italic;
  }
  
  p.source {
  	font-family: monospace;
  }
  
  a:link { color: #005a9c }
  a:visited { color: #a00000 }
  a:active { color: #00a000 }
  a:hover { background: #ffa }
  
  
  
  1.1                  xml-forrest/src/documentation/skins/cocoon-printer/xslt/html/book2menu.xsl
  
  Index: book2menu.xsl
  ===================================================================
  <?xml version="1.0"?>
  
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                  version="1.0">
  
    <xsl:param name="resource"/>
  
    <xsl:template match="book">
      <menu>
        <xsl:apply-templates/>
      </menu>
    </xsl:template>
  
    <xsl:template match="project">
    </xsl:template>
  
    <xsl:template match="menu[position()=1]">
      <xsl:apply-templates/>
    </xsl:template>
  
    <xsl:template match="menu">
       <tr>
         <td align="left" valign="top">
           ----------
           <br/>
           <b><xsl:value-of select="@label"/></b>
         </td>
       </tr>
       <xsl:apply-templates/>
    </xsl:template>
  
  
    <xsl:template match="menu-item">
      <xsl:if test="not(@type) or @type!='hidden'">
       <tr>
        <td align="left" valign="top">
         <xsl:choose>
           <xsl:when test="@href=$resource">
            <xsl:value-of select="@label"/>
           </xsl:when>
           <xsl:otherwise>
            <a href="{@href}"><xsl:value-of select="@label"/></a>
          </xsl:otherwise>
         </xsl:choose>
        </td>
       </tr>
      </xsl:if>
    </xsl:template>
  
    <xsl:template match="external">
      <xsl:if test="not(@type) or @type!='hidden'">
       <tr>
  	<td align="left" valign="top">
            <a href="{@href}"><xsl:value-of select="@label"/></a>
  	</td>
       </tr>
      </xsl:if>
    </xsl:template>
  
    <xsl:template match="node()|@*" priority="-1"/>
  </xsl:stylesheet>
  
  
  
  
  1.1                  xml-forrest/src/documentation/skins/cocoon-printer/xslt/html/document2html.xsl
  
  Index: document2html.xsl
  ===================================================================
  <?xml version="1.0"?>
  
  <xsl:stylesheet
      xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
      version="1.0">
  
  <!-- ====================================================================== -->
  <!-- document section -->
  <!-- ====================================================================== -->
  
   <xsl:template match="/">
    <!-- checks if this is the included document to avoid neverending loop -->
    <xsl:if test="not(book)">
        <document>
        <xsl:choose>
  		<xsl:when test="document/header/title">
  		      <title><xsl:value-of select="document/header/title"/></title>
  		</xsl:when>
  		<xsl:otherwise>
  			<title>NO TITLE</title>
  		</xsl:otherwise>
  	</xsl:choose>
        <body text="#000000" link="#039acc" vlink="#0086b2" alink="#cc0000"
              topmargin="4" leftmargin="4" marginwidth="4" marginheight="4"
              bgcolor="#ffffff">
          
          <xsl:apply-templates/>
          
        </body>
        </document>
     </xsl:if>
     
     <xsl:if test="book">
      <xsl:apply-templates/>
     </xsl:if>
    </xsl:template>
  
  <!-- ====================================================================== -->
  <!-- header section -->
  <!-- ====================================================================== -->
  
   <xsl:template match="header">
    <!-- ignore on general document -->
   </xsl:template>
  
  <!-- ====================================================================== -->
  <!-- body section -->
  <!-- ====================================================================== -->
  
    <xsl:template match="s1">
     <h1><xsl:value-of select="@title"/></h1>
     <font face="arial,helvetica,sanserif" color="#000000"><xsl:apply-templates/></font>
    </xsl:template>
  
    <xsl:template match="s2">
     <h2><xsl:value-of select="@title"/></h2>
     <font face="arial,helvetica,sanserif" color="#000000"><xsl:apply-templates/></font>
    </xsl:template>
  
    <xsl:template match="s3">
     <h3><xsl:value-of select="@title"/></h3>
     <font face="arial,helvetica,sanserif" color="#000000"><xsl:apply-templates/></font>
    </xsl:template>
  
    <xsl:template match="s4">
     <h4><xsl:value-of select="@title"/></h4>
     <font face="arial,helvetica,sanserif" color="#000000"><xsl:apply-templates/></font>
    </xsl:template>
      
  <!-- ====================================================================== -->
  <!-- footer section -->
  <!-- ====================================================================== -->
  
   <xsl:template match="footer">
    <!-- ignore on general documents -->
   </xsl:template>
  
  <!-- ====================================================================== -->
  <!-- paragraph section -->
  <!-- ====================================================================== -->
  
    <xsl:template match="p">
      <p align="justify"><xsl:apply-templates/></p>
    </xsl:template>
  
    <xsl:template match="note">
     <p>
      <table width="100%" cellspacing="3" cellpadding="0" border="0">
        <tr>
          <td width="28" valign="top">
            <img src="images/note.gif" width="28" height="29" vspace="0" hspace="0" border="0" alt="Note"/>
          </td>
          <td valign="top">
            <font size="-1" face="arial,helvetica,sanserif" color="#000000">
              <i>
                <xsl:apply-templates/>
              </i>
            </font>
          </td>
        </tr>  
      </table>
     </p>
    </xsl:template>
  
    <xsl:template match="source">
     <div align="center">
      <table cellspacing="4" cellpadding="0" border="0">
      <tr>
        <td bgcolor="#0086b2" width="1" height="1"><img src="images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/></td>
        <td bgcolor="#0086b2" height="1"><img src="images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/></td>
        <td bgcolor="#0086b2" width="1" height="1"><img src="images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/></td>
      </tr>
      <tr>
        <td bgcolor="#0086b2" width="1"><img src="images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/></td>
        <td bgcolor="#ffffff"><pre><xsl:apply-templates/></pre></td>
        <td bgcolor="#0086b2" width="1"><img src="images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/></td>
      </tr>
      <tr>
        <td bgcolor="#0086b2" width="1" height="1"><img src="images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/></td>
        <td bgcolor="#0086b2" height="1"><img src="images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/></td>
        <td bgcolor="#0086b2" width="1" height="1"><img src="images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/></td>
      </tr>
      </table>
     </div>
    </xsl:template>
    
    <xsl:template match="fixme">
     <!-- ignore on documentation -->
    </xsl:template>
  
  <!-- ====================================================================== -->
  <!-- list section -->
  <!-- ====================================================================== -->
  
   <xsl:template match="ul|ol|dl">
    <blockquote>
     <xsl:copy>
      <xsl:apply-templates/>
     </xsl:copy>
    </blockquote>
   </xsl:template>
   
   <xsl:template match="li">
    <xsl:copy>
     <xsl:apply-templates/>
    </xsl:copy>
   </xsl:template>
  
   <xsl:template match="sl">
    <ul>
     <xsl:apply-templates/>
    </ul>
   </xsl:template>
  
   <xsl:template match="dt">
    <li>
     <strong><xsl:value-of select="."/></strong>
     <xsl:text> - </xsl:text>
     <xsl:apply-templates select="dd"/>   
    </li>
   </xsl:template>
  
  <!-- ====================================================================== -->
  <!-- table section -->
  <!-- ====================================================================== -->
  
    <xsl:template match="table">
      <table width="100%" border="0" cellspacing="2" cellpadding="2">
        <caption><xsl:value-of select="caption"/></caption>
        <xsl:apply-templates/>
      </table>
    </xsl:template>
  
    <xsl:template match="tr">
      <tr><xsl:apply-templates/></tr>
    </xsl:template>
  
    <xsl:template match="th">
      <td bgcolor="#039acc" colspan="{@colspan}" rowspan="{@rowspan}" valign="center" align="center">
        <font color="#ffffff" size="-1" face="arial,helvetica,sanserif">
          <b><xsl:apply-templates/></b>&#160;
        </font>
      </td>
    </xsl:template>
  
    <xsl:template match="td">
      <td bgcolor="#a0ddf0" colspan="{@colspan}" rowspan="{@rowspan}" valign="top" align="left">
        <font color="#000000" size="-1" face="arial,helvetica,sanserif">
          <xsl:apply-templates/>&#160;
        </font>
      </td>
    </xsl:template>
  
    <xsl:template match="tn">
      <td bgcolor="#ffffff" colspan="{@colspan}" rowspan="{@rowspan}">
        &#160;
      </td>
    </xsl:template>
    
    <xsl:template match="caption">
      <!-- ignore since already used -->
    </xsl:template>
  
  <!-- ====================================================================== -->
  <!-- markup section -->
  <!-- ====================================================================== -->
  
   <xsl:template match="strong">
     <b><xsl:apply-templates/></b>
   </xsl:template>
  
   <xsl:template match="em">
      <i><xsl:apply-templates/></i>
   </xsl:template>
  
   <xsl:template match="code">
      <code><font face="courier, monospaced"><xsl:apply-templates/></font></code>
   </xsl:template>
   
  <!-- ====================================================================== -->
  <!-- images section -->
  <!-- ====================================================================== -->
  
   <xsl:template match="figure">
    <p align="center">
    <xsl:choose>
     <xsl:when test="string(@width) and string(@height)">
     <img src="{@src}" alt="{@alt}" width="{@width}" height="{@height}" border="0" vspace="4" hspace="4"/>
     </xsl:when>
     <xsl:otherwise>
     <img src="{@src}" alt="{@alt}" border="0" vspace="4" hspace="4"/>
     </xsl:otherwise>
    </xsl:choose>
    </p>
   </xsl:template>
   
   <xsl:template match="img">
     <img src="{@src}" alt="{@alt}" border="0" vspace="4" hspace="4" align="right"/>
   </xsl:template>
  
   <xsl:template match="icon">
     <img src="{@src}" alt="{@alt}" border="0" align="absmiddle"/>
   </xsl:template>
  
  <!-- ====================================================================== -->
  <!-- links section -->
  <!-- ====================================================================== -->
  
   <xsl:template match="link">
     <a href="{@href}"><xsl:apply-templates/></a>
   </xsl:template>
  
   <xsl:template match="connect">
    <xsl:apply-templates/>
   </xsl:template>
  
   <xsl:template match="jump">
     <a href="{@href}#{@anchor}"><xsl:apply-templates/></a>
   </xsl:template>
  
   <xsl:template match="fork">
     <a href="{@href}" target="_blank"><xsl:apply-templates/></a>
   </xsl:template>
  
   <xsl:template match="anchor">
     <a name="{@id}"><xsl:comment>anchor</xsl:comment></a>
   </xsl:template>  
  
  <!-- ====================================================================== -->
  <!-- specials section -->
  <!-- ====================================================================== -->
  
   <xsl:template match="br">
    <br/>
   </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-forrest/src/documentation/skins/cocoon-printer/xslt/html/site2xhtml.xsl
  
  Index: site2xhtml.xsl
  ===================================================================
  <?xml version="1.0"?>
  
  <xsl:stylesheet
      xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
      version="1.0">
  
  	<xsl:param name="header"/>
  
  <xsl:template match="/">
  <html>
        <head>
          <title><xsl:value-of select="/site/document/title"/></title>
        </head>
  
        <body text="#000000" link="#039acc" vlink="#0086b2" alink="#cc0000"
              topmargin="4" leftmargin="4" marginwidth="4" marginheight="4"
              bgcolor="#ffffff">
          <!-- THE TOP BAR (HEADER) -->
          <table width="100%" cellspacing="0" cellpadding="0" border="0">
            <tr>
              <td width="135" height="60" rowspan="3" valign="top" align="left">
                <img width="135" height="60" src="images/logo.gif" hspace="0" vspace="0" border="0"/>
              </td>
              <td width="100%" height="5" valign="top" align="left" colspan="2" background="images/line.gif">
                <img width="1" height="5" src="images/line.gif" hspace="0" vspace="0" border="0" align="left"/>
              </td>
              <td width="29" height="60"  rowspan="3" valign="top" align="left">
                <img width="29" height="60" src="images/right.gif" hspace="0" vspace="0" border="0"/>
              </td>
            </tr>
            <tr>
              <!-- using svg 
              <td width="100%" height="35" valign="top" align="right" colspan="2" bgcolor="#0086b2">
                <img src="{$header}?label={/site/document/title}" hspace="0" vspace="0" border="0" alt="{/site/document/title}" align="right"/>           
              </td>
              -->
              <td width="100%" height="35" valign="top" align="right" colspan="2" bgcolor="#0086b2">
                <p align="right" style="color:white; font-family:arial; font-size:30px; font-style:italic">
                  <xsl:value-of select="/site/document/title"/>
                </p>
              </td>
            </tr>
            <tr>
              <td width="100%" height="20" valign="top" align="left" bgcolor="#0086b2" background="images/bottom.gif">
                <img width="3" height="20" src="images/bottom.gif" hspace="0" vspace="0" border="0" align="left"/>
              </td>
              <td align="right" bgcolor="#0086b2" height="20" valign="top" width="288" background="images/bottom.gif">
                <table border="0" cellpadding="0" cellspacing="0" width="288">
                  <tr>
                    <td width="96" height="20" valign="top" align="left">
                      <a href="http://xml.apache.org/" target="new">
                        <img alt="http://xml.apache.org/" width="96" height="20" src="images/button-xml-lo.gif"
                             name="xml" hspace="0" vspace="0" border="0"/>
                      </a>
                    </td>
                    <td width="96" height="20" valign="top" align="left">
                      <a href="http://www.apache.org/" target="new">
                        <img alt="http://www.apache.org/" width="96" height="20" src="images/button-asf-lo.gif"
                             name="asf" hspace="0" vspace="0" border="0"/>
                      </a>
                    </td>
                    <td width="96" height="20" valign="top" align="left">
                      <a href="http://www.w3.org/" target="new">
                        <img alt="http://www.w3.org/" width="96" height="20" src="images/button-w3c-lo.gif"
                             name="w3c" hspace="0" vspace="0" border="0"/>
                      </a>
                    </td>
                  </tr>
                </table>
              </td>
            </tr>
          </table>
  
  <table border="0" cellpadding="0" cellspacing="0" width="100%">
  	<tr width="100%">
  		<td width="120" valign="top"> 
  			<table border="0" cellpadding="0" cellspacing="0" width="120">
  			      <tr>
  					<td align="left" valign="top">
  						<img border="0" height="14" hspace="0" src="images/join.gif" vspace="0" width="120"/>
  						<br/>
  					</td>
  				</tr>
  				<xsl:copy-of select="/site/menu/node()|@*"/>
  <!--
  				<tr>
  					<td valign="top" align="left">
  						<img border="0" height="14" hspace="0" src="images/close.gif" vspace="0" width="120"/>
  						<br/>
  					</td>
  				</tr>
  -->
  			</table>
  		</td>
  		<td>
  			<table border="0" cellpadding="0" cellspacing="0">
  				<tr><td width="100%" height="10"/></tr>
  				<tr><td><xsl:copy-of select="/site/document/body/node()|@*"/></td></tr>
  			</table>
  		</td>
  	</tr>
   </table>
  <table border="0" cellpadding="0" cellspacing="0" width="100%">
    <tr>
      <td bgcolor="#0086b2">
        <img height="1" src="images/dot.gif" width="1"/>
      </td>
    </tr>
    <tr>
      <td align="center">
        <font color="#0086b2" face="arial,helvetica,sanserif" size="-1">
          <i>Copyright &#169; @year@ The Apache Software Foundation. All Rights Reserved.</i>
        </font>
      </td>
    </tr>
  </table>
  </body>
  
  
  </html>
  </xsl:template>
  </xsl:stylesheet>
  
  
  
  1.1                  xml-forrest/src/documentation/skins/forrest-site/images/favicon.ico
  
  	<<Binary file>>
  
  
  1.1                  xml-forrest/src/documentation/skins/jakarta-site/images/built-with-cocoon.gif
  
  	<<Binary file>>
  
  
  1.1                  xml-forrest/src/documentation/skins/jakarta-site/images/favicon.ico
  
  	<<Binary file>>
  
  
  1.1                  xml-forrest/src/documentation/skins/jakarta-site/images/group-logo.gif
  
  	<<Binary file>>
  
  
  1.1                  xml-forrest/src/documentation/skins/jakarta-site/images/krysalis-compatible.jpg
  
  	<<Binary file>>
  
  
  1.1                  xml-forrest/src/documentation/skins/jakarta-site/xslt/html/book2menu.xsl
  
  Index: book2menu.xsl
  ===================================================================
  <?xml version="1.0"?>
  
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                  version="1.0">
  
    <xsl:template match="book">
      <menu>
        <xsl:apply-templates/>
      </menu>
    </xsl:template>
  
    <xsl:template match="project">
      <br/><a href="{@href}"><font color="#F3510C" size="+1"><xsl:value-of select="@label"/></font></a><br/>
    </xsl:template>
  
    <xsl:template match="menu">
      <br/>
      <span class="s1"><xsl:value-of select="@label"/></span><br/>
          <xsl:apply-templates/>
    </xsl:template>
  
    <xsl:template match="menu-item">
      <xsl:if test="not(@type) or @type!='hidden'">
        <a href="{@href}" class="s1"><xsl:value-of select="@label"/></a><br/>
      </xsl:if>
    </xsl:template>
  
    <xsl:template match="node()|@*" priority="-1"/>
  </xsl:stylesheet>
  
  
  1.1                  xml-forrest/src/documentation/skins/jakarta-site/xslt/html/document2html.xsl
  
  Index: document2html.xsl
  ===================================================================
  <?xml version="1.0"?>
  
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                  version="1.0">
  
    <xsl:template match="document">
     <body>
      <xsl:if test="normalize-space(title)!=''">
        <title><xsl:value-of select="title"/></title>
              <table class="centered" align="center" width="100%">
                <tbody>
                  <tr>
                    <td align="center">
                      <table class="title" cellspacing="0" cellpadding="1" border="0">
                        <tbody>
                          <tr>
                            <td bgcolor="#525d76">
                              <table class="centered" cellspacing="0" cellpadding="2" border="0" width="100%">
                                <tbody>
                                  <tr>
                                    <td bgcolor="#f3dd61">
                                      <span class="title"><xsl:value-of select="header/title"/></span>
                                    </td>
                                  </tr>
                                </tbody>
                              </table>
                            </td>
                          </tr>
                        </tbody>
                      </table>
                    </td>
                  </tr>
                </tbody>
              </table>
        </xsl:if>
        
        <xsl:if test="subtitle">
          <font color="#525D76"><i><xsl:value-of select="subtitle"/></i></font><br/>
        </xsl:if>
  
        <font color="#000000" size="-2">
          <p>
            <xsl:for-each select="header/person">
              <xsl:choose>
                <xsl:when test="position()=1">by</xsl:when>
                <xsl:otherwise>, </xsl:otherwise>
              </xsl:choose>
            </xsl:for-each>
            <a href="mailto:{@email}">
              <xsl:value-of select="@name"/>
            </a>
          </p>
        </font>
        
        <xsl:apply-templates select="body"/>
   
      </body>
    </xsl:template>
  
    <xsl:template match="changes"/>
  
    <xsl:template match="action"/>
  
    <xsl:template match="body">
      <xsl:apply-templates/>
    </xsl:template>
  
   
    <xsl:template name="section" match="section">
      <xsl:param name="level"/>
      
      <div align="right">
        <table border="0" cellpadding="2" cellspacing="0">
          <xsl:attribute name="width"><xsl:value-of select="number(100)-(1*(number($level)-1))"/>%</xsl:attribute>
          <tr>
            <td bgcolor="#525D76">
              <font color="#ffffff">
                <xsl:attribute name="size">
                  <xsl:choose>
                    <xsl:when test="number($level)=1">+1</xsl:when>
                    <xsl:when test="number($level)=2">+0</xsl:when>
                    <xsl:otherwise>-<xsl:value-of select="number($level)-2"/></xsl:otherwise>
                  </xsl:choose>
                </xsl:attribute>
                <font face="Arial,sans-serif"><b><xsl:value-of select="@title"/></b></font>
              </font>
            </td>
          </tr>
          <tr>
            <td>
                <br/>
                <xsl:apply-templates>
                  <xsl:with-param name="level" select="number($level)+1"/>
                </xsl:apply-templates>
            </td>
          </tr>
        </table>
      </div><br/>
      
    </xsl:template>
      
    <xsl:template match="s1">
      <xsl:call-template name="section">
         <xsl:with-param name="level">1</xsl:with-param>
      </xsl:call-template>
    </xsl:template>
  
    <xsl:template match="s2">
      <xsl:call-template name="section">
         <xsl:with-param name="level">2</xsl:with-param>
      </xsl:call-template>
    </xsl:template>
  
    <xsl:template match="s3">
      <xsl:call-template name="section">
         <xsl:with-param name="level">3</xsl:with-param>
      </xsl:call-template>
    </xsl:template>
  
    <xsl:template match="s4">
      <xsl:call-template name="section">
         <xsl:with-param name="level">4</xsl:with-param>
      </xsl:call-template>
    </xsl:template>
  
    <xsl:template match="br">
      <br/>
    </xsl:template>
  
    <xsl:template match="strong|em">
      <em><xsl:apply-templates/></em>
    </xsl:template>
  
    <xsl:template match="ul">
      <ul><xsl:apply-templates/></ul>
    </xsl:template>
  
    <xsl:template match="li">
      <li><xsl:apply-templates/></li>
    </xsl:template>
  
    <xsl:template match="ol">
      <ol><xsl:apply-templates/></ol>
    </xsl:template>
  
    <xsl:template match="link">
      <a href="{@href}"><xsl:apply-templates/></a>
    </xsl:template>
  
    <xsl:template match="figure">
      <xsl:choose>
        <xsl:when test="@src">
      <div align="center">
        <table border="0" cellpadding="2" cellspacing="2">
          <tr>
            <td bgcolor="#525D76"><font color="#ffffff" size="0"><xsl:value-of select="@alt"/></font></td>
          </tr>
      <tr>
        <td><img border="0" alt="{@alt}" src="{@src}"/></td>
      </tr>
      <xsl:if test="@alt">
        <tr>
          <td><font size="-1"><ul><li><xsl:value-of select="@alt"/></li></ul></font></td>
        </tr>
      </xsl:if>
      
        </table>
      </div>
            
        </xsl:when>
      </xsl:choose>
    </xsl:template>
  
    <xsl:template match="fixme">
     <div align="center">
        <table border="1" cellpadding="2" cellspacing="2">
          <xsl:if test="title">
            <tr>
              <td bgcolor="#800000">
                <font color="#ffffff"><xsl:value-of select="title"/></font>
              </td>
            </tr>
          </xsl:if>
          <tr>
            <td bgcolor="#c0c0c0">
              <font color="#023264" size="-1"><xsl:apply-templates/></font>
            </td>
          </tr>
        </table>
      </div>
    </xsl:template>
  
    <xsl:template match="note">
      <note><xsl:apply-templates/></note>
    </xsl:template>
  
    <xsl:template match="warn">
      <div align="center">
        <table border="1" cellpadding="2" cellspacing="2">
          <xsl:if test="title">
            <tr>
              <td bgcolor="#800000">
                <font color="#ffffff"><xsl:value-of select="title"/></font>
              </td>
            </tr>
          </xsl:if>
          <tr>
            <td bgcolor="#c0c0c0">
              <font color="#023264" size="-1"><xsl:apply-templates/></font>
            </td>
          </tr>
        </table>
      </div>
    </xsl:template>
  
    <xsl:template match="code">
      <code><xsl:apply-templates/><xsl:if test="name(.)='function'"><xsl:text>()</xsl:text></xsl:if></code>
    </xsl:template>
  
    <xsl:template match="source">
      <div align="center">
        <table border="1" cellpadding="2" cellspacing="2">
          <tr>
            <td>
              <pre>
                <xsl:apply-templates/>
              </pre>
            </td>
          </tr>
        </table>
      </div>
    </xsl:template>
  
    <xsl:template match="table">
      <table border="0" cellpadding="2" cellspacing="2" width="100%">
        <xsl:apply-templates/>
      </table>
    </xsl:template>
  
    <xsl:template match="th">
      <th><xsl:apply-templates/></th>
    </xsl:template>
  
    <xsl:template match="tr">
      <tr><xsl:apply-templates/></tr>
    </xsl:template>
  
    <xsl:template match="td">
      <td><xsl:apply-templates/></td>
    </xsl:template>
  
    <xsl:template match="node()|@*" priority="-1">
      <xsl:copy>
        <xsl:apply-templates select="node()|@*"/>
      </xsl:copy>
    </xsl:template>
  </xsl:stylesheet>
  
  
  
  
  1.1                  xml-forrest/src/documentation/skins/jakarta-site/xslt/html/site2xhtml.xsl
  
  Index: site2xhtml.xsl
  ===================================================================
  <?xml version="1.0"?>
  
  <html xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
        xsl:version="1.0">
    <head>
      <meta content="text/html; charset=ISO-8859-1"/>
      <title><xsl:value-of select="/site/body/title"/></title>
  <style type="text/css">
  <![CDATA[ body { background-color: white; font-size: normal; color: black ; }
   a { color: #525d76; }
   a.black { color: #000000;} 
   table {border-width: 0; width: 100%}
   table.centered {text-align: center}
   table.title {text-align: center; width: 80%} 
   img{border-width: 0;} 
   span.s1 {font-family: Helvetica, Arial, sans-serif; font-weight: bold; color: #000000; }
   span.s1_white { font-family: Helvetica, Arial, sans-serif; font-weight: bold; color: #ffffff; } 
   span.title {font-family: Helvetica, Arial, sans-serif; font-weight: bold; color: #000000; }
   span.c1 {color: #000000; font-family: Helvetica, Arial, sans-serif}
   tr.left {text-align: left}
   hr { width: 100%; size: 2} ]]>
  </style>    
    </head>
    <body>
    
      <!-- header --> 
  <table border="0" cellpadding="0" cellspacing="0" width="100%">
  <tr>
  <td align="left" valign="top"><a href="http://jakarta.apache.org/index.html"><img src="images/group-logo.gif" border="0" vspace="0" hspace="0"/></a></td><td bgcolor="#ffffff" align="left" valign="top" width="100%"><img src="common/images/project-logo.gif" align="right" border="0" vspace="0" hspace="0"/></td>
  </tr>
  <tr>
  <td bgcolor="#525d76" colspan="2"><span class="c1"><a href="http://www.apache.org/" class="black">www.apache.org &gt;</a><a href="http://jakarta.apache.org/" class="black">jakarta.apache.org &gt;</a></span></td>
  </tr>
  <tr>
  <td height="8"></td>
  </tr>
  </table>
      
      <!-- main --> 
      <table width="100%" cellspacing="0" cellpadding="0" border="0">
        <tr>
          <!-- left menu --> 
          <td width="1%"><br/></td>
          <td width="14%" valign="top" nowrap="1">
            <xsl:copy-of select="/site/menu/node()|@*"/>
          </td>
          <td width="1%"><br/></td>  
              
          <!-- contents --> 
          <td width="*" valign="top" align="left">
            <xsl:copy-of select="/site/body/node()|@*"/>
          </td>
        </tr>
      </table>
      <br/>
      
      <!-- footer --> 
     <table cellpadding="0" cellspacing="0" border="0" width="100%">
        <tbody>
          <tr>
            <td>
              <hr size="1" noshade=""/>
            </td>
          </tr>
          <tr>
            <td align="center">
              <i>Copyright &#x00A9; 2002 Apache Software Foundation</i>
            </td>
          </tr>
          <tr>
            <td width="100%" align="right">
  			<br/>
            </td>
          </tr>        
          <tr>
            <td width="100%" align="right">
              <a href="http://krysalis.org/"><img src="images/krysalis-compatible.jpg" alt="Krysalis Logo"/></a> 
              <a href="http://xml.apache.org/cocoon/"><img src="images/built-with-cocoon.gif" alt="Cocoon Logo"/></a> 
            </td>
          </tr>
        </tbody>
      </table>
      
    </body>
  </html>
  
  
  
  
  1.1                  xml-forrest/src/documentation/skins/xml-apache-site/images/add.jpg
  
  	<<Binary file>>
  
  
  1.1                  xml-forrest/src/documentation/skins/xml-apache-site/images/bar-border-bottom.gif
  
  	<<Binary file>>
  
  
  1.1                  xml-forrest/src/documentation/skins/xml-apache-site/images/bar-border-left.gif
  
  	<<Binary file>>
  
  
  1.1                  xml-forrest/src/documentation/skins/xml-apache-site/images/bar-border-right.gif
  
  	<<Binary file>>
  
  
  1.1                  xml-forrest/src/documentation/skins/xml-apache-site/images/bar-border-top.gif
  
  	<<Binary file>>
  
  
  1.1                  xml-forrest/src/documentation/skins/xml-apache-site/images/bar-bottom-left.gif
  
  	<<Binary file>>
  
  
  1.1                  xml-forrest/src/documentation/skins/xml-apache-site/images/bar-bottom-right.gif
  
  	<<Binary file>>
  
  
  1.1                  xml-forrest/src/documentation/skins/xml-apache-site/images/bar-top-left.gif
  
  	<<Binary file>>
  
  
  1.1                  xml-forrest/src/documentation/skins/xml-apache-site/images/bar-top-right.gif
  
  	<<Binary file>>
  
  
  1.1                  xml-forrest/src/documentation/skins/xml-apache-site/images/bottom.gif
  
  	<<Binary file>>
  
  
  1.1                  xml-forrest/src/documentation/skins/xml-apache-site/images/built-with-cocoon.gif
  
  	<<Binary file>>
  
  
  1.1                  xml-forrest/src/documentation/skins/xml-apache-site/images/button-asf-hi.gif
  
  	<<Binary file>>
  
  
  1.1                  xml-forrest/src/documentation/skins/xml-apache-site/images/button-asf-lo.gif
  
  	<<Binary file>>
  
  
  1.1                  xml-forrest/src/documentation/skins/xml-apache-site/images/button-w3c-hi.gif
  
  	<<Binary file>>
  
  
  1.1                  xml-forrest/src/documentation/skins/xml-apache-site/images/button-w3c-lo.gif
  
  	<<Binary file>>
  
  
  1.1                  xml-forrest/src/documentation/skins/xml-apache-site/images/button-xml-hi.gif
  
  	<<Binary file>>
  
  
  1.1                  xml-forrest/src/documentation/skins/xml-apache-site/images/button-xml-lo.gif
  
  	<<Binary file>>
  
  
  1.1                  xml-forrest/src/documentation/skins/xml-apache-site/images/close.gif
  
  	<<Binary file>>
  
  
  1.1                  xml-forrest/src/documentation/skins/xml-apache-site/images/dot.gif
  
  	<<Binary file>>
  
  
  1.1                  xml-forrest/src/documentation/skins/xml-apache-site/images/favicon.ico
  
  	<<Binary file>>
  
  
  1.1                  xml-forrest/src/documentation/skins/xml-apache-site/images/fix.jpg
  
  	<<Binary file>>
  
  
  1.1                  xml-forrest/src/documentation/skins/xml-apache-site/images/join.gif
  
  	<<Binary file>>
  
  
  1.1                  xml-forrest/src/documentation/skins/xml-apache-site/images/label-background_a.gif
  
  	<<Binary file>>
  
  
  1.1                  xml-forrest/src/documentation/skins/xml-apache-site/images/label-background_b.gif
  
  	<<Binary file>>
  
  
  1.1                  xml-forrest/src/documentation/skins/xml-apache-site/images/line.gif
  
  	<<Binary file>>
  
  
  1.1                  xml-forrest/src/documentation/skins/xml-apache-site/images/logo.gif
  
  	<<Binary file>>
  
  
  1.1                  xml-forrest/src/documentation/skins/xml-apache-site/images/note.gif
  
  	<<Binary file>>
  
  
  1.1                  xml-forrest/src/documentation/skins/xml-apache-site/images/remove.jpg
  
  	<<Binary file>>
  
  
  1.1                  xml-forrest/src/documentation/skins/xml-apache-site/images/right.gif
  
  	<<Binary file>>
  
  
  1.1                  xml-forrest/src/documentation/skins/xml-apache-site/images/separator.gif
  
  	<<Binary file>>
  
  
  1.1                  xml-forrest/src/documentation/skins/xml-apache-site/images/update.jpg
  
  	<<Binary file>>
  
  
  1.1                  xml-forrest/src/documentation/skins/xml-apache-site/images/void.gif
  
  	<<Binary file>>
  
  
  1.1                  xml-forrest/src/documentation/skins/xml-apache-site/xslt/html/book2menu.xsl
  
  Index: book2menu.xsl
  ===================================================================
  <?xml version="1.0"?>
  
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                  xmlns:NetUtils="org.apache.cocoon.util.NetUtils"
                  version="1.0">
  
    <xsl:param name="resource"/>
  
    <xsl:template match="book">
      <menu>
        <xsl:apply-templates/>
      </menu>
    </xsl:template>
  
    <xsl:template match="project">
    </xsl:template>
  
    <xsl:template match="menu[position()=1]">
      <xsl:apply-templates/>
    </xsl:template>
  
    <xsl:template match="menu">
       <!-- Encode label to escape any reserved characters such as space -->
       <xsl:variable name="encLabel" select="NetUtils:encodePath(@label)"/>
       <tr>
        <td valign="top" bgcolor="#959595" background="images/label-background_b.gif">
         <img src="images/separator.gif"/><br/>
         <span class="menutitle"><xsl:value-of select="@label"/></span></td>
       </tr>
       <xsl:apply-templates/>
    </xsl:template>
  
  
    <xsl:template match="menu-item">
      <xsl:if test="not(@type) or @type!='hidden'">
       <xsl:variable name="encLabel" select="NetUtils:encodePath(@label)"/>
       <tr>
        <td bgcolor="#959595" valign="top">
         <xsl:attribute name="background">images/label-background_a.gif</xsl:attribute>
         <xsl:choose>
           <xsl:when test="@href=$resource">
             <span class="menuselected"><xsl:value-of select="@label"/></span>
           </xsl:when>
           <xsl:otherwise>
             <a href="{@href}" class="menu"><xsl:value-of select="@label"/></a>
           </xsl:otherwise>
         </xsl:choose>
        </td>
       </tr>
      </xsl:if>
    </xsl:template>
  
    <xsl:template match="external">
      <xsl:if test="not(@type) or @type!='hidden'">
       <xsl:variable name="encLabel" select="NetUtils:encodePath(@label)"/>
       <tr><td bgcolor="#959595" background="images/label-background_a.gif" valign="top">
          <a href="{@href}" target="new" class="menu"><xsl:value-of select="@label"/></a>
  	</td>
       </tr>
      </xsl:if>
    </xsl:template>
  
    <xsl:template match="node()|@*" priority="-1"/>
  </xsl:stylesheet>
  
  
  
  
  1.1                  xml-forrest/src/documentation/skins/xml-apache-site/xslt/html/document2html.xsl
  
  Index: document2html.xsl
  ===================================================================
  <?xml version="1.0"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
  	<!-- ====================================================================== -->
  	<!-- document section -->
  	<!-- ====================================================================== -->
  	<xsl:template match="/">
  		<!-- checks if this is the included document to avoid neverending loop -->
  		<xsl:if test="not(book)">
  			<document>
  				<xsl:choose>
  					<xsl:when test="document/header/title">
  						<title>
  							<xsl:value-of select="document/header/title"/>
  						</title>
  					</xsl:when>
  					<xsl:otherwise>
  						<title>NO TITLE</title>
  					</xsl:otherwise>
  				</xsl:choose>
  				<body text="#000000" link="#039acc" vlink="#0086b2" alink="#cc0000" topmargin="4" leftmargin="4" marginwidth="4" marginheight="4" bgcolor="#ffffff">
  					<xsl:apply-templates/>
  				</body>
  			</document>
  		</xsl:if>
  		<xsl:if test="book">
  			<xsl:apply-templates/>
  		</xsl:if>
  	</xsl:template>
  	<!-- ====================================================================== -->
  	<!-- header section -->
  	<!-- ====================================================================== -->
  	<xsl:template match="header">
  		<!-- ignore on general document -->
  	</xsl:template>
  	<!-- ====================================================================== -->
  	<!-- body section -->
  	<!-- ====================================================================== -->
  	<xsl:template match="s1">
  		<font color="#0086b2" size="+2" face="verdana, helvetica, sans serif">
     			<xsl:value-of select="@title"/>
  		</font>
  		<hr size="1" style="color: #0086b2"/>
  		<xsl:apply-templates/>
  	</xsl:template>
  	<xsl:template match="s2">
  		<font color="#0086b2" size="+1" face="verdana, helvetica, sans serif">
     			<b><xsl:value-of select="@title"/></b>
  		</font>
  		<xsl:apply-templates/>
  	</xsl:template>
  	<xsl:template match="s3">
  		<font color="#0086b2" size="+1" face="verdana, helvetica, sans serif">
     			<xsl:value-of select="@title"/>
  		</font>
  		<xsl:apply-templates/>
  	</xsl:template>
  	<xsl:template match="s4">
  		<font color="#0086b2" face="verdana, helvetica, sans serif">
     			<b><xsl:value-of select="@title"/></b>
  		</font>
  		<xsl:apply-templates/>
  	</xsl:template>
  	<!-- ====================================================================== -->
  	<!-- footer section -->
  	<!-- ====================================================================== -->
  	<xsl:template match="footer">
  		<!-- ignore on general documents -->
  	</xsl:template>
  	<!-- ====================================================================== -->
  	<!-- paragraph section -->
  	<!-- ====================================================================== -->
  	<xsl:template match="p">
  		<p><font face="verdana,helvetica,sanserif" color="black">
  			<xsl:apply-templates/>
  		</font></p>
  	</xsl:template>
  	<xsl:template match="note">
  		<p>
  			<table width="100%" cellspacing="3" cellpadding="0" border="0">
  				<tr>
  					<td width="28" valign="top">
  						<img src="images/note.gif" width="28" height="29" vspace="0" hspace="0" border="0" alt="Note"/>
  					</td>
  					<td valign="top">
  						<font size="-1" face="verdana,helvetica,sanserif" color="black">
  							<i>
  								<xsl:apply-templates/>
  							</i>
  						</font>
  					</td>
  				</tr>
  			</table>
  		</p>
  	</xsl:template>
  	<xsl:template match="source">
  		<div align="center">
  			<table cellspacing="4" cellpadding="0" border="0">
  				<tr>
  					<td bgcolor="#0086b2" width="1" height="1">
  						<img src="images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/>
  					</td>
  					<td bgcolor="#0086b2" height="1">
  						<img src="images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/>
  					</td>
  					<td bgcolor="#0086b2" width="1" height="1">
  						<img src="images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/>
  					</td>
  				</tr>
  				<tr>
  					<td bgcolor="#0086b2" width="1">
  						<img src="images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/>
  					</td>
  					<td bgcolor="#ffffff">
  						<pre>
  							<xsl:apply-templates/>
  						</pre>
  					</td>
  					<td bgcolor="#0086b2" width="1">
  						<img src="images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/>
  					</td>
  				</tr>
  				<tr>
  					<td bgcolor="#0086b2" width="1" height="1">
  						<img src="images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/>
  					</td>
  					<td bgcolor="#0086b2" height="1">
  						<img src="images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/>
  					</td>
  					<td bgcolor="#0086b2" width="1" height="1">
  						<img src="images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/>
  					</td>
  				</tr>
  			</table>
  		</div>
  	</xsl:template>
  	<xsl:template match="fixme">
  		<!-- ignore on documentation -->
  	</xsl:template>
  	<!-- ====================================================================== -->
  	<!-- list section -->
  	<!-- ====================================================================== -->
  	<xsl:template match="ul|ol|dl">
  		<blockquote>
  			<xsl:copy>
  				<xsl:apply-templates/>
  			</xsl:copy>
  		</blockquote>
  	</xsl:template>
  	<xsl:template match="li">
  		<xsl:copy><font face="verdana, helvetica, sans serif">
  			<xsl:apply-templates/>
  		</font>
  </xsl:copy>	</xsl:template>
  	<xsl:template match="sl">
  		<ul>
  			<xsl:apply-templates/>
  		</ul>
  	</xsl:template>
  	<xsl:template match="dt">
  		<li><font face="verdana, helvetica, sans serif">
  			<strong>
  				<xsl:value-of select="."/>
  			</strong>
  			<xsl:text> - </xsl:text>
  			<xsl:apply-templates select="dd"/></font>
  		</li>
  	</xsl:template>
  	<!-- ====================================================================== -->
  	<!-- table section -->
  	<!-- ====================================================================== -->
  	<xsl:template match="table">
  		<table width="100%" border="0" cellspacing="2" cellpadding="2">
  			<caption><font face="verdana,helvetica,sanserif">
  				<xsl:value-of select="caption"/>
  			</font></caption>
  			<xsl:apply-templates/>
  		</table>
  	</xsl:template>
  	<xsl:template match="tr">
  		<tr>
  			<xsl:apply-templates/>
  		</tr>
  	</xsl:template>
  	<xsl:template match="th">
  		<td bgcolor="#039acc" colspan="{@colspan}" rowspan="{@rowspan}" valign="center" align="center">
  			<font color="white" size="-1" face="verdana,helvetica,sanserif">
  				<b>
  					<xsl:apply-templates/>
  				</b>
  			</font>
  		</td>
  	</xsl:template>
  	<xsl:template match="td">
  		<td bgcolor="#a0ddf0" colspan="{@colspan}" rowspan="{@rowspan}" valign="top" align="left">
  			<font color="black" size="-1" face="verdana,helvetica,sanserif">
  				<xsl:apply-templates/>
  			</font>
  		</td>
  	</xsl:template>
  	<xsl:template match="tn">
  		<td bgcolor="#ffffff" colspan="{@colspan}" rowspan="{@rowspan}">&#160;</td>
  	</xsl:template>
  	<xsl:template match="caption">
  		<!-- ignore since already used -->
  	</xsl:template>
  	<!-- ====================================================================== -->
  	<!-- markup section -->
  	<!-- ====================================================================== -->
  	<xsl:template match="strong">
  		<b>
  			<xsl:apply-templates/>
  		</b>
  	</xsl:template>
  	<xsl:template match="em">
  		<i>
  			<xsl:apply-templates/>
  		</i>
  	</xsl:template>
  	<xsl:template match="code">
  		<code>
  			<font face="courier, monospaced">
  				<xsl:apply-templates/>
  			</font>
  		</code>
  	</xsl:template>
  	<!-- ====================================================================== -->
  	<!-- images section -->
  	<!-- ====================================================================== -->
  	<xsl:template match="figure">
  		<p align="center">
  			<xsl:choose>
  				<xsl:when test="string(@width) and string(@height)">
  					<img src="{@src}" alt="{@alt}" width="{@width}" height="{@height}" border="0" vspace="4" hspace="4"/>
  				</xsl:when>
  				<xsl:otherwise>
  					<img src="{@src}" alt="{@alt}" border="0" vspace="4" hspace="4"/>
  				</xsl:otherwise>
  			</xsl:choose>
  		</p>
  	</xsl:template>
  	<xsl:template match="img">
  		<img src="{@src}" alt="{@alt}" border="0" vspace="4" hspace="4" align="right"/>
  	</xsl:template>
  	<xsl:template match="icon">
  		<img src="{@src}" alt="{@alt}" border="0" align="absmiddle"/>
  	</xsl:template>
  	<!-- ====================================================================== -->
  	<!-- links section -->
  	<!-- ====================================================================== -->
  	<xsl:template match="link">
  		<a href="{@href}">
  			<xsl:apply-templates/>
  		</a>
  	</xsl:template>
  	<xsl:template match="connect">
  		<xsl:apply-templates/>
  	</xsl:template>
  	<xsl:template match="jump">
  		<a href="{@href}#{@anchor}">
  			<xsl:apply-templates/>
  		</a>
  	</xsl:template>
  	<xsl:template match="fork">
  		<a href="{@href}" target="_blank">
  			<xsl:apply-templates/>
  		</a>
  	</xsl:template>
  	<xsl:template match="anchor">
  		<a name="{@id}">
  			<xsl:comment>anchor</xsl:comment>
  		</a>
  	</xsl:template>
  	<!-- ====================================================================== -->
  	<!-- specials section -->
  	<!-- ====================================================================== -->
  	<xsl:template match="br">
  		<br/>
  	</xsl:template>
  </xsl:stylesheet>
  
  
  
  1.1                  xml-forrest/src/documentation/skins/xml-apache-site/xslt/html/site2xhtml.xsl
  
  Index: site2xhtml.xsl
  ===================================================================
  <?xml version="1.0"?>
  
  <xsl:stylesheet
      xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
      xmlns:NetUtils="org.apache.cocoon.util.NetUtils"
      version="1.0">
  
  	<xsl:param name="header"/>
  
  <xsl:template match="/">
  <html>
        <head>
          <title><xsl:value-of select="/site/document/title"/></title>
  <STYLE type="text/css">
  a.menu {
  	color: #FFFFFF;
      text-align:left;               
      font-size:12px;
      font-family: Verdana, Arial, Helvetica, sans-serif;
      font-weight:plain;
      text-decoration:none;
      padding-left: 14px
  }
  .menutitle {
  	color: #000000;
      text-align:left;               
      font-size:10px;
      font-family: Verdana, Arial, Helvetica, sans-serif;
      font-weight:bold;
      padding-left: 8px
  }
  .menuselected {
  	color: white;
      text-align:left;               
      font-size:12px;
      font-family: Verdana, Arial, Helvetica, sans-serif;
      font-weight:bold;
      padding-left: 14px
  }
  </STYLE>     
        </head>
  
        <body text="#000000" link="#039acc" vlink="#0086b2" alink="#cc0000"
              topmargin="4" leftmargin="4" marginwidth="4" marginheight="4"
              bgcolor="#ffffff">
          <!-- THE TOP BAR (HEADER) -->
          <table width="100%" cellspacing="0" cellpadding="0" border="0">
            <tr>
              <td width="135" height="60" rowspan="3" valign="top" align="left">
                <img width="135" height="60" src="images/logo.gif" hspace="0" vspace="0" border="0"/>
              </td>
              <td width="100%" height="5" valign="top" align="left" colspan="2" background="images/line.gif">
                <img width="1" height="5" src="images/line.gif" hspace="0" vspace="0" border="0" align="left"/>
              </td>
              <td width="29" height="60"  rowspan="3" valign="top" align="left">
                <img width="29" height="60" src="images/right.gif" hspace="0" vspace="0" border="0"/>
              </td>
            </tr>
            <tr>
              <td width="100%" height="35" valign="top" align="right" colspan="2" bgcolor="#0086b2">
                <font size="5" face="Verdana, Arial, Helvetica, sans-serif" color="#ffffff"><xsl:value-of select="/site/document/title"/></font>
              </td>
            </tr>
            <tr>
              <td align="right" bgcolor="#0086b2" height="20" valign="top" width="100%" colspan="2" background="images/bottom.gif">
                 <table border="0" cellpadding="0" cellspacing="0" width="288">
                  <tr>
                    <td width="96" height="20" valign="top" align="left">
                      <a href="http://xml.apache.org/" target="new">
                        <img alt="http://xml.apache.org/" width="96" height="20"
                             src="images/button-xml-lo.gif"
                             name="xml" hspace="0" vspace="0" border="0"/>
                      </a>
                    </td>
                    <td width="96" height="20" valign="top" align="left">
                      <a href="http://www.apache.org/" target="new">
                        <img alt="http://www.apache.org/" width="96" height="20"
                             src="images/button-asf-lo.gif"
                             name="asf" hspace="0" vspace="0" border="0"/>
                      </a>
                    </td>
                    <td width="96" height="20" valign="top" align="left">
                      <a href="http://www.w3.org/" target="new">
                        <img alt="http://www.w3.org/" width="96" height="20"
                             src="images/button-w3c-lo.gif"
                             name="w3c" hspace="0" vspace="0" border="0"/>
                      </a>
                    </td>
                  </tr>
                </table>              
              </td>
            </tr>
          </table>
  
  <table border="0" cellpadding="0" cellspacing="0" width="100%">
  	<tr width="100%">
  	
  
              
  	        <!-- THE SIDE BAR -->
  	  		<td width="120" valign="top" align="left"> 
  			<table bgcolor="#a0a0a0" border="0" cellpadding="0" cellspacing="0" width="120">
  			      <tr>
  					<td align="left" valign="top">
  						<img border="0" height="14" hspace="0" src="images/join.gif" vspace="0" width="120"/>
  						<br/>
  					</td>
  				</tr>
  				<xsl:copy-of select="/site/menu/node()|@*"/>
  				<tr>
  					<td valign="top" align="left">
  						<img border="0" height="14" hspace="0" src="images/close.gif" vspace="0" width="120"/>
  						<br/>
  					</td>
  				</tr>
  			</table>
  		</td>
  
  		
  	    <!-- THE CONTENTS -->
  		<td>
  			<table border="0" cellpadding="0" cellspacing="15">
  				<tr><td><xsl:copy-of select="/site/document/body/node()|@*"/></td></tr>
  			</table>
  		</td>
  		
  		
  	</tr>
  </table>
   
   
              
  <table border="0" cellpadding="0" cellspacing="0" width="100%">
    <tr>
      <td bgcolor="#0086b2">
        <img height="1" src="images/dot.gif" width="1"/>
      </td>
    </tr>
    <tr>
      <td align="center">
        <font color="#0086b2" face="arial,helvetica,sanserif" size="-1">
          <i>Copyright &#169; 1999-2002 The Apache Software Foundation. All Rights Reserved.</i>
        </font>
      </td>
    </tr>
  </table>
  </body>
  
  
  </html>
  </xsl:template>
  </xsl:stylesheet>
  
  
  
  1.3       +14 -32    xml-forrest/src/targets/project.xtarget
  
  Index: project.xtarget
  ===================================================================
  RCS file: /home/cvs/xml-forrest/src/targets/project.xtarget,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- project.xtarget	3 Mar 2002 08:26:32 -0000	1.2
  +++ project.xtarget	23 Mar 2002 16:10:44 -0000	1.3
  @@ -5,25 +5,26 @@
     <!-- =================================================================== -->
     <!-- Prepares the docs                                                   -->
     <!-- =================================================================== -->
  -  <target name="prepare-docs" depends="init">
  +  <target name="prepare-docs" depends="init, cleandocs">
   
       <mkdir dir="${build.context}"/>
  -    <mkdir dir="${build.context}/images"/>
       <mkdir dir="${build.docs}"/>
       <mkdir dir="${build.dir}/work"/>
   
       <!-- make filtered copy of XML docs -->
       <copy todir="${build.context}" filtering="on">
  -      <fileset dir="${context.dir}">
  -        <exclude name="images/**"/>
  +      <fileset dir="${context.dir}" casesensitive="no">
  +        <include name="**/*.xml"/>
         </fileset>
       </copy>
   
  -    <!-- Copy images -->
  -    <copy todir="${build.context}/images" filtering="off">
  -      <fileset dir="${context.dir}/images"/>
  +    <!-- make filtered copy of images -->
  +    <copy todir="${build.context}" filtering="off">
  +      <fileset dir="${context.dir}" casesensitive="no">
  +        <exclude name="**/*.xml"/>
  +      </fileset>
       </copy>
  -
  +    
       <!-- Copy entity catalog and entities -->
       <copy todir="${build.context}/resources/schema" filtering="on">
         <fileset dir="${resource.dir}/schema"/>
  @@ -36,29 +37,11 @@
       </move>
   
     </target>
  -
  -
  -  <!-- =================================================================== -->
  -  <!-- Set a variable if the generated docs are already up-to-date.        -->
  -  <!-- =================================================================== -->
  -  <target name="docs_check" depends="init">
  -    <uptodate property="docs.notrequired" targetfile="${build.docs}/index.html" >
  -      <srcfiles dir="." includes="project-info.xml"/>
  -      <srcfiles dir="${context.dir}/xdocs" includes="**/*.xml"/>
  -    </uptodate>
  -  </target>
  -
  -  <!-- =================================================================== -->
  -  <!-- If generated  docs is already up-to-date, print a message saying so. -->
  -  <!-- =================================================================== -->
  -  <target name="docs_done" if="docs.notrequired">
  -    <echo message="-------------------------------------------------------------"/>
  -    <echo message="Not rebuilding docs, as they are up-to-date:"/>
  -    <echo message="  ${build.docs}/index.html is more recent than"/>
  -    <echo message="  project-info.xml and ${context.dir}/xdocs/*.xml"/>
  -    <echo message="-------------------------------------------------------------"/>
  +  
  +  <target name="cleandocs" depends="init" description="* Cleans the build docs directories">
  +    <delete dir="${build.docs}"/>
     </target>
  -
  +  
     <!-- =================================================================== -->
     <!-- If generated  docs is already up-to-date, print a message saying so. -->
     <!-- =================================================================== -->
  @@ -71,8 +54,7 @@
     <!-- The documentation system                                            -->
     <!-- =================================================================== -->
     <target name="docs"
  -          depends="package, prepare-docs, docs_check, making-docs, docs_done"
  -          unless="docs.notrequired"
  +          depends="prepare-docs, making-docs"
             description="* Generates the documentation">
   
       <java classname="org.apache.cocoon.Main" fork="true" dir="${build.context}" failonerror="true">
  
  
  
  1.2       +0 -3      xml-forrest/tools/centipede/targets/compile.xtarget
  
  Index: compile.xtarget
  ===================================================================
  RCS file: /home/cvs/xml-forrest/tools/centipede/targets/compile.xtarget,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- compile.xtarget	26 Feb 2002 23:50:29 -0000	1.1
  +++ compile.xtarget	23 Mar 2002 16:10:44 -0000	1.2
  @@ -125,6 +125,3 @@
       <delete dir="${build.dir}"/>
     </target>
   
  -  <target name="cleandocs" depends="init" description="* Cleans the build docs directories">
  -    <delete dir="${build.docs}"/>
  -  </target>
  
  
  
  1.2       +17 -10    xml-forrest/tools/centipede/targets/init.xtarget
  
  Index: init.xtarget
  ===================================================================
  RCS file: /home/cvs/xml-forrest/tools/centipede/targets/init.xtarget,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- init.xtarget	26 Feb 2002 23:50:29 -0000	1.1
  +++ init.xtarget	23 Mar 2002 16:10:44 -0000	1.2
  @@ -2,7 +2,11 @@
     <!-- Initialization target                                               -->
     <!-- =================================================================== -->
     <target name="init">
  -    <tstamp/>
  +    <tstamp>
  +      <format property="TODAY" pattern="dd-MMMM-yyyy" locale="en"/>
  +      <format property="YEAR"  pattern="yyyy"/>
  +    </tstamp>
  +
       <echo message="--------------------------------------------------------------"/>    
       <echo message="Setting up customized ant tasks..."/>  
              
  @@ -45,20 +49,23 @@
       <!--
       Load project information from project-info.xml
       -->
  -    <property name="project-info" value="./project-info.xml"/>    
  +    <property name="project-info" value="./forrest.xgump"/>    
       <xml-property file="${project-info}"/>
       
       <!--
       Project information
       -->
  -    <property name="fullname"      value="${xml.project.name}"/>
  -    <property name="name"          value="${xml.project.info.module}"/>
  -    <property name="Name"          value="${xml.project.name}"/>
  -    <property name="packages"      value="${xml.project.info.packages}"/>
  -    <property name="short.version" value="${xml.project.info.version}"/>
  -    <property name="version.tag"   value="${xml.project.info.tag}"/>
  -    <property name="version"       value="${short.version}-${version.tag}"/>
  -    <property name="year"          value="${xml.project.info.year}"/>
  +    <property name="fullname"      value="${xml.module.project.name}"/>
  +    <property name="name"          value="${xml.module.name}"/>
  +    <property name="Name"          value="${xml.module.name}"/>
  +    <property name="packages"      value="${xml.module.project.package}.*"/>
  +    <property name="ver.V"         value="${xml.module.project.version.major}."/>
  +    <property name="ver.v"         value="${xml.module.project.version.minor}."/>
  +    <property name="ver.fix"       value="${xml.module.project.version.fix}."/>
  +    <property name="ver.tag"       value="${xml.module.project.version.tag}"/>    
  +    <property name="short.version" value="${ver.V}.${ver.v}.${ver.fix}"/>
  +    <property name="version"       value="${short.version}-${ver.tag}"/>
  +    <property name="year"          value="${YEAR}"/>
       
       <echo message="--------------------------------------------------------------"/>    
       <echo message="                      ${fullname} [${year}]                   "/>     
  
  
  

Mime
View raw message