Stefano Lenzi wrote:
Hi All,
I'm trying to use JMF on top of Felix but without success :S
I have a bundle A created with the maven-bundle-plugin which uses the
JMF, but even if I have the JMF installed on my system I'm not to
create a Felix configuration which let me use the JMF.
I have tried without success the following solution:
- Embedding JMF: With the help of maven-bundle-plugin I've tried
embed all classes with the <Private-Package> tag but I failed. All the
configuration that I have tried failed during the packaging phase with
classpath error reported by the plugin.
I am not sure about this...
- Boot delegation: I have packed the bundle with the
<Import-Package>*</Import-Package> but even if I have set the property
org.osgi.framework.bootdelegation=sun.*,com.ms.*,com.sun.*,javax.media.*
but I get the error:"unresolved package:javax.media.bean.playerbean"
when I try to start the package.
Well, boot delegation and Import-Package do not mix necessarily. If you
use boot delegation then generally speaking you do NOT want to import
the packages you are boot delegating. The exception here is if you boot
delegate and also put the delegated packages on the
org.osgi.framework.system.packages property. If you just boot delegate
and then import, you will get an unresolved exception for the package.
-> richard
Can you help me with the above issues?
Ciao,
Stefano "Kismet" Lenzi
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]