| Summary: | ClassCastException when running ds.tests project's launch configuration | ||
|---|---|---|---|
| Product: | [Eclipse Project] PDE | Reporter: | Stoyan Boshev <s.boshev> |
| Component: | UI | Assignee: | PDE-UI-Inbox <pde-ui-inbox> |
| Status: | CLOSED DUPLICATE | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | darin.eclipse, markus.kell.r, tjwatson |
| Version: | 3.6 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
|
Description
Stoyan Boshev
Markus, is this a JUnit 3 vs. 4 issue? Yes, see bug 296104. I always said the org.junit plug-ins should be singletons, so that such problems can at least be detected by OSGi, but I've been overruled. *** This bug has been marked as a duplicate of bug 296104 *** Stoyan, I figured out why ds.tests is failing to work but osgi.tests is working. Your test bundle puts a limit on the import-package range. If you remove the Import-Package for junit and instead use Require-Bundle on junit with no range then it seems to work. (In reply to comment #4) > Stoyan, I figured out why ds.tests is failing to work but osgi.tests is > working. Your test bundle puts a limit on the import-package range. If you > remove the Import-Package for junit and instead use Require-Bundle on junit > with no range then it seems to work. Thanks Thomas! It works this way |