Felix
  1. Felix
  2. FELIX-3015

[Framework] Provide org.osgi.util.tracker version 1.5

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: framework-4.0.0
    • Component/s: Framework
    • Labels:
      None

      Description

      Code from trunk.

      I must be missing something but when I run the attached jar of the framework which export org.osgi.util.tracker 1.5 and try to import the tracker package 1.5 from another bundle it fails. Doing a headers command shows that the fwk exports version 1.4... I'm confused

      1. TestTRacker_1.0.0.201106280449.jar
        0.4 kB
        Pascal Rapicault
      2. felix.jar
        459 kB
        Pascal Rapicault

        Activity

        Hide
        Pascal Rapicault added a comment -

        Attaching fwk jar built locally from trunk and a test bundle.

        Show
        Pascal Rapicault added a comment - Attaching fwk jar built locally from trunk and a test bundle.
        Hide
        Richard S. Hall added a comment -

        To the best of my knowledge Service Tracker 1.5 is provisional (i.e., it hasn't been released yet), so the framework does only include 1.4. Please close if you are satisfied. Thanks.

        Show
        Richard S. Hall added a comment - To the best of my knowledge Service Tracker 1.5 is provisional (i.e., it hasn't been released yet), so the framework does only include 1.4. Please close if you are satisfied. Thanks.
        Hide
        Pascal Rapicault added a comment -

        There is something fishy going on. The manifest in the attached felix jar is shown below and it definitely advertises tracker 1.5. Now when I do a headers command in the console, I see tracker 1.4 being exported from the fwk. So even though technically speaking the 1.5 tracker is not released yet (though from what I heard from Tom W. it will be released this summer) there is still something going on since the fwk manifest says 1.5.

        Manifest-Version: 1.0
        Export-Package: org.osgi.service.startlevel;uses:="org.osgi.framework"
        ;version="1.1",org.osgi.framework.launch;uses:="org.osgi.framework";v
        ersion="1.0",org.osgi.framework.startlevel;uses:="org.osgi.framework"
        ;version="1.0",org.osgi.util.tracker;uses:="org.osgi.framework";versi
        on="1.5",org.osgi.framework.wiring;uses:="org.osgi.framework";version
        ="1.0",org.osgi.framework;version="1.6",org.osgi.service.url;version=
        "1.0",org.osgi.framework.hooks.weaving;uses:="org.osgi.framework.wiri
        ng";version="1.0",org.osgi.service.packageadmin;uses:="org.osgi.frame
        work";version="1.2",org.osgi.framework.hooks.bundle;uses:="org.osgi.f
        ramework";version="1.0",org.osgi.framework.hooks.service;uses:="org.o
        sgi.framework";version="1.1",org.osgi.framework.hooks.resolver;uses:=
        "org.osgi.framework.wiring";version="1.0"
        Private-Package: org.apache.felix.framework,org.apache.felix.framework
        .cache,org.apache.felix.framework.capabilityset,org.apache.felix.fram
        ework.ext,org.apache.felix.framework.resolver,org.apache.felix.framew
        ork.util,org.apache.felix.framework.util.manifestparser,org.apache.fe
        lix.framework.wiring,org.apache.felix.main
        Ignore-Package: java.util.jar,java.nio.channels,java.util,java.net,org
        .osgi.framework.startlevel,org.osgi.framework.wiring,org.osgi.service
        .url,dalvik.system,org.osgi.framework.hooks.service,org.osgi.framewor
        k.hooks.resolver,org.osgi.service.startlevel,java.io,org.osgi.framewo
        rk.launch,org.osgi.util.tracker,java.util.zip,java.lang.ref,javax.sec
        urity.auth.x500,java.lang,org.osgi.service.packageadmin,org.osgi.fram
        ework.hooks.bundle,java.security,java.lang.reflect,java.security.cert
        ,org.osgi.framework,org.osgi.framework.hooks.weaving,android.dalvik
        Built-By: rickhall
        Tool: Bnd-0.0.255
        Bundle-Name: Apache Felix
        Created-By: Apache Maven Bundle Plugin
        Bundle-Vendor: The Apache Software Foundation
        Build-Jdk: 1.6.0_24
        Bundle-Version: 3.3.0.SNAPSHOT
        Bnd-LastModified: 1309207710036
        Bundle-ManifestVersion: 2
        Bundle-Description: OSGi R4 framework.
        Bundle-License: http://www.apache.org/licenses/LICENSE-2.0.txt
        Bundle-DocURL: http://www.apache.org/
        Bundle-SymbolicName: org.apache.felix.main
        Embed-Dependency: *;artifactId=org.apache.felix.framework;inline=true
        Main-Class: org.apache.felix.main.Main

        ==== Output from the headers command ====-=

        System Bundle (0)
        -----------------
        Bundle-Description = This bundle is system specific; it implements various system services.
        Bundle-ManifestVersion = 2
        Bundle-Name = System Bundle
        Bundle-SymbolicName = org.apache.felix.framework
        Bundle-Version = 3.3.0.SNAPSHOT
        Export-Package = org.osgi.framework; version="1.6.0", org.osgi.framework.launch; version="1.0.0", org.osgi.framework.hooks.service; version="1.0.0", org.osgi.framework.wiring; version="1.0.0", org.osgi.service.packageadmin; version="1.2.0", org.osgi.service.startlevel; version="1.1.0", org.osgi.service.url; version="1.0.0", org.osgi.util.tracker; version="1.4.0", javax.accessibility; version="0.0.0.1_006_JavaSE", javax.activation; version="0.0.0.1_006_JavaSE", javax.activity; version="0.0.0.1_006_JavaSE", javax.annotation; version="0.0.0.1_006_JavaSE", javax.annotation.processing; version="0.0.0.1_006_JavaSE", javax.crypto; version="0.0.0.1_006_JavaSE", javax.crypto.interfaces; version="0.0.0.1_006_JavaSE", javax.crypto.spec; version="0.0.0.1_006_JavaSE", javax.imageio; version="0.0.0.1_006_JavaSE", javax.imageio.event; version="0.0.0.1_006_JavaSE", javax.imageio.metadata; version="0.0.0.1_006_JavaSE", javax.imageio.plugins.bmp; version="0.0.0.1_006_JavaSE", javax.imageio.plugins.jpeg; version="0.0.0.1_006_JavaSE", javax.imageio.spi; version="0.0.0.1_006_JavaSE", javax.imageio.stream; version="0.0.0.1_006_JavaSE", javax.jws; version="0.0.0.1_006_JavaSE", javax.jws.soap; version="0.0.0.1_006_JavaSE", javax.lang.model; version="0.0.0.1_006_JavaSE", javax.lang.model.element; version="0.0.0.1_006_JavaSE", javax.lang.model.type; version="0.0.0.1_006_JavaSE", javax.lang.model.util; version="0.0.0.1_006_JavaSE", javax.management; version="0.0.0.1_006_JavaSE", javax.management.loading; version="0.0.0.1_006_JavaSE", javax.management.modelmbean; version="0.0.0.1_006_JavaSE", javax.management.monitor; version="0.0.0.1_006_JavaSE", javax.management.openmbean; version="0.0.0.1_006_JavaSE", javax.management.relation; version="0.0.0.1_006_JavaSE", javax.management.remote; version="0.0.0.1_006_JavaSE", javax.management.remote.rmi; version="0.0.0.1_006_JavaSE", javax.management.timer; version="0.0.0.1_006_JavaSE", javax.naming; version="0.0.0.1_006_JavaSE", javax.naming.directory; version="0.0.0.1_006_JavaSE", javax.naming.event; version="0.0.0.1_006_JavaSE", javax.naming.ldap; version="0.0.0.1_006_JavaSE", javax.naming.spi; version="0.0.0.1_006_JavaSE", javax.net; version="0.0.0.1_006_JavaSE", javax.net.ssl; version="0.0.0.1_006_JavaSE", javax.print; version="0.0.0.1_006_JavaSE", javax.print.attribute; version="0.0.0.1_006_JavaSE", javax.print.attribute.standard; version="0.0.0.1_006_JavaSE", javax.print.event; version="0.0.0.1_006_JavaSE", javax.rmi; version="0.0.0.1_006_JavaSE", javax.rmi.CORBA; version="0.0.0.1_006_JavaSE", javax.rmi.ssl; version="0.0.0.1_006_JavaSE", javax.script; version="0.0.0.1_006_JavaSE", javax.security.auth; version="0.0.0.1_006_JavaSE", javax.security.auth.callback; version="0.0.0.1_006_JavaSE", javax.security.auth.kerberos; version="0.0.0.1_006_JavaSE", javax.security.auth.login; version="0.0.0.1_006_JavaSE", javax.security.auth.spi; version="0.0.0.1_006_JavaSE", javax.security.auth.x500; version="0.0.0.1_006_JavaSE", javax.security.cert; version="0.0.0.1_006_JavaSE", javax.security.sasl; version="0.0.0.1_006_JavaSE", javax.sound.midi; version="0.0.0.1_006_JavaSE", javax.sound.midi.spi; version="0.0.0.1_006_JavaSE", javax.sound.sampled; version="0.0.0.1_006_JavaSE", javax.sound.sampled.spi; version="0.0.0.1_006_JavaSE", javax.sql; version="0.0.0.1_006_JavaSE", javax.sql.rowset; version="0.0.0.1_006_JavaSE", javax.sql.rowset.serial; version="0.0.0.1_006_JavaSE", javax.sql.rowset.spi; version="0.0.0.1_006_JavaSE", javax.swing; version="0.0.0.1_006_JavaSE", javax.swing.border; version="0.0.0.1_006_JavaSE", javax.swing.colorchooser; version="0.0.0.1_006_JavaSE", javax.swing.event; version="0.0.0.1_006_JavaSE", javax.swing.filechooser; version="0.0.0.1_006_JavaSE", javax.swing.plaf; version="0.0.0.1_006_JavaSE", javax.swing.plaf.basic; version="0.0.0.1_006_JavaSE", javax.swing.plaf.metal; version="0.0.0.1_006_JavaSE", javax.swing.plaf.multi; version="0.0.0.1_006_JavaSE", javax.swing.plaf.synth; version="0.0.0.1_006_JavaSE", javax.swing.table; version="0.0.0.1_006_JavaSE", javax.swing.text; version="0.0.0.1_006_JavaSE", javax.swing.text.html; version="0.0.0.1_006_JavaSE", javax.swing.text.html.parser; version="0.0.0.1_006_JavaSE", javax.swing.text.rtf; version="0.0.0.1_006_JavaSE", javax.swing.tree; version="0.0.0.1_006_JavaSE", javax.swing.undo; version="0.0.0.1_006_JavaSE", javax.tools; version="0.0.0.1_006_JavaSE", javax.transaction; version="0.0.0.1_006_JavaSE", javax.transaction.xa; version="0.0.0.1_006_JavaSE", javax.xml; version="0.0.0.1_006_JavaSE", javax.xml.bind; version="0.0.0.1_006_JavaSE", javax.xml.bind.annotation; version="0.0.0.1_006_JavaSE", javax.xml.bind.annotation.adapters; version="0.0.0.1_006_JavaSE", javax.xml.bind.attachment; version="0.0.0.1_006_JavaSE", javax.xml.bind.helpers; version="0.0.0.1_006_JavaSE", javax.xml.bind.util; version="0.0.0.1_006_JavaSE", javax.xml.crypto; version="0.0.0.1_006_JavaSE", javax.xml.crypto.dom; version="0.0.0.1_006_JavaSE", javax.xml.crypto.dsig; version="0.0.0.1_006_JavaSE", javax.xml.crypto.dsig.dom; version="0.0.0.1_006_JavaSE", javax.xml.crypto.dsig.keyinfo; version="0.0.0.1_006_JavaSE", javax.xml.crypto.dsig.spec; version="0.0.0.1_006_JavaSE", javax.xml.datatype; version="0.0.0.1_006_JavaSE", javax.xml.namespace; version="0.0.0.1_006_JavaSE", javax.xml.parsers; version="0.0.0.1_006_JavaSE", javax.xml.soap; version="0.0.0.1_006_JavaSE", javax.xml.stream; version="0.0.0.1_006_JavaSE", javax.xml.stream.events; version="0.0.0.1_006_JavaSE", javax.xml.stream.util; version="0.0.0.1_006_JavaSE", javax.xml.transform; version="0.0.0.1_006_JavaSE", javax.xml.transform.dom; version="0.0.0.1_006_JavaSE", javax.xml.transform.sax; version="0.0.0.1_006_JavaSE", javax.xml.transform.stax; version="0.0.0.1_006_JavaSE", javax.xml.transform.stream; version="0.0.0.1_006_JavaSE", javax.xml.validation; version="0.0.0.1_006_JavaSE", javax.xml.ws; version="0.0.0.1_006_JavaSE", javax.xml.ws.handler; version="0.0.0.1_006_JavaSE", javax.xml.ws.handler.soap; version="0.0.0.1_006_JavaSE", javax.xml.ws.http; version="0.0.0.1_006_JavaSE", javax.xml.ws.soap; version="0.0.0.1_006_JavaSE", javax.xml.ws.spi; version="0.0.0.1_006_JavaSE", javax.xml.ws.wsaddressing; version="0.0.0.1_006_JavaSE", javax.xml.xpath; version="0.0.0.1_006_JavaSE", org.ietf.jgss; version="0.0.0.1_006_JavaSE", org.omg.CORBA; version="0.0.0.1_006_JavaSE", org.omg.CORBA_2_3; version="0.0.0.1_006_JavaSE", org.omg.CORBA_2_3.portable; version="0.0.0.1_006_JavaSE", org.omg.CORBA.DynAnyPackage; version="0.0.0.1_006_JavaSE", org.omg.CORBA.ORBPackage; version="0.0.0.1_006_JavaSE", org.omg.CORBA.portable; version="0.0.0.1_006_JavaSE", org.omg.CORBA.TypeCodePackage; version="0.0.0.1_006_JavaSE", org.omg.CosNaming; version="0.0.0.1_006_JavaSE", org.omg.CosNaming.NamingContextExtPackage; version="0.0.0.1_006_JavaSE", org.omg.CosNaming.NamingContextPackage; version="0.0.0.1_006_JavaSE", org.omg.Dynamic; version="0.0.0.1_006_JavaSE", org.omg.DynamicAny; version="0.0.0.1_006_JavaSE", org.omg.DynamicAny.DynAnyFactoryPackage; version="0.0.0.1_006_JavaSE", org.omg.DynamicAny.DynAnyPackage; version="0.0.0.1_006_JavaSE", org.omg.IOP; version="0.0.0.1_006_JavaSE", org.omg.IOP.CodecFactoryPackage; version="0.0.0.1_006_JavaSE", org.omg.IOP.CodecPackage; version="0.0.0.1_006_JavaSE", org.omg.Messaging; version="0.0.0.1_006_JavaSE", org.omg.PortableInterceptor; version="0.0.0.1_006_JavaSE", org.omg.PortableInterceptor.ORBInitInfoPackage; version="0.0.0.1_006_JavaSE", org.omg.PortableServer; version="0.0.0.1_006_JavaSE", org.omg.PortableServer.CurrentPackage; version="0.0.0.1_006_JavaSE", org.omg.PortableServer.POAManagerPackage; version="0.0.0.1_006_JavaSE", org.omg.PortableServer.POAPackage; version="0.0.0.1_006_JavaSE", org.omg.PortableServer.portable; version="0.0.0.1_006_JavaSE", org.omg.PortableServer.ServantLocatorPackage; version="0.0.0.1_006_JavaSE", org.omg.SendingContext; version="0.0.0.1_006_JavaSE", org.omg.stub.java.rmi; version="0.0.0.1_006_JavaSE", org.omg.stub.javax.management.remote.rmi; version="0.0.0.1_006_JavaSE", org.w3c.dom; version="0.0.0.1_006_JavaSE", org.w3c.dom.bootstrap; version="0.0.0.1_006_JavaSE", org.w3c.dom.css; version="0.0.0.1_006_JavaSE", org.w3c.dom.events; version="0.0.0.1_006_JavaSE", org.w3c.dom.html; version="0.0.0.1_006_JavaSE", org.w3c.dom.ls; version="0.0.0.1_006_JavaSE", org.w3c.dom.ranges; version="0.0.0.1_006_JavaSE", org.w3c.dom.stylesheets; version="0.0.0.1_006_JavaSE", org.w3c.dom.traversal; version="0.0.0.1_006_JavaSE", org.w3c.dom.views; version="0.0.0.1_006_JavaSE", org.w3c.dom.xpath; version="0.0.0.1_006_JavaSE", org.xml.sax; version="0.0.0.1_006_JavaSE", org.xml.sax.ext; version="0.0.0.1_006_JavaSE", org.xml.sax.helpers; version="0.0.0.1_006_JavaSE"
        Export-Service = org.osgi.service.packageadmin.PackageAdmin,org.osgi.service.startlevel.StartLevel,org.osgi.service.url.URLHandlers

        TestTRacker (1)
        ---------------
        Bundle-ManifestVersion = 2
        Bundle-Name = TestTRacker
        Bundle-SymbolicName = TestTRacker
        Bundle-Version = 1.0.0.201106280449
        Import-Package = org.osgi.util.tracker;version="1.5.0"
        Manifest-Version = 1.0

        Show
        Pascal Rapicault added a comment - There is something fishy going on. The manifest in the attached felix jar is shown below and it definitely advertises tracker 1.5. Now when I do a headers command in the console, I see tracker 1.4 being exported from the fwk. So even though technically speaking the 1.5 tracker is not released yet (though from what I heard from Tom W. it will be released this summer) there is still something going on since the fwk manifest says 1.5. Manifest-Version: 1.0 Export-Package: org.osgi.service.startlevel;uses:="org.osgi.framework" ;version="1.1",org.osgi.framework.launch;uses:="org.osgi.framework";v ersion="1.0",org.osgi.framework.startlevel;uses:="org.osgi.framework" ;version="1.0",org.osgi.util.tracker;uses:="org.osgi.framework";versi on="1.5",org.osgi.framework.wiring;uses:="org.osgi.framework";version ="1.0",org.osgi.framework;version="1.6",org.osgi.service.url;version= "1.0",org.osgi.framework.hooks.weaving;uses:="org.osgi.framework.wiri ng";version="1.0",org.osgi.service.packageadmin;uses:="org.osgi.frame work";version="1.2",org.osgi.framework.hooks.bundle;uses:="org.osgi.f ramework";version="1.0",org.osgi.framework.hooks.service;uses:="org.o sgi.framework";version="1.1",org.osgi.framework.hooks.resolver;uses:= "org.osgi.framework.wiring";version="1.0" Private-Package: org.apache.felix.framework,org.apache.felix.framework .cache,org.apache.felix.framework.capabilityset,org.apache.felix.fram ework.ext,org.apache.felix.framework.resolver,org.apache.felix.framew ork.util,org.apache.felix.framework.util.manifestparser,org.apache.fe lix.framework.wiring,org.apache.felix.main Ignore-Package: java.util.jar,java.nio.channels,java.util,java.net,org .osgi.framework.startlevel,org.osgi.framework.wiring,org.osgi.service .url,dalvik.system,org.osgi.framework.hooks.service,org.osgi.framewor k.hooks.resolver,org.osgi.service.startlevel,java.io,org.osgi.framewo rk.launch,org.osgi.util.tracker,java.util.zip,java.lang.ref,javax.sec urity.auth.x500,java.lang,org.osgi.service.packageadmin,org.osgi.fram ework.hooks.bundle,java.security,java.lang.reflect,java.security.cert ,org.osgi.framework,org.osgi.framework.hooks.weaving,android.dalvik Built-By: rickhall Tool: Bnd-0.0.255 Bundle-Name: Apache Felix Created-By: Apache Maven Bundle Plugin Bundle-Vendor: The Apache Software Foundation Build-Jdk: 1.6.0_24 Bundle-Version: 3.3.0.SNAPSHOT Bnd-LastModified: 1309207710036 Bundle-ManifestVersion: 2 Bundle-Description: OSGi R4 framework. Bundle-License: http://www.apache.org/licenses/LICENSE-2.0.txt Bundle-DocURL: http://www.apache.org/ Bundle-SymbolicName: org.apache.felix.main Embed-Dependency: *;artifactId=org.apache.felix.framework;inline=true Main-Class: org.apache.felix.main.Main = = = = Output from the headers command = = = =-= System Bundle (0) ----------------- Bundle-Description = This bundle is system specific; it implements various system services. Bundle-ManifestVersion = 2 Bundle-Name = System Bundle Bundle-SymbolicName = org.apache.felix.framework Bundle-Version = 3.3.0.SNAPSHOT Export-Package = org.osgi.framework; version="1.6.0", org.osgi.framework.launch; version="1.0.0", org.osgi.framework.hooks.service; version="1.0.0", org.osgi.framework.wiring; version="1.0.0", org.osgi.service.packageadmin; version="1.2.0", org.osgi.service.startlevel; version="1.1.0", org.osgi.service.url; version="1.0.0", org.osgi.util.tracker; version="1.4.0", javax.accessibility; version="0.0.0.1_006_JavaSE", javax.activation; version="0.0.0.1_006_JavaSE", javax.activity; version="0.0.0.1_006_JavaSE", javax.annotation; version="0.0.0.1_006_JavaSE", javax.annotation.processing; version="0.0.0.1_006_JavaSE", javax.crypto; version="0.0.0.1_006_JavaSE", javax.crypto.interfaces; version="0.0.0.1_006_JavaSE", javax.crypto.spec; version="0.0.0.1_006_JavaSE", javax.imageio; version="0.0.0.1_006_JavaSE", javax.imageio.event; version="0.0.0.1_006_JavaSE", javax.imageio.metadata; version="0.0.0.1_006_JavaSE", javax.imageio.plugins.bmp; version="0.0.0.1_006_JavaSE", javax.imageio.plugins.jpeg; version="0.0.0.1_006_JavaSE", javax.imageio.spi; version="0.0.0.1_006_JavaSE", javax.imageio.stream; version="0.0.0.1_006_JavaSE", javax.jws; version="0.0.0.1_006_JavaSE", javax.jws.soap; version="0.0.0.1_006_JavaSE", javax.lang.model; version="0.0.0.1_006_JavaSE", javax.lang.model.element; version="0.0.0.1_006_JavaSE", javax.lang.model.type; version="0.0.0.1_006_JavaSE", javax.lang.model.util; version="0.0.0.1_006_JavaSE", javax.management; version="0.0.0.1_006_JavaSE", javax.management.loading; version="0.0.0.1_006_JavaSE", javax.management.modelmbean; version="0.0.0.1_006_JavaSE", javax.management.monitor; version="0.0.0.1_006_JavaSE", javax.management.openmbean; version="0.0.0.1_006_JavaSE", javax.management.relation; version="0.0.0.1_006_JavaSE", javax.management.remote; version="0.0.0.1_006_JavaSE", javax.management.remote.rmi; version="0.0.0.1_006_JavaSE", javax.management.timer; version="0.0.0.1_006_JavaSE", javax.naming; version="0.0.0.1_006_JavaSE", javax.naming.directory; version="0.0.0.1_006_JavaSE", javax.naming.event; version="0.0.0.1_006_JavaSE", javax.naming.ldap; version="0.0.0.1_006_JavaSE", javax.naming.spi; version="0.0.0.1_006_JavaSE", javax.net; version="0.0.0.1_006_JavaSE", javax.net.ssl; version="0.0.0.1_006_JavaSE", javax.print; version="0.0.0.1_006_JavaSE", javax.print.attribute; version="0.0.0.1_006_JavaSE", javax.print.attribute.standard; version="0.0.0.1_006_JavaSE", javax.print.event; version="0.0.0.1_006_JavaSE", javax.rmi; version="0.0.0.1_006_JavaSE", javax.rmi.CORBA; version="0.0.0.1_006_JavaSE", javax.rmi.ssl; version="0.0.0.1_006_JavaSE", javax.script; version="0.0.0.1_006_JavaSE", javax.security.auth; version="0.0.0.1_006_JavaSE", javax.security.auth.callback; version="0.0.0.1_006_JavaSE", javax.security.auth.kerberos; version="0.0.0.1_006_JavaSE", javax.security.auth.login; version="0.0.0.1_006_JavaSE", javax.security.auth.spi; version="0.0.0.1_006_JavaSE", javax.security.auth.x500; version="0.0.0.1_006_JavaSE", javax.security.cert; version="0.0.0.1_006_JavaSE", javax.security.sasl; version="0.0.0.1_006_JavaSE", javax.sound.midi; version="0.0.0.1_006_JavaSE", javax.sound.midi.spi; version="0.0.0.1_006_JavaSE", javax.sound.sampled; version="0.0.0.1_006_JavaSE", javax.sound.sampled.spi; version="0.0.0.1_006_JavaSE", javax.sql; version="0.0.0.1_006_JavaSE", javax.sql.rowset; version="0.0.0.1_006_JavaSE", javax.sql.rowset.serial; version="0.0.0.1_006_JavaSE", javax.sql.rowset.spi; version="0.0.0.1_006_JavaSE", javax.swing; version="0.0.0.1_006_JavaSE", javax.swing.border; version="0.0.0.1_006_JavaSE", javax.swing.colorchooser; version="0.0.0.1_006_JavaSE", javax.swing.event; version="0.0.0.1_006_JavaSE", javax.swing.filechooser; version="0.0.0.1_006_JavaSE", javax.swing.plaf; version="0.0.0.1_006_JavaSE", javax.swing.plaf.basic; version="0.0.0.1_006_JavaSE", javax.swing.plaf.metal; version="0.0.0.1_006_JavaSE", javax.swing.plaf.multi; version="0.0.0.1_006_JavaSE", javax.swing.plaf.synth; version="0.0.0.1_006_JavaSE", javax.swing.table; version="0.0.0.1_006_JavaSE", javax.swing.text; version="0.0.0.1_006_JavaSE", javax.swing.text.html; version="0.0.0.1_006_JavaSE", javax.swing.text.html.parser; version="0.0.0.1_006_JavaSE", javax.swing.text.rtf; version="0.0.0.1_006_JavaSE", javax.swing.tree; version="0.0.0.1_006_JavaSE", javax.swing.undo; version="0.0.0.1_006_JavaSE", javax.tools; version="0.0.0.1_006_JavaSE", javax.transaction; version="0.0.0.1_006_JavaSE", javax.transaction.xa; version="0.0.0.1_006_JavaSE", javax.xml; version="0.0.0.1_006_JavaSE", javax.xml.bind; version="0.0.0.1_006_JavaSE", javax.xml.bind.annotation; version="0.0.0.1_006_JavaSE", javax.xml.bind.annotation.adapters; version="0.0.0.1_006_JavaSE", javax.xml.bind.attachment; version="0.0.0.1_006_JavaSE", javax.xml.bind.helpers; version="0.0.0.1_006_JavaSE", javax.xml.bind.util; version="0.0.0.1_006_JavaSE", javax.xml.crypto; version="0.0.0.1_006_JavaSE", javax.xml.crypto.dom; version="0.0.0.1_006_JavaSE", javax.xml.crypto.dsig; version="0.0.0.1_006_JavaSE", javax.xml.crypto.dsig.dom; version="0.0.0.1_006_JavaSE", javax.xml.crypto.dsig.keyinfo; version="0.0.0.1_006_JavaSE", javax.xml.crypto.dsig.spec; version="0.0.0.1_006_JavaSE", javax.xml.datatype; version="0.0.0.1_006_JavaSE", javax.xml.namespace; version="0.0.0.1_006_JavaSE", javax.xml.parsers; version="0.0.0.1_006_JavaSE", javax.xml.soap; version="0.0.0.1_006_JavaSE", javax.xml.stream; version="0.0.0.1_006_JavaSE", javax.xml.stream.events; version="0.0.0.1_006_JavaSE", javax.xml.stream.util; version="0.0.0.1_006_JavaSE", javax.xml.transform; version="0.0.0.1_006_JavaSE", javax.xml.transform.dom; version="0.0.0.1_006_JavaSE", javax.xml.transform.sax; version="0.0.0.1_006_JavaSE", javax.xml.transform.stax; version="0.0.0.1_006_JavaSE", javax.xml.transform.stream; version="0.0.0.1_006_JavaSE", javax.xml.validation; version="0.0.0.1_006_JavaSE", javax.xml.ws; version="0.0.0.1_006_JavaSE", javax.xml.ws.handler; version="0.0.0.1_006_JavaSE", javax.xml.ws.handler.soap; version="0.0.0.1_006_JavaSE", javax.xml.ws.http; version="0.0.0.1_006_JavaSE", javax.xml.ws.soap; version="0.0.0.1_006_JavaSE", javax.xml.ws.spi; version="0.0.0.1_006_JavaSE", javax.xml.ws.wsaddressing; version="0.0.0.1_006_JavaSE", javax.xml.xpath; version="0.0.0.1_006_JavaSE", org.ietf.jgss; version="0.0.0.1_006_JavaSE", org.omg.CORBA; version="0.0.0.1_006_JavaSE", org.omg.CORBA_2_3; version="0.0.0.1_006_JavaSE", org.omg.CORBA_2_3.portable; version="0.0.0.1_006_JavaSE", org.omg.CORBA.DynAnyPackage; version="0.0.0.1_006_JavaSE", org.omg.CORBA.ORBPackage; version="0.0.0.1_006_JavaSE", org.omg.CORBA.portable; version="0.0.0.1_006_JavaSE", org.omg.CORBA.TypeCodePackage; version="0.0.0.1_006_JavaSE", org.omg.CosNaming; version="0.0.0.1_006_JavaSE", org.omg.CosNaming.NamingContextExtPackage; version="0.0.0.1_006_JavaSE", org.omg.CosNaming.NamingContextPackage; version="0.0.0.1_006_JavaSE", org.omg.Dynamic; version="0.0.0.1_006_JavaSE", org.omg.DynamicAny; version="0.0.0.1_006_JavaSE", org.omg.DynamicAny.DynAnyFactoryPackage; version="0.0.0.1_006_JavaSE", org.omg.DynamicAny.DynAnyPackage; version="0.0.0.1_006_JavaSE", org.omg.IOP; version="0.0.0.1_006_JavaSE", org.omg.IOP.CodecFactoryPackage; version="0.0.0.1_006_JavaSE", org.omg.IOP.CodecPackage; version="0.0.0.1_006_JavaSE", org.omg.Messaging; version="0.0.0.1_006_JavaSE", org.omg.PortableInterceptor; version="0.0.0.1_006_JavaSE", org.omg.PortableInterceptor.ORBInitInfoPackage; version="0.0.0.1_006_JavaSE", org.omg.PortableServer; version="0.0.0.1_006_JavaSE", org.omg.PortableServer.CurrentPackage; version="0.0.0.1_006_JavaSE", org.omg.PortableServer.POAManagerPackage; version="0.0.0.1_006_JavaSE", org.omg.PortableServer.POAPackage; version="0.0.0.1_006_JavaSE", org.omg.PortableServer.portable; version="0.0.0.1_006_JavaSE", org.omg.PortableServer.ServantLocatorPackage; version="0.0.0.1_006_JavaSE", org.omg.SendingContext; version="0.0.0.1_006_JavaSE", org.omg.stub.java.rmi; version="0.0.0.1_006_JavaSE", org.omg.stub.javax.management.remote.rmi; version="0.0.0.1_006_JavaSE", org.w3c.dom; version="0.0.0.1_006_JavaSE", org.w3c.dom.bootstrap; version="0.0.0.1_006_JavaSE", org.w3c.dom.css; version="0.0.0.1_006_JavaSE", org.w3c.dom.events; version="0.0.0.1_006_JavaSE", org.w3c.dom.html; version="0.0.0.1_006_JavaSE", org.w3c.dom.ls; version="0.0.0.1_006_JavaSE", org.w3c.dom.ranges; version="0.0.0.1_006_JavaSE", org.w3c.dom.stylesheets; version="0.0.0.1_006_JavaSE", org.w3c.dom.traversal; version="0.0.0.1_006_JavaSE", org.w3c.dom.views; version="0.0.0.1_006_JavaSE", org.w3c.dom.xpath; version="0.0.0.1_006_JavaSE", org.xml.sax; version="0.0.0.1_006_JavaSE", org.xml.sax.ext; version="0.0.0.1_006_JavaSE", org.xml.sax.helpers; version="0.0.0.1_006_JavaSE" Export-Service = org.osgi.service.packageadmin.PackageAdmin,org.osgi.service.startlevel.StartLevel,org.osgi.service.url.URLHandlers TestTRacker (1) --------------- Bundle-ManifestVersion = 2 Bundle-Name = TestTRacker Bundle-SymbolicName = TestTRacker Bundle-Version = 1.0.0.201106280449 Import-Package = org.osgi.util.tracker;version="1.5.0" Manifest-Version = 1.0
        Hide
        Pascal Rapicault added a comment -

        Reopening to continue the conversation

        Show
        Pascal Rapicault added a comment - Reopening to continue the conversation
        Hide
        Richard S. Hall added a comment - - edited

        Yeah, there is something a little fishy here. It does appear that Service Tracker 1.5 is included in framework trunk, even though it hasn't been released yet (neither has framework trunk, for that matter). I guess we need to decide if we will keep this in there or not, but I can defer that decision until we go to release framework trunk, which won't happen until framework 4.0. In the meantime, I'll update the framework properties to export 1.5.

        FYI, one reason you are confused, is that you expect the manifest file to be the rule that defines what the system bundle exports, but it is not the case for the Felix framework. The framework's OSGi manifest headers are present purely because we use bnd to create it, not because they serve any purpose. All of that is controlled by configuration properties and the default properties are in the default.properties file embedded in the framework.jar file. In this file, it still says the framework is exporting 1.4...I will change that now to be 1.5.

        However, I'll leave this bug open and assign its fix version so I can remember to deal with this one way or the other before releasing framework 4.0. Thanks.

        Show
        Richard S. Hall added a comment - - edited Yeah, there is something a little fishy here. It does appear that Service Tracker 1.5 is included in framework trunk, even though it hasn't been released yet (neither has framework trunk, for that matter). I guess we need to decide if we will keep this in there or not, but I can defer that decision until we go to release framework trunk, which won't happen until framework 4.0. In the meantime, I'll update the framework properties to export 1.5. FYI, one reason you are confused, is that you expect the manifest file to be the rule that defines what the system bundle exports, but it is not the case for the Felix framework. The framework's OSGi manifest headers are present purely because we use bnd to create it, not because they serve any purpose. All of that is controlled by configuration properties and the default properties are in the default.properties file embedded in the framework.jar file. In this file, it still says the framework is exporting 1.4...I will change that now to be 1.5. However, I'll leave this bug open and assign its fix version so I can remember to deal with this one way or the other before releasing framework 4.0. Thanks.
        Hide
        Pascal Rapicault added a comment -

        It was indeed the presence of 1.5 in the manifest that confused me I'm now up and running.

        Show
        Pascal Rapicault added a comment - It was indeed the presence of 1.5 in the manifest that confused me I'm now up and running.
        Hide
        Richard S. Hall added a comment -

        After some discussions inside the OSGi Alliance, I will keep tracker 1.5 in the next release of the framework since tracker 1.5 is effectively released, even though it is not officially available yet from the OSGi Alliance. In particular, it has already shipped in Equinox and any future changes to it will require version number changes. To avoid this type of situation in the future, the tracker package will be moved into the core spec for R4.4.

        Show
        Richard S. Hall added a comment - After some discussions inside the OSGi Alliance, I will keep tracker 1.5 in the next release of the framework since tracker 1.5 is effectively released, even though it is not officially available yet from the OSGi Alliance. In particular, it has already shipped in Equinox and any future changes to it will require version number changes. To avoid this type of situation in the future, the tracker package will be moved into the core spec for R4.4.

          People

          • Assignee:
            Richard S. Hall
            Reporter:
            Pascal Rapicault
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development