forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thors...@apache.org
Subject svn commit: r99971 - in forrest/trunk/plugins/org.apache.forrest.plugin.fbits: . resources/stylesheets src/documentation/content/xdocs
Date Fri, 19 Nov 2004 02:01:59 GMT
Author: thorsten
Date: Thu Nov 18 18:01:56 2004
New Revision: 99971

Modified:
   forrest/trunk/plugins/org.apache.forrest.plugin.fbits/output.xmap
   forrest/trunk/plugins/org.apache.forrest.plugin.fbits/resources/stylesheets/dir2contracts.xsl
   forrest/trunk/plugins/org.apache.forrest.plugin.fbits/src/documentation/content/xdocs/site.xml
Log:
internal cleanup + trying to figure out realpath

Modified: forrest/trunk/plugins/org.apache.forrest.plugin.fbits/output.xmap
==============================================================================
--- forrest/trunk/plugins/org.apache.forrest.plugin.fbits/output.xmap	(original)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.fbits/output.xmap	Thu Nov 18 18:01:56
2004
@@ -25,7 +25,7 @@
 
   <map:pipeline>
    <map:match pattern="static.get">
-     <map:generate src="src/documentation/content/xdocs/fbits/c-fontsize-fct.xml"/>
+     <map:generate src="fbits/c-fontsize-fct.xml"/>
      <map:transform src="resources/stylesheets/contract.xsl"/>
      <map:serialize type="xml"/>
    </map:match>
@@ -53,13 +53,21 @@
 -->
   <map:pipeline>
     <map:match pattern="contracts-dir.get">
-		  <map:generate type="directory" src="{forrest:plugins}/leather/resources/fbits">
+		  <map:generate type="directory" src="fbits">
         <map:parameter name="depth" value="1"/>
         <!-- sorted alphabetically -->
       	<map:parameter name="reverse" value="false"/>
       </map:generate>
+      <map:serialize type="xml"/>
+    </map:match>
+  </map:pipeline>
+  <!-- transform this dir-list -->
+  <map:pipeline>
+    <map:match pattern="contracts.get">
+		  <map:generate src="cocoon:/contracts-dir.get"/>
       <map:transform src="resources/stylesheets/dir2contracts.xsl">
-        <map:parameter name="contentDir" value="{realpath:leather/fbits}"/>
+        <map:parameter name="resources-uri" value="{request:contextPath}/fbits/"/>
+        <map:parameter name="contentDir" value="{realpath:fbits}"/>
       </map:transform>
       <map:serialize type="xml"/>
     </map:match>
@@ -68,7 +76,7 @@
   <map:pipeline>
     <map:match pattern="ft.get">
 		   <map:generate src="src/documentation/ft-leather.xml"/>
-       <map:transform src="leather/resources/stylesheets/ft2xhtml.xsl">
+       <map:transform src="resources/stylesheets/ft2xhtml.xsl">
           <map:parameter name="contextPath" value="{request:contextPath}"/>
        </map:transform>
        <map:serialize type="xml"/>

Modified: forrest/trunk/plugins/org.apache.forrest.plugin.fbits/resources/stylesheets/dir2contracts.xsl
==============================================================================
--- forrest/trunk/plugins/org.apache.forrest.plugin.fbits/resources/stylesheets/dir2contracts.xsl
(original)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.fbits/resources/stylesheets/dir2contracts.xsl
Thu Nov 18 18:01:56 2004
@@ -31,6 +31,7 @@
   -->
   <xsl:template match="/">
       <contracts xmlns:xhtml="http://www.w3.org/1999/xhtml">
+      <xsl:value-of select="$contentDir"/>
         <xsl:apply-templates select="//dir:file"/>                    
       </contracts>
   </xsl:template>

Modified: forrest/trunk/plugins/org.apache.forrest.plugin.fbits/src/documentation/content/xdocs/site.xml
==============================================================================
--- forrest/trunk/plugins/org.apache.forrest.plugin.fbits/src/documentation/content/xdocs/site.xml
(original)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.fbits/src/documentation/content/xdocs/site.xml
Thu Nov 18 18:01:56 2004
@@ -39,6 +39,7 @@
   <fbits label="fbits" >
     <static-sample label="static-sample" href="static.get"/>
     <contracts-dir label="contracts-dir" href="contracts-dir.get"/> 
+    <contracts label="contracts" href="contracts.get"/>
     <ft label="ft" href="ft.get"/>
   </fbits>
   <!--

Mime
View raw message