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.
Summary: | Classes in Test Package not compiling when referring to classes of other project's Test Package | ||
---|---|---|---|
Product: | java | Reporter: | ulfzibis <ulfzibis> |
Component: | Editor | Assignee: | Dusan Balek <dbalek> |
Status: | VERIFIED FIXED | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | 8.0 | ||
Hardware: | PC | ||
OS: | Linux | ||
See Also: | https://netbeans.org/bugzilla/show_bug.cgi?id=254172 | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | |||
Bug Blocks: | 246438, 246950 | ||
Attachments: | 3 test projects |
Description
ulfzibis
2014-08-11 00:49:44 UTC
Correction: [ JDK VERSION : 1.7.0_55 ] Can you please share the project? I've tried to setup two projects according to your description but it works fine for me. Created attachment 148707 [details]
3 test projects
The problematic file is:
KVB/KomPrüfStand/test/de/DMS/KVB/KomPruefStand/TestRahmen.java
BTW: Which of the 2 possibilities would you value as "correct" to configure a reference to Test Packages of project A in Test Packages of project B? IMO, the most interesting solution would be just to set a reference to project A in Test Packages of project B, but this didn't work. Fixed jet-main 0901f6d2f827 Hi, is it possible to have this as a hotfix for NB 8.0.2 ? Verified with Build 201508011000. Works fine with file.reference.test-classes=${project.A}/test but not file.reference.test-classes=${project.A}/build/test/classes because after Clean&Build I get a reference conflict as /build/test/classes becomes deleted. |