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.
[ BUILD # : 200510301900 ] [ JDK VERSION : 1.5.0_05 ] I have a freeform project that has a bunch of jars in its classpath. After starting NetBeans, code completion works fine but when one of these jars (containing the superclass for the class I'm working on) is updated on disk, code completion stops recognizing the superclass. I have to restart NetBeans to get it to work again. There is no indication that the project classpath is scanned and AFAIK there is no way I can manually ask NetBeans to do so.
What do you mean by 'one of these jars is updated'? Does it mean deleted or replaced by new version? It would be great if you can provide exact steps how to reproduce it. Thanks. Reassigning to freeform for more investigation.
I mean replaced by a new version. This happens frequently when a project depends on a library that is developed "in-house". Scenario: 1) I build a new version of the library and run a task that copies the jars to a shared directory. 2) I notify the other developers that a new version is available. 3) The other developers copy the new version to wherever they want it. Some of them might have choosen to point their library definitions directly to the share and don't need to copy it. Now, code completion is broken for them in the way that I described and they have to restart NetBeans. There doesn't seem to be any way for them to force a scan.
I have reproduced the problem with both freeform and J2SE project using the steps above (so this is not a freeform-specific issue). Please let me know if you need more detail steps to reproduce. Notes: 1. I used jar that was not part of any project (was not owned by any project). 2. The source is compiled (for errors, in the IDE) correctly, only the code completion is broken. So I think that the classpath provided by the project is correct. Passing to java/javacore for further evaluation.
To Jan: As you saw yesterday - it worked fine in J2SE project. So exact steps how to reproduce it will be very welcome.
Yes, it works OK on Tomas' computer. On the other hand I can still reproduce the problem with clean build. I will try to investigate.
Honza - is this bug still valid?
Honzo L.: any news about your investigation?
Javacore module was replaced by Retouche infrastructure. This bug is not valid in trunk any more.
Reorganization of java component