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 Sun, 18 Jan 2004 23:14:55 GMT
nicolaken    2004/01/18 15:14:55

  Modified:    src/core/context resources.xmap
  Log:
  The common skinconf.xls is always there, no need to check.
  Change the transformation order, as the most specific one
  must have the last say.
  
  Revision  Changes    Path
  1.10      +4 -8      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.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- resources.xmap	18 Jan 2004 23:11:16 -0000	1.9
  +++ resources.xmap	18 Jan 2004 23:14:55 -0000	1.10
  @@ -173,19 +173,15 @@
         <map:pipeline internal-only="true">
            <map:match pattern="skinconf">
              <map:generate src="{project:skinconf}" />
  -           <map:select type="exists">
  -             <map:when test="{project:skins-dir}{forrest:skin}/skinconf.xsl">
  -               <map:transform src="{project:skins-dir}{forrest:skin}/skinconf.xsl"/>
  -             </map:when>
  -           </map:select>
  +           <map:transform src="{forrest:home}context/skins/common/skinconf.xsl"/>
              <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:when>
              </map:select>
              <map:select type="exists">
  -             <map:when test="{forrest:home}context/skins/common/skinconf.xsl">
  -               <map:transform src="{forrest:home}context/skins/common/skinconf.xsl"/>
  +             <map:when test="{project:skins-dir}{forrest:skin}/skinconf.xsl">
  +               <map:transform src="{project:skins-dir}{forrest:skin}/skinconf.xsl"/>
                </map:when>
              </map:select>
              <map:serialize type="xml" />
  
  
  

Mime
View raw message