You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Kristian Rosenvold (JIRA)" <ji...@apache.org> on 2015/04/14 18:04:12 UTC
[jira] [Comment Edited] (MASSEMBLY-753) LineEnding CR to LF
conversion output is wrong : All EOL are removed
[ https://issues.apache.org/jira/browse/MASSEMBLY-753?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14494315#comment-14494315 ]
Kristian Rosenvold edited comment on MASSEMBLY-753 at 4/14/15 4:03 PM:
-----------------------------------------------------------------------
Tingeling the curiosity of nerds is always interesting:
According to http://en.wikipedia.org/wiki/Newline#Representations we'd proably be talking about old v9 MacOS'es or a Commodore 64 :)
Now we still don't support the BBC :=]
was (Author: krosenvold):
Tingeling the curiosity of nerds is always interesting:
According to http://en.wikipedia.org/wiki/Newline#Representations we'd proably be talking about old MacOS'es or a Commodore 64 :)
Now we still don't support the BBC :=]
> LineEnding CR to LF conversion output is wrong : All EOL are removed
> --------------------------------------------------------------------
>
> Key: MASSEMBLY-753
> URL: https://issues.apache.org/jira/browse/MASSEMBLY-753
> Project: Maven Assembly Plugin
> Issue Type: Bug
> Affects Versions: 2.5, 2.5.1, 2.5.2, 2.5.3
> Reporter: Laurent TOURREAU
> Assignee: Kristian Rosenvold
> Fix For: 2.5.4
>
> Attachments: maven-assembly-plugin-2.5.3-lineEnding-cr-to-lf-wrong.zip
>
>
> when lineEnding=unix the conversion is not correct if the file contains CR end of line characters. The EOL characters are removed
> Example on a file containing the text:
> {code}
> MKDIR,/apps/myapp/<CR>
> MKDIR,/apps/myapp/repbatch/scripts/eod/<CR>
> MKDIR,/apps/myapp/repbatch//scripts/eod/log/<CR>
> MKDIR,/apps/myapp/repbatch/scripts/cre/<CR>
> {code}
> We should expect this:
> {code}
> MKDIR,/apps/myapp/<LF>
> MKDIR,/apps/myapp/repbatch/scripts/eod/<LF>
> MKDIR,/apps/myapp/repbatch//scripts/eod/log/<LF>
> MKDIR,/apps/myapp/repbatch/scripts/cre/<LF>
> {code}
> The result is :
> {code}
> MKDIR,/apps/myapp/MKDIR,/apps/myapp/repbatch/scripts/eod/MKDIR,/apps/myapp/repbatch//scripts/eod/log/MKDIR,/apps/myapp/repbatch/scripts/cre/
> {code}
> See zip attachment.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)