You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Thorsten Schöning (JIRA)" <ji...@apache.org> on 2017/09/06 18:17:00 UTC

[jira] [Created] (AXIS2-5883) Generation of apidocs fails on Windows.

Thorsten Schöning created AXIS2-5883:
----------------------------------------

             Summary: Generation of apidocs fails on Windows.
                 Key: AXIS2-5883
                 URL: https://issues.apache.org/jira/browse/AXIS2-5883
             Project: Axis2
          Issue Type: Bug
          Components: documentation
    Affects Versions: 1.8.0
         Environment: Windows 10 Pro x86-64
            Reporter: Thorsten Schöning
         Attachments: MJAVADOC-469.patch

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.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org