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 42075 - "Needs compile" badges don't go away if compiler target is set
Summary: "Needs compile" badges don't go away if compiler target is set
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-16 11:12 UTC by Antonin Nebuzelsky
Modified: 2007-09-26 09:14 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Antonin Nebuzelsky 2004-04-16 11:12:53 UTC
As reported on nbusers:

"If I set the compiler's target to a directory
different from the src dir, then compile the
classes, the "needs compile" icon badges (the
small red things) don't disappear. If I don't
change the compiler's target the badges disappear
after compiling. I'm using NB 3.6 final on WinXP
pro sp1."

I had a suspicion that this might be caused by the
optimization of files() method in MultiDataObject.
(version 1.7 of
/cvs/openide/loaders/src/org/openide/loaders/MultiDataObject.java)
So I tried reverting this optimization and the
problem is still there!

The problem was introduced somewhere between NB351
and NB36.
Comment 1 gyszalai 2004-04-16 13:32:42 UTC
As far as I remember it was ok in 3.6 Beta
Comment 2 Jesse Glick 2004-04-23 02:07:35 UTC
Is the target dir mounted?

Marking FIXED for 4.0 since compilation will always go to a separate
dir; still open for 3.6.
Comment 3 Antonin Nebuzelsky 2004-04-23 09:59:14 UTC
Yes, the target dir is mounted.
It works correctly with NB351, does not work in NB36.