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 # : 200808120201 ] [ JDK VERSION : 1.6.0_07 ] I just installed this dev build, and did a new checkout of my project https://java-nio-charset-enhanced.dev.java.net/svn/java-nio-charset-en hanced/trunk in an alternative path, and resolved the broken references regarding platforms. I opened the "Test Packages" folder and recognized the "Needs to be compiled" badge. OK, right-click on the regarding file, ... but "Compile" was greyed. See attachment. In fact at this state also the whole project was NOT build (no build/dist folder in project), but also the "Build Main Project" button was greyed (seems to be cause of CoS). After disabling CoS, the "Build Main Project" button remained greyed, but changed imideately after right-click on the java file in the "Test Packages" folder (P4-Issue ?).
Created attachment 67158 [details] Greyed "Compile"
Reassigning to "projects".
And after disabling CoS was the action Compile File enabled? If Compile on Save is enabled for a given project then no Compile action is enabled for the project, so this behavior is correct.
Yes, after disabling CoS the action Compile File was enabled, ... but I'm wondering, that after making a change in a test java file, CoS was still in action. I.e. the regarding class file in ./build/test/classes/ had new timestamp after saving the java file.
BTW: The name of the CoS property in private.properties "disable.compile.on.save=false" is not really providential and helpful. We also have: javac.debug=true and not: disable.javac.debug=false
Yes the "Needs to be compiled" badge should not be there. Reassigning to Java guys for additional comments, but in general this issue is wontfix.
I would agree that the negative property name is undesirable. If you care about it, should be filed as an independent issue.
Done: Issue 145539
I guess we are not waiting for reporter's input - removing INCOMPLETE keyword.
Overtake.
Can't replicate in current dev build.