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 120584 - [60cat] Build does not compile test classes
Summary: [60cat] Build does not compile test classes
Status: RESOLVED DUPLICATE of bug 58060
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-31 08:54 UTC by tboerkel
Modified: 2008-07-30 22:56 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tboerkel 2007-10-31 08:54:27 UTC
[ 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.
Comment 1 Milos Kleint 2007-10-31 09:06:49 UTC
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.
Comment 2 tboerkel 2007-10-31 09:17:28 UTC
No, I am using normal Java Application.
Comment 3 Milos Kleint 2007-10-31 09:21:28 UTC
"Normal Java Application" is an Ant-based project type. Same problem probably applies to "Web Application", "Ejb
Application", "NetBeans Module" etc.
Comment 4 Jesse Glick 2007-10-31 17:22:13 UTC
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.
Comment 5 Jesse Glick 2008-07-30 22:56:28 UTC

*** This issue has been marked as a duplicate of 58060 ***