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.
[ 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.
Created attachment 52095 [details] Repro
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.
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.
well, how can a minor visual glitch make the whole IDE "totally useless"?
When your IDE always signals you that you need to compile your classes, this should be pretty annoying at least.
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 {...} ---%<---
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.