Maven 1.x JXR Plugin
  1. Maven 1.x JXR Plugin
  2. MPJXR-4

Wrong output if packagename contains underscore

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      WindowsNT/2000, JDK1.3.1
    • Number of attachments :
      0

      Description

      The generated documentations has wrong package directories if the package contains an underscore.

      The fix could be the following:

      Class 'org.apache.maven.jxr.pacman.JavaFileImpl'. The
      used StreamTokenizer has to be extended by '_' as a word character:

      private StreamTokenizer getTokenizer() throws IOException

      { ... stok.commentChar('*'); stok.wordChars('_', '_'); // add here the underscore character as an word character ... }

        Activity

        Hide
        dion gillard added a comment -

        Applied

        Show
        dion gillard added a comment - Applied

          People

          • Assignee:
            Unassigned
            Reporter:
            Matthias Stutz
          • Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: