tuscany-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Raymond Feng" <enjoyj...@gmail.com>
Subject Re: [2.x] package uses conflict
Date Mon, 02 Feb 2009 23:37:21 GMT

Frankly speaking, the OSGi MANIFEST.MF from woden is a mess. It is generated 
from maven-bundle-plugin and I don't think it has been carefully cleaned up. 
To answer your question, here is the what I found out:

1) Bundle org.apache.woden.woden-api exports the "org.apache.woden" packages 
with a "uses" directive. Please note "javax.xml.namespace" is referenced.


2) Bundle org.apache.woden.woden-impl-dom imports both "org.apache.woden" 
and "javax.xml.namespace" packages:


For 2), since it imports org.apache.woden which uses javax.xml.namespace 
(0.0.0), so javax.xml.namespace 0.0.0 should be selected. But it also has a 
direct import to javax.xml.namespace 1.0.0. There is a conflict.

The woden bundle has other issues too, for example, importing 
org.apache.xecers packages which make the XML parser not replaceable. We 
might have to raise JIRAs in woden to get them fixed.


From: Simon Laws
Sent: Monday, February 02, 2009 3:52 AM
To: tuscany-dev
Subject: [2.x] package uses conflict

While I'm getting clean builds in Eclipse and Maven I've just noticed that 
Eclipse is reporting a package uses conflict in the PDE state window

  Package uses conflict: Import-Package: javax.mail; version="0.0.0"
  Package uses conflict: Import-Package: javax.mail; version="0.0.0"
  Missing constraint: Fragment-Host: org.apache.axis2.kernel; 
  Missing constraint: Fragment-Host: org.apache.axis2.kernel; 
org.apache.woden.woden-impl-dom (1.0.0)
  Package uses conflict: Import-Package:org.apache.woden; version="1.0.0"

The odd thing is I've looked at this a couple of times just now either side 
of an Eclipse reference and the "package uses conflict" that 
org.apache.axis2.kernel is reporting changed from some woden problem to this 
javax.mail problem.

Seems a little strange but is this something to do with our association of 
binding-ws-axis2 with the axis kernel as a fragment. As far as I can tell 
binding-ws-axis doesn't depend directly on either javax.mail or 

The other odd thing I see in Eclipse is that the manifest for 
binding-ws-axis2 only opens in the manifest editor if I open it from the PDE 
status panel. If I open it from the project it opens in a text editor thing. 
Any ideas?


View raw message