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 would really love a fine-grained clean option. There are often times when I change some method calls or some other semantics and I want to just clean and compile a particular package to make sure everything compiles. Cleaning and building the entire project is often overkill (and a waste of time) at these times. There is no easy way to do this in NB 4+, although this was possible in NB 3.x. As I remember it, there was a "build" option that was available in the source tree's popup menu. I would like two things added to the popup menu in the source tree in NB 6. A context sensitive "clean-single" option and a context sensitive "compile-single" option. Currently, if a tree node has the focus, F9 will compile that node (class or directory). However, this action is not on the popup menu. When I am in the editor, my hands are on the keyboard, but when I am navigating the tree I am often using the mouse. Being forced to use the keyboard to compile from here is inconvenient. On a side note: Once the "Human Interface Engineers" or whatever took over in NB 4, several handy popup menu options were dropped. And although NB is far more capable now than ever, I would still like some of my options back. I still try to find the CVS menu option in my editor window popup on occasion, ...and silently curse every time. (Issue 66503)
I still think this would be nice and would hopefully not be too hard to implement. I am not sure if the new NB 6 depend stuff (when it is working) will make this not as necessary. Where I use it is when I know constants or methods have changed, I know their scope, and I want to make sure this information gets propagated.
The Compile File/Package is now available on the context menu. If the compile is called on single file, the file is always compiled. Is it what you are asking for?
This is what I am asking for, so long as if I compile a package, there is a way to ensure that the cooresponding build directory is removed as well.