forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thors...@apache.org
Subject svn commit: r430600 - in /forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher: forrest.properties resources/stylesheets/helper/variable.helper.xsl themes.xmap
Date Fri, 11 Aug 2006 00:14:55 GMT
Author: thorsten
Date: Thu Aug 10 17:14:55 2006
New Revision: 430600

URL: http://svn.apache.org/viewvc?rev=430600&view=rev
Log:
Expose all properties aviable on a project base to the contracts. This opens a new dimension
for writing contracts. The blocker of this step have been FOR-800 which is now closed

Modified:
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/forrest.properties
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/resources/stylesheets/helper/variable.helper.xsl
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/themes.xmap

Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/forrest.properties
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/forrest.properties?rev=430600&r1=430599&r2=430600&view=diff
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/forrest.properties
(original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/forrest.properties
Thu Aug 10 17:14:55 2006
@@ -22,4 +22,4 @@
 
 # FIXME: FOR-785
 forrest.validate.skinconf=false
-project.required.plugins=org.apache.forrest.plugin.internal.dispatcher,org.apache.forrest.themes.core,org.apache.forrest.plugin.input.projectInfo,org.apache.forrest.plugin.output.pdf,org.apache.forrest.plugin.input.glossary
+project.required.plugins=org.apache.forrest.plugin.internal.dispatcher,org.apache.forrest.themes.core,org.apache.forrest.plugin.output.inputModule,org.apache.forrest.plugin.input.projectInfo,org.apache.forrest.plugin.output.pdf,org.apache.forrest.plugin.input.glossary

Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/resources/stylesheets/helper/variable.helper.xsl
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/resources/stylesheets/helper/variable.helper.xsl?rev=430600&r1=430599&r2=430600&view=diff
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/resources/stylesheets/helper/variable.helper.xsl
(original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/resources/stylesheets/helper/variable.helper.xsl
Thu Aug 10 17:14:55 2006
@@ -17,7 +17,7 @@
 -->
 
 <xsl:stylesheet version="1.0" 
-  xmlns:forrest="http://apache.org/forrest/templates/1.0" 
+  xmlns:forrest="http://apache.org/forrest/properties/1.0" 
   xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
   <xsl:import href="lm://transform.xml.dotdots"/>
   <xsl:import href="lm://transform.xml.pathutils"/>
@@ -52,6 +52,10 @@
         <property name="root" value="{$root}"/>
         <property name="path" value="{$path}"/>
         <property name="theme" value="{$theme}"/>
+        <xsl:apply-templates select="forrest:properties/forrest:property"/>
       </properties>
     </xsl:template>
+  <xsl:template match="forrest:property">
+    <property name="{@name}" value="{@value}"/>
+  </xsl:template>
 </xsl:stylesheet>

Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/themes.xmap
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/themes.xmap?rev=430600&r1=430599&r2=430600&view=diff
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/themes.xmap
(original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/themes.xmap
Thu Aug 10 17:14:55 2006
@@ -45,7 +45,7 @@
   <map:pipelines>
     <map:pipeline>
       <map:match pattern="**.props">
-        <map:generate src="foo.xml" />
+        <map:generate src="cocoon://module.project.properties" />
         <map:transform src="lm://transform.xml.variable.helper">
           <map:parameter name="path" value="{1}.html" />
           <map:parameter name="theme" value="{project:dispatcher.theme}" />



Mime
View raw message