forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thors...@apache.org
Subject svn commit: r106441 - /forrest/trunk/plugins/org.apache.forrest.plugin.fbits/output.xmap /forrest/trunk/plugins/org.apache.forrest.plugin.fbits/resources/stylesheets/dir2contracts.xsl
Date Wed, 24 Nov 2004 18:20:56 GMT
Author: thorsten
Date: Wed Nov 24 10:20:54 2004
New Revision: 106441

URL: http://svn.apache.org/viewcvs?view=rev&rev=106441
Log:
try to fix the realpath issue but did not get it working
Modified:
   forrest/trunk/plugins/org.apache.forrest.plugin.fbits/output.xmap
   forrest/trunk/plugins/org.apache.forrest.plugin.fbits/resources/stylesheets/dir2contracts.xsl

Modified: forrest/trunk/plugins/org.apache.forrest.plugin.fbits/output.xmap
Url: http://svn.apache.org/viewcvs/forrest/trunk/plugins/org.apache.forrest.plugin.fbits/output.xmap?view=diff&rev=106441&p1=forrest/trunk/plugins/org.apache.forrest.plugin.fbits/output.xmap&r1=106440&p2=forrest/trunk/plugins/org.apache.forrest.plugin.fbits/output.xmap&r2=106441
==============================================================================
--- forrest/trunk/plugins/org.apache.forrest.plugin.fbits/output.xmap	(original)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.fbits/output.xmap	Wed Nov 24 10:20:54
2004
@@ -78,8 +78,7 @@
     <map:match pattern="contracts.get">
 		  <map:generate src="cocoon:/contracts-dir-fbits.get"/>
       <map:transform src="resources/stylesheets/dir2contracts.xsl">
-        <map:parameter name="resources-uri" value="{request:contextPath}/fbits/"/>
-        <map:parameter name="contentDir" value="{realpath:fbits}"/>
+        <map:parameter name="contentDir" value="{realpath:/}"/>
       </map:transform>
       <map:serialize type="xml"/>
     </map:match>

Modified: forrest/trunk/plugins/org.apache.forrest.plugin.fbits/resources/stylesheets/dir2contracts.xsl
Url: http://svn.apache.org/viewcvs/forrest/trunk/plugins/org.apache.forrest.plugin.fbits/resources/stylesheets/dir2contracts.xsl?view=diff&rev=106441&p1=forrest/trunk/plugins/org.apache.forrest.plugin.fbits/resources/stylesheets/dir2contracts.xsl&r1=106440&p2=forrest/trunk/plugins/org.apache.forrest.plugin.fbits/resources/stylesheets/dir2contracts.xsl&r2=106441
==============================================================================
--- 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
Wed Nov 24 10:20:54 2004
@@ -54,6 +54,7 @@
     <xsl:variable name="fct-bit-description">
       <xsl:value-of select="document($fct-bit-file)/contract/description"/>
     </xsl:variable>
+    test=<xsl:value-of select="$fct-bit-file"/>
     <xsl:if test="$fct-bit-tlc='content'">
       <content>
         <contract name="{$fct-bit-title}" css="{$fct-bit-nc}" file-name="{@name}">

Mime
View raw message