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 64120 - nbjunit.jar is not on editing classpath
Summary: nbjunit.jar is not on editing classpath
Status: VERIFIED FIXED
Alias: None
Product: apisupport
Classification: Unclassified
Component: Project (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-12 13:47 UTC by pzajac
Modified: 2005-11-01 13:47 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description pzajac 2005-09-12 13:47:18 UTC
test.unit.cp.extra classpath is used during editing tests. Please add the
contents of test.unit.lib.cp to  test.uni.cp.extra property.
Comment 1 Jesse Glick 2005-09-12 23:07:29 UTC
The effective classpath used in the IDE should already include
test.unit.cp.extra if specified, as well as the equivalent of test.unit.lib.cp.
This is unit tested and still passes. If you know of a counterexample, please
state specifics.
Comment 2 pzajac 2005-09-14 14:19:47 UTC
Steps to reproduce:
1) download nbjunit from autoupdate into ide with fresh userdir
2) create a standalone netbeans module project
3) Add simple TestCase class (Simple NbJUnit TestCase template)

The generated testcase is compilable. But there are errors in editor. 
Comment 3 Jesse Glick 2005-09-14 22:33:49 UTC
OK, should be simple to fix in NbModuleProject.findNbJunitJar, using
InstalledFileLocator.
Comment 4 pzajac 2005-10-18 17:13:34 UTC
P3 -> P2
please fix for NB50
Comment 5 Jesse Glick 2005-10-29 19:56:07 UTC
Also if you add

import org.netbeans.insane.scanner.Filter;
Comment 6 Jesse Glick 2005-10-29 20:06:08 UTC
Checking in NbModuleProject.java;
/cvs/apisupport/project/src/org/netbeans/modules/apisupport/project/NbModuleProject.java,v
 <--  NbModuleProject.java
new revision: 1.122; previous revision: 1.121
done
Comment 7 pzajac 2005-11-01 13:47:42 UTC
verified