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 have a Web project which I have created using sources on a remote network mapped drive. There are about 4500 files that are compiles when i run the javac ant task. When I expand the source node in the project, the UI does not repaint itself for atleast 10-15 minutes. I would expect it to atleast show me a status saying that it is parsing the source files or waiting to do something.
Sorry, if the network is slow then loading the fileobjects / dataobjects takes long. I can't do much with it. The only possibility is to show wait cursor or wait node during loading the files.
The network is not slow. Its Netbeans thats reading all the files before it responds. I would expect atleast a dialog/message status telling me that the IDE is trying to load read the directories. Currently it just blanks out and looks as if the application is "hung" Also, the view where all the files are shown in a flat view is probably causing this for me. Can I change that ?
Just to clarify. The flatened package view (i.e. the Projects Tab) is slower than the tree view of files (Files Tab) because it has to traverse the whole tree to create the list. 1) Form the bug report I'm not sure where you are experiencing the problem. If in the Project Tab then you reported that agains right module. If in both you will prbably have to file another issue against datasystems. 2) How long does it take if the sorces are on local disk? Nothing agains your network, but networks are generaly slower than local disk access. 3) Don't expect me adding any progres dialogs. As I said the only thing I might do is to ad a wait node and/or wait cursor.
Yes I am talking of the flattened view ( the one with the package names on it ). On the local disk this takes about half the time, but then even that is too much for my project :( Too sad you can't add a dialog or status somewhere and re-paint the GUI atleast. Currently the window just shows a title bar and nothing else for the next 10 minutes.
I of course meant that the UI should be responsive (repainted) when showing wait cursor. I just mean that a dialog is a bit too heavyweight for people who do not have such a large source trees.
Thats should be good. Thanx.
PackageViewChildren ought to compute package nodes asynchronously and display them as they are found, perhaps with some kind of intermediate notification of progress. Issue #29828 required for it to really work properly. However the reporter should seriously reconsider using a slow network drive to store project source files, if at all possible. Far better to use a local disk, and share sources using version control.
Moving to another drive is not an option here.
Checking in java/project/src/org/netbeans/spi/java/project/support/ui/PackageViewChildren.java; /cvs/java/project/src/org/netbeans/spi/java/project/support/ui/PackageViewChildren.java,v <-- PackageViewChildren.javanew revision: 1.45; previous revision: 1.44 done