You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Fergus O'Dalaigh <Fe...@netscape.net> on 2003/05/12 15:15:21 UTC

Manifest.mf lines wrapping

Hi folks. 
I'm inserting attributes into the manifest file of a jar with the following extract:

<manifest file="${source}/${ccm_callinterface}/META-INF/MANIFEST.MF"
   mode="update">
    <attribute name="Specification-Version" value="${ccm-version}"/>
    <attribute name="Implementation-Version" value="${ccm-version}"/>
</manifest>
<jar jarfile="${jars}/callInterface.jar"
   basedir="${build}"
   update="yes"
   manifest="${source}/${ccm_callinterface}/META-INF/MANIFEST.MF">
</jar>

Pretty standard stuff isn't it?
Here's what the manifest.mf looks like afterwards however:

Manifest-Version: 1.0
Specification-Title: Call and Codes EC Hierarchy Interface Module
Specification-Vendor: Transiciel S.A.
Created-By: Apache Ant 1.5.1
Implementation-Vendor: Transiciel S.A.
Specification-Version: 1.4
Implementation-Version: 1.4
Implementation-Title: eu.cec.rtd.l05.fp6.ccminterfaces.logic.echierarc
 hyinterface

Notice how the last line Implementation-Title wraps around to the next line with a space added. 
It looks like the manifest task in ant is chopping off the lines of a certain length.

Anyone have any ideas?

Fergus

__________________________________________________________________
Try AOL and get 1045 hours FREE for 45 days!
http://free.aol.com/tryaolfree/index.adp?375380

Get AOL Instant Messenger 5.1 free of charge.  Download Now!
http://aim.aol.com/aimnew/Aim/register.adp?promo=380455

Re: Manifest.mf lines wrapping

Posted by Conor MacNeill <co...@cortexebusiness.com.au>.
On Mon, 12 May 2003 11:15 pm, Fergus O'Dalaigh wrote:
>
> Anyone have any ideas?
>

This is as required by the manifest spec.

Conor