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

JXR does not handles multiple classes in one source file

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.1
    • Component/s: jxr
    • Labels:
      None
    • Environment:
      Maven 1.0.2
      maven-jxr-plugin 1.4.2

      Description

      JRX does not handles multiple top level classes (this bug is not about inner classes) defined in one source file :

      • a link is set on the first class defined in the file that point to $(className).html which doesn't exist if the class is not public (so the source file is not $(className).java).
      • other classes of the file are not linked. In particular, the public class may not be linked.
      • in the class list, some links point ton non-existent files.

      Quickfix: ignore all non-public classes.

      Long term fix: link all classes. However, this requires to analyse all sources to build the map class->source-file before generating any HTML file.

        Attachments

        1. FTP.java
          8 kB
          Olivier Mengué

          Issue Links

            Activity

              People

              • Assignee:
                dennisl@apache.org Dennis Lundberg
                Reporter:
                dolmen Olivier Mengué
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: