[
https://issues.apache.org/jira/browse/NETBEANS-94?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
lbruun resolved NETBEANS-94.
----------------------------
Resolution: Fixed
Fix Version/s: 9.0
Resolved by PR 157
> 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
> Fix For: 9.0
>
>
> 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)