Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-10804

run.bat -r option to use a custom run.conf.bat file causes options like -Dfoo=bar to fail

    Details

    • Steps to Reproduce:
      Hide

      run.bat -r C:\custom\run.conf.bat -Dfoo=bar

      the JVM will get started with:

      -Dfoo bar

      e.g. any "=" signs have turned into spaces

      Show
      run.bat -r C:\custom\run.conf.bat -Dfoo=bar the JVM will get started with: -Dfoo bar e.g. any "=" signs have turned into spaces
    • Estimated Difficulty:
      Medium
    • Release Notes Text:
      Hide
      The introduction of the <literal>-r</literal> option for the <filename>run.bat</filename> srcipt in JBoss EAP 5.2 caused the script to fail to pick up <literal>-Dname=value</literal> style command line options. This was because the option uses the "shift" facility to loop through all options. However Windows' <application>cmd.exe</application> utility replaces the <literal>=</literal> with spaces. This issue has been resolved in this release.
      Show
      The introduction of the <literal>-r</literal> option for the <filename>run.bat</filename> srcipt in JBoss EAP 5.2 caused the script to fail to pick up <literal>-Dname=value</literal> style command line options. This was because the option uses the "shift" facility to loop through all options. However Windows' <application>cmd.exe</application> utility replaces the <literal>=</literal> with spaces. This issue has been resolved in this release.
    • Release Notes Docs Status:
      Documented as Resolved Issue
    • Docs QE Status:
      NEW

      Description

      using the "-r" option (new in 5.2) will cause -Dfoo=bar options to fail

        Gliffy Diagrams

          Attachments

          1. run.bat
            5 kB
          2. run.zip
            2 kB

            Issue Links

              Activity

                People

                • Assignee:
                  tfonteyn Tom Fonteyne
                  Reporter:
                  tfonteyn Tom Fonteyne
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: