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:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>



Reply via email to