maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benjamin Bentmann (JIRA)" <j...@codehaus.org>
Subject [jira] Commented: (SUREFIRE-451) ManifestJarWriter should use java.util.jar.Manifest
Date Tue, 05 Feb 2008 22:09:28 GMT

    [ http://jira.codehaus.org/browse/SUREFIRE-451?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_122501
] 

Benjamin Bentmann commented on SUREFIRE-451:
--------------------------------------------

bq. so maybe there was a good reason for it...?
The old story, where is documentation when one needs it ;-) ?

bq. java.util.jar.Manifest creates a manifest with TWO final newlines
Which is in conformance with the [Manifiest Specification|http://java.sun.com/javase/6/docs/technotes/guides/jar/jar.html#Manifest%20Specification]
given the case, that the manifest contains no "individual-sections".


> ManifestJarWriter should use java.util.jar.Manifest
> ---------------------------------------------------
>
>                 Key: SUREFIRE-451
>                 URL: http://jira.codehaus.org/browse/SUREFIRE-451
>             Project: Maven Surefire
>          Issue Type: Improvement
>          Components: process forking
>            Reporter: Dan Fabulich
>             Fix For: 2.x
>
>
> ManifestJarWriter manages writing the manifest by hand, including wrapping lines, etc.
etc.  This code was copied from plexus-archiver when we stopped depending on plexus-archiver.
> But AFAIK there's no reason to do that by hand; java.util.jar.Manifest can take care
of all of that for us.  Still, it's creepy that they did all of that work, so maybe there
was a good reason for it...?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message