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.
trunk sources from 2003-Apr-26 though there is docs/junit-3.8.1-api.zip file the documentation is not visible for example in View | Documentation Indices because all its content is packaged within javadoc directory. You can repackage the zip or maybe set root offset for this archive
The junit-3.8.1-api.zip file was taken directly from junit distribution. I will repackage it.
Fixed in trunk. Unfortunately, I cannot fix it in release35 branch, because of the high resistance and code freeze policy.
*** Issue 33388 has been marked as a duplicate of this issue. ***
*** Issue 33664 has been marked as a duplicate of this issue. ***
Perhaps the P3 ranking is inappropriate given that three people have independently noticed this and filed it, so it is not that obscure; that the state in 3.5 is clearly wrong (a ZIP of Javadoc is shipped yet cannot be used); and that the fix is so easy.
I know it's simple, but because of rules in the high resistance mode, to be able to fix the bug in release35 it has to be a showstopper, which I'm afraid this is not. Sorry I'd like to fix it myself, but I just simply cannot :-(.
I think this should be integrated since JUnit is a new feature for Studio. Can the priority be raised to P2?
I think this has to be a P1 to be able to fix it in release35. And because there exist an known workaround (you can set root offset) which will be (hopefully) described in release notes, I don't think I could make it a P1. Honzo what do you think? The fix is basically just a replace of existing .zip file. Personally I would like to do it.
It's unfortunate, but it's too late for this for release35. Only showstoppers (P1s) can be fixed at this point and this issue does not fit into that category. I propose to create a patch a made it available on the NetBeans update center immediately after 3.5 is released.
Not sure this will make the release notes. However, if it does, would this wording work?: "Even though the API docs for JUnit come with the junit module, the docs do not appear in View | Documentation Indices because they are packaged incorrectly. Workaround: Go to the IDE's installation directory, open the docs folder, and unzip junit-3.8.1-api.zip. Then create a new zip with the 'javadoc' directory removed from the hierarchy."
"create a new zip with the 'javadoc' directory removed from the hierarchy" - to be concrete, perhaps specify "create a new ZIP file with the 'javadoc/' prefix removed from the hierarchy, leaving entries such as 'packages.html' and 'junit/framework/Test.html'". May also need to mention that the new ZIP file should replace the old one (same name); and that the IDE should not be running at the time (especially for Windows users).
I don't think it is necessary to repackage the zip. If I'm not mistaken, it should be enoug to go to Tools/Javadoc Manager, select junit-3.8.1-api.zip and change Root Offset to 'javadoc' subdirectory. But it shold be rather checked if it works - I have some problem with JavaDoc manager on my machine, because it does not show any JavaDoc at all ....
That's true, changing root offset should work, at least for Javadoc Index Search - I don't think it would cause an entry to appear in Documentation Indices however. Cannot confirm easily ATM - I have already installed the fixed version of the module.
There needs to be confirmation/closure on this issue now, a final answer for the Studio Release notes. Please let me know what I need to write. I have sent email to appropriate parties with a copy of the Studio Release Notes. Thanks.
Tagging the issue with SIMPLEFIX keyword, because the fix is really very simple and it would be nice to get this fixed for Nb 3.5.1 ...
Verified in trunk