Hi,
How do I specify the file extension that a serializer uses to write a file on disk when running Cocoon 2.0 in CLI mode ? E.g. I use
the XML-serializer and Cocoon always appends .xml to file filename,
but I need another extension.
Thanks, gerd
Hello Gerd,
(some known name (from real life) on the list ...)
I'm not the CLI expert, I only followed the development of it loosely. For 2.0 I can only point you to the documentation on the wiki:
http://wiki.cocoondev.org/Wiki.jsp?page=CommandLine204.
The CLI in 2.1 got a major refactoring, the documentation for it can be found at: http://wiki.cocoondev.org/Wiki.jsp?page=CommandLine (could of course already be outdated again). The latest documentation for the parameters can be found in the file cli.xconf:
http://cvs.apache.org/viewcvs.cgi/cocoon-2.1/cli.xconf
IIRC you can at least parameter that prevents the mimetype dependent file extension replacing, from cli.xconf I guess this parameter is confirm-extensions:
http://cvs.apache.org/viewcvs.cgi/cocoon-2.1/cli.xconf?annotate=1.12#37
But this is about 2.1 and you asked about 2.0 - no chance to update?
And as CLI expert I recommend you Upayavira (hope he is reading it).
Joerg
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
