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 75346 - Javadocs not found in ZIP files
Summary: Javadocs not found in ZIP files
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Platform (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker with 1 vote (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-21 14:24 UTC by _ proxity
Modified: 2011-08-31 14:06 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ proxity 2006-04-21 14:24:01 UTC
Using the Java Platform Manager I added the ZIPs 

1. jdk-1_5_0-doc.zip
2. j2eeri-1_4-doc-api.zip

as downloaded from java.sun.com to the Javadoc register tab of the default
platform, but searching the javadocs in the IDE does not work.

I had to unzip them and add the folders docs/api from the first file and apidocs
from the second file.
To me it looks like there is no ZIP file scanning at the moment that searches
for subdirs that contain javadocs. Without such a routine the possibility to add
ZIPs here is somewhat confusing.
Comment 1 Jan Pokorsky 2006-06-26 13:14:52 UTC
This should work.
Comment 2 Tomas Zezula 2006-06-30 15:02:40 UTC
Works for jdk-1_5_0-doc.zip but it does not work for the j2eeri-1_4-doc-api.zip.
The j2eeri-1_4-doc-api.zip is not a part of the JDK, the platform does not
support  this javadoc. But it seems to me a legal enhancement to extend the
platform to allow it, anyway the platform should at least print a warning if the
javadoc is not supported.
Comment 3 Jiri Prox 2008-04-11 00:53:35 UTC
moving opened issues from TM <= 6.1 to TM=Dev
Comment 4 teacy123 2008-05-02 02:56:24 UTC
This issue still exists in NB 6.1 and also for jar files. Strangely, the javadocs that I had added for Platform (the JDK 1.6 docs.jar from Apple) was scanned 
fine, even though it contains the docs in a docs/api subfolder. Another jar file with documentation that I tried to add through the Library manager only led 
to an error that index-all.html or an indexfiles folder had to be on the top-level (the jar again had a /docs/api/<actual docs> folder structure). Are there 2 
different scanners at work here?