ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Conor MacNeill <co...@cortexebusiness.com.au>
Subject Re: Specifying the version in the <manifest> task
Date Wed, 26 Jun 2002 14:34:43 GMT
Mike Stopper wrote:
> If I try to add a Manifest-Version attribute to a MANIFEST.MF file that 
> I'm creating from scratch, I basically wind up with two entries--one at 
> the top that says
> 
>         Manifest-Version: 1.0
> 
> and then later on mine shows up.  This results in an invalid MANIFEST 
> format, since you're only supposed to specify this tag once!!
> 

It's a bug. I have just committed a fix to the 1.5 branch.


> Is there any way to change the manifest version via the manifest task or 
> will it always provide this value for me??  It even looks like the 
> ordering of attributes, even though implied from the build script may be 
> (slightly) non-deterministic in the actual produced MANIFEST.MF file???
> 

In 1.5 the order will largely be as specified in the build file although 
some attributes, including the version and signature version must occur at 
the top.

Conor



--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message