| Summary: | PDE Plugin Tests: Required plug-in 'org.junit4' could not be found. | ||
|---|---|---|---|
| Product: | [Eclipse Project] PDE | Reporter: | Philipp Nanz <philippn> |
| Component: | UI | Assignee: | Curtis Windatt <curtis.windatt.public> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | curtis.windatt.public, daniel_megert, darin.eclipse, dj.houghton, Fanatic_69, thomas, zanetu |
| Version: | 3.6 | ||
| Target Milestone: | 3.7 M6 | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
|
Description
Philipp Nanz
The tests do require the junit4 bundles to run, the line you specified is not the root of the problems though. The junit4 bundles are being included in the Eclipse SDK, but I don't know what requires them. cc'ing Dani as he will know more about what junit bundles are required. >As far as I understand all references to the org.junit4 bundle as well as >org.eclipse.jdt.junit4.runtime were removed This is two times wrong ;-) 1. 'org.junit4' is no longer needed but only if you replace the reference with 'org.junit' version 4.8.1 2. The 'org.eclipse.jdt.junit4.runtime' is still needed as it is the Eclipse JDT side of the runtime story. See also http://wiki.eclipse.org/Eclipse/Testing/JUnit4_Changes. I think the problem is that there is a hardcoded reference to the 'org.junit4' bundle in the PDE source code. We tried to remove the 'org.junit4' from the Buckminster PDE feature but that actually crashed some builds. Not because they were referencing this bundle directly, but because they wanted a junit4 build. The product contains 'org.junit' 4.8.1. Looks like the launcher should be fixed up to include the org.junit bundle(s) rather than the org.junit4 bundle: org.eclipse.pde.launching.JUnitLaunchConfigurationDelegate.getRequiredPlugins(ILaunchConfiguration) Fixed in HEAD. There is no need to require org.junit4. org.junit is still required. |