brindy/VaadinOSGi — Issue #2: Generated import in the manifest is not working in eclipse equinox
Author: cvgaviao
Created: 2012-01-17 00:27:41+00:00
State: open

I've created the bundles using ant in the mac console... then I've copy all jars from folder dist to some directory used to create the target platform...

unzipping the generated bundle I see this in manifest:

Manifest-Version: 1.0
Import-Bundle: com.vaadin
Private-Package: org.vaadin.osgi
Bundle-Version: 2.0.0
Tool: Bnd-0.0.401
Bnd-LastModified: 1326759139555
Bundle-Name: org.vaadin.osgi
Bundle-ManifestVersion: 2
Created-By: 1.6.0_29 (Apple Inc.)
Bundle-Activator: org.vaadin.osgi.Activator
Import-Package: org.vaadin.osgi
Bundle-SymbolicName: org.vaadin.osgi

when try to run the equinox, this is the error in the equinox (executed from ide):

MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: The bundle "org.vaadin.osgi_2.0.0 [21]" could not be resolved. Reason: Missing Constraint: Import-Package: org.vaadin.osgi; version="0.0.0"
at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolverError(AbstractBundle.java:1327)