Wow - thanks for all the replies. It's one of those things where I always thought there must be a way of doing in Ant but got lazy and just copied what we were doing in our old make (yuk) system ;-).
Thanks, Andi -----Original Message----- From: Conor MacNeill [mailto:[EMAIL PROTECTED] Sent: 12 March 2002 08:59 To: Ant Developers List Subject: Re: Manifest files for JAR ... 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]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
