[ 
https://jira.codehaus.org/browse/DOXIASITETOOLS-88?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=359613#comment-359613
 ] 

Michael Osipov commented on DOXIASITETOOLS-88:
----------------------------------------------

Me, human. Let's clarify one thing first: we aren't talking about fixing mixed 
line breaks but nomalization to the currently used platform, right?
First of all, a dev is obliged to set up line break normalization with his SCM, 
both is possible with Git and Subversion. Second, if a dev uses Notepad, he 
should really stop coding right now.

So this is our situation you would like to improve:

0. Current platform is Unix
1. skin.css with Windows EOL => Unix EOL
2. skin.js with Unix EOL => leave as-is

The opposite would be true if the site is generated on Windows, right?

> normalize newlines of text resources copied from skin
> -----------------------------------------------------
>
>                 Key: DOXIASITETOOLS-88
>                 URL: https://jira.codehaus.org/browse/DOXIASITETOOLS-88
>             Project: Maven Doxia Sitetools
>          Issue Type: Bug
>          Components: Site renderer
>            Reporter: Herve Boutemy
>            Priority: Minor
>
> text resources from skin (*.css, *.js, ...) are copied in binary form
> but since the skin jar is done on one machine and reused on multiple other 
> ones, not necessarily same platform, these files can have newlines 
> inconsistent with actual platform
> Notice: I don't know if this is a severe problem, as severe as 
> DOXIASITETOOLS-87, where inconsistency happened inside text files



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)

Reply via email to