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 2005/10/01 22:16:31 UTC

svn commit: r293024 - in /forrest/trunk/main/webapp: locationmap.xml sitemap.xmap

Author: rgardler
Date: Sat Oct  1 13:16:23 2005
New Revision: 293024

URL: http://svn.apache.org/viewcvs?rev=293024&view=rev
Log:
resolve project files via locationmap

Modified:
    forrest/trunk/main/webapp/locationmap.xml
    forrest/trunk/main/webapp/sitemap.xmap

Modified: forrest/trunk/main/webapp/locationmap.xml
URL: http://svn.apache.org/viewcvs/forrest/trunk/main/webapp/locationmap.xml?rev=293024&r1=293023&r2=293024&view=diff
==============================================================================
--- forrest/trunk/main/webapp/locationmap.xml (original)
+++ forrest/trunk/main/webapp/locationmap.xml Sat Oct  1 13:16:23 2005
@@ -101,13 +101,15 @@
         <location src="{project:temp-dir}/resources.xmap" />
     </match>
     
-    
-    
     <!-- ================================== -->
     <!-- project files                      -->
     <!-- ================================== -->
     <match pattern="skinconf.project">
       <location src="{project:skinconf}" />
+    </match>
+    
+    <match pattern="project.*.*">
+      <location src="{project:content.xdocs}{1}.{2}" />
     </match>
     
   </locator>

Modified: forrest/trunk/main/webapp/sitemap.xmap
URL: http://svn.apache.org/viewcvs/forrest/trunk/main/webapp/sitemap.xmap?rev=293024&r1=293023&r2=293024&view=diff
==============================================================================
--- forrest/trunk/main/webapp/sitemap.xmap (original)
+++ forrest/trunk/main/webapp/sitemap.xmap Sat Oct  1 13:16:23 2005
@@ -596,8 +596,8 @@
       <!-- generate .fo from .xml  -->
       <map:match type="regexp" pattern="^(.*?)([^/]*).fo$">
         <map:select type="exists">
-          <map:when test="{project:content.xdocs}{1}{2}.fo">
-            <map:generate src="{project:content.xdocs}{1}{2}.fo"/>
+          <map:when test="{lm:project.{1}{2}.fo}">
+            <map:generate src="{lm:project.{1}{2}.fo}"/>
           </map:when>
           <map:otherwise>
             <map:aggregate element="site">