maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Osipov (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DOXIASITETOOLS-88) normalize newlines of text resources copied from skin
Date Sun, 06 Mar 2016 20:46:40 GMT

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

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

This is now technically possible if the skin descriptor contains the file encoding. The problem
is, how do be know that something is a text resource?
Normalizing newlines is fairly easy with a line reader and writer.


> normalize newlines of text resources copied from skin
> -----------------------------------------------------
>
>                 Key: DOXIASITETOOLS-88
>                 URL: https://issues.apache.org/jira/browse/DOXIASITETOOLS-88
>             Project: Maven Doxia Sitetools
>          Issue Type: Improvement
>          Components: Site renderer
>            Reporter: Hervé 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.3.4#6332)

Mime
View raw message