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 87201 - test.unit.cp.extra is not in test runtime cp
Summary: test.unit.cp.extra is not in test runtime cp
Status: CLOSED DUPLICATE of bug 87260
Alias: None
Product: apisupport
Classification: Unclassified
Component: Harness (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: pzajac
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-16 13:48 UTC by pzajac
Modified: 2007-01-10 13:59 UTC (History)
3 users (show)

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 2006-10-16 13:48:48 UTC
Hi gyus,

it looks like the property test.unit.run.cp.extra has recently stopped doing
what it used to do. Here is the story - in some of our modules (e.g. java/lexer
in trunk) we define the following property in our project.properties file:

test.unit.cp.extra=\
${nb_all}/lexer/build/test/unit/classes\
:${editor.dir}/modules/org-netbeans-modules-editor-util.jar\

In not so distant history this was enough to compile and run our tests, which
depend on some *test* classes in lexer module. This is not working anymore. The
java/lexer tests compile fine, but when running most of them fail with
NoClassDefFoundError complaining that the test classes from lexer module can't
be found?! Does anybody have any idea what could possibly be wrong?
Comment 1 Marian Mirilovic 2006-10-17 08:29:21 UTC
I guess I found out the same on performance tests. I used Zajo's suggestions and
tried to unify all cfg/build files. But some time ago it just stopped to work.
Comment 2 pzajac 2006-11-01 08:25:50 UTC
I cannot reproduce it:
 I tried to reproduce in tests for external and netbeans.org NBM projects. Feel
free reopen if you are able to reproduce.
Comment 3 pzajac 2006-11-01 08:32:55 UTC
It doesn't work with xtest harness.
Comment 4 pzajac 2006-11-01 08:33:41 UTC

*** This issue has been marked as a duplicate of 87260 ***
Comment 5 pzajac 2007-01-10 13:59:30 UTC
c