Uploaded image for project: 'Maven JXR'
  1. Maven JXR
  2. JXR-85

JXR generates files with inconsistent line ending style

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.2
    • 2.4
    • maven-jxr-plugin
    • None
    • Windows, Java 1.6, Maven 2.2.1

    Description

      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:

      <!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>
      

      Then goes this part with CRLF ending:

      <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> }
      

      And the file ends with this oart, again with LF ending:

      </pre>
      <hr/><div id="footer">This page was automatically generated by <a href="http://maven.apache.org/">Maven</a></div></body>
      </html>
      

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            michael-o Michael Osipov
            oleg.estekhin Oleg Estekhin
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment