You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bu...@apache.org on 2012/08/06 15:35:55 UTC

[Bug 53658] New: CRLF show up in UNIX/Linux generated war manifest.mf

https://issues.apache.org/bugzilla/show_bug.cgi?id=53658

          Priority: P2
            Bug ID: 53658
          Assignee: notifications@ant.apache.org
           Summary: CRLF show up in UNIX/Linux generated war manifest.mf
          Severity: normal
    Classification: Unclassified
                OS: Linux
          Reporter: kaori01@ca.com
          Hardware: PC
            Status: NEW
           Version: 1.8.2
         Component: Core tasks
           Product: Ant

When using the war task to generate a manifest on Linux the generated
manifest.mf file contains CRLF at the end of every line.

The following snippet is used to create the manifest.

<war destfile="test.war" webxml="WebContent/WEB-INF/web.xml" compress="true">
  <manifest>
     <attribute name="Built-By" value="${Company}" />
     <section name="com/ca/waae/waae/ws">
    <attribute name="Specification-Title" value="${Product}" />
    <attribute name="Specification-Version" value="${Version}" />
    <attribute name="Specification-Vendor" value="${Company}" />
    <attribute name="Implementation-Title" value="${Product}" />
    <attribute name="Implementation-Version" value="${Version}" />
    <attribute name="Implementation-Vendor" value="${Company}" />
    <attribute name="Product" value="${Product}" />
    <attribute name="Copyright" value="${Copyright}" />
    <attribute name="Version" value="${Version}" />
    <attribute name="Date" value="${Date}" />
     </section>
  </manifest>

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 53658] CRLF show up in UNIX/Linux generated war manifest.mf

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53658

Stefan Bodewig <bo...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 53658] CRLF show up in UNIX/Linux generated war manifest.mf

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53658

--- Comment #1 from Stefan Bodewig <bo...@apache.org> ---
which is fine according to the spec for manifests (see the definition of
newline in
http://docs.oracle.com/javase/1.4.2/docs/guide/jar/jar.html#JAR%20Manifest ).

Does it cause any problems?

-- 
You are receiving this mail because:
You are the assignee for the bug.