You are viewing a plain text version of this content. The canonical link for it is here.
Posted to svn@forrest.apache.org by rg...@apache.org on 2004/10/29 21:19:32 UTC

svn commit: rev 55988 - forrest/trunk/forrestcore/src/core/context

Author: rgardler
Date: Fri Oct 29 12:19:32 2004
New Revision: 55988

Modified:
   forrest/trunk/forrestcore/src/core/context/forrest.xmap
   forrest/trunk/forrestcore/src/core/context/sitemap.xmap
Log:
Move loading of plugins to after all core formats have been processed

Modified: forrest/trunk/forrestcore/src/core/context/forrest.xmap
==============================================================================
--- forrest/trunk/forrestcore/src/core/context/forrest.xmap	(original)
+++ forrest/trunk/forrestcore/src/core/context/forrest.xmap	Fri Oct 29 12:19:32 2004
@@ -294,6 +294,16 @@
           </map:match>
         </map:when>
         <map:otherwise>
+        
+          <map:select type="exists">
+             <map:when test="{forrest:plugins}/sitemap.xmap">
+               <map:mount uri-prefix="" 
+                          src="{forrest:plugins}/sitemap.xmap" 
+                          check-reload="yes" 
+                          pass-through="true"/>
+            </map:when>  
+          </map:select>
+        
           <map:generate src="{project:content.xdocs}{uri}.xml" />
           <map:call resource="transform-to-document">
             <map:parameter name="src" value="{project:content.xdocs}{uri}.xml" />

Modified: forrest/trunk/forrestcore/src/core/context/sitemap.xmap
==============================================================================
--- forrest/trunk/forrestcore/src/core/context/sitemap.xmap	(original)
+++ forrest/trunk/forrestcore/src/core/context/sitemap.xmap	Fri Oct 29 12:19:32 2004
@@ -431,15 +431,6 @@
         <map:match pattern="lucene-*.xml">
           <map:mount uri-prefix="" src="search.xmap" check-reload="yes"/>
         </map:match>
-        
-         <map:select type="exists">
-           <map:when test="{forrest:plugins}/sitemap.xmap">
-             <map:mount uri-prefix="" 
-                        src="{forrest:plugins}/sitemap.xmap" 
-                        check-reload="yes" 
-                        pass-through="true"/>
-          </map:when>  
-        </map:select>
 
         <!-- Default source types -->
         <map:mount uri-prefix="" src="forrest.xmap" check-reload="yes" />