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 115229 - Showing javadoc for netbeans classes does not work
Summary: Showing javadoc for netbeans classes does not work
Status: VERIFIED FIXED
Alias: None
Product: apisupport
Classification: Unclassified
Component: Project (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker with 1 vote (vote)
Assignee: Martin Krauskopf
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-11 10:50 UTC by mgoe
Modified: 2007-10-09 12:44 UTC (History)
2 users (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 mgoe 2007-09-11 10:50:18 UTC
Selecting a netbeans class (e.g. Node, NbBundle) in an editor and using "Show Javadoc" does not work (nothing 
happens), using classes from the jdk (e.g. String) works. I'm using netbeans-trunk-nightly-200709101200 together with 
the javadoc netbeans-trunk-nightly-200709101200-javadoc.zip which I added in the "Netbeans Platform Manager".
Comment 1 Jan Pokorsky 2007-09-11 13:00:33 UTC
Reproducible. The Help/Javadoc Index Search seems to work so it will be some bug in SourceUtils.getJavadoc.
Comment 2 Jan Pokorsky 2007-09-11 14:04:58 UTC
The root of this issue seems to be an incomplete implementation of JavadocForBinaryImpl in apisupport/project. The query
should return javadoc not just for jars but also for classes folder.

There is also missing support for tracking changes of javadocs in the NetBeans Platform Manager.

Reassigning to apisupport/project.
Comment 3 Jesse Glick 2007-09-11 15:32:02 UTC
Martin do you want to look at this? I think you did most of the work on this query in the past.
Comment 4 Martin Krauskopf 2007-09-11 15:54:18 UTC
Yes, I want, if I could spent more time on APISupport. Will try for 6.0. And this worked before -> regression, P2. This
should force me :)
Comment 5 schmidtm 2007-09-26 10:08:42 UTC
Hi Martin,

one additional comment: I've unziped a freshly downloaded API zipfile and tried to register this in the platform
manager, but alas it's still the same situation. ALT-F1 simply does not work, but the small window showing possible
completions *including* JavaDoc preview works!

cheers,

Matthias
Comment 6 Martin Krauskopf 2007-10-02 13:17:59 UTC
I see. It stops to work only if you have also sources available. If you have only Javadoc set it works because different
URL is required from our JFBQI. This never worked (removing REGRESSION).
Comment 7 Martin Krauskopf 2007-10-03 11:19:11 UTC
Also directory source roots are now resolved.

test/unit/src/org/netbeans/modules/apisupport/project/queries/GlobalJavadocForBinaryImplTest.java;
initial revision: 1.1
src/org/netbeans/modules/apisupport/project/queries/GlobalJavadocForBinaryImpl.java;
new revision: 1.13; previous revision: 1.12
Comment 8 schmidtm 2007-10-09 12:44:59 UTC
This issue now works for me on Ubuntu 6.10/AMD64.