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.

Bug 97106 - Fine grained "clean" option...clean-single
Summary: Fine grained "clean" option...clean-single
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: 6.x
Hardware: PC All
: P3 blocker (vote)
Assignee: Tomas Zezula
Depends on:
Reported: 2007-03-02 15:00 UTC by mclaassen
Modified: 2011-08-31 14:06 UTC (History)
0 users

See Also:
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description mclaassen 2007-03-02 15:00:49 UTC
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"

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

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)
Comment 1 mclaassen 2007-03-21 17:47:41 UTC
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

Comment 2 Jiri Prox 2007-08-10 11:03:50 UTC
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?
Comment 3 mclaassen 2007-08-13 04:26:22 UTC
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.