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.
Hi, 3rd Party Javadocs never show up, no matter if I press ALT F1 or click on the Classname and use the Context Menu. The Javadoc JAR Files had been made available either (or both!) adding the Javadoc to a new Library or in the Platform Manager under Javadoc. The only message i get (since 6.1 beta) is "Cannot perform Show Javadoc from here". I'm using Freeform Projects, and I never testet this with any other Project Templates. This has been verified with JDK 1.5.0_13/14 and jdk 1.6_03/04/05 using NB 6.0, 6.01 and 6.1 Beta. I also searched the Mailingslist and the web for this one. I'm still stuck with NB 5.5.1 due to this error!
reassign to java for evaluation
The javadoc should be added in Library Manager. Does the jar in library definition match the jar in project properties sources? Has the folder/archive with documentation right structure (e.g. there is no additional directory in path, etc...)? If all above is set up correctly, please provide sample project. Thanks
>The javadoc should be added in Library Manager. I know! That's the way it worked under NB 5.5.1 > Does the jar in library definition match the jar in project properties sources? What do you mean? I have to add some third Party Javadoc to the Library Manager and into the Project? > Has the folder/archive with documentation right structure (e.g. there is no additional directory in path, etc...)? Yes. It is simply the output from the Javadoc ANT Task. No additional Directory, Files or whatsoever. > If all above is set up correctly, please provide sample project. Excuse me! But I not having the time to provide you with a sample Project. It seems, I didn't explain it well, so I do it again: 1) Create a Project, using the Template "Web Application with existing Ant Script" 2) Add a third party Javadoc (e.g. Wicket) to the Library Manager (Path or Archive, doesn't matter) 3) Create a Java File and write public class MyApplication extends WebApplication {}. The latter is a class from Wicket. Now try to get the Javadoc shown, either using alt-f1 or the Context Menu. The Message "Cannot Perform Show Javadoc from here" appears in the Status Bar. The funny thing is: This only happens with the described Template, but NOT if you use the "Web Application" Template. I need my own ANT script, that's why I can't use this Template.
> What do you mean? I have to add some third Party Javadoc to the Library Manager and into the Project? I've meant that the jar in Classpath tab of library definition must be the same jar as in Java Sources Classpath list in project properties
Yes, all added third party jars are from the same location and the same release.
I checked NB 6.1 RC 2. With the Freeform Template (SE or Web) it's still the same. I noticed that it is not possible to add a Library via Tools/Libraries, but it is not possible to add any Library to a Freeform Project. Works as designed? I will therefore migrate to "Project with existing sources" Template. With that it is no problem to add the Library and then see the Javadoc Pages. I still use my Build Process in overloading the desired Targets in the Top Level Ant Script. NB 6.x is a great step forward. Thank you!
Sorry, I wrote bullshit: The second Sentence must be read: I noticed that it is possible to add a Library via Tools/Libraries, but it is not possible to add any Library to a Freeform Project.
I'd like to resolve the issue. Freeform projects do not support adding libraries, only JAR files and folders are supported. I'm closing the issue, because I'm not able to reproduce the issue. If you can still reproduce please provide step by step howto. Thanks.