split package problem

2012-01-05 Thread Lance Frohman
My project is using Apache Felix, and we are having a problem with a split package. We are using xml with the regular java classes (jre), so we need to add org.w3c.dom to the Import-Package. We added some functionality that uses Apache Batik, but the batik-ext.jar has some classes in org.w3c.dom

Re: split package problem

2012-01-05 Thread Richard S. Hall
On 1/5/12 11:16 , Lance Frohman wrote: My project is using Apache Felix, and we are having a problem with a split package. We are using xml with the regular java classes (jre), so we need to add org.w3c.dom to the Import-Package. We added some functionality that uses Apache Batik, but the

Re: split package problem

2012-01-05 Thread Lance Frohman
Thanks Modify the system bundle export of org.w3c.dom to some arcane mandatory attribute ... How do you do that? In the config file? On Thu, Jan 5, 2012 at 9:07 AM, Richard S. Hall he...@ungoverned.orgwrote: On 1/5/12 11:16 , Lance Frohman wrote: My project is using Apache Felix, and we are

Re: split package problem

2012-01-05 Thread Richard S. Hall
On 1/5/12 13:07 , Lance Frohman wrote: Thanks Does this mean you figured out what the system bundle is? Modify the system bundle export of org.w3c.dom to some arcane mandatory attribute ... How do you do that? In the config file? Yeah, you have to do that in the configuration file. This is

Re: split package problem

2012-01-05 Thread Lance Frohman
(system bundle - yes).I tried: Require-Bundle: batik-ext,org.apache.felix.main and Require-Bundle: batik-ext,system.bundle both get: [java] WARNING: Could not create framework, plugins disabled: Unresolved co nstraint in bundle com.affymetrix.igb.Bookmark [2]: Unable to resolve 2.0: missi

Re: split package problem

2012-01-05 Thread Richard S. Hall
On 1/5/12 13:33 , Lance Frohman wrote: (system bundle - yes).I tried: Require-Bundle: batik-ext,org.apache.felix.main and Require-Bundle: batik-ext,system.bundle both get: [java] WARNING: Could not create framework, plugins disabled: Unresolved co nstraint in bundle

Re: split package problem

2012-01-05 Thread Lance Frohman
(felix.jar MANIFEST.MF has: Bundle-SymbolicName: org.apache.felix.main) org.apache.felix.framework works, but system.bundle gets: [java] org.osgi.framework.BundleException: Unresolved constraint in bundle com.affymetrix.igb.Bookmark [2]: Unable to resolve 2.0: missing requirement [2.0 ]

Re: split package problem

2012-01-05 Thread Richard S. Hall
On 1/5/12 15:55 , Lance Frohman wrote: (felix.jar MANIFEST.MF has: Bundle-SymbolicName: org.apache.felix.main) That is just a byproduct of the fact that we use maven-bundle-plugin to create our JARs, the bundle manifest information in there is mostly meaningless.