You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@sling.apache.org by Jos Snellings <Jo...@pandora.be> on 2010/06/15 10:23:20 UTC

exported... or not?

Yes, I like this version notation very much, time to rebuild the trunk!
Then there is the dependency mystery:
according to the manifest springsource xml commons 1.3.4 should export:
javax.xml.transform, javax.xml.transform.dom, javax.xml.transform.sax ...
but felix console says it does not. What could be the reason?

Jos

Re: exported... or not?

Posted by Jos Snellings <Jo...@pandora.be>.
Probably I am drastically overlooking something... but when I observe 
the exported packages is the springsource xml commons,
the manifest headers look perfectly OK to me, but it seems like Felix is 
missing the javax.xml.transform export (1.3.4).
Yet, the necessary classes are in the bundle and the exports are right.
This is what Felix reports about the bundle's imports and exports:

Apache XML Commons XML-APIscom.springsource.org.apache.xmlcommons 
<http://localhost:8080/sling/system/console/bundles/71>
Symbolic Name 	com.springsource.org.apache.xmlcommons
Version 	1.3.4
Bundle Location 
inputstream:com.springsource.org.apache.xmlcommons-1.3.4.jar
Last Modification 	Wed Jun 16 08:30:35 CEST 2010
Vendor 	SpringSource
Start Level 	20
Fragments Attached 	com.springsource.org.apache.xerces (61) 
<http://localhost:8080/sling/system/console/bundles/61>
Exported Packages 	javax.xml,version=1.3.4
javax.xml.xpath,version=1.3.4
org.apache.html.dom,version=2.9.1
org.apache.wml,version=2.9.1
org.apache.wml.dom,version=2.9.1
org.apache.xerces.dom,version=2.9.1
org.apache.xerces.dom.events,version=2.9.1
org.apache.xerces.dom3.as,version=2.9.1
org.apache.xerces.impl,version=2.9.1
org.apache.xerces.impl.dtd,version=2.9.1
org.apache.xerces.impl.dtd.models,version=2.9.1
org.apache.xerces.impl.dv,version=2.9.1
org.apache.xerces.impl.dv.dtd,version=2.9.1
org.apache.xerces.impl.dv.util,version=2.9.1
org.apache.xerces.impl.dv.xs,version=2.9.1
org.apache.xerces.impl.io,version=2.9.1
org.apache.xerces.impl.msg,version=2.9.1
org.apache.xerces.impl.validation,version=2.9.1
org.apache.xerces.impl.xpath,version=2.9.1
org.apache.xerces.impl.xpath.regex,version=2.9.1
org.apache.xerces.impl.xs,version=2.9.1
org.apache.xerces.impl.xs.identity,version=2.9.1
org.apache.xerces.impl.xs.models,version=2.9.1
org.apache.xerces.impl.xs.opti,version=2.9.1
org.apache.xerces.impl.xs.traversers,version=2.9.1
org.apache.xerces.impl.xs.util,version=2.9.1
org.apache.xerces.jaxp,version=2.9.1
org.apache.xerces.jaxp.datatype,version=2.9.1
org.apache.xerces.jaxp.validation,version=2.9.1
org.apache.xerces.parsers,version=2.9.1
org.apache.xerces.util,version=2.9.1
org.apache.xerces.xinclude,version=2.9.1
org.apache.xerces.xni,version=2.9.1
org.apache.xerces.xni.grammars,version=2.9.1
org.apache.xerces.xni.parser,version=2.9.1
org.apache.xerces.xpointer,version=2.9.1
org.apache.xerces.xs,version=2.9.1
org.apache.xerces.xs.datatypes,version=2.9.1
org.apache.xml.serialize,version=2.9.1
org.apache.xmlcommons,version=1.3.4
org.w3c.dom.bootstrap,version=1.3.4
org.w3c.dom.css,version=1.3.4
org.w3c.dom.stylesheets,version=1.3.4
org.w3c.dom.xpath,version=1.3.4
Imported Packages 	javax.xml.datatype,version=0.0.0 from 
org.apache.felix.framework (0) 
<http://localhost:8080/sling/system/console/bundles/0>
javax.xml.namespace,version=0.0.0 from org.apache.felix.framework (0) 
<http://localhost:8080/sling/system/console/bundles/0>
javax.xml.parsers,version=0.0.0 from org.apache.felix.framework (0) 
<http://localhost:8080/sling/system/console/bundles/0>
javax.xml.transform,version=0.0.0 from org.apache.felix.framework (0) 
<http://localhost:8080/sling/system/console/bundles/0>
javax.xml.transform.dom,version=0.0.0 from org.apache.felix.framework 
(0) <http://localhost:8080/sling/system/console/bundles/0>
javax.xml.transform.sax,version=0.0.0 from org.apache.felix.framework 
(0) <http://localhost:8080/sling/system/console/bundles/0>
javax.xml.transform.stream,version=0.0.0 from org.apache.felix.framework 
(0) <http://localhost:8080/sling/system/console/bundles/0>
javax.xml.validation,version=0.0.0 from org.apache.felix.framework (0) 
<http://localhost:8080/sling/system/console/bundles/0>
org.apache.xml.resolver,version=1.2.0 from 
com.springsource.org.apache.xml.resolver (64) 
<http://localhost:8080/sling/system/console/bundles/64>
org.apache.xml.resolver.readers,version=1.2.0 from 
com.springsource.org.apache.xml.resolver (64) 
<http://localhost:8080/sling/system/console/bundles/64>
org.w3c.dom,version=0.0.0 from org.apache.felix.framework (0) 
<http://localhost:8080/sling/system/console/bundles/0>
org.w3c.dom.events,version=0.0.0 from org.apache.felix.framework (0) 
<http://localhost:8080/sling/system/console/bundles/0>
org.w3c.dom.html,version=0.0.0 from org.apache.felix.framework (0) 
<http://localhost:8080/sling/system/console/bundles/0>
org.w3c.dom.ls,version=0.0.0 from org.apache.felix.framework (0) 
<http://localhost:8080/sling/system/console/bundles/0>
org.w3c.dom.ranges,version=0.0.0 from org.apache.felix.framework (0) 
<http://localhost:8080/sling/system/console/bundles/0>
org.w3c.dom.traversal,version=0.0.0 from org.apache.felix.framework (0) 
<http://localhost:8080/sling/system/console/bundles/0>
org.w3c.dom.views,version=0.0.0 from org.apache.felix.framework (0) 
<http://localhost:8080/sling/system/console/bundles/0>
org.xml.sax,version=0.0.0 from org.apache.felix.framework (0) 
<http://localhost:8080/sling/system/console/bundles/0>
org.xml.sax.ext,version=0.0.0 from org.apache.felix.framework (0) 
<http://localhost:8080/sling/system/console/bundles/0>
org.xml.sax.helpers,version=0.0.0 from org.apache.felix.framework (0) 
<http://localhost:8080/sling/system/console/bundles/0>
Manifest Headers 	Ant-Version: Apache Ant 1.6.5
Bundle-ManifestVersion: 2
Bundle-Name: Apache XML Commons XML-APIs
Bundle-SymbolicName: com.springsource.org.apache.xmlcommons
Bundle-Vendor: SpringSource
Bundle-Version: 1.3.4
Created-By: 1.3.1 (IBM Corporation)
Export-Package: javax.xml; version="1.3.4", javax.xml.datatype; 
version="1.3.4"; uses:="javax.xml.namespace", javax.xml.namespace; 
version="1.3.4", javax.xml.parsers; version="1.3.4"; 
uses:="javax.xml.validation, org.w3c.dom, org.xml.sax, 
org.xml.sax.helpers", javax.xml.transform; version="1.3.4", 
javax.xml.transform.dom; version="1.3.4"; uses:="javax.xml.transform, 
org.w3c.dom", javax.xml.transform.sax; version="1.3.4"; 
uses:="javax.xml.transform, org.xml.sax, org.xml.sax.ext", 
javax.xml.transform.stream; version="1.3.4"; 
uses:="javax.xml.transform", javax.xml.validation; version="1.3.4"; 
uses:="javax.xml.transform, org.w3c.dom, org.w3c.dom.ls, org.xml.sax", 
javax.xml.xpath; version="1.3.4"; uses:="javax.xml.namespace, 
org.xml.sax", org.apache.xmlcommons; version="1.3.4", org.w3c.dom; 
version="1.3.4", org.w3c.dom.bootstrap; version="1.3.4"; 
uses:="org.w3c.dom", org.w3c.dom.css; version="1.3.4"; 
uses:="org.w3c.dom, org.w3c.dom.stylesheets, org.w3c.dom.views", 
org.w3c.dom.events; version="1.3.4"; uses:="org.w3c.dom, 
org.w3c.dom.views", org.w3c.dom.html; version="1.3.4"; 
uses:="org.w3c.dom", org.w3c.dom.ls; version="1.3.4"; 
uses:="org.w3c.dom, org.w3c.dom.events, org.w3c.dom.traversal", 
org.w3c.dom.ranges; version="1.3.4"; uses:="org.w3c.dom", 
org.w3c.dom.stylesheets; version="1.3.4"; uses:="org.w3c.dom", 
org.w3c.dom.traversal; version="1.3.4"; uses:="org.w3c.dom", 
org.w3c.dom.views; version="1.3.4", org.w3c.dom.xpath; version="1.3.4"; 
uses:="org.w3c.dom", org.xml.sax; version="1.3.4", org.xml.sax.ext; 
version="1.3.4"; uses:="org.xml.sax, org.xml.sax.helpers", 
org.xml.sax.helpers; version="1.3.4"; uses:="org.xml.sax"
Manifest-Version: 1.0
Tool: Bundlor 1.0.0.CI-B166



