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.
I used a continuous dev build from today, but also tried this with a continuous dev build from end of last week sometime. Steps: 1. Create module project. 2. Create empty JUnit test. 3. Compile it. The build fails and the Output window shows this: compile-test-single: Created dir: C:\mymodules\module7\build\test\unit\classes Compiling 1 source file to C:\mymodules\module7\build\test\unit\classes C:\mymodules\module7\test\unit\src\a\NewEmptyJUnitTest.java:10: package junit.framework does not exist import junit.framework.*; C:\mymodules\module7\test\unit\src\a\NewEmptyJUnitTest.java:16: cannot find symbol symbol: class TestCase public class NewEmptyJUnitTest extends TestCase { 2 errors E:\nbdev\netbeans\harness\common.xml:268: Compile failed; see the compiler error output for details. BUILD FAILED (total time: 1 second)
Reproducible only if neither your build nor your target platform are ${nb_all}/nbbuild/netbeans. Checking in build.xml; /cvs/apisupport/harness/release/build.xml,v <-- build.xml new revision: 1.3; previous revision: 1.2 done
verified
Using NetBeans IDE 5.5 Beta (as well as daily builds etc afterwards), I'm finding that JUnit is not on the classpath (same steps and error messages as in original issue).
Changed version from 5.0 to 5.5.
The bug in 5.0 was fixed, do not reopen. Need a fresh bug.