osgi - How to specify system package exports in pax exam -


pax exam used test apache cxf distributed osgi. updated apache felix 4.2.1. in newer version of felix problems packages exported cxf spec bundles , system bundle. no idea why did not occur older felix 3.x.

for distribution control in felix config (see config template use) there use "org.osgi.framework.system.packages" property define system package exports.

how can same using pax exam. know how using karaf exam can not used want explicitly test against pure felix.

i tested coreoptions.systempackage allows add exports not redefine them.

pax exam 3

 option[] conf = options(     systemproperty("org.osgi.framework.startlevel.beginning").value("4"),     systempackages(         "com.ibm.uvm.tools",         "com.sun.jdmk.comm",         "sun.misc",         "javax.jmdns",         "javax.microedition.io",         "javax.servlet.http",         "javax.persistence",         "javax.servlet",         "javax.net.ssl",         "javax.jms",         "javax.mail",         "javax.mail.internet",         "javax.mail.util"),      ...); 

regards roland


Comments

Popular posts from this blog

java - activate/deactivate sonar maven plugin by profile? -

python - TypeError: can only concatenate tuple (not "float") to tuple -

java - What is the difference between String. and String.this. ? -