[ 
https://issues.apache.org/jira/browse/LUCENE-1344?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12632276#action_12632276
 ] 

Michael McCandless commented on LUCENE-1344:
--------------------------------------------

One more confusion on my part.  The manifest for the core source jar 
(org.apache.lucene.core.source_2.4.0.200809181201.jar) is this:

{code}
Manifest-Version: 1.0
Ant-Version: Apache Ant 1.7.0
Created-By: 1.6.0_05-b13-52 (Apple Inc.)
Bundle-SymbolicName: org.apache.lucene.core.source
Bundle-ManifestVersion: 2
Bundle-Name: Lucene Search Engine: core source
Bundle-Version: 2.4.0.200809181201
Eclipse-SourceBundle: org.apache.lucene.core;version="2.4.0.2008091812
 01"
Bundle-Vendor: The Apache Software Foundation
Specification-Title: Lucene Search Engine: core
Specification-Version: 2.4.0
Specification-Vendor: The Apache Software Foundation
Implementation-Title: org.apache.lucene
Implementation-Version: 2.4.0 696661M - 2008-09-18 12:01:47
Implementation-Vendor: The Apache Software Foundation
X-Compile-Source-JDK: 1.4
X-Compile-Target-JDK: 1.4
{code}

(Note the newline inside the timestamp on the Eclipse-SourceBundle -- is that 
OK?).

Whereas the manifest for the binary jar 
(org.apache.lucene.core_2.4.0.200809181201.jar) is much smaller:

{code}
Manifest-Version: 1.0
Bundle-Vendor: The Apache Software Foundation
Bundle-Version: 2.4.0.200809181201
Bundle-Name: Lucene Search Engine: core
Bundle-ManifestVersion: 2
Bundle-License: http://www.apache.org/licenses/LICENSE-2.0
Bundle-SymbolicName: org.apache.lucene.core
Bundle-RequiredExecutionEnvironment: J2SE-1.5,J2SE-1.4
{code}

Is that expected?  And the manifest for the source jar is missing at least 
Bundle-License?

> Make the Lucene jar an OSGi bundle
> ----------------------------------
>
>                 Key: LUCENE-1344
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1344
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: Build
>            Reporter: Nicolas Lalevée
>            Assignee: Michael McCandless
>         Attachments: LUCENE-1344-r679133.patch, LUCENE-1344-r690675.patch, 
> LUCENE-1344-r690691.patch, LUCENE-1344.patch, LUCENE-1344.patch, 
> LUCENE-1344.patch, LUCENE-1344.patch, MANIFEST.MF.diff
>
>
> In order to use Lucene in an OSGi environment, some additional headers are 
> needed in the manifest of the jar. As Lucene has no dependency, it is pretty 
> straight forward and it ill be easy to maintain I think.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to