You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "lbruun (JIRA)" <ji...@apache.org> on 2017/10/17 19:26:00 UTC

[jira] [Commented] (NETBEANS-94) Cannot build NB Javadoc on Windows: Filename or path too long

    [ https://issues.apache.org/jira/browse/NETBEANS-94?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16208195#comment-16208195 ] 

lbruun commented on NETBEANS-94:
--------------------------------

Have submitted [Pull Request 157|https://github.com/apache/incubator-netbeans/pull/157] for this.

> Cannot build NB Javadoc on Windows: Filename or path too long
> -------------------------------------------------------------
>
>                 Key: NETBEANS-94
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-94
>             Project: NetBeans
>          Issue Type: Bug
>            Reporter: lbruun
>              Labels: build, windows
>
> When doing
> {noformat}
> ant -f nbbuild/build.xml build-javadoc
> {noformat}
> I get:
> {noformat}
> ........\incubator-netbeans\nbbuild\javadoctools\template.xml:279: Javadoc failed: java.io.IOException: Cannot run program "C:\Program Files\Java\jdk1.8.0_131\bin\javadoc.exe": CreateProcess error=206, The filename or extension is too long
>         at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
>         at java.lang.Runtime.exec(Runtime.java:620)
>         at org.apache.tools.ant.taskdefs.launcher.Java13CommandLauncher.exec(Java13CommandLauncher.java:58)
> {noformat}
> The problem is related to the infamous Windows path limit, arghhh! :(
> The fix is simple. I'll do a pull request in a couple of seconds.



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