Bug 179318 - Problems with multiple junit versions in target
Summary: Problems with multiple junit versions in target
Status: RESOLVED FIXED
Alias: None
Product: PDE
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.3   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.3 M7   Edit
Assignee: PDE-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: polish
: 178857 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-03-26 11:18 EDT by DJ Houghton CLA
Modified: 2007-04-10 00:24 EDT (History)
1 user (show)

See Also:


Attachments
junit 4 bundles (98.95 KB, application/octet-stream)
2007-03-26 11:18 EDT, DJ Houghton CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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? :)