On Wed, 22 Oct 2014, Patrick Bakker wrote:
I've successfully built an OSGi bundle of POI by copying these three class definitions from the full ooxml-schemas-1.1.jar.
Apache Tika ships an OSGi bundle, which seems to work well for the subset of Tika users who use OSGi. I don't see why we couldn't do the same for POI, including something similar to the unit tests that Tika has to ensure the bundle starts
Finally, two minor points in terms of OSGi packaging. The poi-ooxml-3.11-beta2.jar includes these some utilities in the main source tree which have further dependencies and aren't needed for direct use of the library: org.apache.poi.extractor.* org.apache.poi.util.OOXMLLite
The extractors do get a fair bit of use, not as much as they used to now that Apache Tika is the main entry point for people wanting to do text extraction, but some
I don't see why we couldn't exclude org.apache.poi.util.OOXMLLite from the jars, since it's just used at POI build time
It might be good to open an enhancement in bugzilla for osgi packaging, and use that to track any work to get it into POI proper
Nick --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
