ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey N. Solofnenko" <A.Solofne...@mdl.com>
Subject Re: zipfile with manifest
Date Mon, 15 Aug 2005 05:28:11 GMT
Isn't the manifest just another file? Create one one way or another 
(maybe even with <echo>, but it is better not to overwrite the file, if 
it is already up-to-date to avoid continuous zip file updates) and zip 
it with all other files.

- Alexey.

THUFIR HAWAT wrote:
> <http://ant.apache.org/manual/CoreTasks/manifest.html> seems to be
> saying that ant creates the manifest in the standard place, the META-INF
> directory, specified by
> <http://java.sun.com/j2se/1.5.0/docs/guide/jar/jar.html>, which is
> putting the manifest in the META-INF directory.  Is that a correct
> reading of the manual?
>
> I'm writing a plugin for JamochaMUD <http://www.jamochamud.org/>.
> JamochaMUD requires that the plug-in be in a zip file, but that the
> extension is .jpa <http://www.jamochamud.org/PlugInDocs.html>.  Also,
> the manifest must be moved from The META-INF directory to the top
> directory.
>
> I think what that means is that JamochaMUD is looking for a jar file,
> but with a .jpa extension and the manifest moved to the top level.
>
> Without commenting on the wisdom of those requirements, how do I meet
> them?
>
> I'm looking at <http://ant.apache.org/manual/CoreTasks/zip.html> and
> this seems to be the ticket.
>
> How do I get the manifest into the zip file from ant?
>
>
>
> Thanks,
>
> Thufir
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>   

-- 
------------------------------------------------------------------------
/ Alexey N. Solofnenko
home: http://trelony.cjb.net/
/

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


Mime
View raw message