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.
Summary: | NCDFE: HelpSet when executing help sets | ||
---|---|---|---|
Product: | platform | Reporter: | Jesse Glick <jglick> |
Component: | Help System | Assignee: | Jesse Glick <jglick> |
Status: | CLOSED FIXED | ||
Severity: | blocker | CC: | issues, jtulach, pkeegan, raccah |
Priority: | P2 | ||
Version: | 3.x | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | 27776 | ||
Bug Blocks: | |||
Attachments: |
Stack trace
Applied diff |
Description
Jesse Glick
2002-07-08 20:41:36 UTC
Created attachment 6550 [details]
Stack trace
Should be fixed in trunk, details to follow. Candidate for 3.4 release merge. committed Up-To-Date 1.7 core/javahelp/manifest.mf Created attachment 6631 [details]
Applied diff
[YARDA - review requested] Dumb oversight. The JavaHelp API module got an OpenIDE-Module-Public-Packages decl which specified that only its API, not impl, classes should be exposed to other modules depending on it. Unfortunately I forget the JavaHelp API itself (javax.help)! So modules depending on this autoload could not e.g. access javax.help.HelpSet the way they are supposed to be able to do. A manifest change corrects it. To test: mount e.g. nb_all/usersguide/javahelp/org/netbeans/modules/javahelp/ as a local FS. Click ide.hs in the Explorer. Click Execute (F6). Without patch, the attached stack trace is thrown. With patch (just edit the manifest of modules/autoload/javahelp-api.jar), a JH viewer should open displaying the help set. Might also affect any other module besides apisupport which directly uses javax.help.* APIs. Rochelle I think you have one. I guess this was the reason why Rochelle module that worked in 3.3 (javax.help on classpath) did not work in new version (inspite that it automatically depended on javahelp module). From this point of view this is the correct change. Btw. I also checked the JavaHelp Module API - It does not reference javax.help API... "I guess this was the reason why Rochelle module that worked in 3.3 (javax.help on classpath) did not work in new version (inspite that it automatically depended on javahelp module)" - I doubt it. Automatic dependencies, or the explicit OpenIDE-Module-Requires: org.netbeans.api.javahelp.Help will *not* give you direct access to javax.help.*: you are asking that some Help impl be present in the system, but you are not asking for it to be on your classpath. To use javax.help.* you must actually declare OpenIDE-Module-Module-Dependencies: org.netbeans.modules.javahelp/1 > 1.0 to ask for the classpath. The JavaHelp Module API doesn't mention javax.help.*, it is true. Actually most of it is really documented in the Open APIs under the Modules API. I will move those docs, I guess (issue #25594). Merged: committed Up-To-Date 1.6.18.1 core/javahelp/manifest.mf verified Resolved for 3.4.x or earlier, no new info since then -> closing. |