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 30247 - Clean not cleaning class files it does not know
Summary: Clean not cleaning class files it does not know
Status: RESOLVED DUPLICATE of bug 8905
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P4 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-21 16:28 UTC by dnoyeB
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description dnoyeB 2003-01-21 16:28:36 UTC
If you tell the IDe to clean or clean All, it will
only remove the class files that match source
files it has.  It will not remove all class files
from the directory as I believe it should.

clearly this is intentional behavior because its
not simply doing a del *.class as one would
expect.  So at the very least their should be some
indication that their are unknown classes in the
classes directory so when you run your program and
its doing strange stuff, you know that their are
some extra classes hanging around.


For me this problem occurs when you compile, then
rename a file.  The already generated class file
is never cleaned up.    causes problems when your
refactoring the code.
Comment 1 dnoyeB 2003-01-21 17:54:40 UTC
Also I noticed that if the file is set not to compile, it also will
not clean.  I guess thats not entirely bad.  Be nice to know at a
glance which files are set not to compile (icon).  Seems like an
obvious feature.  Maybe its already under consideration.  If so let me
know where I can read about such planned enhancements so I dont post
again on this topic.
Comment 2 Jan Becicka 2003-01-21 17:58:29 UTC
See issue 8905

*** This issue has been marked as a duplicate of 8905 ***
Comment 3 dnoyeB 2003-01-21 20:13:07 UTC
I tried not to report a duplicate bug, but I searched for 'clean not'
but nothing came up. perhaps the searching mechanism has a bug too...
Comment 4 Jan Becicka 2003-01-21 20:33:36 UTC
File a bug against the searching mechanism :-)