Bug 179318

Summary: Problems with multiple junit versions in target
Product: [Eclipse Project] PDE Reporter: DJ Houghton <dj.houghton>
Component: UIAssignee: PDE-UI-Inbox <pde-ui-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: tjwatson
Version: 3.3Keywords: polish
Target Milestone: 3.3 M7   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
junit 4 bundles none

Description DJ Houghton CLA 2007-03-26 11:18:12 EDT
build i0323-1616 (m6)

- download and extract M6
- delete org.junit4 from install
- extract attached junit 4 plug-ins to install
- attached bundle makes org.junit4 a wrapper for the real org.junit (version 4) bundle
- start Eclipse
- create a new plug-in project
- add a bundle dependancy on org.junit with version range [3.8.1, 4.0.0)
- note that the dependancy is not satisfied

- but when you look at the target platform in the preferences, both versions appear

- both versions also appear when you start with the OSGi console and do an "ss"

- note that these are not singleton bundles
Comment 1 DJ Houghton CLA 2007-03-26 11:18:40 EDT
Created attachment 61979 [details]
junit 4 bundles
Comment 2 DJ Houghton CLA 2007-03-26 11:22:01 EDT
Potentially related (dup?) of bug 177771.
Comment 3 Wassim Melhem CLA 2007-04-09 01:28:14 EDT
The plug-in is getting wired to the correct org.junit plug-in.  So the classpath is correct.

However, the manifest builder code was flagging a false error because it was not multi-version ready.

Fixed.

Thank you for choosing PDE.
Comment 4 Wassim Melhem CLA 2007-04-09 01:29:15 EDT
With this bug closed, PDE/UI is now at 600 bugs fixed for 3.3!!
Comment 5 Wassim Melhem CLA 2007-04-09 01:36:00 EDT
*** Bug 178857 has been marked as a duplicate of this bug. ***
Comment 6 Jeff McAffer CLA 2007-04-09 23:49:08 EDT
(In reply to comment #4)
> With this bug closed, PDE/UI is now at 600 bugs fixed for 3.3!!

Actually it is more likely a smallish percentage of fixes and a largish percentage of new features/function.  Well done
Comment 7 Wassim Melhem CLA 2007-04-10 00:24:44 EDT
Thanks Jeff.

Does this mean you are all caught up on your Bugzilla mail? :)