Bug#558184: lucene2 nug#558184: missing OSGi metadata, package in experimental

Jan-Pascal van Best janpascal at vanbest.org
Thu Dec 24 08:56:33 UTC 2009


Hi Niels et.al.,

I've been trying to get proper OSGi manifests for Lucene. The manifest
I've come up with for the core library is shown below. The Eclipse build
system still doesn't seem to like it though:
     [java] !SUBENTRY 2 org.eclipse.help.base 2 0 2009-12-24 09:43:15.838
     [java] !MESSAGE Missing required bundle org.apache.lucene_[1.9.1,2.0.0).
     [java] !SUBENTRY 2 org.eclipse.help.base 2 0 2009-12-24 09:43:15.838
     [java] !MESSAGE Missing required bundle
org.apache.lucene.analysis_[1.9.1,2.0.0).
.. but it looks like that may be because eclipse tries to find a version
number between 1.9.1 and 2.0, while Debian is already at 2.9.1

I'll upload a lucene2 package to experimental which has OSGi metadata in
the manifests for the core and analysis jars. Could you please have a look
at them?

Cheers

Jan-Pascal

The MANIFEST.MF I've created:

Manifest-Version: 1.0
Ant-Version: Apache Ant 1.7.1
Created-By: 14.0-b16 (Sun Microsystems Inc.)
Specification-Title: Lucene Search Engine: analyzers
Specification-Version: 2.9.1
Specification-Vendor: The Apache Software Foundation
Implementation-Title: org.apache.lucene
Implementation-Version: 2.9.1 exported - 2009-12-24 09:34:58
Implementation-Vendor: The Apache Software Foundation
X-Compile-Source-JDK: 1.4
X-Compile-Target-JDK: 1.4
Bundle-ManifestVersion: 2
Bundle-SymbolicName: org.apache.lucene.analysis
Bundle-Name: Lucene Search Engine: analyzers
Bundle-Version: 2.9.1
Bundle-RequiredExecutionEnvironment: J2SE-1.5
Bundle-Vendor: The Apache Software Foundation
Bundle-Localization: plugin
Export-Package: org.apache.lucene,org.apache.lucene.analysis,org.apach
 e.lucene.analysis.standard,org.apache.lucene.analysis.tokenattributes
 ,org.apache.lucene.document,org.apache.lucene.index,org.apache.lucene
 .messages,org.apache.lucene.queryParser,org.apache.lucene.search,org.
 apache.lucene.search.function,org.apache.lucene.search.payloads,org.a
 pache.lucene.search.spans,org.apache.lucene.store,org.apache.lucene.u
 til,org.apache.lucene.util.cache






More information about the pkg-java-maintainers mailing list