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 ] Building a project does not compile the JUnit test classes. This is irritating and annoying to have to invoke compile explicitely on the test directory.
I tend to agree. I assume you are using one of the ant-based project types. reassigning to ant/project as this is probably a general issue with ant based projects. Most likely not a defect, it was a design decision AFAIK.
No, I am using normal Java Application.
"Normal Java Application" is an Ant-based project type. Same problem probably applies to "Web Application", "Ejb Application", "NetBeans Module" etc.
Sure, this is intentional - build creates the main JAR. If you want to compile tests, you can either run them (F6) or use the Ant target compile-test. Probably WONTFIX but I will leave it up to Tomáš to comment.
*** This issue has been marked as a duplicate of 58060 ***