On 2012/07/05 18:26, Uwe Schindler wrote:
Do you have the JAR files in classpath or do you extract them and merge all
class files and resources? This happens, e.g. if you ask Eclipse to create
one uber-jar containing everything. The problem that then appears is, that
every meta-inf file coming from separate jar files are overwriting each
over. SPI is relying on actual jar packages as deployment units.

The JAR files (which are pulled from a Maven repository) have been added to the plugins section of the RCP product and are both loaded (i.e. on the apps classpath). The problem stems from the tika-bundle not being on the classpath of tika-core bundle.

I could repackage the tika-core and tika-bundle into a single OSGI-Bundle, effectively replicating the bundle before the 1.0 release. However, this would seem to defeat the purpose of the OSGi-bundles provided by the tika project.

Also, From what I can gather, SPI is the cause of the problem, as OSGI and SPI are largely incompatible.

Reply via email to