ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jon Skeet" <>
Subject RE: Adding manifest to a JAR
Date Mon, 09 Jul 2001 13:16:27 GMT
> I have a jar file without any manifest (it's created with a 
> JLINK task).
> Is there a simple way of adding a manifest to it?
> At the moment I'm using:
>   <java fork="yes" classname="">
>    <arg value="uvfm"/>
>    <arg value="my.jar"/>
>    <arg value="manifest.txt"/>
>   </java>
> which seems too complex to me.

I have an update patch to the zip task (posted to the -dev list a couple
of months ago) which allows zip files (and jars) to be updated. It
should be possible to use that to add the manifest fairly easily.


View raw message