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/src/core/context resources.xmap
Date Mon, 19 Jan 2004 18:08:19 GMT
nicolaken    2004/01/19 10:08:19

  Modified:    src/core/context resources.xmap
  Log:
  Added SkinconfTransformer to the pipeline.
  Make the augmented skinconf vierwable in the browser for debugging
  at /skin/skinconf.xml.
  Make the n-th change to the skinconf pipeline - yesterday was *definately*
  not my day.
  
  Revision  Changes    Path
  1.12      +10 -7     xml-forrest/src/core/context/resources.xmap
  
  Index: resources.xmap
  ===================================================================
  RCS file: /home/cvs/xml-forrest/src/core/context/resources.xmap,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- resources.xmap	18 Jan 2004 23:17:51 -0000	1.11
  +++ resources.xmap	19 Jan 2004 18:08:19 -0000	1.12
  @@ -23,7 +23,9 @@
            <map:serializer mime-type="image/png" name="svg2png" src="org.apache.cocoon.serialization.SVGSerializer"
/>
            <map:serializer name="text"   mime-type="text/plain"  src="org.apache.cocoon.serialization.TextSerializer"/>
         </map:serializers>
  -      <map:transformers default="xslt" />
  +      <map:transformers default="xslt">
  +        <map:transformer name="skinconf" src="org.apache.forrest.skinconf.SkinconfTransformer"/>
  +      </map:transformers>
         <map:readers default="resource" />
         <map:matchers default="wildcard" />
         <map:selectors default="browser" />
  @@ -136,7 +138,7 @@
         </map:resource>
   
         <map:resource name="pipe-svg2png-corner-resource">
  -        <map:generate src="cocoon:/skinconf" />
  +        <map:generate src="cocoon:/skin/skinconf.xml" />
           <map:transform src="{path}">
               <map:parameter name="orientation-tb" 
                            value="{orientation-tb}"/>
  @@ -156,7 +158,7 @@
         </map:resource>
         
         <map:resource name="generate-resource">
  -        <map:generate src="cocoon:/skinconf" />
  +        <map:generate src="cocoon:/skin/skinconf.xml" />
           <map:transform src="{path}"/>
         </map:resource>
         
  @@ -170,8 +172,8 @@
      
      <map:pipelines>
          
  -      <map:pipeline internal-only="true">
  -         <map:match pattern="skinconf">
  +      <map:pipeline internal-only="false">
  +         <map:match pattern="**skin/skinconf.xml">
              <map:generate src="{project:skinconf}" />
              <map:select type="exists">
                <map:when test="{project:skins-dir}{forrest:skin}/skinconf.xsl">
  @@ -180,10 +182,11 @@
              </map:select>
              <map:select type="exists">
                <map:when test="{forrest:home}context/skins/{forrest:skin}/skinconf.xsl">
  -               <map:transform src="{forrest:home}context/skins/common/skinconf.xsl"/>
  +               <map:transform src="{forrest:home}context/skins/{forrest:skin}/skinconf.xsl"/>
                </map:when>
              </map:select>
              <map:transform src="{forrest:home}context/skins/common/skinconf.xsl"/>
  +           <map:transform type="skinconf"/>
              <map:serialize type="xml" />
            </map:match>
          </map:pipeline>
  
  
  

Mime
View raw message