DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17553>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17553

[PATCH] CLI Config file extensions+more

           Summary: [PATCH] CLI Config file extensions+more
           Product: Cocoon 2
           Version: Current CVS
          Platform: PC
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: core
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


I have extended the CLI with two new switches:
-f <filename>
parses a file (see cli.options) for parameters
-x <filename>
parses an xconf file (see cli.xconf) for parameters

This gets around the problem of a limited number of options in DOS, and is much 
more usable.

There are two more switches avaliable as well:
-e true|false
Switches on/off extension checking
[N.B. Nicola Ken suggested changing this to -e <extension>, to get around 
situations where link URIs refer to directories - <extension> is just appended 
to the URI. I have not yet implemented this, but will].

-L <class-name>
Pre-loads a class so that the CLI can generate sites that use JDBC connections.
[N.B. I have never really used JDBC, so I haven't really tested this. I just 
grabbed the code from CocoonServlet.java]

Now the cocoon.bat file can go back to how it was with %2...%9.

Reply via email to