This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
When adding Javadoc for a library (Library Manager -> Javadoc -> Add ZIP/Folder) and the pointed zip/folder does not contain file "package-list", a message box pops up saying "Invalid Javadoc root [path]. The Javadoc root does not contain the index-files folder or the index-all.html file". In case where the problem is missing package-list file, and not index-files folder or index-all.html the message might be misleading. Please improve it.
In my circumstance I had an index-all.html file but not a index-files folder or a package-list file. Despite the error message, the javadoc is still registered for the library and still referenced correctly by the Netbeans editor. I have not seen anything missing in the functional usage of the javadoc zip. Therefore, perhaps the error condition could be refined to accept any one of the three "index" methods without comment.
I agree that the message is inconsistent. Originally the Add javadoc dialog checked for the indexes. Now it uses common library to do it (the library checks for package-list). The javadoc needs both to work correctly. The index is used for javadoc search, the editor does not need it. I will fix the message.
Fixed jet-main 326d1311a609
Integrated into 'main-golden', will be available in build *201010150000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/326d1311a609 User: Tomas Zezula <tzezula@netbeans.org> Log: #186723:Incorrect message text "Invalid Javadoc root...
*** Bug 142628 has been marked as a duplicate of this bug. ***