Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-145

CLI run-batch command cannot process files with comments or blank lines

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.0.0.Alpha14
    • 1.0.0.Alpha8
    • CLI
    • None

      In the JBoss CLI tool, the "run-batch --file=script.cli" command cannot
      successfully process lines that start with "#" or blank lines. Comments and
      blank lines help readability when creating cli batch scripts.

      However, running the batch file containing comments/blank lines as a parameter
      to jboss-cli.sh works just fine (./jboss-cli.sh -c --file=script.cli). This
      difference in accepted syntax creates some confusion for users who are new to
      the CLI tool.

              olubyans@redhat.com Alexey Loubyansky
              olubyans@redhat.com Alexey Loubyansky
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: