[jboss-jira] [JBoss JIRA] (WFCORE-4502) Unify line-endings of bat scripts (regression against WF15)

James Perkins (Jira) issues at jboss.org
Mon Jun 3 21:05:00 EDT 2019


    [ https://issues.jboss.org/browse/WFCORE-4502?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13741905#comment-13741905 ] 

James Perkins commented on WFCORE-4502:
---------------------------------------

I've filed a PR for WFGP-144. If that gets merged we can add:
{code:xml}
    <line-endings>
        <windows>
            <filter pattern="*.bat" include="true"/>
            <filter pattern="*.ps1" include="true"/>
        </windows>
        <unix>
            <filter pattern="*.sh" include="true"/>
            <filter pattern="*.conf" include="true"/>
        </unix>
    </line-endings>
{code}

to the {{packages/misc.common/pm/wildfly/tasks.xml}}.

> Unify line-endings of bat scripts (regression against WF15)
> -----------------------------------------------------------
>
>                 Key: WFCORE-4502
>                 URL: https://issues.jboss.org/browse/WFCORE-4502
>             Project: WildFly Core
>          Issue Type: Bug
>          Components: Scripts
>    Affects Versions: 9.0.0.Beta7
>            Reporter: Radoslav Husar
>            Assignee: Radoslav Husar
>            Priority: Critical
>
> 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:
> {noformat}
> $ 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
> $ 
> {noformat}
> WF15:
> {noformat}
> $ 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
> $ 
> {noformat}



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the jboss-jira mailing list