You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Gianny Damour (JIRA)" <ji...@apache.org> on 2007/04/03 15:18:32 UTC

[jira] Updated: (GERONIMO-3059) CLIs refactoring - options and arguments parsing should be done prior the boot of a Kernel to provide a quicker feedback to users if they are invalid

     [ https://issues.apache.org/jira/browse/GERONIMO-3059?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gianny Damour updated GERONIMO-3059:
------------------------------------

    Attachment: GERONIMO-3059.patch

Here is a patch to fix this problem:

* Add a geronimo-cli JAR containing all the classes to perform options and arguments parsing. It is included in the lib/ folder and added to the Class-Path manifest entry of the deployer.jar, server.jar and client.jar runnable JARs;
* Use commons-cli to perform the option parsing; and
* add support for an extra verbose level, -vvv, and remap the verbose level as follows: -v -> INFO, -vv -> DEBUG, -vvv -> TRACE.


> CLIs refactoring - options and arguments parsing should be done prior the boot of a Kernel to provide a quicker feedback to users if they are invalid
> -----------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: GERONIMO-3059
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-3059
>             Project: Geronimo
>          Issue Type: Improvement
>      Security Level: public(Regular issues) 
>          Components: usability
>    Affects Versions: 2.0-M4
>            Reporter: Gianny Damour
>         Assigned To: Gianny Damour
>             Fix For: 2.0-M5
>
>         Attachments: GERONIMO-3059.patch
>
>
> CLIs options and arguments are parsed after the boot of a Kernel. As the boot of a Kernel, and especially the loading of configurations, are time expensive, users have to wait an unacceptable time to receive a feedback from CLs if these options or arguments are invalid.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.