Jeremy and BJ,

Thank you for clarification.  It was very helpful!

Trustin

On 3/13/07, Jeremy Volkman <[EMAIL PROTECTED]> wrote:
The two versions need not be related.  Take for example the case of an HTTP
server service.  I implement my own HTTP server in the bundle
com.example.service.http.  Since this bundle is new, I mark it as version
1.0.

  Bundle-SymbolicName: com.example.service.http
  Bundle-Version: 1.0.0

This bundle also exports packages for the J2EE Servlet API version 2.3.

  Export-Package: javax.servlet; version="2.3.0"

When an importer comes along looking for the Servlet 2.3 API, they don't
need to worry about which bundle is providing it.

  Import-Package: javax.servlet; version="2.3.0"

Hope that helps.
Jeremy

--
what we call human nature is actually human habit
--
http://gleamynode.net/
--
PGP Key ID: 0x0255ECA6
_______________________________________________
OSGi Developer Mail List
[email protected]
http://www2.osgi.org/mailman/listinfo/osgi-dev

Reply via email to