lbruun created NETBEANS-94:
------------------------------

             Summary: 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


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)

Reply via email to