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.
[ BUILD # : 201103220400 ] [ JDK VERSION : 1.6.24 ] I just created a Java Help set for a module on the build mentioned above. If you build and run the application the entries are in the Help about as you would expect but if you try the zip distribution that help set is not created (the jar file)
In a current dev build on Ubuntu / JDK 6u24 I created a "NetBeans Platform Application" and added a module to it. Created a "JavaHelp Help Set" in the module. Ran the app, Help > Contents showed the new help as expected. Package as > ZIP Distribution, from a shell unpacked the generated ZIP into a new dir, started the unpacked app with a fresh userdir. Help > Contents again showed the new help as expected.
My issue is that I'm used to see a jar containing the help docs in: <app name>\<app name>\modules\docs\<module>.jar It is not present for the module created with the new help. I need that for an installer I build from the zip distribution using Izpack
(In reply to comment #2) > I'm used to see a jar containing the help docs in: > > <app name>\<app name>\modules\docs\<module>.jar > > It is not present for the module created with the new help. No, it is not; ClassPath: docs/$cnb.jar was never necessary and is not created by @HelpSetRegistration (which just treats the help set as a module resource like any other). I am not clear on why you would need a separate JAR, but if so you can register a help set the old way without @HelpSetRegistration and pack the resulting files wherever you like.
Then where is the help located when you use the new annotation? I should be leaving something out when I create the package.
(In reply to comment #4) > where is the help located when you use the new annotation? Just in a regular package in the module JAR file, or wherever you put it - up to you. Treated like any other module resources such as icons.