You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (JIRA)" <ji...@codehaus.org> on 2013/11/23 20:29:45 UTC

[jira] (JXR-85) JXR generates files with inconsistent line ending style

     [ https://jira.codehaus.org/browse/JXR-85?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Osipov updated JXR-85:
------------------------------

    Fix Version/s: 2.4
    
> JXR generates files with inconsistent line ending style
> -------------------------------------------------------
>
>                 Key: JXR-85
>                 URL: https://jira.codehaus.org/browse/JXR-85
>             Project: Maven JXR
>          Issue Type: Bug
>          Components: maven2 jxr plugin
>    Affects Versions: 2.2
>         Environment: Windows, Java 1.6, Maven 2.2.1
>            Reporter: Oleg Estekhin
>            Assignee: Michael Osipov
>             Fix For: 2.4
>
>
> It seems that all html files genenrated by the JXR plugin contain mixed line endings.
> An example from one of my files:
> This part is from the start of the file, it uses LF ending:
> {code}
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
> <head>
> <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
> <title>Assertions xref</title>
> <link type="text/css" rel="stylesheet" href="../../stylesheet.css" />
> </head>
> <body>
> <div id="overview"><a href="../../../apidocs/oe/assertions/Assertions.html">View Javadoc</a></div><pre>
> {code}
> Then goes this part with CRLF ending:
> {code}
> <a class="jxr_linenumber" name="1" href="#1">1</a>   <em class="jxr_comment">/*<em class="jxr_comment">-</em></em>
> ...
> skipped
> ...
> <a class="jxr_linenumber" name="134" href="#134">134</a> }
> {code}
> And the file ends with this oart, again with LF ending:
> {code}
> </pre>
> <hr/><div id="footer">This page was automatically generated by <a href="http://maven.apache.org/">Maven</a></div></body>
> </html>
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira