Uploaded image for project: 'Axis2'
  1. Axis2
  2. AXIS2-5883

Generation of apidocs fails on Windows.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.7.6
    • 1.7.7
    • documentation
    • None
    • Windows 10 Pro x86-64
    • Patch

    Description

      Generation of the project "apidocs" fails on Windows in case of spaces in paths and because of a bug in "maven-javadoc-plugin": That plugin is writing argument files for Javadoc, but is missing to escape backslashs in paths. Javadoc is reading the paths from the argument file 1:1 and introduces wrong characters, like a tab for "\t" in path which really is "...\tschoening". This is already documented against the plugin:

      https://issues.apache.org/jira/browse/MJAVADOC-469

      The attached patch is adding quotes to the command line args and working around the problem of the maven plugin by doubling backslashes on it's own so that the needed amount of backslashes is available in the argument file.

      Attachments

        1. MJAVADOC-469.patch
          3 kB
          Thorsten Schöning

        Activity

          People

            Unassigned Unassigned
            tschoening Thorsten Schöning
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: