Community
Participate
Working Groups
Created attachment 153063 [details] Team Project Set I20091118-1342 The 'Validate Plug-ins' button in the Plug-ins tab of PDE launch configs does not detect problems with singleton plug-ins. Steps: - import the attached project set - ensure that org.eclipse.core.expressions.tests' manifest contains Require-Bundle: org.eclipse.core.expressions;bundle-version="[3.4.100,4.0.0)", org.eclipse.core.runtime;bundle-version="[3.3.100,4.0.0)", org.junit;bundle-version="[3.8.2,3.9.0)" - change both org.junit plug-ins to be singletons - create a PDE JUnit launch configuration for "AllTests" with a 1.6 VM - click 'Validate Plug-ins' button => Was: No problems were detected. => Expected: The problems that are written to the log when you try to launch should already be detected during validation: !ENTRY org.eclipse.osgi 2 0 2009-11-25 14:29:40.683 !MESSAGE The following is a complete list of bundles which are not resolved, see the prior log entry for the root cause if it exists: !SUBENTRY 1 org.eclipse.osgi 2 0 2009-11-25 14:29:40.683 !MESSAGE Bundle org.eclipse.core.expressions.tests_3.4.100.qualifier [28] was not resolved. !SUBENTRY 2 org.eclipse.core.expressions.tests 2 0 2009-11-25 14:29:40.683 !MESSAGE Missing required bundle org.junit_[3.8.2,3.9.0). !SUBENTRY 1 org.eclipse.osgi 2 0 2009-11-25 14:29:40.683 !MESSAGE Bundle org.junit_3.8.2.qualifier [190] was not resolved. !SUBENTRY 2 org.junit 2 0 2009-11-25 14:29:40.683 !MESSAGE Another singleton version selected: org.junit_4.7.0.qualifier
(From bug 290533 comment #18) > Is the concern here singletons? PDE-UI works around the singleton issue by > using a resolver that is in dev mode. Maybe the the validator also uses a resolver in "dev" mode?
Looks like a duplicate of bug 306684.
(In reply to comment #2) > Looks like a duplicate of bug 306684. Agreed *** This bug has been marked as a duplicate of bug 306684 ***