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

Ryan Ernst commented on LUCENE-7023:
------------------------------------

The spec for manifest files has a limit of 72 bytes on a line, which can be 
continued to the next by using a single space at the beginning of the next 
line. See 
http://docs.oracle.com/javase/7/docs/technotes/guides/jar/jar.html#Manifest_Specification.

Specifically, the spec says:
{quote}
Line length:
No line may be longer than 72 bytes (not characters), in its UTF8-encoded form. 
If a value would make the initial line longer than this, it should be continued 
on extra lines (each starting with a single SPACE).
{quote}

So I think we just need to update the smoke tester to understand line 
continuation?

> Implementation-Version spans 2 lines in MANIFEST.MF in our JARs
> ---------------------------------------------------------------
>
>                 Key: LUCENE-7023
>                 URL: https://issues.apache.org/jira/browse/LUCENE-7023
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Michael McCandless
>
> The release smoke tester is angry about this.
> In the core Lucene jar for 5.4.1 we have this:
> {noformat}
> Manifest-Version: 1.0
> Ant-Version: Apache Ant 1.8.4
> Created-By: 1.7.0_55-b13 (Oracle Corporation)
> Extension-Name: org.apache.lucene
> Specification-Title: Lucene Search Engine: core
> Specification-Version: 5.4.1
> Specification-Vendor: The Apache Software Foundation
> Implementation-Title: org.apache.lucene
> Implementation-Version: 5.4.1 1725212 - jpountz - 2016-01-18 11:44:59
> Implementation-Vendor: The Apache Software Foundation
> X-Compile-Source-JDK: 1.7
> X-Compile-Target-JDK: 1.7
> {noformat}
> But in the RC0 I'm building, I see this:
> {noformat}
> Ant-Version: Apache Ant 1.8.4
> Created-By: 1.7.0_71-b14 (Oracle Corporation)
> Extension-Name: org.apache.lucene
> Specification-Title: Lucene Search Engine: queryparser
> Specification-Version: 5.5.0
> Specification-Vendor: The Apache Software Foundation
> Implementation-Title: org.apache.lucene
> Implementation-Version: 5.5.0 850c6c248373d80617e771f776041fd0d59ac31a
>   - mike - 2016-02-11 11:48:18
> Implementation-Vendor: The Apache Software Foundation
> X-Compile-Source-JDK: 1.7
> X-Compile-Target-JDK: 1.7
> {noformat}
> The {{Implementation-Version}} spans two lines ... maybe this OK, maybe it's 
> even required (is there a max line length in the MANIFEST.MF spec?) but it 
> makes me nervous...



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to