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 120585 - [60cat] NetBeans does not recognize compiled classes in source folder
Summary: [60cat] NetBeans does not recognize compiled classes in source folder
Status: RESOLVED WONTFIX
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P4 blocker (vote)
Assignee: Milos Kleint
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-31 09:40 UTC by tboerkel
Modified: 2007-10-31 23:02 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Repro (13.44 KB, application/x-compressed)
2007-10-31 09:40 UTC, tboerkel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tboerkel 2007-10-31 09:40:32 UTC
[ BUILD # : 200710212201 ]
[ JDK VERSION : 1.6.0_03 ]

Setup: Sources and classes in the same directory, like in NB 3.x.

Build project and NetBeans still shows the wrench symbol for
uncompiled classes for the compiled sources.

Attaching repro.
Comment 1 tboerkel 2007-10-31 09:40:56 UTC
Created attachment 52095 [details]
Repro
Comment 2 Milos Kleint 2007-10-31 09:55:05 UTC
well, having classes and java files in same directory is not supported as far as I'm concerned. The fact that this was
the default in 3.x is not relevant.
It seems I need to do a build twice after cleaning to make the icon update. Everything works fine when class files are
in the output directory.
Comment 3 tboerkel 2007-10-31 10:17:23 UTC
This was supported in NB 5.x. If it's not anymore, then NB 6.0 is totally useless for us, because we cannot simply
change this for older versions of our application that are still in use by our customers and have to be supported by us.

Comment 4 Milos Kleint 2007-10-31 10:23:54 UTC
well, how can a minor visual glitch make the whole IDE "totally useless"?
Comment 5 tboerkel 2007-10-31 10:39:40 UTC
When your IDE always signals you that you need to compile your classes, this should be pretty annoying at least.
Comment 6 Jesse Glick 2007-10-31 20:18:18 UTC
Keeping class files alongside sources is not supported for j2seproject's (since NB 4.0) and there is no plan to support
it in the future. You can control file badging in such a scenario if you create a module which has

---%<--- src/META-INF/services/org.netbeans.spi.queries.FileBuiltQueryImplementation
com.tboerkel.MyFBQI
#position=100
---%<--- src/com/tboerkel/MyFBQI.java
public class MyFBQI implements FileBuiltQueryImplementation {...}
---%<---
Comment 7 tboerkel 2007-10-31 23:02:32 UTC
Wow, that is news to me that this was not supported since 4.0. I had filed several bugs regarding this scenario for 4.x
and they were fixed. And it worked perfectly in 4.x and 5.x. Why this is not supported anymore is beyond my
understanding. In Eclipse, this is no problem.