Bug 296105 - 'Validate Plug-ins' does not detect problems with singleton plug-ins
Summary: 'Validate Plug-ins' does not detect problems with singleton plug-ins
Status: CLOSED DUPLICATE of bug 306684
Alias: None
Product: PDE
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.6   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: PDE-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: helpwanted
Depends on:
Blocks:
 
Reported: 2009-11-25 08:41 EST by Markus Keller CLA
Modified: 2010-05-18 11:04 EDT (History)
2 users (show)

See Also:


Attachments
Team Project Set (1.36 KB, text/plain)
2009-11-25 08:41 EST, Markus Keller CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Keller CLA 2009-11-25 08:41:22 EST
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
Comment 1 Markus Keller CLA 2009-11-26 10:25:06 EST
(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?
Comment 2 Dani Megert CLA 2010-05-18 10:47:30 EDT
Looks like a duplicate of bug 306684.
Comment 3 Curtis Windatt CLA 2010-05-18 11:04:37 EDT
(In reply to comment #2)
> Looks like a duplicate of bug 306684.

Agreed

*** This bug has been marked as a duplicate of bug 306684 ***