Thanks for the quick answer.

Here they are.

This is the first:

Manifest-Version: 1.0
Export-Package: org.foo;version="1.0.0.SNAPSHOT"
Private-Package: org.foo.internal
Ignore-Package: org.foo.internal
Built-By: sap
Tool: Bnd-0.0.227
Bundle-Name: org.foo.test-osgi.bundle1 [org.foo]
Created-By: Apache Maven Bundle Plugin
Build-Jdk: 1.6.0_03
Bundle-Version: 1.0.0.SNAPSHOT
Bnd-LastModified: 1207917736196
Bundle-ManifestVersion: 2
Bundle-Activator: org.foo.internal.ExampleActivator1
Bundle-Description: Generated using Pax-Construct v2
Import-Package: org.foo;version="1.0.0.SNAPSHOT",org.osgi.framework
Bundle-SymbolicName: org.foo.test-osgi.bundle1

This is the second:

Manifest-Version: 1.0
Private-Package: org.foo.internal
Ignore-Package: org.foo.internal
Built-By: sap
Tool: Bnd-0.0.227
Bundle-Name: org.foo.test-osgi.bundle2 [org.foo]
Created-By: Apache Maven Bundle Plugin
Build-Jdk: 1.6.0_03
Bundle-Version: 1.0.0.SNAPSHOT
Bnd-LastModified: 1207917736734
Bundle-ManifestVersion: 2
Bundle-Activator: org.foo.internal.ExampleActivator2
Bundle-Description: Generated using Pax-Construct v2
Import-Package: org.foo;version="1.0.0.SNAPSHOT",org.osgi.framework
Bundle-SymbolicName: org.foo.test-osgi.bundle2

Also, I have attached my example as an archive.
You can extract it. Build and execute with maven2.
mvn clean install
mvn -Dframework=felix pax:provision
or
mvn -Dframework=equinox pax:provision

to feel a difference.

2008/4/11, Marcel Offermans <[EMAIL PROTECTED]>:
> On Apr 11, 2008, at 13:13 , Sergey Parilin wrote:
>
>
> > I have two bundles (A and B). Bundle A have package org.foo and
> > imports it.
> >
>
>  Could you please show us both manifests, because I'm not sure I completely
> understand your story.
>
>  Greetings, Marcel
>
>

Attachment: test-osgi.tar.gz
Description: GNU Zip compressed data

Reply via email to