You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by "Gintas Grigelionis (JIRA)" <ji...@apache.org> on 2017/08/31 20:11:00 UTC

[jira] [Updated] (IVY-1156) Specify EOL (end of line) separator for Publishing Ivy XML files and there checksums

     [ https://issues.apache.org/jira/browse/IVY-1156?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gintas Grigelionis updated IVY-1156:
------------------------------------
    Description: 
When you publish an Ivy file with its artifacts the EOL separator (line.separator)  of the computer that is publishing is used.
For example if I have a windows computer and I publish an ivy file and its artifacts to a unix ivy repository the ivy XML files will have CRLF as there line ending.

So if you have a mixture of operating systems publishing to some repository you will most likely have a mixture of line endings in your ivy files.
You can't change the line endings of the file after the fact because you will break the checksums (ivy.xml.md5 for example).

Bottom line
*It would be nice if you could specify the EOL in your ant publish task or in your ivysettings (or of course both) to avoid having mixed line endings.*


  was:
When you publish an Ivy file with its artifacts the EOL separator (line.separator)  of the computer that is publishing is used.
For example if I have a windows computer and I publish an ivy file and its artifacts to a unix ivy repository the ivy XML files
will CRLF as there line ending.

So if you have a mixture of operating systems publishing to some repository you will most likely have a mixture of line endings in your ivy files.
You can't change the line endings of the file after the fact because you will break the checksums (ivy.xml.md5 for example).

Bottom line
*It would be nice if you could specify the EOL in your ant publish task or in your ivysettings (or of course both) to avoid having mixed line endings.*



> Specify EOL (end of line) separator for Publishing Ivy XML files and there checksums
> ------------------------------------------------------------------------------------
>
>                 Key: IVY-1156
>                 URL: https://issues.apache.org/jira/browse/IVY-1156
>             Project: Ivy
>          Issue Type: New Feature
>          Components: Core
>            Reporter: Adam Gent
>            Priority: Minor
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> When you publish an Ivy file with its artifacts the EOL separator (line.separator)  of the computer that is publishing is used.
> For example if I have a windows computer and I publish an ivy file and its artifacts to a unix ivy repository the ivy XML files will have CRLF as there line ending.
> So if you have a mixture of operating systems publishing to some repository you will most likely have a mixture of line endings in your ivy files.
> You can't change the line endings of the file after the fact because you will break the checksums (ivy.xml.md5 for example).
> Bottom line
> *It would be nice if you could specify the EOL in your ant publish task or in your ivysettings (or of course both) to avoid having mixed line endings.*



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)