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 136682 - NB6.1 not loading javadoc from jar
Summary: NB6.1 not loading javadoc from jar
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: 6.x
Hardware: Macintosh Mac OS X
: P3 blocker with 1 vote (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-06 18:26 UTC by dnedrow
Modified: 2008-07-24 16:45 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Example jar file set. (20.43 KB, application/octet-stream)
2008-06-06 18:31 UTC, dnedrow
Details
JDoc jar file that works (94.85 KB, application/octet-stream)
2008-07-10 19:49 UTC, dnedrow
Details

Note You need to log in before you can comment on or make changes to this bug.
Description dnedrow 2008-06-06 18:26:35 UTC
I have been unable to use a jar file as a javadoc source for libraries.

When selecting a jar'd javadoc tree, NB displays the following error....

Invalid javadoc root JDocTest-javadoc.jar
The Javadoc root does not contain the index-files folder or the index-all.html file.

I'm unable to use jar'd javadoc files from any project, let alone my own.

This may be a problem in org.netbeans.modules.java.j2seplatform.libraries.JavadocForBinaryQueryLibraryImpl, but I haven't had time to do any 
troubleshooting.

Can anyone on the dev team confirm that they are able to select a jar file as a valid javadoc source?

OSX 10.5.3 (Intel), Java(TM) SE Runtime Environment (build 1.6.0_05-b13-120)

-David
Comment 1 dnedrow 2008-06-06 18:31:48 UTC
Created attachment 62492 [details]
Example jar file set.
Comment 2 wyrmmage 2008-07-03 18:47:57 UTC
Confirmed for Windows using NetBeans 6.1; I've unpacked the jar and rolled my own (making sure all the necessary files
are there), and I still have the same problem.

XP SP2 Professional x64 Edition
Comment 3 dnedrow 2008-07-10 19:49:15 UTC
Created attachment 64272 [details]
JDoc jar file that works
Comment 4 dnedrow 2008-07-10 19:50:47 UTC
I've attached a jar file from Apple that actually works with NetBeans. I don't know what the difference is, unless it's some kind of meta-data issue.

Anyone on the NB team there?
Comment 5 Jan Becicka 2008-07-24 16:45:52 UTC
Should be fixed by issue 124779.
please test it and let us know.