sylvain 02/03/29 09:55:19 Modified: src/java/org/apache/cocoon cocoon.roles src/webapp/WEB-INF cocoon.xconf Log: TreeProcessor is now the default sitemap engine Revision Changes Path 1.17 +1 -1 xml-cocoon2/src/java/org/apache/cocoon/cocoon.roles Index: cocoon.roles =================================================================== RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/cocoon.roles,v retrieving revision 1.16 retrieving revision 1.17 diff -u -r1.16 -r1.17 --- cocoon.roles 15 Mar 2002 15:28:16 -0000 1.16 +++ cocoon.roles 29 Mar 2002 17:55:19 -0000 1.17 @@ -42,7 +42,7 @@ <role name="org.apache.cocoon.Processor" shorthand="sitemap" - default-class="org.apache.cocoon.sitemap.SitemapManager"/> + default-class="org.apache.cocoon.components.treeprocessor.TreeProcessor"/> <role name="org.apache.cocoon.components.store.Store/Repository" shorthand="repository" 1.3 +11 -5 xml-cocoon2/src/webapp/WEB-INF/cocoon.xconf Index: cocoon.xconf =================================================================== RCS file: /home/cvs/xml-cocoon2/src/webapp/WEB-INF/cocoon.xconf,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- cocoon.xconf 19 Mar 2002 21:06:19 -0000 1.2 +++ cocoon.xconf 29 Mar 2002 17:55:19 -0000 1.3 @@ -443,7 +443,14 @@ <!-- ======================== The sitemap ============================== --> - <!-- Reloading of the sitemap: + <!-- + Compiled sitemap engine. This is the original engine, that is now replaced + by the interpreted engine (see above). + + If you want to use this engine, uncomment this element and comment the + defaut one below. + + Reloading of the sitemap: The check-reload attribute determines if the sitemap is reloaded on change. Set to "no", the sitemap is generated once at startup. Set to "yes", the sitemap is regenerated if it changes. @@ -463,15 +470,14 @@ For production environment, it is advisable to set the reload-method to asynchron and for more safety the check-reload to no. --> - <sitemap file="sitemap.xmap" reload-method="asynchron" check-reload="yes" logger="sitemap"/> + <!--sitemap class="org.apache.cocoon.sitemap.SitemapManager" + file="sitemap.xmap" reload-method="asynchron" check-reload="yes" logger="sitemap"/--> <!-- New implementation of the sitemap. It is interpreted, so load times are super-fast, and request processing is slightly faster than with the compiled engine thanks to the HotSpot VM. - - To use this engine, comment the declaration above and uncomment the declaration below. --> - <!--sitemap class="org.apache.cocoon.components.treeprocessor.TreeProcessor" logger="sitemap"/--> + <sitemap logger="sitemap"/> </cocoon>
---------------------------------------------------------------------- In case of troubles, e-mail: [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]