Wim

I agree that that makes little sense.  Can you please show us each of the 
bundles in this problem using the "bundle" command, and the manifests for 
these bundles using the "headers" command.

Thanks

Simon



From:
Wim Jongman <wim.jong...@gmail.com>
To:
OSGi Developer Mail List <osgi-dev@mail.osgi.org>
Date:
09/07/2010 02:28 PM
Subject:
[osgi-dev] Resolution problem
Sent by:
osgi-dev-boun...@mail.osgi.org



Hi,

My bundle 231 is installed. If I do a diag on it it says that it cannot 
resolve org.eclipse.ui and org.eclipse.ui.part. However, these two 
packages are exported by org.eclipse.ui.workbench which is in my list 
(80). My other bundles who also import the packages but now thru import 
bundle of org.eclipse.ui which re-exports o.e.ui.workbench are fine. 

If I change 231 to import bundle instead of import package, all is fine.

What am I missing here? Below is my relevant bundle list, the diag of the 
unresolved bundle and an inquiry on the packages it says it cannot 
resolve. 

Thanks for looking at this.

Regards,

Wim








80 ACTIVE      org.eclipse.ui.workbench_3.6.0.I20100603-1100
231 INSTALLED   com.remainsoftware.gravity.core.ui_1.0.0.qualifier

osgi> diag 231
reference:file:/C:/Users/jongw/Workspaces/Gravity/com.remainsoftware.gravity.core.ui/
 
[231]
  Direct constraints which are unresolved:
    Missing imported package org.eclipse.ui_0.0.0.
    Missing imported package org.eclipse.ui.part_0.0.0.

osgi> packages org.eclipse.ui
org.eclipse.ui; 
version="0.0.0"<org.eclipse.ui.workbench_3.6.0.I20100603-1100 [80]>
  com.remainsoftware.gravity.icons_1.0.0 [9] imports
  org.eclipse.gef_3.6.0.v20100525-1225 [65] imports
  org.eclipse.ui_3.6.0.I20100603-1100 [78] imports
  org.eclipse.ui.views.log_1.0.100.v20100423 [79] imports
  com.remainsoftware.gravity.application_1.0.0.qualifier [84] imports
  org.eclipse.ui.forms_3.5.0.v20100427 [213] imports

osgi> packages org.eclipse.ui.part
org.eclipse.ui.part; 
version="0.0.0"<org.eclipse.ui.workbench_3.6.0.I20100603-1100 [80]>
  com.remainsoftware.gravity.icons_1.0.0 [9] imports
  org.eclipse.gef_3.6.0.v20100525-1225 [65] imports
  org.eclipse.ui_3.6.0.I20100603-1100 [78] imports
  org.eclipse.ui.views.log_1.0.100.v20100423 [79] imports
  com.remainsoftware.gravity.application_1.0.0.qualifier [84] imports
  org.eclipse.ui.forms_3.5.0.v20100427 [213] imports

osgi> _______________________________________________
OSGi Developer Mail List
osgi-dev@mail.osgi.org
https://mail.osgi.org/mailman/listinfo/osgi-dev

_______________________________________________
OSGi Developer Mail List
osgi-dev@mail.osgi.org
https://mail.osgi.org/mailman/listinfo/osgi-dev

Reply via email to