You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Joerg Schaible (JIRA)" <ji...@codehaus.org> on 2005/10/20 12:22:11 UTC
[jira] Commented: (MNG-1247) Remove carriage returns and tabs from field values in the manifest file
[ http://jira.codehaus.org/browse/MNG-1247?page=comments#action_48905 ]
Joerg Schaible commented on MNG-1247:
-------------------------------------
No. I cannot speak for tabs or CR/LF but the line wrap itself moving the "l" from "model" into col 1 of the next line is according the spec concerning the valid length of a line.
> Remove carriage returns and tabs from field values in the manifest file
> -----------------------------------------------------------------------
>
> Key: MNG-1247
> URL: http://jira.codehaus.org/browse/MNG-1247
> Project: Maven 2
> Type: Bug
> Components: maven-archiver
> Versions: 2.0
> Environment: Windows XP, Java 5
> Reporter: Adrian
>
>
> The code that generates manifest files needs to remove tabs and carriage returns from the text values.
> I discovered the bug when my description in the pom.xml spaned several lines with tabs and carriage returns - this caused the following exception..
> java.io.IOException: invalid header field
> By removing the tabs and carriage returns in the pom.xml I have temporarily fixed the issue.
> The manifest generated should look like ..
> ---------------------------------------------------------
> Manifest-Version: 1.0
> Archiver-Version: Plexus Archiver
> Created-By: Apache Maven
> Built-By: apill
> Build-Jdk: 1.5.0_02
> Extension-Name: pics-model
> Specification-Title: The core inventory model project defines the mode l for cental storage for core inventory.
> Specification-Vendor: Dolby Laboratories, Inc
> Implementation-Vendor: Dolby Laboratories, Inc
> Implementation-Title: pics-model
> Implementation-Version: 0.1-SNAPSHOT
> ---------------------------------------------------------
> NOT LIKE
> ---------------------------------------------------------
> Manifest-Version: 1.0
> Archiver-Version: Plexus Archiver
> Created-By: Apache Maven
> Built-By: apill
> Build-Jdk: 1.5.0_02
> Extension-Name: pics-model
> Specification-Title: The core inventory model project defines the mode
> l for cental
> storage for core inventory.
> Specification-Vendor: Dolby Laboratories, Inc
> Implementation-Vendor: Dolby Laboratories, Inc
> Implementation-Title: pics-model
> Implementation-Version: 0.1-SNAPSHOT
> -----------------------------------------------------------
--
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
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org