NetBeans removed JavaHelp entirely under Apache due to licensing reasons. Not sure what the solution is right now, I don't remember an email actually fixing it. You can probably bundle the javahelp jar yourself and display something but I didn't look if you can hook it up instead of the proper NetBeans action/service/layer.
My plan for CoolBeans is to just re-add the javahelp module but I didn't get to it. --emi On Fri, Oct 4, 2019 at 3:28 PM Hermann Matthes <[email protected]> wrote: > > Hello, > > I try to port my (big) netbeans module suite from NB7 to NB11. I have a > separate module which contains the whole online help. That's the content of > the layer.xml of the help module: > > <?xml version="1.0" encoding="UTF-8"?> > <!DOCTYPE filesystem PUBLIC "-//NetBeans//DTD Filesystem 1.1//EN" > "http://www.netbeans.org/dtds/filesystem-1_1.dtd"> > <filesystem> > <folder name="Menu"> > <folder name="Help"> > <file name="org-netbeans-modules-usersguide-master.xml_hidden"/> > </folder> > </folder> > <folder name="Services"> > <folder name="JavaHelp"> > <file name="help-helpset.xml" url="help-helpset.xml"/> > <file name="org-netbeans-modules-usersguide-helpset.xml_hidden"/> > </folder> > </folder> > </filesystem> > > > When I try to display the documentation for a specific help context, > > Help help = (Help)Lookup.getDefault().lookup(Help.class); > > always returns null. For me it seems that a dependency is missing for a > Service which implements Help. > > Can anyone help me how to fix that problem? > > Thanks in advance > Hermann --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
