Bug 273236 - [tcf] TCF should export packages with version
Summary: [tcf] TCF should export packages with version
Status: RESOLVED FIXED
Alias: None
Product: TCF
Classification: Tools
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: 0.2   Edit
Assignee: Project Inbox CLA
QA Contact: Martin Oberhuber CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-22 07:37 EDT by Martin Oberhuber CLA
Modified: 2013-06-05 08:01 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Oberhuber CLA 2009-04-22 07:37:35 EDT
It's nowadays recommended that any exported packages are exported with version specifier. This allows clients to 
   Import-package: org.eclipse.tcf.core;version="0.2.0"
or similar instead of using Require-Bundle. The use of import-package makes systems more flexible since alternative implementations of known API can be plugged in via different bundles.

The version number on package export should be the version of the respective package API. In most cases, it will match the bundle version. For instance:

Export-Package: org.eclipse.tm.tcf.core; version="0.2.0"
Comment 1 Eugene Tarassov CLA 2009-05-05 13:31:38 EDT
Fixed
Comment 2 Martin Oberhuber CLA 2010-05-28 14:11:14 EDT
Bulk update: Marking all TCF fixes from the Galileo period (Jun-2008 until Jun-2009) target 3.1 since they were done along with the TM 3.1 release.
Comment 3 Doug Schaefer CLA 2011-05-17 10:50:35 EDT
Moving bugs to new home for IP log.
Comment 4 Martin Oberhuber CLA 2013-06-05 06:28:12 EDT
Bulk change: Marking all bugs from the TM era (until June 2011) target 0.3