Uploaded image for project: 'EasyAnt'
  1. EasyAnt
  2. EASYANT-77

PluginReport task outputs incomplete/wrong information

    XMLWordPrintableJSON

Details

    • Patch

    Description

      The PluginReport task is used in easyant-plugin-documentation to generate build-types/plugins documentation.

      The generated doc has:

      • an XML file
      • an HTML file, resulting of the transformation of the XML file

      In both files, there are some issues that make the documentation incomplete and wrong:

      • In XML file:
        • configuration field deprecated is null when configuration is not deprecated (should be ""),
        • Path parameters does not have the required attribute (but properties have this field),
        • Parameters and properties are always declared as not required (required field is always set to false)
      • In HTML file:
        • all issues from XML file (since it is generated from it),
        • Only the first configuration is displayed,
        • Path parameters are not displayed

      I will attach a Git patch to fix those issues and create a pull request in the coming days.

      Edit: the deprecated field is set with the date of deprecation. If deprecated is null, it should display nothing instead of the null value (http://ant.apache.org/ivy/history/latest-milestone/ivyfile/conf.html)

      Attachments

        1. Fix-plugin-report-information.patch
          11 kB
          Adrien Quillet

        Issue Links

          Activity

            People

              jboudart Jean-Louis Boudart
              AQuillet Adrien Quillet
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 1h
                  1h
                  Remaining:
                  Remaining Estimate - 1h
                  1h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified