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 143637 - [65cat] No compile for test class
Summary: [65cat] No compile for test class
Alias: None
Product: java
Classification: Unclassified
Component: Source (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: Rastislav Komara
Depends on:
Blocks: 152191 145539
  Show dependency tree
Reported: 2008-08-12 17:16 UTC by ulfzibis
Modified: 2009-05-06 15:41 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:

Greyed "Compile" (15.24 KB, image/jpeg)
2008-08-12 17:18 UTC, ulfzibis

Note You need to log in before you can comment on or make changes to this bug.
Description ulfzibis 2008-08-12 17:16:55 UTC
[ BUILD # : 200808120201 ]
[ JDK VERSION : 1.6.0_07 ]

I just installed this dev build, and did a new checkout of my project
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 ?).
Comment 1 ulfzibis 2008-08-12 17:18:03 UTC
Created attachment 67158 [details]
Greyed "Compile"
Comment 2 Peter Pis 2008-08-13 10:30:59 UTC
Reassigning to "projects".
Comment 3 Milan Kubec 2008-08-25 13:35:29 UTC
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
Comment 4 ulfzibis 2008-08-25 14:25:44 UTC
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.
Comment 5 ulfzibis 2008-08-25 14:38:07 UTC
The name of the CoS property in "" is not really providential and helpful.
We also have:
and not:
Comment 6 Milan Kubec 2008-08-25 14:42:20 UTC
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.
Comment 7 Jesse Glick 2008-08-29 00:57:24 UTC
I would agree that the negative property name is undesirable. If you care about it, should be filed as an independent issue.
Comment 8 ulfzibis 2008-08-29 09:52:28 UTC
Done: Issue 145539
Comment 9 Jiri Kovalsky 2008-09-16 20:53:59 UTC
I guess we are not waiting for reporter's input - removing INCOMPLETE keyword.
Comment 10 Rastislav Komara 2009-02-03 10:53:49 UTC
Comment 11 Rastislav Komara 2009-05-06 15:41:16 UTC
Can't replicate in current dev build.