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.
5.5 RC2 Code completion does not work for libs that are placed in the common/lib directory under Tomcat. Steps: 1. Copy a jar file to common/lib 2. Create a web app 3. Create a class and try to use any class from the jar file => there are no errors shown and code compiles, but code completion is not available. Note that if you attach sources to the jar file, CC seems to work.
5.5 FCS, GlassFish v1 b13 This seems to apply for GlassFish as well, i.e. if you have a jar file in [glassfish_dir]/lib there is no code completion available for classes in that jar. What's worse is that usages are shown as errors and that code doesn't compile. To reproduce: 1. add a jar file to [glassfish_dir]/lib 2. create a web app, target server GF 3. create a servlet 4. try to use a class from the jar file in the servlet => code doesn't compile Restarting the IDE doesn't seem to help.
Errno, do you mean code completion in JSPs? Does the jar library show in the project libraries node when the tomcat is set as target server? Is this really P2? ;-)
No, I mean in regular Java classes, maybe in JSPs as well (haven't tried). The library is shown correctly in the project libraries. About this not being a P2, I would definitely agree on upgrading this to P1 (that's what you meant, right?:))
It works for me now, probably fixed by Retouche. I just spotted one think ... I had to restart IDE after copying the jar file into the commons/lib, without this it didn't appear in the librarieas and was not on compilation classpath. Maybe Stepan already knows about this...
Yes, I know about it, there is an issue filed for it.