You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by Conor MacNeill <co...@cortexebusiness.com.au> on 2003/01/29 15:11:25 UTC

Manifest Created-By Attribute

Looking at http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12219, and 
reading the jar specification, I think we should change Ant to properly set 
the created-by header.

I have code ready to commit which would produce a default manifest of the form

Manifest-Version: 1.0
Ant-Version: Apache Ant 1.6alpha
Created-By: 1.4.1-b21 (Sun Microsystems Inc.)

The jar tool from the same VM produces

Manifest-Version: 1.0
Created-By: 1.4.1 (Sun Microsystems Inc.)


The spec requires

"Defines the version and the vendor of the java implementation on top of 
which this manifest file is generated"

It seems the jar tool actually uses the version of the VM specification, not 
the implementation - but that's probably a detail.

Thoughts?

Conor


---------------------------------------------------------------------
To unsubscribe, e-mail: ant-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: ant-dev-help@jakarta.apache.org


Re: Manifest Created-By Attribute

Posted by Stefan Bodewig <bo...@apache.org>.
On Thu, 30 Jan 2003, Conor MacNeill <co...@cortexebusiness.com.au>
wrote:

> I have code ready to commit which would produce a default manifest
> of the form
> 
> Manifest-Version: 1.0
> Ant-Version: Apache Ant 1.6alpha
> Created-By: 1.4.1-b21 (Sun Microsystems Inc.)

+1 if it makes Ant more "manifest spec compliant".

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: ant-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: ant-dev-help@jakarta.apache.org