felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pascal Rapicault (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FELIX-3015) Manifest provides tracker 1.5 but runtime sees 1.4
Date Tue, 28 Jun 2011 17:26:17 GMT

    [ https://issues.apache.org/jira/browse/FELIX-3015?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13056648#comment-13056648
] 

Pascal Rapicault commented on FELIX-3015:
-----------------------------------------

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

> Manifest provides tracker 1.5 but runtime sees 1.4
> --------------------------------------------------
>
>                 Key: FELIX-3015
>                 URL: https://issues.apache.org/jira/browse/FELIX-3015
>             Project: Felix
>          Issue Type: Bug
>            Reporter: Pascal Rapicault
>         Attachments: TestTRacker_1.0.0.201106280449.jar, felix.jar
>
>
> 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 :)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

Mime
View raw message