bndtools

How to use Apache POI in OSGi

∥☆過路亽.° 提交于 2019-12-02 01:29:06
问题 I want to use Apache POI in OSGi to write an Excel workbook with the streaming, OOXML API (SXSSF). The streaming API is available since POI 3.9. As the latest Apache POI 3.11 jars are not bundles: What's the best way to get POI working in OSGi? I tried two approaches: embed the jars directly in the only bundle which will be using them use POI jars prewrapped as bundles I am despairing in getting all dependencies together. First about embedding the POI jar in my bundle: my bndtools file

How to use Apache POI in OSGi

空扰寡人 提交于 2019-12-01 23:41:57
I want to use Apache POI in OSGi to write an Excel workbook with the streaming, OOXML API (SXSSF). The streaming API is available since POI 3.9. As the latest Apache POI 3.11 jars are not bundles: What's the best way to get POI working in OSGi? I tried two approaches: embed the jars directly in the only bundle which will be using them use POI jars prewrapped as bundles I am despairing in getting all dependencies together. First about embedding the POI jar in my bundle: my bndtools file contains -buildpath: \ ... libs/dom4j-1.6.1.jar;version=file,\ libs/poi-3.11.jar;version=file,\ libs/poi