ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Conor MacNeill <co...@cortexebusiness.com.au>
Subject Re: Manifest files for JAR ...
Date Tue, 12 Mar 2002 08:58:58 GMT
Jon Skeet wrote:

>>Is there a way in Ant to create manifest files for JAR files? 
>>Is anyone out there doing this already somehow?
>>
>>If not I have a class (not an ant target yet!) that runs on 
>>the command line
>>to build a manifest file including the following:
>>Specification-Title
>>Specification-Vendor
>>Specification-Version
>>Implementation-Title
>>Implementation-Vendor
>>Implementation-Version
>>Class-Path
>>
>>I guess I should add 'Main-Class', anyway if no one has done 
>>this already and I just missed it then I'll create a task.
>>
> 
> The ability to do this is certainly in the nightly 1.5 builds - see the documentation
on the website for a sample.
> 

Just to expand on Jon's comment. You can create a manifest in-line in Ant 1.4.1. 
It is not documented but it is possible and is included in the Ant 1.5 
documentation.

Conor



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


Mime
View raw message