vgritsenko 01/07/06 22:11:05
Modified: webapp cocoon.xconf
Log:
add more comments
Revision Changes Path
1.15 +27 -2 xml-cocoon2/webapp/cocoon.xconf
Index: cocoon.xconf
===================================================================
RCS file: /home/cvs/xml-cocoon2/webapp/cocoon.xconf,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- cocoon.xconf 2001/07/05 16:45:26 1.14
+++ cocoon.xconf 2001/07/07 05:11:04 1.15
@@ -66,7 +66,14 @@
<programming-languages>
<java-language name="java">
+ <!-- compiler parameter specifies which class to use to compile Java.
+ Possible variants are Javac and Jikes compilers.
+ Javac requires javac.jar (included with Cocoon distribution).
+ Jikes requires IBM jikes compiler installed and rt.jar from
+ JRE in the classpath environment variable. -->
<parameter name="compiler"
value="org.apache.cocoon.components.language.programming.java.Javac"/>
+ <!-- Specifies which formatter to use to format source code.
+ This parameter is optional. -->
<parameter name="code-formatter"
value="org.apache.cocoon.components.language.programming.java.JstyleFormatter"/>
<parameter name="class-loader"
value="org.apache.cocoon.components.classloader.ClassLoaderManagerImpl"/>
</java-language>
@@ -213,7 +220,12 @@
</stream-cache>
<!-- An EventPipeline connects the generator and the various transformers
- and produces a character stream.
+ and produces a character stream. Alternatives to CachingEventPipeline
+ are: NonCachingEventPipeline, ProfilingCachingEventPipeline,
+ ProfilingNonCachingEventPipeline.
+ <event-pipeline
class="org.apache.cocoon.components.pipeline.NonCachingEventPipeline"/>
+ <event-pipeline
class="org.apache.cocoon.components.profiler.ProfilingCachingEventPipeline"/>
+ <event-pipeline
class="org.apache.cocoon.components.profiler.ProfilingNonCachingEventPipeline"/>
-->
<event-pipeline
class="org.apache.cocoon.components.pipeline.CachingEventPipeline"/>
@@ -244,8 +256,21 @@
</event-cache>
<!-- The SAXConnector connects the various pipeline components.
- Uncomment the following line for using the SAXConnector.
+ LoggingSAXConnector logs SAX events between pipeline components
+ into a cocoon's log file.
+ ProfilingSAXConnector gathers timing information.
+ Uncomment one of the following lines for using the SAXConnector.
<sax-connector
class="org.apache.cocoon.components.saxconnector.LoggingSAXConnector"/>
+ <sax-connector
class="org.apache.cocoon.components.profiler.ProfilingSAXConnector"/>
+ -->
+
+ <!-- The profiler allows to gather statistics about timings of different
+ steps of pipelines. Profiler consist from several components: profiling
+ pipeline, profilng SAX connector, and profiler generator which used
+ to generate profile report. You need to enable all this components
+ to use profiler.
+ Uncomment following line to use profiler.
+ <profiler/>
-->
<!-- ======================== The sitemap ============================== -->
----------------------------------------------------------------------
In case of troubles, e-mail: [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]