Re: exported... or not?

Posted by Jos Snellings <Jo...@pandora.be>.
Correction: I just rebuilt from trunk and when I upload bundle 
xmlcommons I perfectly get the export or javax.xml.transform.*
(my previous full build was from may 25).

Jos

On 06/15/2010 10:29 AM, Felix Meschberger wrote:
> Hi,
>
>
> On 15.06.2010 10:23, Jos Snellings wrote:
>    
>> Yes, I like this version notation very much, time to rebuild the trunk!
>> Then there is the dependency mystery:
>> according to the manifest springsource xml commons 1.3.4 should export:
>> javax.xml.transform, javax.xml.transform.dom, javax.xml.transform.sax ...
>> but felix console says it does not. What could be the reason?
>>      
> I cannot confirm this. When I install this bundle, Web Console 3.0
> happily lists the exports.
>
> Regards
> Felix
>
>    
>> Jos
>>
>>      
>
>    



Re: exported... or not?

Posted by Felix Meschberger <fm...@gmail.com>.
Hi,


On 15.06.2010 10:23, Jos Snellings wrote:
> Yes, I like this version notation very much, time to rebuild the trunk!
> Then there is the dependency mystery:
> according to the manifest springsource xml commons 1.3.4 should export:
> javax.xml.transform, javax.xml.transform.dom, javax.xml.transform.sax ...
> but felix console says it does not. What could be the reason?

I cannot confirm this. When I install this bundle, Web Console 3.0
happily lists the exports.

Regards
Felix

> 
> Jos
>