Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-275

Unify linux and PowerShell scripts for jboss-cli in printing environment information

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 7.0.0.DR13 (Alpha)
    • 7.0.0.DR3
    • Scripts
    • None

    Description

      Powershell script jboss-cli.ps1 prints environment information.

      Steps to Reproduce:

      1. .\jboss-cli.ps1

      Actual results:

      =========================================================================
      
        WildFly Bootstrap Environment
      
        JBOSS_HOME: C:\Users\Administrator\playground\7.0.0.DR3\jboss-eap-7.0
      
        JBOSS_BASE_DIR: C:\Users\Administrator\playground\7.0.0.DR3\jboss-eap-7.0\standalone
      
        JAVA: java
      
        JAVA_OPTS: -Xms64M -Xmx512M -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.ne
      t.preferIPv4Stack=true -Dorg.jboss.resolver.warning=true -Djboss.modules.system.pkgs=org.jboss.byteman
      
        JBOSS_MODULEPATH: C:\Users\Administrator\playground\7.0.0.DR3\jboss-eap-7.0\modules
      
      =========================================================================
      
      10:22:33,569 INFO  [org.jboss.modules] (main) JBoss Modules version 1.4.3.Final
      10:22:33,959 INFO  [org.jboss.as.cli.CommandContext] (main) You are disconnected at the moment. Type 'connect' to connec
      t to the server or 'help' for the list of supported commands.
      You are disconnected at the moment. Type 'connect' to connect to the server or 'help' for the list of supported commands
      .
      [disconnected /]
      

      Expected results:

      You are disconnected at the moment. Type 'connect' to connect to the server or 'help' for the list of supported commands.
      [disconnected /] 
      



      ".\jboss-cli.ps1 --help" show too much logging information:

      Steps to Reproduce:

      1. .\jboss-cli.ps1 --help

      Actual results:

      ...
      10:29:18,212 INFO  [org.jboss.as.cli.CommandContext] (main) Usage:
      Usage:
      10:29:18,215 INFO  [org.jboss.as.cli.CommandContext] (main)
      
      10:29:18,216 INFO  [org.jboss.as.cli.CommandContext] (main)   jboss-cli.sh/jboss-cli.bat [--help] [--version] [--controller=host:port]
        jboss-cli.sh/jboss-cli.bat [--help] [--version] [--controller=host:port]
      ...
      

      Expected results:

      Usage:
      
        jboss-cli.sh/jboss-cli.bat [--help] [--version] [--controller=host:port]
      ...
      

      Attachments

        Issue Links

          Activity

            People

              tomazcerar Tomaž Cerar (Inactive)
              mkopecky@redhat.com Marek Kopecky
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: