You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by ni...@apache.org on 2004/04/22 17:32:34 UTC

svn commit: rev 10174 - in xml/forrest/branches/copyless/src/core/context: . WEB-INF

Author: nicolaken
Date: Thu Apr 22 08:32:33 2004
New Revision: 10174

Modified:
   xml/forrest/branches/copyless/src/core/context/WEB-INF/cocoon.xconf
   xml/forrest/branches/copyless/src/core/context/status.xmap
Log:
fix status.xml handling

Modified: xml/forrest/branches/copyless/src/core/context/WEB-INF/cocoon.xconf
==============================================================================
--- xml/forrest/branches/copyless/src/core/context/WEB-INF/cocoon.xconf	(original)
+++ xml/forrest/branches/copyless/src/core/context/WEB-INF/cocoon.xconf	Thu Apr 22 08:32:33 2004
@@ -190,6 +190,7 @@
     <component-instance name="project" class="org.apache.forrest.conf.ForrestConfModule">
       <values>
         <skin>@project.skin@</skin>
+        <status>@project.home@/@project.status@</status>
         <skinconf>@project.home@/@project.skinconf@</skinconf>        
         <doc>@project.home@/@project.content-dir@/</doc>
         <content>@project.home@/@project.raw-content-dir@/</content>

Modified: xml/forrest/branches/copyless/src/core/context/status.xmap
==============================================================================
--- xml/forrest/branches/copyless/src/core/context/status.xmap	(original)
+++ xml/forrest/branches/copyless/src/core/context/status.xmap	Thu Apr 22 08:32:33 2004
@@ -48,7 +48,7 @@
     <map:pipeline>
 
       <map:match pattern="changes.xml">
-        <map:generate type="file" src="status.xml" />
+        <map:generate type="file" src="{project:status}" />
         <map:transform src="{forrest:stylesheets}/changes2document.xsl" >
 	  <map:parameter name="bugtracking-url" value="{defaults:bugtracking-url}"/>
         </map:transform >
@@ -56,13 +56,13 @@
       </map:match>
 
       <map:match pattern="changes.rss">
-        <map:generate src="status.xml" />
+        <map:generate src="{project:status}" />
         <map:transform src="{forrest:stylesheets}/changes2rss.xsl" />
         <map:serialize type="rss091" />
       </map:match>
 
       <map:match pattern="todo.xml">
-        <map:generate type="file" src="status.xml" />
+        <map:generate type="file" src="{project:status}" />
         <map:transform src="{forrest:stylesheets}/todo2document.xsl" />
         <map:serialize type="xml-document"/>
       </map:match>