Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-11983

Unify line-endings of bat scripts (regression against WF15)

XMLWordPrintable

      Line-endings of bat scripts should be unified. This is regression against WF15.

      Some files in WF16 uses CRLF, another LF only. We need to clarify the recommended line ending and use this line ending in all Windows scripts.

      WF16:

      $ find | grep bat$ | xargs file
      ./wsprovide.bat:       DOS batch file, ASCII text, with CRLF line terminators
      ./jboss-cli.bat:       DOS batch file, ASCII text
      ./elytron-tool.bat:    DOS batch file, ASCII text
      ./domain.bat:          DOS batch file, ASCII text, with CRLF line terminators
      ./wsconsume.bat:       DOS batch file, ASCII text, with CRLF line terminators
      ./standalone.bat:      DOS batch file, ASCII text, with CRLF line terminators
      ./vault.bat:           DOS batch file, ASCII text, with CRLF line terminators
      ./domain.conf.bat:     ASCII text, with CRLF line terminators
      ./common.bat:          DOS batch file, ASCII text, with CRLF line terminators
      ./jdr.bat:             DOS batch file, ASCII text
      ./jconsole.bat:        DOS batch file, ASCII text
      ./appclient.bat:       DOS batch file, ASCII text, with CRLF line terminators
      ./appclient.conf.bat:  ASCII text, with CRLF line terminators
      ./standalone.conf.bat: ASCII text, with CRLF line terminators
      ./add-user.bat:        DOS batch file, ASCII text
      $ 
      

      WF15:

      $ find | grep bat$ | xargs file
      ./wsprovide.bat:       DOS batch file, ASCII text, with CRLF line terminators
      ./jboss-cli.bat:       DOS batch file, ASCII text, with CRLF line terminators
      ./elytron-tool.bat:    DOS batch file, ASCII text, with CRLF line terminators
      ./domain.bat:          DOS batch file, ASCII text, with CRLF line terminators
      ./wsconsume.bat:       DOS batch file, ASCII text, with CRLF line terminators
      ./standalone.bat:      DOS batch file, ASCII text, with CRLF line terminators
      ./vault.bat:           DOS batch file, ASCII text, with CRLF line terminators
      ./domain.conf.bat:     ASCII text, with CRLF line terminators
      ./common.bat:          DOS batch file, ASCII text, with CRLF line terminators
      ./jdr.bat:             DOS batch file, ASCII text, with CRLF line terminators
      ./jconsole.bat:        DOS batch file, ASCII text, with CRLF line terminators
      ./appclient.bat:       DOS batch file, ASCII text, with CRLF line terminators
      ./appclient.conf.bat:  ASCII text, with CRLF line terminators
      ./standalone.conf.bat: ASCII text, with CRLF line terminators
      ./add-user.bat:        DOS batch file, ASCII text, with CRLF line terminators
      $ 
      

              rhn-engineering-rhusar Radoslav Husar
              mkopecky@redhat.com Marek Kopecky
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: