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.
I get a 'javadoc not found' for all java ee 6 methods and classes during auto completion, within the navigator and within the Javadoc window. I tried adding the api folder using the library manager, the entry does appear in the Java-EE-GlassFish-v3.xml configuration file, but still doesn't work. When I restart the IDE the resource tag pointing to the api folder dissapears from the configuration file, looks like the IDE overwrites it whenever it is started. Product Version = NetBeans IDE 7.0 (Build 201104080000) Operating System = Linux version 2.6.38-8-generic running on i386 Java; VM; Vendor = 1.6.0_24 Runtime = Java HotSpot(TM) Client VM 19.1-b02
Probably already fixed, the GS provides javadoc in library it generates. But if it rewrites the library definition every time the IDE is started as described in the report it should be fixed.
I'm trying sample Java EE application with Servlet using GlassFish 3.1.2.2 and last NetBeans 7.3 build. I see Java EE related javadoc and auto completion also works fine. Closing this issue because it seems to be already fixed in 7.3. Feel free to reopen it if you still see the problem with NetBeans 7.3 beta releases or future release.
I'm using NetBeans 7.3 and having the same 'javadoc not found' problem. When I add "C:/Greg/java/glassfish-3.1.2.2-ml/glassfish" as a server, the generated Java-EE-GlassFish-v3.xml has no javadoc: " <volume> <type>javadoc</type> </volume>" I tried to edit is as follows, restarting, still no joy: " <volume> <type>javadoc</type> <resource>jar:file:/C:/Greg/java/doc/javadoc-6.0.1.jar!/</resource> </volume>" I don't find the right place in NetBeans IDE to configure javadoc for GlassFish. No such tab in Tools/Servers and no "GlassFish Server 3+" in Tools/Ant Libraries. Context help for eg. ServletContextListener: "javax.servlet public interface ServletContextListener extends EventListener Javadoc not found. Either Javadoc documentation for this item does not exist or there is no attached Javadoc to the JAR file containing this item:C:\Greg\java\glassfish-3.1.2.2-ml\glassfish\modules\javax.servlet-api.jar Attach Javadoc..." "Attach Javadoc..." does not work, either: I browse "C:\Greg\java\doc\javadoc-6.0.1.jar", press OK, then nothing happens. Where is it supposed to store this setting?
(In reply to comment #3) After removing all the Server Libraries in Ant Library Manager, javadoc works finally.