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.

Bug 186723 - Incorrect message text "Invalid Javadoc root..."
Summary: Incorrect message text "Invalid Javadoc root..."
Status: RESOLVED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Libraries (show other bugs)
Version: 6.x
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Tomas Zezula
URL:
Keywords:
: 142628 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-05-26 10:29 UTC by chrysophylax
Modified: 2010-10-21 09:25 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description chrysophylax 2010-05-26 10:29:11 UTC
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.
Comment 1 MarkB52 2010-10-01 01:53:41 UTC
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.
Comment 2 Tomas Zezula 2010-10-13 15:17:59 UTC
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.
Comment 3 Tomas Zezula 2010-10-14 09:05:24 UTC
Fixed jet-main 326d1311a609
Comment 4 Quality Engineering 2010-10-15 02:58:06 UTC
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...
Comment 5 Tomas Zezula 2010-10-21 09:25:51 UTC
*** Bug 142628 has been marked as a duplicate of this bug. ***