Page: http://wiki.cocoondev.org/Wiki.jsp?page=CommandLine , version: 16 on Fri
Jul 18 05:14:26 2003 by JoergHeinicke
- The command line interface is accessible via the java class
org.apache.cocoon.Main, or via the command line. On Windows use {{cocoon cli
<parameters>}}. On Unix use {./cocoon.sh cli <parameters}}.
+ The command line interface is accessible via the java class
{{org.apache.cocoon.Main}}, or via the command line.
+ On Unix use {{{./cocoon.sh cli <parameters>}}}
+ On Windows use {{{cocoon cli <parameters>}}}
- In 2.1M3, there are two ways to configure the CLI, via command line
parameters and via an xconf configuration file. The latter provides a greater
range of options.
? - ^
^^^
+ In 2.1M3 there are two ways to configure the CLI: via command line parameters
or via an xconf configuration file. The latter provides a greater range of
options.
? ^
^^
- or on Windows with: {{cocoon cli -x <xconf file>}}.
? ----- ^
+ or on Windows: {{{cocoon cli -x <xconf file>}}}
? + ^
- * The work directory can be anywhere you choose, it is where Cocoon will
store various internal files generated whilst producing your site. Tomcat uses
$TOMCAT_HOME/work/localhost/cocoon/ as its work directory. You could use the
same. [[IS THIS CORRECT??]]
+ * The work directory can be anywhere you choose, it is where Cocoon will
store various internal files generated whilst producing your site. Tomcat uses
{{$TOMCAT_HOME/work/localhost/cocoon/}} as its work directory. You could use
the same. [[IS THIS CORRECT??]]
?
++
++
- * Default: appends the requested page URI onto the end of the URI specified
in the <dest-dir> element, e.g. {{<uri>documents/index.html</uri>}}
+ * Default: appends the requested page URI onto the end of the URI specified
in the {{<dest-dir>}} element, e.g. {{<uri>documents/index.html</uri>}}
?
++ ++
- * Replace: just uses the dest uri, ignoring the uri of the generated page,
e.g. {<uri type="replace" src-prefix="documents/" src="index.html"
dest="build/dest/docs.html"/>}}
+ * Replace: just uses the dest uri, ignoring the uri of the generated page,
e.g. {{<uri type="replace" src-prefix="documents/" src="index.html"
dest="build/dest/docs.html"/>}}
?
+