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.
since some time (not in 6.0, but present in 6.7 ant tasks) we ship our own classes in package com.sun.java.help.search as part of the tasks.jar. That seems to work fine for ant harness, but unfortunately breaks for maven usage. Took me a while to figure but it's caused by the fact that the only publicly available javahelp binary in the central repository is signed (which the binary we ship isn't) and as such the classloading fails as classes in the same package need to have the same signatures. P2 as it cripples the usage of javahelp in netbeans maven based modules. Possible solutions include 1. push a non-signed version of javahelp to central repository 2. getting rid of whatever classes we have in that package.
Prefer #2. Fixes to JavaHelp should be made upstream, not as patched in NB sources.
If you prepare patch, I have commit rights to javahelp.
Created attachment 93201 [details] Removes hacks to modify JH search indexer May be applied after https://javahelp.dev.java.net/nonav/issues/show_bug.cgi?id=27 is merged into JH and resulting 2.0_06 released and incorporated into NB.
Still waiting for assistance releasing a new version of JavaHelp (need help with the TCK). If that cannot be done by 6.9, will consider reverting bug #155111 as this issue is more serious.
Yep, maven usage could be more serious than META keywords. Yet reverting back feature that was in for couple releases is dangerous: hard to estimate it's real usage. How about option 1: - push a non-signed version of javahelp to central repository Is there a reason against it ?
core-main #82c5416e45ae removes those classes from tasks.jar. There is still one class from JH left in org-netbeans-modules-javahelp.jar for compatibility with old help sets; let me know if that would cause problems too.
Integrated into 'main-golden', will be available in build *201003120200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/82c5416e45ae User: Jesse Glick <jglick@netbeans.org> Log: #179307: revert #155111 impl to avoid problems with Maven.