Elvy wrote:
try setting com.foo.osgi.window.text as Private-Package

Conceptually, Private-Package and Export-Package are similar in the sense that they both say "put the following packages into my bundle"...the difference is that Export-Package also exports them.

-> richard


james yong wrote:
Hi,

I encounter the following error when starting felix.

ERROR: Error starting
file:C:/workspace/ApacheWelo/bundle/com.foo.osgi.window.text_1.0.0.jar
(org.osgi.framework.BundleException: Not found:
com.foo.osgi.window.text.Activator)
java.lang.ClassNotFoundException: com.foo.osgi.window.text.Activator
        at
org.apache.felix.framework.Felix.createBundleActivator(Felix.java:3429)
        at org.apache.felix.framework.Felix._startBundle(Felix.java:1531)
        at org.apache.felix.framework.Felix.startBundle(Felix.java:1470)
        at
org.apache.felix.framework.Felix.setFrameworkStartLevel(Felix.java:1065)
        at 
org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:258)
        at java.lang.Thread.run(Unknown Source)

Any idea?

I do export the packge Export-Package: com.foo.osgi.window.text
and set
Bundle-Activator: com.foo.osgi.window.text.Activator

The bundle is created with bnd.


Regards,
James



-----
Tell me something you don't know!

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to