cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From reinh...@apache.org
Subject svn commit: r219748 - /cocoon/trunk/src/webapp/samples/flow/sitemap.xmap
Date Tue, 19 Jul 2005 18:27:06 GMT
Author: reinhard
Date: Tue Jul 19 11:27:03 2005
New Revision: 219748

URL: http://svn.apache.org/viewcvs?rev=219748&view=rev
Log:
explicitly add the jxtemplate-generator in order to run with osgi

Modified:
    cocoon/trunk/src/webapp/samples/flow/sitemap.xmap

Modified: cocoon/trunk/src/webapp/samples/flow/sitemap.xmap
URL: http://svn.apache.org/viewcvs/cocoon/trunk/src/webapp/samples/flow/sitemap.xmap?rev=219748&r1=219747&r2=219748&view=diff
==============================================================================
--- cocoon/trunk/src/webapp/samples/flow/sitemap.xmap (original)
+++ cocoon/trunk/src/webapp/samples/flow/sitemap.xmap Tue Jul 19 11:27:03 2005
@@ -15,10 +15,21 @@
   limitations under the License.
 -->
 
-<!-- CVS $Id: sitemap.xmap,v 1.10 2004/03/06 02:25:34 antonio Exp $ -->
+<!-- CVS $Id$ -->
 
 <map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">
 
+	<map:components>
+	  <map:generators default="file">
+	    <map:generator name="jx"
+	                   logger="sitemap.generator.jx"
+	                   src="org.apache.cocoon.template.JXTemplateGenerator"
+	                   label="content"
+	                   pool-max="16">
+    	</map:generator>	  
+	  </map:generators>
+	</map:components>
+
   <map:views>
     <map:view name="content" from-label="content">
       <map:serialize type="xml"/>
@@ -36,6 +47,11 @@
 
   <map:pipelines>
     <map:pipeline>
+      
+      <map:match pattern="j">
+        <map:generate src="samples.xml" type="jx"/>
+        <map:serialize type="xml"/>
+      </map:match>
 
       <map:match pattern="">
         <map:generate src="samples.xml"/>



Mime
View raw message