Petals ESB CLI

Command arguments are refused on the command line

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Blocker Blocker
  • Resolution: Fixed
  • Affects Version/s: 2.0.0
  • Fix Version/s: 2.1.0
  • Component/s: Command-line
  • Security Level: Public
  • Description:
    Hide

    We are not able to execute a command with argument in commmand line:

    ./petals-cli.sh -c deploy -u file:///home/.../petals-bc-soap-4.3.0-SNAPSHOT.zip -D myParam=myValue

    results in:

    ERROR: Unrecognized option: -D
    
    usage: Petals JMX Command Line Interface
                  
    [-d] [-h <host> -n <port> | -h <host> -n <port> -u <user> -p <password> | -a <alias>][-H
    | -V | [--file] <filename> | -c <command> | -C]
     -a,--alias <alias>         Connection alias in the preference file.
     -c,--command <command>     Execute a command given on the command line.
     -C,--console               Enable the mode 'console'.
     -d,--debug                 Print stack trace and debugging informations
        --file <filename>       Enable the script file execution. If filename is '-',
                                commands are read from the stdin.
     -H,--help                  Print this help message and exit.
     -h,--host <host>           JMX host of the remote petals ESB.
     -n,--port <port>           JMX port of the remote petals ESB.
     -p,--password <password>   JMX password of the remote petals ESB.
     -u,--user <user>           JMX user of the remote petals ESB.
     -V,--version               Print the version number and exit.
    
    Which evolution would you like on Petals? Share it! http://www.petalslink.com/feedback
    Show
    We are not able to execute a command with argument in commmand line:
    ./petals-cli.sh -c deploy -u file:///home/.../petals-bc-soap-4.3.0-SNAPSHOT.zip -D myParam=myValue
    results in:
    ERROR: Unrecognized option: -D
    
    usage: Petals JMX Command Line Interface
                  
    [-d] [-h <host> -n <port> | -h <host> -n <port> -u <user> -p <password> | -a <alias>][-H
    | -V | [--file] <filename> | -c <command> | -C]
     -a,--alias <alias>         Connection alias in the preference file.
     -c,--command <command>     Execute a command given on the command line.
     -C,--console               Enable the mode 'console'.
     -d,--debug                 Print stack trace and debugging informations
        --file <filename>       Enable the script file execution. If filename is '-',
                                commands are read from the stdin.
     -H,--help                  Print this help message and exit.
     -h,--host <host>           JMX host of the remote petals ESB.
     -n,--port <port>           JMX port of the remote petals ESB.
     -p,--password <password>   JMX password of the remote petals ESB.
     -u,--user <user>           JMX user of the remote petals ESB.
     -V,--version               Print the version number and exit.
    
    Which evolution would you like on Petals? Share it! http://www.petalslink.com/feedback
  • Environment:
    -

Issue Links

Activity

Hide
Christophe DENEUX added a comment - Fri, 14 Sep 2012 - 15:29:33 +0200

Fixed in trunk

Show
Christophe DENEUX added a comment - Fri, 14 Sep 2012 - 15:29:33 +0200 Fixed in trunk
Hide
Christophe DENEUX added a comment - Mon, 17 Sep 2012 - 17:20:36 +0200

Reopen because of insufficient fix

Show
Christophe DENEUX added a comment - Mon, 17 Sep 2012 - 17:20:36 +0200 Reopen because of insufficient fix
Hide
Christophe DENEUX added a comment - Tue, 18 Sep 2012 - 10:43:21 +0200

Depends on PETALSESBCLI-44

Show
Christophe DENEUX added a comment - Tue, 18 Sep 2012 - 10:43:21 +0200 Depends on PETALSESBCLI-44
Hide
Christophe DENEUX added a comment - Tue, 18 Sep 2012 - 13:47:50 +0200

Fixed by PETALSCLI-44

Show
Christophe DENEUX added a comment - Tue, 18 Sep 2012 - 13:47:50 +0200 Fixed by PETALSCLI-44

People

Dates

  • Created:
    Wed, 12 Sep 2012 - 12:11:49 +0200
    Updated:
    Thu, 20 Sep 2012 - 17:02:26 +0200
    Resolved:
    Tue, 18 Sep 2012 - 13:47:50 +0200