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

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

Well, SCM is special because you can set up normalization already there. I have 
found the spot. It is 
[{{ScmPublishPublishScmMojo#copyAndNormalizeNewlines}}|http://maven.apache.org/plugins/maven-scm-publish-plugin/xref/org/apache/maven/plugins/scmpublish/ScmPublishPublishScmMojo.html#L195].
 We could easily copy the methods and reuse them. The question is, do files in 
the skin have the same encoding as siteOutputEncoding? Are 
{{src/site/resources}} copied appropriately? The former could break stuff.

> 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: Improvement
>          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